object TreeInfo
Computes different information about a tree node. It is used as central place to do all pattern matching against Tree.
- Source
- TreeBrowsers.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TreeInfo
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
children(t: Global.Tree): List[Global.Tree]
Return a list of children for the given tree node
-
def
symbolAttributes(t: Global.Tree): String
Return a textual representation of (some of) the symbol's attributes
-
def
symbolText(t: Global.Tree): String
Return a textual representation of this t's symbol
-
def
symbolTypeDoc(t: Global.Tree): Document
Return t's symbol type
-
def
treeName(t: Global.Tree): (String, Global.Name)
Return the case class name and the Name, if the node defines one
The Scala compiler and reflection APIs.