scala.tools.nsc.ast.TreeBrowsers

ASTTreeModel

class ASTTreeModel extends TreeModel

Tree model for abstract syntax trees

Source
TreeBrowsers.scala
Linear Supertypes
TreeModel, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ASTTreeModel
  2. TreeModel
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ASTTreeModel(program: Tree)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addTreeModelListener(l: TreeModelListener): Unit

    Add a listener to this tree

    Add a listener to this tree

    Definition Classes
    ASTTreeModel → TreeModel
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. 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
  13. 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
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. 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
  16. def getRoot(): AnyRef

    Return the root node

    Return the root node

    Definition Classes
    ASTTreeModel → TreeModel
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. 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
  20. var listeners: List[TreeModelListener]

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def packChildren(t: AnyRef): List[AnyRef]

    Return a list of children for the given node.

  25. val program: Tree

  26. def removeTreeModelListener(l: TreeModelListener): Unit

    Definition Classes
    ASTTreeModel → TreeModel
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def valueForPathChanged(path: TreePath, newValue: AnyRef): Unit

    we ignore this message for now

    we ignore this message for now

    Definition Classes
    ASTTreeModel → TreeModel
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TreeModel

Inherited from AnyRef

Inherited from Any