scala.tools.nsc.ast

TreeInfo

abstract class TreeInfo extends reflect.internal.TreeInfo

This class ...

Version

1.0

Linear Supertypes
reflect.internal.TreeInfo, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TreeInfo
  2. TreeInfo
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeInfo()

Type Members

  1. class Applied extends AnyRef

    Definition Classes
    TreeInfo
  2. class DynamicApplicationExtractor extends AnyRef

    Definition Classes
    TreeInfo
  3. abstract class SeeThroughBlocks[T] extends AnyRef

    Definition Classes
    TreeInfo

Abstract Value Members

  1. abstract val global: Global

    Definition Classes
    TreeInfo → TreeInfo

Concrete 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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from TreeInfo to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (TreeInfo, B)

    Implicit information
    This member is added by an implicit conversion from TreeInfo to ArrowAssoc[TreeInfo] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. object Applied

    Definition Classes
    TreeInfo
  9. object DynamicApplication extends DynamicApplicationExtractor

    Definition Classes
    TreeInfo
  10. object DynamicApplicationNamed extends DynamicApplicationExtractor

    Definition Classes
    TreeInfo
  11. object DynamicUpdate extends DynamicApplicationExtractor

    Definition Classes
    TreeInfo
  12. object IsFalse extends SeeThroughBlocks[Boolean]

    Definition Classes
    TreeInfo
  13. object IsIf extends SeeThroughBlocks[Option[(reflect.internal.SymbolTable.Tree, reflect.internal.SymbolTable.Tree, reflect.internal.SymbolTable.Tree)]]

    Definition Classes
    TreeInfo
  14. object IsTrue extends SeeThroughBlocks[Boolean]

    Definition Classes
    TreeInfo
  15. object MacroImplReference

    Definition Classes
    TreeInfo
  16. final val SYNTH_CASE_FLAGS: Int(2099200)

    Definition Classes
    TreeInfo
  17. object StripCast

    Definition Classes
    TreeInfo
  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def catchesAllOf(cdef: Global.CaseDef, threshold: Global.Type): Boolean

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

    Definition Classes
    TreeInfo
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def dissectApplied(tree: Global.Tree): Applied

    Definition Classes
    TreeInfo
  23. def effectivePatternArity(args: List[Global.Tree]): Int

    Definition Classes
    TreeInfo
  24. def ensuring(cond: (TreeInfo) ⇒ Boolean, msg: ⇒ Any): TreeInfo

    Implicit information
    This member is added by an implicit conversion from TreeInfo to Ensuring[TreeInfo] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: (TreeInfo) ⇒ Boolean): TreeInfo

    Implicit information
    This member is added by an implicit conversion from TreeInfo to Ensuring[TreeInfo] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean, msg: ⇒ Any): TreeInfo

    Implicit information
    This member is added by an implicit conversion from TreeInfo to Ensuring[TreeInfo] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean): TreeInfo

    Implicit information
    This member is added by an implicit conversion from TreeInfo to Ensuring[TreeInfo] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def firstConstructor(stats: List[Global.Tree]): Global.Tree

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

    Definition Classes
    TreeInfo
  33. def firstDefinesClassOrObject(trees: List[Global.Tree], name: Global.Name): Boolean

    Does list of trees start with a definition of a class of module with given name (ignoring imports)

    Does list of trees start with a definition of a class of module with given name (ignoring imports)

    Definition Classes
    TreeInfo → TreeInfo
  34. def foreachMethodParamAndArg(t: Global.Tree)(f: (Global.Symbol, Global.Tree) ⇒ Unit): Unit

    Definition Classes
    TreeInfo
  35. def foreachMethodParamAndArg(params: List[Global.Symbol], args: List[Global.Tree])(f: (Global.Symbol, Global.Tree) ⇒ Unit): Boolean

    Definition Classes
    TreeInfo
  36. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from TreeInfo to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. def hasSynthCaseSymbol(t: Global.Tree): Boolean

    Definition Classes
    TreeInfo
  39. def hashCode(): Int

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

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

    Definition Classes
    TreeInfo
  42. def isApplyDynamicName(name: Global.Name): Boolean

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

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

    Definition Classes
    TreeInfo
  45. def isConstructorWithDefault(t: Global.Tree): Boolean

    Definition Classes
    TreeInfo → TreeInfo
  46. def isDeclarationOrTypeDef(tree: Global.Tree): Boolean

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

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

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

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

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

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

    Definition Classes
    TreeInfo
  53. def isGuardedCase(cdef: Global.CaseDef): Boolean

    Definition Classes
    TreeInfo
  54. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  55. def isInterface(mods: HasFlags, body: List[Global.Tree]): Boolean

  56. def isInterfaceMember(tree: Global.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 → TreeInfo
  57. def isLeftAssoc(operator: Global.Name): Boolean

    Definition Classes
    TreeInfo
  58. def isNullaryInvocation(tree: Global.Tree): Boolean

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

    Is tree a pure (i.

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

    Definition Classes
    TreeInfo → TreeInfo
  60. def isRepeatedParamType(tpt: Global.Tree): Boolean

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

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

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

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

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

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

    Definition Classes
    TreeInfo
  67. def isSwitchAnnotation(tpe: Global.Type): Boolean

    Definition Classes
    TreeInfo
  68. def isSynthCaseSymbol(sym: Global.Symbol): Boolean

    Definition Classes
    TreeInfo
  69. def isSyntheticDefaultCase(cdef: Global.CaseDef): Boolean

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

    Definition Classes
    TreeInfo
  71. def isVarPatternDeep(tree: Global.Tree): Boolean

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

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

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

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

    Definition Classes
    TreeInfo
  76. def isWildcardStarType(tree: Global.Tree): Boolean

    Definition Classes
    TreeInfo
  77. def mapMethodParamsAndArgs[R](params: List[Global.Symbol], args: List[Global.Tree])(f: (Global.Symbol, Global.Tree) ⇒ R): List[R]

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

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

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

    Definition Classes
    AnyRef
  81. def noPredefImportForUnit(body: Global.Tree): Boolean

    Definition Classes
    TreeInfo
  82. final def notify(): Unit

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

    Definition Classes
    AnyRef
  84. def preSuperFields(stats: List[Global.Tree]): List[Global.ValDef]

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

    Definition Classes
    TreeInfo
  86. def stripCast(tree: Global.Tree): Global.Tree

    Definition Classes
    TreeInfo
  87. def stripNamedApplyBlock(tree: Global.Tree): Global.Tree

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

    Definition Classes
    AnyRef
  89. def toString(): String

    Definition Classes
    AnyRef → Any
  90. def typeParameters(tree: Global.Tree): List[Global.TypeDef]

    Definition Classes
    TreeInfo
  91. def unbind(x: Global.Tree): Global.Tree

    Definition Classes
    TreeInfo
  92. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. def zipMethodParamsAndArgs(t: Global.Tree): List[(Global.Symbol, Global.Tree)]

    Definition Classes
    TreeInfo
  96. def zipMethodParamsAndArgs(params: List[Global.Symbol], args: List[Global.Tree]): List[(Global.Symbol, Global.Tree)]

    Definition Classes
    TreeInfo
  97. def [B](y: B): (TreeInfo, B)

    Implicit information
    This member is added by an implicit conversion from TreeInfo to ArrowAssoc[TreeInfo] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from TreeInfo to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (treeInfo: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from TreeInfo to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (treeInfo: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def isPureExpr(tree: Global.Tree): Boolean

    Definition Classes
    TreeInfo
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use isExprSafeToInline instead

  2. def x: TreeInfo

    Implicit information
    This member is added by an implicit conversion from TreeInfo to ArrowAssoc[TreeInfo] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (treeInfo: ArrowAssoc[TreeInfo]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: TreeInfo

    Implicit information
    This member is added by an implicit conversion from TreeInfo to Ensuring[TreeInfo] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (treeInfo: Ensuring[TreeInfo]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from reflect.internal.TreeInfo

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from TreeInfo to StringAdd

Inherited by implicit conversion any2stringfmt from TreeInfo to StringFormat

Inherited by implicit conversion any2ArrowAssoc from TreeInfo to ArrowAssoc[TreeInfo]

Inherited by implicit conversion any2Ensuring from TreeInfo to Ensuring[TreeInfo]

Ungrouped