scala.tools.nsc.ast.Trees

treeInfo

object treeInfo extends TreeInfo

Source
Trees.scala
Linear Supertypes
TreeInfo, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. treeInfo
  2. TreeInfo
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. class SeeThroughBlocks [T] extends AnyRef

    Some handy extractors for spotting trees through the the haze of irrelevant braces: i.

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. object IsFalse extends SeeThroughBlocks[Boolean]

  7. object IsIf extends SeeThroughBlocks[Option[(Tree, Tree, Tree)]]

  8. object IsTrue extends SeeThroughBlocks[Boolean]

  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def catchesAllOf (cdef: CaseDef, threshold: Type): Boolean

    Does this CaseDef catch everything of a certain Type?

    Does this CaseDef catch everything of a certain Type?

    Definition Classes
    TreeInfo
  11. def catchesThrowable (cdef: CaseDef): Boolean

    Does this CaseDef catch Throwable?

    Does this CaseDef catch Throwable?

    Definition Classes
    TreeInfo
  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def containsLeadingPredefImport (defs: List[Tree]): Boolean

    Top-level definition sequence contains a leading import of Predef or scala.Predef.

    Top-level definition sequence contains a leading import of Predef or scala.Predef.

    Definition Classes
    TreeInfo
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def firstArgument (tree: Tree): Tree

    Definition Classes
    TreeInfo
  18. def firstConstructor (stats: List[Tree]): Tree

    The first constructor definitions in stats'

    The first constructor definitions in stats'

    Definition Classes
    TreeInfo
  19. def firstConstructorArgs (stats: List[Tree]): List[Tree]

    The arguments to the first constructor in stats'.

    The arguments to the first constructor in stats'.

    Definition Classes
    TreeInfo
  20. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  22. def isAbsTypeDef (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  23. def isAliasTypeDef (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  24. def isByNameParamType (tpt: Tree): Boolean

    Is tpt a by-name parameter type?

    Is tpt a by-name parameter type?

    Definition Classes
    TreeInfo
  25. def isCatchCase (cdef: CaseDef): Boolean

    Is this pattern node a catch-all or type-test pattern?

    Is this pattern node a catch-all or type-test pattern?

    Definition Classes
    TreeInfo
  26. def isDeclaration (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  27. def isDefaultCase (cdef: CaseDef): Boolean

    Is this pattern node a catch-all (wildcard or variable) pattern?

    Is this pattern node a catch-all (wildcard or variable) pattern?

    Definition Classes
    TreeInfo
  28. def isDefinition (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  29. def isEarlyDef (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  30. def isEarlyTypeDef (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  31. def isEarlyValDef (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  32. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  33. def isInterfaceMember (tree: Tree): Boolean

    Is tree legal as a member definition of an interface?

    Is tree legal as a member definition of an interface?

    Definition Classes
    TreeInfo
  34. def isLeftAssoc (operator: Name): Boolean

    Is name a left-associative operator?

    Is name a left-associative operator?

    Definition Classes
    TreeInfo
  35. def isOwnerDefinition (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  36. def isPureDef (tree: Tree): Boolean

    Is tree a pure (i.

    Is tree a pure (i.e. non-side-effecting) definition?

    Definition Classes
    TreeInfo
  37. def isPureExpr (tree: Tree): Boolean

    Is tree a stable and pure expression?

    Is tree a stable and pure expression?

    Definition Classes
    TreeInfo
  38. def isRepeatedParamType (tpt: Tree): Boolean

    Is tpt of the form T* ?

    Is tpt of the form T* ?

    Definition Classes
    TreeInfo
  39. def isSelf (tree: Tree, enclClass: Symbol): Boolean

    Is tree a this node which belongs to enclClass'?

    Is tree a this node which belongs to enclClass'?

    Definition Classes
    TreeInfo
  40. def isSelfConstrCall (tree: Tree): Boolean

    Is tree a self constructor call?

    Is tree a self constructor call?

    Definition Classes
    TreeInfo
  41. def isSelfOrSuperConstrCall (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  42. def isSequenceValued (tree: Tree): Boolean

    Is this pattern node a sequence-valued pattern?

    Is this pattern node a sequence-valued pattern?

    Definition Classes
    TreeInfo
  43. def isStar (x: Tree): Boolean

    Is this tree a Star(_) after removing bindings?

    Is this tree a Star(_) after removing bindings?

    Definition Classes
    TreeInfo
  44. def isSuperConstrCall (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  45. def isUnitInScala (tree: Tree, name: Name): Boolean

    Compilation unit is class or object 'name' in package 'scala'

    Compilation unit is class or object 'name' in package 'scala'

    Definition Classes
    TreeInfo
  46. def isVarPattern (pat: Tree): Boolean

    Is tree a variable pattern

    Is tree a variable pattern

    Definition Classes
    TreeInfo
  47. def isVariableName (name: Name): Boolean

    Is name a variable name?

    Is name a variable name?

    Definition Classes
    TreeInfo
  48. def isVariableOrGetter (tree: Tree): Boolean

    Definition Classes
    TreeInfo
  49. def isWildcardArg (tree: Tree): Boolean

    Is the argument a (possibly bound) _ arg?

    Is the argument a (possibly bound) _ arg?

    Definition Classes
    TreeInfo
  50. def isWildcardStarArg (tree: Tree): Boolean

    Is this argument node of the form <expr> : _* ?

    Is this argument node of the form <expr> : _* ?

    Definition Classes
    TreeInfo
  51. def isWildcardStarArgList (trees: List[Tree]): Boolean

    Definition Classes
    TreeInfo
  52. def mayBeTypePat (tree: Tree): Boolean

    can this type be a type pattern

    can this type be a type pattern

    Definition Classes
    TreeInfo
  53. def mayBeVarGetter (sym: Symbol): Boolean

    Definition Classes
    TreeInfo
  54. def methPart (tree: Tree): Tree

    The method part of an application node

    The method part of an application node

    Definition Classes
    TreeInfo
  55. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  58. def preSuperFields (stats: List[Tree]): List[ValDef]

    The value definitions marked PRESUPER in this statement sequence

    The value definitions marked PRESUPER in this statement sequence

    Definition Classes
    TreeInfo
  59. def repeatedParams (tree: Tree): List[ValDef]

    The parameter ValDefs from a def of the form T*.

    The parameter ValDefs from a def of the form T*.

    Definition Classes
    TreeInfo
  60. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  61. def toString (): String

    Definition Classes
    AnyRef → Any
  62. val trees : Trees.this.type

    Definition Classes
    treeInfoTreeInfo
  63. def unbind (x: Tree): Tree

    The underlying pattern ignoring any bindings

    The underlying pattern ignoring any bindings

    Definition Classes
    TreeInfo
  64. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TreeInfo

Inherited from AnyRef

Inherited from Any