scala.reflect.api

Trees

trait Trees extends Trees

Self Type
Universe
Source
Trees.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Trees
  2. Trees
  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

Type Members

  1. abstract type Alternative >: Null <: TermTree with AlternativeApi

    Alternatives of patterns, eliminated by explicitouter, except for occurrences in encoded Switch stmt (=remaining Match(CaseDef(.

    Alternatives of patterns, eliminated by explicitouter, except for occurrences in encoded Switch stmt (=remaining Match(CaseDef(...))) Eliminated by patmat/explicitouter.

    Definition Classes
    TreesTrees
  2. trait AlternativeApi extends TreeBase with TermTreeApi

    The API that all alternatives support

  3. abstract class AlternativeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Alternative(trees).

  4. abstract type Annotated >: Null <: Tree with AnnotatedApi

    A tree that has an annotation attached to it.

    A tree that has an annotation attached to it. Only used for annotated types and annotation ascriptions, annotations on definitions are stored in the Modifiers. Eliminated by typechecker (typedAnnotated), the annotations are then stored in an AnnotatedType.

    Definition Classes
    TreesTrees
  5. trait AnnotatedApi extends TreeBase with TreeApi

    The API that all annotateds support

  6. abstract class AnnotatedExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Annotated(annot, arg).

  7. abstract type AppliedTypeTree >: Null <: TypTree with AppliedTypeTreeApi

    Applied type <tpt> [ <args> ], eliminated by RefCheck

    Applied type <tpt> [ <args> ], eliminated by RefCheck

    Definition Classes
    TreesTrees
  8. trait AppliedTypeTreeApi extends TreeBase with TypTreeApi

    The API that all applied type trees support

  9. abstract class AppliedTypeTreeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax AppliedTypeTree(tpt, args).

  10. abstract type Apply >: Null <: GenericApply with ApplyApi

    Value application

    Value application

    Definition Classes
    TreesTrees
  11. trait ApplyApi extends TreeBase with GenericApplyApi

    The API that all applies support

  12. abstract type ApplyDynamic >: Null <: TermTree with SymTree with ApplyDynamicApi

    Dynamic value application.

    Dynamic value application. In a dynamic application q.f(as)

    • q is stored in qual
    • as is stored in args
    • f is stored as the node's symbol field. [Eugene++] what is it used for? Introduced by erasure, eliminated by cleanup.
    Definition Classes
    TreesTrees
  13. trait ApplyDynamicApi extends TreeBase with TermTreeApi with SymTreeApi

    The API that all apply dynamics support

  14. abstract class ApplyDynamicExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ApplyDynamic(qual, args).

  15. abstract class ApplyExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Apply(fun, args).

  16. abstract type ArrayValue >: Null <: TermTree with ArrayValueApi

    Array of expressions, needs to be translated in backend.

    Array of expressions, needs to be translated in backend. This AST node is used to pass arguments to vararg arguments. Introduced by uncurry.

    Definition Classes
    TreesTrees
  17. trait ArrayValueApi extends TreeBase with TermTreeApi

    The API that all array values support

  18. abstract class ArrayValueExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ArrayValue(elemtpt, elems).

  19. abstract type Assign >: Null <: TermTree with AssignApi

    Assignment

    Assignment

    Definition Classes
    TreesTrees
  20. trait AssignApi extends TreeBase with TermTreeApi

    The API that all assigns support

  21. abstract class AssignExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Assign(lhs, rhs).

  22. abstract type AssignOrNamedArg >: Null <: TermTree with AssignOrNamedArgApi

    Either an assignment or a named argument.

    Either an assignment or a named argument. Only appears in argument lists, eliminated by typecheck (doTypedApply), resurrected by reifier.

    Definition Classes
    TreesTrees
  23. trait AssignOrNamedArgApi extends TreeBase with TermTreeApi

    The API that all assigns support

  24. abstract class AssignOrNamedArgExtractor extends AnyRef

    An extractor class to create and pattern match with syntax AssignOrNamedArg(lhs, rhs).

  25. abstract type Bind >: Null <: DefTree with BindApi

    Bind of a variable to a rhs pattern, eliminated by explicitouter Eliminated by patmat/explicitouter.

    Bind of a variable to a rhs pattern, eliminated by explicitouter Eliminated by patmat/explicitouter.

    Definition Classes
    TreesTrees
  26. trait BindApi extends TreeBase with DefTreeApi

    The API that all binds support

  27. abstract class BindExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Bind(name, body).

  28. abstract type Block >: Null <: TermTree with BlockApi

    Block of expressions (semicolon separated expressions)

    Block of expressions (semicolon separated expressions)

    Definition Classes
    TreesTrees
  29. trait BlockApi extends TreeBase with TermTreeApi

    The API that all blocks support

  30. abstract class BlockExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Block(stats, expr).

  31. abstract type CaseDef >: Null <: Tree with CaseDefApi

    Case clause in a pattern match, eliminated during explicitouter (except for occurrences in switch statements).

    Case clause in a pattern match, eliminated during explicitouter (except for occurrences in switch statements). Eliminated by patmat/explicitouter.

    Definition Classes
    TreesTrees
  32. trait CaseDefApi extends TreeBase with TreeApi

    The API that all case defs support

  33. abstract class CaseDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax CaseDef(pat, guard, body).

  34. abstract type ClassDef >: Null <: ImplDef with ClassDefApi

    A class definition.

    A class definition.

    Definition Classes
    TreesTrees
  35. trait ClassDefApi extends TreeBase with ImplDefApi

    The API that all class defs support

  36. abstract class ClassDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ClassDef(mods, name, tparams, impl).

  37. abstract type CompoundTypeTree >: Null <: TypTree with CompoundTypeTreeApi

    Intersection type <parent1> with .

    Intersection type <parent1> with ... with <parentN> { <decls> }, eliminated by RefCheck

    Definition Classes
    TreesTrees
  38. trait CompoundTypeTreeApi extends TreeBase with TypTreeApi

    The API that all compound type trees support

  39. abstract class CompoundTypeTreeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax CompoundTypeTree(templ).

  40. abstract type DefDef >: Null <: ValOrDefDef with DefDefApi

    A method or macro definition.

    A method or macro definition.

    Definition Classes
    TreesTrees
  41. trait DefDefApi extends TreeBase with ValOrDefDefApi

    The API that all def defs support

  42. abstract class DefDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax DefDef(mods, name, tparams, vparamss, tpt, rhs).

  43. abstract type DefTree >: Null <: SymTree with NameTree with DefTreeApi

    A tree which defines a symbol-carrying entity.

    A tree which defines a symbol-carrying entity.

    Definition Classes
    TreesTrees
  44. trait DefTreeApi extends TreeBase with SymTreeApi with NameTreeApi

    The API that all def trees support

  45. abstract type ExistentialTypeTree >: Null <: TypTree with ExistentialTypeTreeApi

    Document me!

    Document me!

    Definition Classes
    TreesTrees
  46. trait ExistentialTypeTreeApi extends TreeBase with TypTreeApi

    The API that all existential type trees support

  47. abstract class ExistentialTypeTreeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ExistentialTypeTree(tpt, whereClauses).

  48. abstract type Function >: Null <: TermTree with SymTree with FunctionApi

    Anonymous function, eliminated by lambdalift

    Anonymous function, eliminated by lambdalift

    Definition Classes
    TreesTrees
  49. trait FunctionApi extends TreeBase with TermTreeApi with SymTreeApi

    The API that all functions support

  50. abstract class FunctionExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Function(vparams, body).

  51. abstract type GenericApply >: Null <: TermTree with GenericApplyApi

    Common base class for Apply and TypeApply.

    Common base class for Apply and TypeApply. This could in principle be a SymTree, but whether or not a Tree is a SymTree isn't used to settle any interesting questions, and it would add a useless field to all the instances (useless, since GenericApply forwards to the underlying fun.)

    Definition Classes
    TreesTrees
  52. trait GenericApplyApi extends TreeBase with TermTreeApi

    The API that all applies support

  53. abstract type Ident >: Null <: RefTree with IdentApi

    Identifier <name>

    Identifier <name>

    Definition Classes
    TreesTrees
  54. trait IdentApi extends TreeBase with RefTreeApi

    The API that all idents support

  55. abstract class IdentExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Ident(qual, name).

  56. abstract type If >: Null <: TermTree with IfApi

    Conditional expression

    Conditional expression

    Definition Classes
    TreesTrees
  57. trait IfApi extends TreeBase with TermTreeApi

    The API that all ifs support

  58. abstract class IfExtractor extends AnyRef

    An extractor class to create and pattern match with syntax If(cond, thenp, elsep).

  59. abstract type ImplDef >: Null <: MemberDef with ImplDefApi

    A common base class for class and object definitions.

    A common base class for class and object definitions.

    Definition Classes
    TreesTrees
  60. trait ImplDefApi extends TreeBase with MemberDefApi

    The API that all impl defs support

  61. abstract type Import >: Null <: SymTree with ImportApi

    Import clause

    Import clause

    Definition Classes
    TreesTrees
  62. trait ImportApi extends TreeBase with SymTreeApi

    The API that all imports support

  63. abstract class ImportExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Import(expr, selectors).

  64. abstract type ImportSelector >: Null <: ImportSelectorApi

    Import selector

    Import selector

    Representation of an imported name its optional rename and their optional positions

    Eliminated by typecheck.

    Definition Classes
    TreesTrees
  65. trait ImportSelectorApi extends AnyRef

    The API that all import selectors support

  66. abstract class ImportSelectorExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ImportSelector(name:, namePos, rename, renamePos).

  67. abstract type LabelDef >: Null <: DefTree with TermTree with LabelDefApi

    A labelled expression.

    A labelled expression. Not expressible in language syntax, but generated by the compiler to simulate while/do-while loops, and also by the pattern matcher.

    The label acts much like a nested function, where params represents the incoming parameters. The symbol given to the LabelDef should have a MethodType, as if it were a nested function.

    Jumps are apply nodes attributed with a label's symbol. The arguments from the apply node will be passed to the label and assigned to the Idents.

    Forward jumps within a block are allowed.

    Definition Classes
    TreesTrees
  68. trait LabelDefApi extends TreeBase with DefTreeApi with TermTreeApi

    The API that all label defs support

  69. abstract class LabelDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax LabelDef(name, params, rhs).

  70. abstract type Literal >: Null <: TermTree with LiteralApi

    Literal

    Literal

    Definition Classes
    TreesTrees
  71. trait LiteralApi extends TreeBase with TermTreeApi

    The API that all literals support

  72. abstract class LiteralExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Literal(value).

  73. abstract type Match >: Null <: TermTree with MatchApi

    - Pattern matching expression (before explicitouter)

    - Pattern matching expression (before explicitouter)

    • Switch statements (after explicitouter)

    After explicitouter, cases will satisfy the following constraints:

    • all guards are EmptyTree,
    • all patterns will be either Literal(Constant(x:Int)) or Alternative(lit|...|lit)
    • except for an "otherwise" branch, which has pattern Ident(nme.WILDCARD)
    Definition Classes
    TreesTrees
  74. trait MatchApi extends TreeBase with TermTreeApi

    The API that all matches support

  75. abstract class MatchExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Match(selector, cases).

  76. abstract type MemberDef >: Null <: DefTree with MemberDefApi

    Common base class for all member definitions: types, classes, objects, packages, vals and vars, defs.

    Common base class for all member definitions: types, classes, objects, packages, vals and vars, defs.

    Definition Classes
    TreesTrees
  77. trait MemberDefApi extends TreeBase with DefTreeApi

    The API that all member defs support

  78. abstract type Modifiers >: Null <: ModifiersApi

    .

    ...

    Definition Classes
    TreesTrees
  79. abstract class ModifiersApi extends ModifiersBase with HasFlagsApi

  80. abstract class ModifiersBase extends AnyRef

    .

  81. abstract class ModifiersCreator extends AnyRef

    Definition Classes
    Trees
  82. abstract type ModuleDef >: Null <: ImplDef with ModuleDefApi

    An object definition, e.

    An object definition, e.g. object Foo. Internally, objects are quite frequently called modules to reduce ambiguity. Eliminated by refcheck.

    Definition Classes
    TreesTrees
  83. trait ModuleDefApi extends TreeBase with ImplDefApi

    The API that all module defs support

  84. abstract class ModuleDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ModuleDef(mods, name, impl).

  85. abstract type NameTree >: Null <: Tree with NameTreeApi

    A tree with a name - effectively, a DefTree or RefTree.

    A tree with a name - effectively, a DefTree or RefTree.

    Definition Classes
    TreesTrees
  86. trait NameTreeApi extends TreeBase with TreeApi

    The API that all name trees support

  87. abstract type New >: Null <: TermTree with NewApi

    Object instantiation One should always use factory method below to build a user level new.

    Object instantiation One should always use factory method below to build a user level new.

    Definition Classes
    TreesTrees
  88. trait NewApi extends TreeBase with TermTreeApi

    The API that all news support

  89. abstract class NewExtractor extends AnyRef

    An extractor class to create and pattern match with syntax New(tpt).

  90. abstract type PackageDef >: Null <: MemberDef with PackageDefApi

    A packaging, such as package pid { stats }

    A packaging, such as package pid { stats }

    Definition Classes
    TreesTrees
  91. trait PackageDefApi extends TreeBase with MemberDefApi

    The API that all package defs support

  92. abstract class PackageDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax PackageDef(pid, stats).

  93. abstract type RefTree >: Null <: SymTree with NameTree with RefTreeApi

    A tree which references a symbol-carrying entity.

    A tree which references a symbol-carrying entity. References one, as opposed to defining one; definitions are in DefTrees.

    Definition Classes
    TreesTrees
  94. trait RefTreeApi extends TreeBase with SymTreeApi with NameTreeApi

    The API that all ref trees support

  95. abstract type ReferenceToBoxed >: Null <: TermTree with ReferenceToBoxedApi

    Marks underlying reference to id as boxed.

    Marks underlying reference to id as boxed.

    Definition Classes
    TreesTrees
  96. trait ReferenceToBoxedApi extends TreeBase with TermTreeApi

    The API that all references support

  97. abstract class ReferenceToBoxedExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ReferenceToBoxed(ident).

  98. abstract type Return >: Null <: TermTree with SymTree with ReturnApi

    Return expression

    Return expression

    Definition Classes
    TreesTrees
  99. trait ReturnApi extends TreeBase with TermTreeApi

    The API that all returns support

  100. abstract class ReturnExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Return(expr).

  101. abstract type Select >: Null <: RefTree with SelectApi

    Designator <qualifier> .

    Designator <qualifier> . <name>

    Definition Classes
    TreesTrees
  102. trait SelectApi extends TreeBase with RefTreeApi

    The API that all selects support

  103. abstract class SelectExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Select(qual, name).

  104. abstract type SelectFromTypeTree >: Null <: TypTree with RefTree with SelectFromTypeTreeApi

    Type selection <qualifier> # <name>, eliminated by RefCheck

    Type selection <qualifier> # <name>, eliminated by RefCheck

    Definition Classes
    TreesTrees
  105. trait SelectFromTypeTreeApi extends TreeBase with TypTreeApi with RefTreeApi

    The API that all selects from type trees support

  106. abstract class SelectFromTypeTreeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax SelectFromTypeTree(qualifier, name).

  107. abstract type SingletonTypeTree >: Null <: TypTree with SingletonTypeTreeApi

    Singleton type, eliminated by RefCheck

    Singleton type, eliminated by RefCheck

    Definition Classes
    TreesTrees
  108. trait SingletonTypeTreeApi extends TreeBase with TypTreeApi

    The API that all singleton type trees support

  109. abstract class SingletonTypeTreeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax SingletonTypeTree(ref).

  110. abstract type Star >: Null <: TermTree with StarApi

    Repetition of pattern.

    Repetition of pattern. Eliminated by patmat/explicitouter.

    Definition Classes
    TreesTrees
  111. trait StarApi extends TreeBase with TermTreeApi

    The API that all stars support

  112. abstract class StarExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Star(elem).

  113. abstract type Super >: Null <: TermTree with SuperApi

    Super reference, qual = corresponding this reference A super reference C.

    Super reference, qual = corresponding this reference A super reference C.super[M] is represented as Super(This(C), M).

    Definition Classes
    TreesTrees
  114. trait SuperApi extends TreeBase with TermTreeApi

    The API that all supers support

  115. abstract class SuperExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Super(qual, mix).

  116. abstract type SymTree >: Null <: Tree with SymTreeApi

    A tree with a mutable symbol field, initialized to NoSymbol.

    A tree with a mutable symbol field, initialized to NoSymbol.

    Definition Classes
    TreesTrees
  117. trait SymTreeApi extends TreeBase with TreeApi

    The API that all sym trees support

  118. abstract type Template >: Null <: SymTree with TemplateApi

    Instantiation template of a class or trait

    Instantiation template of a class or trait

    Definition Classes
    TreesTrees
  119. trait TemplateApi extends TreeBase with SymTreeApi

    The API that all templates support

  120. abstract class TemplateExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Template(parents, self, body).

  121. abstract type TermTree >: Null <: Tree with TermTreeApi

    A tree for a term.

    A tree for a term. Not all terms are TermTrees; use isTerm to reliably identify terms.

    Definition Classes
    TreesTrees
  122. trait TermTreeApi extends TreeBase with TreeApi

    The API that all term trees support

  123. abstract type This >: Null <: TermTree with SymTree with ThisApi

    Self reference

    Self reference

    Definition Classes
    TreesTrees
  124. trait ThisApi extends TreeBase with TermTreeApi with SymTreeApi

    The API that all thises support

  125. abstract class ThisExtractor extends AnyRef

    An extractor class to create and pattern match with syntax This(qual).

  126. abstract type Throw >: Null <: TermTree with ThrowApi

    Throw expression

    Throw expression

    Definition Classes
    TreesTrees
  127. trait ThrowApi extends TreeBase with TermTreeApi

    The API that all tries support

  128. abstract class ThrowExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Throw(expr).

  129. abstract class Transformer extends AnyRef

  130. class Traverser extends AnyRef

  131. abstract type Tree >: Null <: TreeApi

    Tree is the basis for scala's abstract syntax.

    Tree is the basis for scala's abstract syntax. The nodes are implemented as case classes, and the parameters which initialize a given tree are immutable: however Trees have several mutable fields which are manipulated in the course of typechecking, including pos, symbol, and tpe.

    Newly instantiated trees have tpe set to null (though it may be set immediately thereafter depending on how it is constructed.) When a tree is passed to the typer, typically via typer.typed(tree), under normal circumstances the tpe must be null or the typer will ignore it. Furthermore, the typer is not required to return the same tree it was passed.

    Trees can be easily traversed with e.g. foreach on the root node; for a more nuanced traversal, subclass Traverser. Transformations can be considerably trickier: see the numerous subclasses of Transformer found around the compiler.

    Copying Trees should be done with care depending on whether it need be done lazily or strictly (see LazyTreeCopier and StrictTreeCopier) and on whether the contents of the mutable fields should be copied. The tree copiers will copy the mutable attributes to the new tree; calling Tree#duplicate will copy symbol and tpe, but all the positions will be focused.

    Trees can be coarsely divided into four mutually exclusive categories:

    • TermTrees, representing terms
    • TypTrees, representing types. Note that is TypTree, not TypeTree.
    • SymTrees, which may represent types or terms.
    • Other Trees, which have none of those as parents.

    SymTrees include important nodes Ident and Select, which are used as both terms and types; they are distinguishable based on whether the Name is a TermName or TypeName. The correct way for to test for a type or a term (on any Tree) are the isTerm/isType methods on Tree.

    "Others" are mostly syntactic or short-lived constructs. Examples include CaseDef, which wraps individual match cases: they are neither terms nor types, nor do they carry a symbol. Another example is Parens, which is eliminated during parsing.

    Definition Classes
    TreesTrees
  132. trait TreeApi extends TreeBase

    .

  133. abstract class TreeBase extends Product

    The base API that all trees support

  134. abstract type TreeCopier <: TreeCopierOps

    The standard (lazy) tree copier

  135. abstract class TreeCopierOps extends AnyRef

    The API of a tree copier tree copiers are made available by an implicit conversion in reflect.

  136. abstract type Try >: Null <: TermTree with TryApi

    [Eugene++] comment me!

    [Eugene++] comment me!

    Definition Classes
    TreesTrees
  137. trait TryApi extends TreeBase with TermTreeApi

    The API that all tries support

  138. abstract class TryExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Try(block, catches, finalizer).

  139. abstract type TypTree >: Null <: Tree with TypTreeApi

    A tree for a type.

    A tree for a type. Not all types are TypTrees; use isType to reliably identify types.

    Definition Classes
    TreesTrees
  140. trait TypTreeApi extends TreeBase with TreeApi

    The API that all typ trees support

  141. abstract type TypeApply >: Null <: GenericApply with TypeApplyApi

    Explicit type application.

    Explicit type application.

    Definition Classes
    TreesTrees
  142. trait TypeApplyApi extends TreeBase with GenericApplyApi

    The API that all type applies support

  143. abstract class TypeApplyExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TypeApply(fun, args).

  144. abstract type TypeBoundsTree >: Null <: TypTree with TypeBoundsTreeApi

    Document me!

    Document me!

    Definition Classes
    TreesTrees
  145. trait TypeBoundsTreeApi extends TreeBase with TypTreeApi

    The API that all type bound trees support

  146. abstract class TypeBoundsTreeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TypeBoundsTree(lo, hi).

  147. abstract type TypeDef >: Null <: MemberDef with TypeDefApi

    An abstract type, a type parameter, or a type alias.

    An abstract type, a type parameter, or a type alias. Eliminated by erasure.

    Definition Classes
    TreesTrees
  148. trait TypeDefApi extends TreeBase with MemberDefApi

    The API that all type defs support

  149. abstract class TypeDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TypeDef(mods, name, tparams, rhs).

  150. abstract type TypeTree >: Null <: TypTree with TypeTreeApi

    A synthetic tree holding an arbitrary type.

    A synthetic tree holding an arbitrary type. Not to be confused with with TypTree, the trait for trees that are only used for type trees. TypeTree's are inserted in several places, but most notably in RefCheck, where the arbitrary type trees are all replaced by TypeTree's.

    Definition Classes
    TreesTrees
  151. trait TypeTreeApi extends TreeBase with TypTreeApi

    The API that all type trees support

  152. abstract class TypeTreeExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TypeTree().

  153. abstract type Typed >: Null <: TermTree with TypedApi

    Type annotation, eliminated by cleanup

    Type annotation, eliminated by cleanup

    Definition Classes
    TreesTrees
  154. trait TypedApi extends TreeBase with TermTreeApi

    The API that all typeds support

  155. abstract class TypedExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Typed(expr, tpt).

  156. abstract type UnApply >: Null <: TermTree with UnApplyApi

    Noone knows what this is.

    Noone knows what this is. It is not idempotent w.r.t typechecking. Can we, please, remove it? Introduced by typer, eliminated by patmat/explicitouter.

    Definition Classes
    TreesTrees
  157. trait UnApplyApi extends TreeBase with TermTreeApi

    The API that all unapplies support

  158. abstract class UnApplyExtractor extends AnyRef

    An extractor class to create and pattern match with syntax UnApply(fun, args).

  159. abstract type ValDef >: Null <: ValOrDefDef with ValDefApi

    Broadly speaking, a value definition.

    Broadly speaking, a value definition. All these are encoded as ValDefs:

    • immutable values, e.g. "val x"
    • mutable values, e.g. "var x" - the MUTABLE flag set in mods
    • lazy values, e.g. "lazy val x" - the LAZY flag set in mods
    • method parameters, see vparamss in DefDef - the PARAM flag is set in mods
    • explicit self-types, e.g. class A { self: Bar => } - !!! not sure what is set.
    Definition Classes
    TreesTrees
  160. trait ValDefApi extends TreeBase with ValOrDefDefApi

    The API that all val defs support

  161. abstract class ValDefExtractor extends AnyRef

    An extractor class to create and pattern match with syntax ValDef(mods, name, tpt, rhs).

  162. abstract type ValOrDefDef >: Null <: MemberDef with ValOrDefDefApi

    A common base class for ValDefs and DefDefs.

    A common base class for ValDefs and DefDefs.

    Definition Classes
    TreesTrees
  163. trait ValOrDefDefApi extends TreeBase with MemberDefApi

    The API that all val defs and def defs support

Abstract Value Members

  1. abstract val Alternative: AlternativeExtractor

    The constructor/deconstructor for Alternative instances.

    The constructor/deconstructor for Alternative instances.

    Definition Classes
    Trees
  2. implicit abstract val AlternativeTag: ClassTag[Alternative]

    A tag that preserves the identity of the Alternative abstract type from erasure.

    A tag that preserves the identity of the Alternative abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  3. abstract val Annotated: AnnotatedExtractor

    The constructor/deconstructor for Annotated instances.

    The constructor/deconstructor for Annotated instances.

    Definition Classes
    Trees
  4. implicit abstract val AnnotatedTag: ClassTag[Annotated]

    A tag that preserves the identity of the Annotated abstract type from erasure.

    A tag that preserves the identity of the Annotated abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  5. abstract val AppliedTypeTree: AppliedTypeTreeExtractor

    The constructor/deconstructor for AppliedTypeTree instances.

    The constructor/deconstructor for AppliedTypeTree instances.

    Definition Classes
    Trees
  6. implicit abstract val AppliedTypeTreeTag: ClassTag[AppliedTypeTree]

    A tag that preserves the identity of the AppliedTypeTree abstract type from erasure.

    A tag that preserves the identity of the AppliedTypeTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  7. abstract def Apply(sym: Symbol, args: Tree*): Tree

    Definition Classes
    Trees
  8. abstract val Apply: ApplyExtractor

    The constructor/deconstructor for Apply instances.

    The constructor/deconstructor for Apply instances.

    Definition Classes
    Trees
  9. abstract def ApplyConstructor(tpt: Tree, args: List[Tree]): Tree

    Definition Classes
    Trees
  10. abstract val ApplyDynamic: ApplyDynamicExtractor

    The constructor/deconstructor for ApplyDynamic instances.

    The constructor/deconstructor for ApplyDynamic instances.

    Definition Classes
    Trees
  11. implicit abstract val ApplyDynamicTag: ClassTag[ApplyDynamic]

    A tag that preserves the identity of the ApplyDynamic abstract type from erasure.

    A tag that preserves the identity of the ApplyDynamic abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  12. implicit abstract val ApplyTag: ClassTag[Apply]

    A tag that preserves the identity of the Apply abstract type from erasure.

    A tag that preserves the identity of the Apply abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  13. abstract val ArrayValue: ArrayValueExtractor

    The constructor/deconstructor for ArrayValue instances.

    The constructor/deconstructor for ArrayValue instances.

    Definition Classes
    Trees
  14. implicit abstract val ArrayValueTag: ClassTag[ArrayValue]

    A tag that preserves the identity of the ArrayValue abstract type from erasure.

    A tag that preserves the identity of the ArrayValue abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  15. abstract val Assign: AssignExtractor

    The constructor/deconstructor for Assign instances.

    The constructor/deconstructor for Assign instances.

    Definition Classes
    Trees
  16. abstract val AssignOrNamedArg: AssignOrNamedArgExtractor

    The constructor/deconstructor for AssignOrNamedArg instances.

    The constructor/deconstructor for AssignOrNamedArg instances.

    Definition Classes
    Trees
  17. implicit abstract val AssignOrNamedArgTag: ClassTag[AssignOrNamedArg]

    A tag that preserves the identity of the AssignOrNamedArg abstract type from erasure.

    A tag that preserves the identity of the AssignOrNamedArg abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  18. implicit abstract val AssignTag: ClassTag[Assign]

    A tag that preserves the identity of the Assign abstract type from erasure.

    A tag that preserves the identity of the Assign abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  19. abstract def Bind(sym: Symbol, body: Tree): Bind

    Definition Classes
    Trees
  20. abstract val Bind: BindExtractor

    The constructor/deconstructor for Bind instances.

    The constructor/deconstructor for Bind instances.

    Definition Classes
    Trees
  21. implicit abstract val BindTag: ClassTag[Bind]

    A tag that preserves the identity of the Bind abstract type from erasure.

    A tag that preserves the identity of the Bind abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  22. abstract def Block(stats: Tree*): Block

    Block factory that flattens directly nested blocks.

    Block factory that flattens directly nested blocks.

    Definition Classes
    Trees
  23. abstract val Block: BlockExtractor

    The constructor/deconstructor for Block instances.

    The constructor/deconstructor for Block instances.

    Definition Classes
    Trees
  24. implicit abstract val BlockTag: ClassTag[Block]

    A tag that preserves the identity of the Block abstract type from erasure.

    A tag that preserves the identity of the Block abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  25. abstract def CaseDef(pat: Tree, body: Tree): CaseDef

    casedef shorthand

    casedef shorthand

    Definition Classes
    Trees
  26. abstract val CaseDef: CaseDefExtractor

    The constructor/deconstructor for CaseDef instances.

    The constructor/deconstructor for CaseDef instances.

    Definition Classes
    Trees
  27. implicit abstract val CaseDefTag: ClassTag[CaseDef]

    A tag that preserves the identity of the CaseDef abstract type from erasure.

    A tag that preserves the identity of the CaseDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  28. abstract def ClassDef(sym: Symbol, impl: Template): ClassDef

    sym

    the class symbol

    impl

    the implementation template

    Definition Classes
    Trees
  29. abstract val ClassDef: ClassDefExtractor

    The constructor/deconstructor for ClassDef instances.

    The constructor/deconstructor for ClassDef instances.

    Definition Classes
    Trees
  30. implicit abstract val ClassDefTag: ClassTag[ClassDef]

    A tag that preserves the identity of the ClassDef abstract type from erasure.

    A tag that preserves the identity of the ClassDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  31. abstract val CompoundTypeTree: CompoundTypeTreeExtractor

    The constructor/deconstructor for CompoundTypeTree instances.

    The constructor/deconstructor for CompoundTypeTree instances.

    Definition Classes
    Trees
  32. implicit abstract val CompoundTypeTreeTag: ClassTag[CompoundTypeTree]

    A tag that preserves the identity of the CompoundTypeTree abstract type from erasure.

    A tag that preserves the identity of the CompoundTypeTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  33. abstract def DefDef(sym: Symbol, rhs: (List[List[Symbol]]) ⇒ Tree): DefDef

    Definition Classes
    Trees
  34. abstract def DefDef(sym: Symbol, rhs: Tree): DefDef

    Definition Classes
    Trees
  35. abstract def DefDef(sym: Symbol, mods: Modifiers, rhs: Tree): DefDef

    Definition Classes
    Trees
  36. abstract def DefDef(sym: Symbol, vparamss: List[List[ValDef]], rhs: Tree): DefDef

    Definition Classes
    Trees
  37. abstract def DefDef(sym: Symbol, mods: Modifiers, vparamss: List[List[ValDef]], rhs: Tree): DefDef

    Definition Classes
    Trees
  38. abstract val DefDef: DefDefExtractor

    The constructor/deconstructor for DefDef instances.

    The constructor/deconstructor for DefDef instances.

    Definition Classes
    Trees
  39. implicit abstract val DefDefTag: ClassTag[DefDef]

    A tag that preserves the identity of the DefDef abstract type from erasure.

    A tag that preserves the identity of the DefDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  40. implicit abstract val DefTreeTag: ClassTag[DefTree]

    A tag that preserves the identity of the DefTree abstract type from erasure.

    A tag that preserves the identity of the DefTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  41. abstract val EmptyTree: Tree

    The empty tree

    The empty tree

    Definition Classes
    Trees
  42. abstract val ExistentialTypeTree: ExistentialTypeTreeExtractor

    The constructor/deconstructor for ExistentialTypeTree instances.

    The constructor/deconstructor for ExistentialTypeTree instances.

    Definition Classes
    Trees
  43. implicit abstract val ExistentialTypeTreeTag: ClassTag[ExistentialTypeTree]

    A tag that preserves the identity of the ExistentialTypeTree abstract type from erasure.

    A tag that preserves the identity of the ExistentialTypeTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  44. abstract val Function: FunctionExtractor

    The constructor/deconstructor for Function instances.

    The constructor/deconstructor for Function instances.

    Definition Classes
    Trees
  45. implicit abstract val FunctionTag: ClassTag[Function]

    A tag that preserves the identity of the Function abstract type from erasure.

    A tag that preserves the identity of the Function abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  46. implicit abstract val GenericApplyTag: ClassTag[GenericApply]

    A tag that preserves the identity of the GenericApply abstract type from erasure.

    A tag that preserves the identity of the GenericApply abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  47. abstract def Ident(sym: Symbol): Ident

    Definition Classes
    Trees
  48. abstract def Ident(name: String): Ident

    Definition Classes
    Trees
  49. abstract val Ident: IdentExtractor

    The constructor/deconstructor for Ident instances.

    The constructor/deconstructor for Ident instances.

    Definition Classes
    Trees
  50. implicit abstract val IdentTag: ClassTag[Ident]

    A tag that preserves the identity of the Ident abstract type from erasure.

    A tag that preserves the identity of the Ident abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  51. abstract val If: IfExtractor

    The constructor/deconstructor for If instances.

    The constructor/deconstructor for If instances.

    Definition Classes
    Trees
  52. implicit abstract val IfTag: ClassTag[If]

    A tag that preserves the identity of the If abstract type from erasure.

    A tag that preserves the identity of the If abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  53. implicit abstract val ImplDefTag: ClassTag[ImplDef]

    A tag that preserves the identity of the ImplDef abstract type from erasure.

    A tag that preserves the identity of the ImplDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  54. abstract val Import: ImportExtractor

    The constructor/deconstructor for Import instances.

    The constructor/deconstructor for Import instances.

    Definition Classes
    Trees
  55. abstract val ImportSelector: ImportSelectorExtractor

    The constructor/deconstructor for ImportSelector instances.

    The constructor/deconstructor for ImportSelector instances.

    Definition Classes
    Trees
  56. implicit abstract val ImportSelectorTag: ClassTag[ImportSelector]

    A tag that preserves the identity of the ImportSelector abstract type from erasure.

    A tag that preserves the identity of the ImportSelector abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  57. implicit abstract val ImportTag: ClassTag[Import]

    A tag that preserves the identity of the Import abstract type from erasure.

    A tag that preserves the identity of the Import abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  58. abstract def LabelDef(sym: Symbol, params: List[Symbol], rhs: Tree): LabelDef

    Definition Classes
    Trees
  59. abstract val LabelDef: LabelDefExtractor

    The constructor/deconstructor for LabelDef instances.

    The constructor/deconstructor for LabelDef instances.

    Definition Classes
    Trees
  60. implicit abstract val LabelDefTag: ClassTag[LabelDef]

    A tag that preserves the identity of the LabelDef abstract type from erasure.

    A tag that preserves the identity of the LabelDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  61. abstract val Literal: LiteralExtractor

    The constructor/deconstructor for Literal instances.

    The constructor/deconstructor for Literal instances.

    Definition Classes
    Trees
  62. implicit abstract val LiteralTag: ClassTag[Literal]

    A tag that preserves the identity of the Literal abstract type from erasure.

    A tag that preserves the identity of the Literal abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  63. abstract val Match: MatchExtractor

    The constructor/deconstructor for Match instances.

    The constructor/deconstructor for Match instances.

    Definition Classes
    Trees
  64. implicit abstract val MatchTag: ClassTag[Match]

    A tag that preserves the identity of the Match abstract type from erasure.

    A tag that preserves the identity of the Match abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  65. implicit abstract val MemberDefTag: ClassTag[MemberDef]

    A tag that preserves the identity of the MemberDef abstract type from erasure.

    A tag that preserves the identity of the MemberDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  66. abstract val Modifiers: ModifiersCreator

    Definition Classes
    Trees
  67. implicit abstract val ModifiersTag: ClassTag[Modifiers]

    A tag that preserves the identity of the Modifiers abstract type from erasure.

    A tag that preserves the identity of the Modifiers abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  68. abstract def ModuleDef(sym: Symbol, impl: Template): ModuleDef

    sym

    the class symbol

    impl

    the implementation template

    Definition Classes
    Trees
  69. abstract val ModuleDef: ModuleDefExtractor

    The constructor/deconstructor for ModuleDef instances.

    The constructor/deconstructor for ModuleDef instances.

    Definition Classes
    Trees
  70. implicit abstract val ModuleDefTag: ClassTag[ModuleDef]

    A tag that preserves the identity of the ModuleDef abstract type from erasure.

    A tag that preserves the identity of the ModuleDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  71. implicit abstract val NameTreeTag: ClassTag[NameTree]

    A tag that preserves the identity of the NameTree abstract type from erasure.

    A tag that preserves the identity of the NameTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  72. abstract def New(sym: Symbol, args: Tree*): Tree

    Definition Classes
    Trees
  73. abstract def New(tpe: Type, args: Tree*): Tree

    0-1 argument list new, based on a type.

    0-1 argument list new, based on a type.

    Definition Classes
    Trees
  74. abstract def New(tpt: Tree, argss: List[List[Tree]]): Tree

    Factory method for object creation new tpt(args_1)...(args_n) A New(t, as) is expanded to: (new t).<init>(as)

    Factory method for object creation new tpt(args_1)...(args_n) A New(t, as) is expanded to: (new t).<init>(as)

    Definition Classes
    Trees
  75. abstract val New: NewExtractor

    The constructor/deconstructor for New instances.

    The constructor/deconstructor for New instances.

    Definition Classes
    Trees
  76. implicit abstract val NewTag: ClassTag[New]

    A tag that preserves the identity of the New abstract type from erasure.

    A tag that preserves the identity of the New abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  77. abstract val PackageDef: PackageDefExtractor

    The constructor/deconstructor for PackageDef instances.

    The constructor/deconstructor for PackageDef instances.

    Definition Classes
    Trees
  78. implicit abstract val PackageDefTag: ClassTag[PackageDef]

    A tag that preserves the identity of the PackageDef abstract type from erasure.

    A tag that preserves the identity of the PackageDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  79. implicit abstract val RefTreeTag: ClassTag[RefTree]

    A tag that preserves the identity of the RefTree abstract type from erasure.

    A tag that preserves the identity of the RefTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  80. abstract val ReferenceToBoxed: ReferenceToBoxedExtractor

    The constructor/deconstructor for ReferenceToBoxed instances.

    The constructor/deconstructor for ReferenceToBoxed instances.

    Definition Classes
    Trees
  81. implicit abstract val ReferenceToBoxedTag: ClassTag[ReferenceToBoxed]

    A tag that preserves the identity of the ReferenceToBoxed abstract type from erasure.

    A tag that preserves the identity of the ReferenceToBoxed abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  82. abstract val Return: ReturnExtractor

    The constructor/deconstructor for Return instances.

    The constructor/deconstructor for Return instances.

    Definition Classes
    Trees
  83. implicit abstract val ReturnTag: ClassTag[Return]

    A tag that preserves the identity of the Return abstract type from erasure.

    A tag that preserves the identity of the Return abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  84. abstract def Select(qualifier: Tree, sym: Symbol): Select

    Definition Classes
    Trees
  85. abstract def Select(qualifier: Tree, name: String): Select

    Definition Classes
    Trees
  86. abstract val Select: SelectExtractor

    The constructor/deconstructor for Select instances.

    The constructor/deconstructor for Select instances.

    Definition Classes
    Trees
  87. abstract val SelectFromTypeTree: SelectFromTypeTreeExtractor

    The constructor/deconstructor for SelectFromTypeTree instances.

    The constructor/deconstructor for SelectFromTypeTree instances.

    Definition Classes
    Trees
  88. implicit abstract val SelectFromTypeTreeTag: ClassTag[SelectFromTypeTree]

    A tag that preserves the identity of the SelectFromTypeTree abstract type from erasure.

    A tag that preserves the identity of the SelectFromTypeTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  89. implicit abstract val SelectTag: ClassTag[Select]

    A tag that preserves the identity of the Select abstract type from erasure.

    A tag that preserves the identity of the Select abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  90. abstract val SingletonTypeTree: SingletonTypeTreeExtractor

    The constructor/deconstructor for SingletonTypeTree instances.

    The constructor/deconstructor for SingletonTypeTree instances.

    Definition Classes
    Trees
  91. implicit abstract val SingletonTypeTreeTag: ClassTag[SingletonTypeTree]

    A tag that preserves the identity of the SingletonTypeTree abstract type from erasure.

    A tag that preserves the identity of the SingletonTypeTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  92. abstract val Star: StarExtractor

    The constructor/deconstructor for Star instances.

    The constructor/deconstructor for Star instances.

    Definition Classes
    Trees
  93. implicit abstract val StarTag: ClassTag[Star]

    A tag that preserves the identity of the Star abstract type from erasure.

    A tag that preserves the identity of the Star abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  94. abstract def Super(sym: Symbol, mix: TypeName): Tree

    Definition Classes
    Trees
  95. abstract val Super: SuperExtractor

    The constructor/deconstructor for Super instances.

    The constructor/deconstructor for Super instances.

    Definition Classes
    Trees
  96. implicit abstract val SuperTag: ClassTag[Super]

    A tag that preserves the identity of the Super abstract type from erasure.

    A tag that preserves the identity of the Super abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  97. implicit abstract val SymTreeTag: ClassTag[SymTree]

    A tag that preserves the identity of the SymTree abstract type from erasure.

    A tag that preserves the identity of the SymTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  98. abstract val Template: TemplateExtractor

    The constructor/deconstructor for Template instances.

    The constructor/deconstructor for Template instances.

    Definition Classes
    Trees
  99. implicit abstract val TemplateTag: ClassTag[Template]

    A tag that preserves the identity of the Template abstract type from erasure.

    A tag that preserves the identity of the Template abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  100. implicit abstract val TermTreeTag: ClassTag[TermTree]

    A tag that preserves the identity of the TermTree abstract type from erasure.

    A tag that preserves the identity of the TermTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  101. abstract def This(sym: Symbol): Tree

    Definition Classes
    Trees
  102. abstract val This: ThisExtractor

    The constructor/deconstructor for This instances.

    The constructor/deconstructor for This instances.

    Definition Classes
    Trees
  103. implicit abstract val ThisTag: ClassTag[This]

    A tag that preserves the identity of the This abstract type from erasure.

    A tag that preserves the identity of the This abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  104. abstract def Throw(tpe: Type, args: Tree*): Throw

    Definition Classes
    Trees
  105. abstract val Throw: ThrowExtractor

    The constructor/deconstructor for Throw instances.

    The constructor/deconstructor for Throw instances.

    Definition Classes
    Trees
  106. implicit abstract val ThrowTag: ClassTag[Throw]

    A tag that preserves the identity of the Throw abstract type from erasure.

    A tag that preserves the identity of the Throw abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  107. implicit abstract val TreeTag: ClassTag[Tree]

    A tag that preserves the identity of the Tree abstract type from erasure.

    A tag that preserves the identity of the Tree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  108. abstract def Try(body: Tree, cases: (Tree, Tree)*): Try

    Definition Classes
    Trees
  109. abstract val Try: TryExtractor

    The constructor/deconstructor for Try instances.

    The constructor/deconstructor for Try instances.

    Definition Classes
    Trees
  110. implicit abstract val TryTag: ClassTag[Try]

    A tag that preserves the identity of the Try abstract type from erasure.

    A tag that preserves the identity of the Try abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  111. implicit abstract val TypTreeTag: ClassTag[TypTree]

    A tag that preserves the identity of the TypTree abstract type from erasure.

    A tag that preserves the identity of the TypTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  112. abstract val TypeApply: TypeApplyExtractor

    The constructor/deconstructor for TypeApply instances.

    The constructor/deconstructor for TypeApply instances.

    Definition Classes
    Trees
  113. implicit abstract val TypeApplyTag: ClassTag[TypeApply]

    A tag that preserves the identity of the TypeApply abstract type from erasure.

    A tag that preserves the identity of the TypeApply abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  114. abstract val TypeBoundsTree: TypeBoundsTreeExtractor

    The constructor/deconstructor for TypeBoundsTree instances.

    The constructor/deconstructor for TypeBoundsTree instances.

    Definition Classes
    Trees
  115. implicit abstract val TypeBoundsTreeTag: ClassTag[TypeBoundsTree]

    A tag that preserves the identity of the TypeBoundsTree abstract type from erasure.

    A tag that preserves the identity of the TypeBoundsTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  116. abstract def TypeDef(sym: Symbol): TypeDef

    A TypeDef node which defines abstract type or type parameter for given sym

    A TypeDef node which defines abstract type or type parameter for given sym

    Definition Classes
    Trees
  117. abstract def TypeDef(sym: Symbol, rhs: Tree): TypeDef

    A TypeDef node which defines given sym with given tight hand side rhs.

    A TypeDef node which defines given sym with given tight hand side rhs.

    Definition Classes
    Trees
  118. abstract val TypeDef: TypeDefExtractor

    The constructor/deconstructor for TypeDef instances.

    The constructor/deconstructor for TypeDef instances.

    Definition Classes
    Trees
  119. implicit abstract val TypeDefTag: ClassTag[TypeDef]

    A tag that preserves the identity of the TypeDef abstract type from erasure.

    A tag that preserves the identity of the TypeDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  120. abstract def TypeTree(tp: Type): TypeTree

    Definition Classes
    Trees
  121. abstract val TypeTree: TypeTreeExtractor

    The constructor/deconstructor for TypeTree instances.

    The constructor/deconstructor for TypeTree instances.

    Definition Classes
    Trees
  122. implicit abstract val TypeTreeTag: ClassTag[TypeTree]

    A tag that preserves the identity of the TypeTree abstract type from erasure.

    A tag that preserves the identity of the TypeTree abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  123. abstract val Typed: TypedExtractor

    The constructor/deconstructor for Typed instances.

    The constructor/deconstructor for Typed instances.

    Definition Classes
    Trees
  124. implicit abstract val TypedTag: ClassTag[Typed]

    A tag that preserves the identity of the Typed abstract type from erasure.

    A tag that preserves the identity of the Typed abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  125. abstract val UnApply: UnApplyExtractor

    The constructor/deconstructor for UnApply instances.

    The constructor/deconstructor for UnApply instances.

    Definition Classes
    Trees
  126. implicit abstract val UnApplyTag: ClassTag[UnApply]

    A tag that preserves the identity of the UnApply abstract type from erasure.

    A tag that preserves the identity of the UnApply abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  127. abstract def ValDef(sym: Symbol): ValDef

    Definition Classes
    Trees
  128. abstract def ValDef(sym: Symbol, rhs: Tree): ValDef

    Definition Classes
    Trees
  129. abstract val ValDef: ValDefExtractor

    The constructor/deconstructor for ValDef instances.

    The constructor/deconstructor for ValDef instances.

    Definition Classes
    Trees
  130. implicit abstract val ValDefTag: ClassTag[ValDef]

    A tag that preserves the identity of the ValDef abstract type from erasure.

    A tag that preserves the identity of the ValDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  131. implicit abstract val ValOrDefDefTag: ClassTag[ValOrDefDef]

    A tag that preserves the identity of the ValOrDefDef abstract type from erasure.

    A tag that preserves the identity of the ValOrDefDef abstract type from erasure. Can be used for pattern matching, instance tests, serialization and likes.

    Definition Classes
    Trees
  132. abstract val emptyValDef: ValDef

    An empty deferred value definition corresponding to: val _: _ This is used as a placeholder in the self parameter Template if there is no definition of a self value of self type.

  133. abstract def newLazyTreeCopier: TreeCopier

  134. abstract def newStrictTreeCopier: TreeCopier

  135. abstract def treeToString(tree: Tree): String

    Obtains string representation of a tree

    Obtains string representation of a tree

    Attributes
    protected
    Definition Classes
    Trees

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

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

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    Any
  3. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

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

    Implicit information
    This member is added by an implicit conversion from Trees to ArrowAssoc[Trees] 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

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  8. def Modifiers(flags: FlagSet): Modifiers

    Definition Classes
    Trees
  9. def Modifiers(flags: FlagSet, privateWithin: Name): Modifiers

    Definition Classes
    Trees
  10. lazy val NoMods: Modifiers

    .

    ...

    Definition Classes
    Trees
  11. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  12. def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  13. def ensuring(cond: (Trees) ⇒ Boolean, msg: ⇒ Any): Trees

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

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

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

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

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

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

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

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

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  20. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

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

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  22. def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in Any.

    returns

    the hash code value for this object.

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

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  24. def itransform(transformer: Transformer, tree: Tree): Tree

    Attributes
    protected
  25. def itraverse(traverser: Traverser, tree: Tree): Unit

    Attributes
    protected
  26. final def ne(arg0: AnyRef): Boolean

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

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

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  28. final def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AnyRef → Any
  31. val treeCopy: TreeCopier

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def xtransform(transformer: Transformer, tree: Tree): Tree

    Attributes
    protected
  36. def xtraverse(traverser: Traverser, tree: Tree): Unit

    Attributes
    protected
  37. def [B](y: B): (Trees, B)

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

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Trees 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:
    (trees: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Trees 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:
    (trees: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Trees

    Implicit information
    This member is added by an implicit conversion from Trees to ArrowAssoc[Trees] 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:
    (trees: ArrowAssoc[Trees]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Trees

    Implicit information
    This member is added by an implicit conversion from Trees to Ensuring[Trees] 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:
    (trees: Ensuring[Trees]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Trees

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Trees to StringAdd

Inherited by implicit conversion any2stringfmt from Trees to StringFormat

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

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