scala.tools.nsc.ast.TreeDSL.CODE

TreeMethods

class TreeMethods extends AnyRef

Source
TreeDSL.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TreeMethods
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeMethods(target: 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 ===(rhs: Tree): Assign

    Assignment

  7. def AND(other: Tree): Tree

  8. def ANY_!=(other: Tree): Apply

  9. def ANY_==(other: Tree): Apply

  10. def ANY_EQ(other: Tree): Apply

  11. def APPLY(params: List[Tree]): Apply

  12. def APPLY(params: Tree*): Apply

    Apply, Select, Match *

  13. def AS(tpe: Type): TypeApply

    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.

  14. def AS_ANY(tpe: Type): Tree

  15. def AS_ATTR(tpe: Type): Tree

  16. def BOOL_&&(other: Tree): Apply

  17. def BOOL_||(other: Tree): Apply

  18. def DOT(sym: Symbol): SelectStart

  19. def DOT(member: Name): SelectStart

  20. def DROP(count: Int): Tree

    Methods for sequences *

  21. def GETCLASS(): Apply

  22. def INT_!=(other: Tree): Apply

  23. def INT_&(other: Tree): Apply

  24. def INT_==(other: Tree): Apply

  25. def INT_>=(other: Tree): Apply

  26. def INT_|(other: Tree): Apply

  27. def IS(tpe: Type): Tree

  28. def IS_OBJ(tpe: Type): Tree

  29. def MATCH(cases: CaseDef*): Match

  30. def MEMBER_==(other: Tree): Apply

    Note - calling ANY_== in the matcher caused primitives to get boxed for the comparison, whereas looking up nme.

    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 mmeber called nme.EQ. Not sure if that should happen, but we can be robust by dragging in Any regardless.

  31. def OBJ_!=(other: Tree): Apply

  32. def OBJ_==(other: Tree): Apply

  33. def OBJ_EQ(other: Tree): Apply

  34. def OBJ_NE(other: Tree): Apply

  35. def OR(other: Tree): Tree

    logical/comparison ops *

  36. def TOSTRING(): Apply

  37. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  38. def clone(): AnyRef

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  42. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  43. def hashCode(): Int

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

    Definition Classes
    Any
  45. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any