class TreeMethods extends AnyRef
- Alphabetic
- By Inheritance
- TreeMethods
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TreeMethods(target: Global.Tree)
Value Members
-
def
===(rhs: Global.Tree): Global.Assign
Assignment
- def AND(other: Global.Tree): Global.Tree
- def ANY_!=(other: Global.Tree): Global.Apply
- def ANY_==(other: Global.Tree): Global.Apply
- def ANY_EQ(other: Global.Tree): Global.Apply
- def APPLY(params: List[Global.Tree]): Global.Apply
-
def
APPLY(params: Global.Tree*): Global.Apply
Apply, Select, Match *
-
def
AS(tpe: Global.Type): Global.Tree
Casting & type tests -- working our way toward understanding exactly what differs between the different forms of IS and AS.
Casting & type tests -- working our way toward understanding exactly what differs between the different forms of IS and AS.
See ticket #2168 for one illustration of AS vs. AS_ANY.
- def DOT(sym: Global.Symbol): SelectStart
- def DOT(member: Global.Name): SelectStart
- def GEN_!=(other: Global.Tree, kind: Global.ClassSymbol): Global.Apply
- def GEN_&(other: Global.Tree, kind: Global.ClassSymbol): Global.Apply
- def GEN_==(other: Global.Tree, kind: Global.ClassSymbol): Global.Apply
- def GEN_|(other: Global.Tree, kind: Global.ClassSymbol): Global.Apply
- def GETCLASS(): Global.Apply
- def INT_-(other: Global.Tree): Global.Apply
- def INT_==(other: Global.Tree): Global.Apply
- def INT_>=(other: Global.Tree): Global.Apply
- def IS_OBJ(tpe: Global.Type): Global.Tree
-
def
MEMBER_==(other: Global.Tree): Global.Apply
Note - calling ANY_== in the matcher caused primitives to get boxed for the comparison, whereas looking up nme.EQ does not.
Note - calling ANY_== in the matcher caused primitives to get boxed for the comparison, whereas looking up nme.EQ does not. See #3570 for an example of how target.tpe can be non-null, yet it claims not to have a member called nme.EQ. Not sure if that should happen, but we can be robust by dragging in Any regardless.
- def OBJ_EQ(other: Global.Tree): Global.Apply
- def OBJ_NE(other: Global.Tree): Global.Apply
-
def
OR(other: Global.Tree): Global.Tree
logical/comparison ops *
The Scala compiler and reflection APIs.