Packages

class ASTTreeModel extends TreeModel

Tree model for abstract syntax trees

Source
TreeBrowsers.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ASTTreeModel
  2. TreeModel
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ASTTreeModel(program: ProgramTree)

Value Members

  1. def addTreeModelListener(l: TreeModelListener): Unit

    Add a listener to this tree

    Add a listener to this tree

    Definition Classes
    ASTTreeModel → TreeModel
  2. def getChild(parent: AnyRef, index: Int): AnyRef

    Return the index'th child of parent

    Return the index'th child of parent

    Definition Classes
    ASTTreeModel → TreeModel
  3. def getChildCount(parent: AnyRef): Int

    Return the number of children this 'parent' has

    Return the number of children this 'parent' has

    Definition Classes
    ASTTreeModel → TreeModel
  4. def getIndexOfChild(parent: AnyRef, child: AnyRef): Int

    Return the index of the given child

    Return the index of the given child

    Definition Classes
    ASTTreeModel → TreeModel
  5. def getRoot(): AnyRef

    Return the root node

    Return the root node

    Definition Classes
    ASTTreeModel → TreeModel
  6. def isLeaf(node: AnyRef): Boolean

    Test whether the given node is a leaf

    Test whether the given node is a leaf

    Definition Classes
    ASTTreeModel → TreeModel
  7. var listeners: List[TreeModelListener]
  8. def packChildren(t: AnyRef): List[AnyRef]

    Return a list of children for the given node.

  9. val program: ProgramTree
  10. def removeTreeModelListener(l: TreeModelListener): Unit
    Definition Classes
    ASTTreeModel → TreeModel
  11. def valueForPathChanged(path: TreePath, newValue: AnyRef): Unit

    we ignore this message for now

    we ignore this message for now

    Definition Classes
    ASTTreeModel → TreeModel