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. def != (arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    final
    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. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

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

    Attributes
    final
    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. def getClass (): java.lang.Class[_]

    Attributes
    final
    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. def isInstanceOf [T0] : Boolean

    Attributes
    final
    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. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    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. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    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. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TreeModel

Inherited from AnyRef

Inherited from Any