class TreeMethods extends AnyRef
- Alphabetic
- By Inheritance
- TreeMethods
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TreeMethods(target: Forest.Tree)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=(rhs: Forest.Tree): Forest.Assign
Assignment
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def AND(other: Forest.Tree): Forest.Infix
- def ANY_!=(other: Forest.Tree): Forest.Infix
- def ANY_->(other: Forest.Tree): Forest.Infix
- def ANY_==(other: Forest.Tree): Forest.Infix
- def APPLY(params: Iterable[Forest.Tree]): Forest.Apply
-
def
APPLY(params: Forest.Tree*): Forest.Apply
Apply, Select, Match *
- def APPLYFUNC(sym: Forest.Symbol)(f: Forest.Tree): Forest.Tree
- def APPLYTYPE(typs: Iterable[Forest.Type]): Forest.TypeApply
- def APPLYTYPE(typs: Forest.Type*): Forest.TypeApply
-
def
AS(tpe: Forest.Type): Forest.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.
- val COLLECT: (Forest.Tree) ⇒ Forest.Tree
- val COUNT: (Forest.Tree) ⇒ Forest.Tree
- def DOT(sym: Forest.Symbol): SelectStart
- def DOT(member: Forest.Name): SelectStart
- def DO_WHILE(cond: Forest.Tree): Forest.LabelDef
- def DROP(n: Forest.Tree): Forest.Apply
- val DROPWHILE: (Forest.Tree) ⇒ Forest.Tree
- val EXISTS: (Forest.Tree) ⇒ Forest.Tree
- val FILTER: (Forest.Tree) ⇒ Forest.Tree
- val FILTERNOT: (Forest.Tree) ⇒ Forest.Tree
- val FIND: (Forest.Tree) ⇒ Forest.Tree
- val FLATMAP: (Forest.Tree) ⇒ Forest.Tree
- val FOLDLEFT: (Forest.Tree) ⇒ Forest.Tree
- val FOLDRIGHT: (Forest.Tree) ⇒ Forest.Tree
- val FORALL: (Forest.Tree) ⇒ Forest.Tree
- val FOREACH: (Forest.Tree) ⇒ Forest.Tree
- def GETCLASS: Forest.Tree with Serializable
- val GROUPBY: (Forest.Tree) ⇒ Forest.Tree
- def INFIX(sym: Forest.Symbol): InfixSymStart
- def INFIX(name: Forest.Name): InfixStart
- def INFIX(sym: Forest.Symbol, param0: Forest.Tree, params: Forest.Tree*): Forest.Infix
- def INFIX(name: Forest.Name, param0: Forest.Tree, params: Forest.Tree*): Forest.Infix
- def INFIXUNAPPLY(sym: Forest.Symbol, param0: Forest.Tree, params: Forest.Tree*): Forest.InfixUnApply
- def INFIXUNAPPLY(name: Forest.Name, param0: Forest.Tree, params: Forest.Tree*): Forest.InfixUnApply
- def INT_!=(other: Forest.Tree): Forest.Infix
- def INT_&(other: Forest.Tree): Forest.Infix
- def INT_*(other: Forest.Tree): Forest.Infix
- def INT_+(other: Forest.Tree): Forest.Infix
- def INT_-(other: Forest.Tree): Forest.Infix
- def INT_/(other: Forest.Tree): Forest.Infix
- def INT_<(other: Forest.Tree): Forest.Infix
- def INT_<=(other: Forest.Tree): Forest.Infix
- def INT_==(other: Forest.Tree): Forest.Infix
- def INT_>(other: Forest.Tree): Forest.Infix
- def INT_>=(other: Forest.Tree): Forest.Infix
- def INT_TO(other: Forest.Tree): Forest.Infix
- def INT_|(other: Forest.Tree): Forest.Infix
- def IS(tpe: Forest.Type): Forest.Tree
- def LIST_::(lhs: Forest.Tree): Forest.Infix
- def LIST_:::(lhs: Forest.Tree): Forest.Infix
- val MAP: (Forest.Tree) ⇒ Forest.Tree
- def MATCH(cases: Iterable[Forest.CaseDef]): Forest.Match
- def MATCH(cases: Forest.CaseDef*): Forest.Match
-
def
MEMBER_==(other: Forest.Tree): Forest.Infix
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: Forest.Tree): Forest.Infix
- def OBJ_NE(other: Forest.Tree): Forest.Infix
-
def
OR(other: Forest.Tree): Forest.Infix
logical/comparison ops *
- def OR_PATTERN(other: Forest.Tree): Forest.InfixUnApply
- val PARTITION: (Forest.Tree) ⇒ Forest.Tree
- def POSTFIX(sym: Forest.Symbol): Forest.Infix
- def POSTFIX(name: Forest.Name): Forest.Infix
- val REDUCELEFT: (Forest.Tree) ⇒ Forest.Tree
- val REDUCERIGHT: (Forest.Tree) ⇒ Forest.Tree
- def SEQ_++(rhs: Forest.Tree): Forest.Infix
- def SEQ_/:(lhs: Forest.Tree): Forest.Tree
- def SEQ_:\(rhs: Forest.Tree): Forest.Tree
- def SLICE(from: Forest.Tree, to: Forest.Tree): Forest.Apply
- val SPAN: (Forest.Tree) ⇒ Forest.Tree
- def SPLITAT(n: Forest.Tree): Forest.Apply
- def TAKE(n: Forest.Tree): Forest.Apply
- val TAKEWHILE: (Forest.Tree) ⇒ Forest.Tree
- def TOSTRING: Forest.Tree with Serializable
- def UNAPPLY(params: Iterable[Forest.Tree]): Forest.UnApply
- def UNAPPLY(params: Forest.Tree*): Forest.UnApply
- def UNLIST_::(lhs: Forest.Tree): Forest.InfixUnApply
- val WITHFILTER: (Forest.Tree) ⇒ Forest.Tree
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def inPackage(sym: Forest.Symbol): Forest.PackageDef
- def inPackage(name: Forest.Name): Forest.PackageDef
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withAnnots(annots: Iterable[Forest.AnnotationInfo]): Forest.Typed
- def withAnnots(annots: Forest.AnnotationInfo*): Forest.Typed
- def withBinder(name: Forest.Name): Forest.Bind
- def withBinder(sym: Forest.Symbol): Forest.Bind
- def withComment(comments: String*): Forest.Commented
- def withComments(comments: Iterable[String]): Forest.Commented
- def withComments(comments: String*): Forest.Commented
- def withDoc(comments: Iterable[String], elems: Forest.DocElement*): Forest.Commented
- def withDoc(elems: Forest.DocElement*): Forest.Commented
- def withType(tp: Forest.Type): Forest.Typed
- def withoutPackage: Forest.PackageDef