trait Trees extends api.Trees

Self Type
SymbolTable
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Trees
  2. Trees
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AlternativeApi extends Universe.TermTreeApi

    The API that all alternatives support

    The API that all alternatives support

    Definition Classes
    Trees
  2. abstract class AlternativeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Alternative(trees). This AST node corresponds to the following Scala code:

    pat1 | ... | patn

    Definition Classes
    Trees
  3. trait AnnotatedApi extends Universe.TreeApi

    The API that all annotateds support

    The API that all annotateds support

    Definition Classes
    Trees
  4. abstract class AnnotatedExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Annotated(annot, arg). This AST node corresponds to the following Scala code:

    arg @annot // for types arg: @annot // for exprs

    Definition Classes
    Trees
  5. trait AppliedTypeTreeApi extends Universe.TypTreeApi

    The API that all applied type trees support

    The API that all applied type trees support

    Definition Classes
    Trees
  6. abstract class AppliedTypeTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax AppliedTypeTree(tpt, args). This AST node corresponds to the following Scala code:

    tpt[args]

    Should only be used with tpt nodes which are types, i.e. which have isType returning true. Otherwise TypeApply should be used instead.

    List[Int] as in val x: List[Int] = ??? // represented as AppliedTypeTree(Ident(<List>), List(TypeTree(<Int>)))

    def foo[T] = ??? foo[Int] // represented as TypeApply(Ident(<foo>), List(TypeTree(<Int>)))

    Definition Classes
    Trees
  7. trait ApplyApi extends Universe.GenericApplyApi

    The API that all applies support

    The API that all applies support

    Definition Classes
    Trees
  8. abstract class ApplyExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Apply(fun, args). This AST node corresponds to the following Scala code:

    fun(args)

    For instance:

    fun[targs](args)

    Is expressed as:

    Apply(TypeApply(fun, targs), args)

    Definition Classes
    Trees
  9. trait AssignApi extends Universe.TermTreeApi

    The API that all assigns support

    The API that all assigns support

    Definition Classes
    Trees
  10. abstract class AssignExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Assign(lhs, rhs). This AST node corresponds to the following Scala code:

    lhs = rhs

    Definition Classes
    Trees
  11. trait AssignOrNamedArgApi extends Universe.TermTreeApi

    The API that all assigns support

    The API that all assigns support

    Definition Classes
    Trees
  12. abstract class AssignOrNamedArgExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax AssignOrNamedArg(lhs, rhs). This AST node corresponds to the following Scala code:

    m.f(lhs = rhs)
    @annotation(lhs = rhs)
    Definition Classes
    Trees
  13. trait BindApi extends Universe.DefTreeApi

    The API that all binds support

    The API that all binds support

    Definition Classes
    Trees
  14. abstract class BindExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Bind(name, body). This AST node corresponds to the following Scala code:

    pat*

    Definition Classes
    Trees
  15. trait BlockApi extends Universe.TermTreeApi

    The API that all blocks support

    The API that all blocks support

    Definition Classes
    Trees
  16. abstract class BlockExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Block(stats, expr). This AST node corresponds to the following Scala code:

    { stats; expr }

    If the block is empty, the expr is set to Literal(Constant(())).

    Definition Classes
    Trees
  17. trait CaseDefApi extends Universe.TreeApi

    The API that all case defs support

    The API that all case defs support

    Definition Classes
    Trees
  18. abstract class CaseDefExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax CaseDef(pat, guard, body). This AST node corresponds to the following Scala code:

    case pat if guard => body

    If the guard is not present, the guard is set to EmptyTree. If the body is not specified, the body is set to Literal(Constant(()))

    Definition Classes
    Trees
  19. trait ClassDefApi extends Universe.ImplDefApi

    The API that all class defs support

    The API that all class defs support

    Definition Classes
    Trees
  20. abstract class ClassDefExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax ClassDef(mods, name, tparams, impl). This AST node corresponds to the following Scala code:

    mods class name [tparams] impl

    Where impl stands for:

    extends parents { defs }

    Definition Classes
    Trees
  21. trait CompoundTypeTreeApi extends Universe.TypTreeApi

    The API that all compound type trees support

    The API that all compound type trees support

    Definition Classes
    Trees
  22. abstract class CompoundTypeTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax CompoundTypeTree(templ). This AST node corresponds to the following Scala code:

    parent1 with ... with parentN { refinement }

    Definition Classes
    Trees
  23. trait DefDefApi extends Universe.ValOrDefDefApi

    The API that all def defs support

    The API that all def defs support

    Definition Classes
    Trees
  24. abstract class DefDefExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax DefDef(mods, name, tparams, vparamss, tpt, rhs). This AST node corresponds to the following Scala code:

    mods def name[tparams](vparams_1)...(vparams_n): tpt = rhs

    If the return type is not specified explicitly (i.e. is meant to be inferred), this is expressed by having tpt set to TypeTree() (but not to an EmptyTree!).

    Definition Classes
    Trees
  25. trait DefTreeApi extends Universe.SymTreeApi with Universe.NameTreeApi

    The API that all def trees support

    The API that all def trees support

    Definition Classes
    Trees
  26. trait ExistentialTypeTreeApi extends Universe.TypTreeApi

    The API that all existential type trees support

    The API that all existential type trees support

    Definition Classes
    Trees
  27. abstract class ExistentialTypeTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax ExistentialTypeTree(tpt, whereClauses). This AST node corresponds to the following Scala code:

    tpt forSome { whereClauses }

    Definition Classes
    Trees
  28. trait FunctionApi extends Universe.TermTreeApi with Universe.SymTreeApi

    The API that all functions support

    The API that all functions support

    Definition Classes
    Trees
  29. abstract class FunctionExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Function(vparams, body). This AST node corresponds to the following Scala code:

    vparams => body

    The symbol of a Function is a synthetic TermSymbol. It is the owner of the function's parameters.

    Definition Classes
    Trees
  30. trait GenericApplyApi extends Universe.TermTreeApi

    The API that all applies support

    The API that all applies support

    Definition Classes
    Trees
  31. trait IdentApi extends Universe.RefTreeApi

    The API that all idents support

    The API that all idents support

    Definition Classes
    Trees
  32. abstract class IdentExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Ident(qual, name). This AST node corresponds to the following Scala code:

    name

    Type checker converts idents that refer to enclosing fields or methods to selects. For example, name ==> this.name

    Definition Classes
    Trees
  33. trait IfApi extends Universe.TermTreeApi

    The API that all ifs support

    The API that all ifs support

    Definition Classes
    Trees
  34. abstract class IfExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax If(cond, thenp, elsep). This AST node corresponds to the following Scala code:

    if (cond) thenp else elsep

    If the alternative is not present, the elsep is set to Literal(Constant(())).

    Definition Classes
    Trees
  35. trait ImplDefApi extends Universe.MemberDefApi

    The API that all impl defs support

    The API that all impl defs support

    Definition Classes
    Trees
  36. trait ImportApi extends Universe.SymTreeApi

    The API that all imports support

    The API that all imports support

    Definition Classes
    Trees
  37. abstract class ImportExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Import(expr, selectors). This AST node corresponds to the following Scala code:

    import expr.{selectors}

    Selectors are a list of ImportSelectors, which conceptually are pairs of names (from, to). The last (and maybe only name) may be a nme.WILDCARD. For instance:

    import qual.{x, y => z, _}

    Would be represented as:

    Import(qual, List(("x", "x"), ("y", "z"), (WILDCARD, null)))

    The symbol of an Import is an import symbol @see Symbol.newImport. It's used primarily as a marker to check that the import has been typechecked.

    Definition Classes
    Trees
  38. trait ImportSelectorApi extends AnyRef

    The API that all import selectors support

    The API that all import selectors support

    Definition Classes
    Trees
  39. abstract class ImportSelectorExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax ImportSelector(name:, namePos, rename, renamePos). This is not an AST node, it is used as a part of the Import node.

    Definition Classes
    Trees
  40. trait LabelDefApi extends Universe.DefTreeApi with Universe.TermTreeApi

    The API that all label defs support

    The API that all label defs support

    Definition Classes
    Trees
  41. abstract class LabelDefExtractor extends AnyRef

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

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

    This AST node does not have direct correspondence to Scala code. It is used for tailcalls and like. For example, while/do are desugared to label defs as follows:

    while (cond) body ==> LabelDef($L, List(), if (cond) { body; L$() } else ())
    do body while (cond) ==> LabelDef($L, List(), body; if (cond) L$() else ())
    Definition Classes
    Trees
  42. trait LiteralApi extends Universe.TermTreeApi

    The API that all literals support

    The API that all literals support

    Definition Classes
    Trees
  43. abstract class LiteralExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Literal(value). This AST node corresponds to the following Scala code:

    value

    Definition Classes
    Trees
  44. trait MatchApi extends Universe.TermTreeApi

    The API that all matches support

    The API that all matches support

    Definition Classes
    Trees
  45. abstract class MatchExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Match(selector, cases). This AST node corresponds to the following Scala code:

    selector match { cases }

    Match is also used in pattern matching assignments like val (foo, bar) = baz.

    Definition Classes
    Trees
  46. trait MemberDefApi extends Universe.DefTreeApi

    The API that all member defs support

    The API that all member defs support

    Definition Classes
    Trees
  47. abstract class ModifiersApi extends AnyRef

    The API that all Modifiers support

    The API that all Modifiers support

    Definition Classes
    Trees
  48. abstract class ModifiersExtractor extends AnyRef

    An extractor class to create and pattern match with syntax Modifiers(flags, privateWithin, annotations).

    An extractor class to create and pattern match with syntax Modifiers(flags, privateWithin, annotations). Modifiers encapsulate flags, visibility annotations and Scala annotations for member definitions.

    Definition Classes
    Trees
  49. trait ModuleDefApi extends Universe.ImplDefApi

    The API that all module defs support

    The API that all module defs support

    Definition Classes
    Trees
  50. abstract class ModuleDefExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax ModuleDef(mods, name, impl). This AST node corresponds to the following Scala code:

    mods object name impl

    Where impl stands for:

    extends parents { defs }

    Definition Classes
    Trees
  51. trait NameTreeApi extends Universe.TreeApi

    The API that all name trees support

    The API that all name trees support

    Definition Classes
    Trees
  52. trait NewApi extends Universe.TermTreeApi

    The API that all news support

    The API that all news support

    Definition Classes
    Trees
  53. abstract class NewExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax New(tpt). This AST node corresponds to the following Scala code:

    new T

    This node always occurs in the following context:

    (new tpt).<init>[targs](args)

    For example, an AST representation of:

    new Example[Int](2)(3)

    is the following code:

    Apply( Apply( TypeApply( Select(New(TypeTree(typeOf[Example])), nme.CONSTRUCTOR) TypeTree(typeOf[Int])), List(Literal(Constant(2)))), List(Literal(Constant(3))))

    Definition Classes
    Trees
  54. trait PackageDefApi extends Universe.MemberDefApi

    The API that all package defs support

    The API that all package defs support

    Definition Classes
    Trees
  55. abstract class PackageDefExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax PackageDef(pid, stats). This AST node corresponds to the following Scala code:

    package pid { stats }

    Definition Classes
    Trees
  56. trait RefTreeApi extends Universe.SymTreeApi with Universe.NameTreeApi

    The API that all ref trees support

    The API that all ref trees support

    Definition Classes
    Trees
  57. abstract class RefTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax RefTree(qual, name). This AST node corresponds to either Ident, Select or SelectFromTypeTree.

    Definition Classes
    Trees
  58. trait ReturnApi extends Universe.TermTreeApi

    The API that all returns support

    The API that all returns support

    Definition Classes
    Trees
  59. abstract class ReturnExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Return(expr). This AST node corresponds to the following Scala code:

    return expr

    The symbol of a Return node is the enclosing method.

    Definition Classes
    Trees
  60. trait SelectApi extends Universe.RefTreeApi

    The API that all selects support

    The API that all selects support

    Definition Classes
    Trees
  61. abstract class SelectExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Select(qual, name). This AST node corresponds to the following Scala code:

    qualifier.selector

    Should only be used with qualifier nodes which are terms, i.e. which have isTerm returning true. Otherwise SelectFromTypeTree should be used instead.

    foo.Bar // represented as Select(Ident(<foo>), <Bar>) Foo#Bar // represented as SelectFromTypeTree(Ident(<Foo>), <Bar>)

    Definition Classes
    Trees
  62. trait SelectFromTypeTreeApi extends Universe.TypTreeApi with Universe.RefTreeApi

    The API that all selects from type trees support

    The API that all selects from type trees support

    Definition Classes
    Trees
  63. abstract class SelectFromTypeTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax SelectFromTypeTree(qualifier, name). This AST node corresponds to the following Scala code:

    qualifier # selector

    Note: a path-dependent type p.T is expressed as p.type # T

    Should only be used with qualifier nodes which are types, i.e. which have isType returning true. Otherwise Select should be used instead.

    Foo#Bar // represented as SelectFromTypeTree(Ident(<Foo>), <Bar>) foo.Bar // represented as Select(Ident(<foo>), <Bar>)

    Definition Classes
    Trees
  64. trait SingletonTypeTreeApi extends Universe.TypTreeApi

    The API that all singleton type trees support

    The API that all singleton type trees support

    Definition Classes
    Trees
  65. abstract class SingletonTypeTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax SingletonTypeTree(ref). This AST node corresponds to the following Scala code:

    ref.type

    Definition Classes
    Trees
  66. trait StarApi extends Universe.TermTreeApi

    The API that all stars support

    The API that all stars support

    Definition Classes
    Trees
  67. abstract class StarExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Star(elem). This AST node corresponds to the following Scala code:

    pat*

    Definition Classes
    Trees
  68. trait SuperApi extends Universe.TermTreeApi

    The API that all supers support

    The API that all supers support

    Definition Classes
    Trees
  69. abstract class SuperExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Super(qual, mix). This AST node corresponds to the following Scala code:

    C.super[M]

    Which is represented as:

    Super(This(C), M)

    If mix is empty, it is tpnme.EMPTY.

    The symbol of a Super is the class _from_ which the super reference is made. For instance in C.super(...), it would be C.

    Definition Classes
    Trees
  70. trait SymTreeApi extends Universe.TreeApi

    The API that all sym trees support

    The API that all sym trees support

    Definition Classes
    Trees
  71. trait TemplateApi extends Universe.SymTreeApi

    The API that all templates support

    The API that all templates support

    Definition Classes
    Trees
  72. abstract class TemplateExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Template(parents, self, body). This AST node corresponds to the following Scala code:

    extends parents { self => body }

    In case when the self-type annotation is missing, it is represented as an empty value definition with nme.WILDCARD as name and NoType as type.

    The symbol of a template is a local dummy. @see Symbol.newLocalDummy The owner of the local dummy is the enclosing trait or class. The local dummy is itself the owner of any local blocks. For example:

    class C { def foo { // owner is C def bar // owner is local dummy } }

    Definition Classes
    Trees
  73. trait TermTreeApi extends Universe.TreeApi

    The API that all term trees support

    The API that all term trees support

    Definition Classes
    Trees
  74. trait ThisApi extends Universe.TermTreeApi with Universe.SymTreeApi

    The API that all thises support

    The API that all thises support

    Definition Classes
    Trees
  75. abstract class ThisExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax This(qual). This AST node corresponds to the following Scala code:

    qual.this

    The symbol of a This is the class to which the this refers. For instance in C.this, it would be C.

    Definition Classes
    Trees
  76. trait ThrowApi extends Universe.TermTreeApi

    The API that all tries support

    The API that all tries support

    Definition Classes
    Trees
  77. abstract class ThrowExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Throw(expr). This AST node corresponds to the following Scala code:

    throw expr

    Definition Classes
    Trees
  78. abstract class Transformer extends AnyRef

    A class that implement a default tree transformation strategy: breadth-first component-wise cloning.

    A class that implement a default tree transformation strategy: breadth-first component-wise cloning.

    Definition Classes
    Trees
  79. class Traverser extends AnyRef

    A class that implement a default tree traversal strategy: breadth-first component-wise.

    A class that implement a default tree traversal strategy: breadth-first component-wise.

    Definition Classes
    Trees
  80. trait TreeApi extends Product

    The API that all trees support.

    The API that all trees support. The main source of information about trees is the scala.reflect.api.Trees page.

    Definition Classes
    Trees
  81. abstract class TreeCopierOps extends AnyRef

    The API of a tree copier.

    The API of a tree copier.

    Definition Classes
    Trees
  82. trait TryApi extends Universe.TermTreeApi

    The API that all tries support

    The API that all tries support

    Definition Classes
    Trees
  83. abstract class TryExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Try(block, catches, finalizer). This AST node corresponds to the following Scala code:

    try block catch { catches } finally finalizer

    If the finalizer is not present, the finalizer is set to EmptyTree.

    Definition Classes
    Trees
  84. trait TypTreeApi extends Universe.TreeApi

    The API that all typ trees support

    The API that all typ trees support

    Definition Classes
    Trees
  85. trait TypeApplyApi extends Universe.GenericApplyApi

    The API that all type applies support

    The API that all type applies support

    Definition Classes
    Trees
  86. abstract class TypeApplyExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax TypeApply(fun, args). This AST node corresponds to the following Scala code:

    fun[args]

    Should only be used with fun nodes which are terms, i.e. which have isTerm returning true. Otherwise AppliedTypeTree should be used instead.

    def foo[T] = ??? foo[Int] // represented as TypeApply(Ident(<foo>), List(TypeTree(<Int>)))

    List[Int] as in val x: List[Int] = ??? // represented as AppliedTypeTree(Ident(<List>), List(TypeTree(<Int>)))

    Definition Classes
    Trees
  87. trait TypeBoundsTreeApi extends Universe.TypTreeApi

    The API that all type bound trees support

    The API that all type bound trees support

    Definition Classes
    Trees
  88. abstract class TypeBoundsTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax TypeBoundsTree(lo, hi). This AST node corresponds to the following Scala code:

    >: lo <: hi

    Definition Classes
    Trees
  89. trait TypeDefApi extends Universe.MemberDefApi

    The API that all type defs support

    The API that all type defs support

    Definition Classes
    Trees
  90. abstract class TypeDefExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax TypeDef(mods, name, tparams, rhs). This AST node corresponds to the following Scala code:

    mods type name[tparams] = rhs

    mods type name[tparams] >: lo <: hi

    First usage illustrates TypeDefs representing type aliases and type parameters. Second usage illustrates TypeDefs representing abstract types, where lo and hi are both TypeBoundsTrees and Modifier.deferred is set in mods.

    Definition Classes
    Trees
  91. trait TypeTreeApi extends Universe.TypTreeApi

    The API that all type trees support

    The API that all type trees support

    Definition Classes
    Trees
  92. abstract class TypeTreeExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax TypeTree(). This AST node does not have direct correspondence to Scala code, and is emitted by everywhere when we want to wrap a Type in a Tree.

    Definition Classes
    Trees
  93. trait TypedApi extends Universe.TermTreeApi

    The API that all typeds support

    The API that all typeds support

    Definition Classes
    Trees
  94. abstract class TypedExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax Typed(expr, tpt). This AST node corresponds to the following Scala code:

    expr: tpt

    Definition Classes
    Trees
  95. trait UnApplyApi extends Universe.TermTreeApi

    The API that all unapplies support

    The API that all unapplies support

    Definition Classes
    Trees
  96. abstract class UnApplyExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax UnApply(fun, args). This AST node does not have direct correspondence to Scala code, and is introduced when typechecking pattern matches and try blocks.

    Definition Classes
    Trees
  97. trait ValDefApi extends Universe.ValOrDefDefApi

    The API that all val defs support

    The API that all val defs support

    Definition Classes
    Trees
  98. abstract class ValDefExtractor extends AnyRef

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

    An extractor class to create and pattern match with syntax ValDef(mods, name, tpt, rhs). This AST node corresponds to any of the following Scala code:

    mods val name: tpt = rhs

    mods var name: tpt = rhs

    mods name: tpt = rhs // in signatures of function and method definitions

    self: Bar => // self-types

    If the type of a value is not specified explicitly (i.e. is meant to be inferred), this is expressed by having tpt set to TypeTree() (but not to an EmptyTree!).

    Definition Classes
    Trees
  99. trait ValOrDefDefApi extends Universe.MemberDefApi

    The API that all val defs and def defs support

    The API that all val defs and def defs support

    Definition Classes
    Trees
  100. case class Alternative(trees: List[SymbolTable.Tree]) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.AlternativeApi with Product with Serializable
  101. case class Annotated(annot: SymbolTable.Tree, arg: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.AnnotatedApi with Product with Serializable
  102. case class AppliedTypeTree(tpt: SymbolTable.Tree, args: List[SymbolTable.Tree]) extends SymbolTable.Tree with SymbolTable.TypTree with SymbolTable.AppliedTypeTreeApi with Product with Serializable
  103. case class Apply(fun: SymbolTable.Tree, args: List[SymbolTable.Tree]) extends SymbolTable.GenericApply with SymbolTable.ApplyApi with Product with Serializable
  104. case class ApplyDynamic(qual: SymbolTable.Tree, args: List[SymbolTable.Tree]) extends SymbolTable.SymTree with SymbolTable.TermTree with Product with Serializable
  105. class ApplyImplicitView extends SymbolTable.Apply
  106. class ApplyToImplicitArgs extends SymbolTable.Apply
  107. case class ArrayValue(elemtpt: SymbolTable.Tree, elems: List[SymbolTable.Tree]) extends SymbolTable.Tree with SymbolTable.TermTree with Product with Serializable

    An array of expressions.

    An array of expressions. This AST node needs to be translated in backend. It is used to pass arguments to vararg arguments. Introduced by compiler phase uncurry.

    This AST node does not have direct correspondence to Scala code, and is used to pass arguments to vararg arguments. For instance:

    printf("%s%d", foo, 42)

    Is translated to after compiler phase uncurry to:

    Apply( Ident("printf"), Literal("%s%d"), ArrayValue(<Any>, List(Ident("foo"), Literal(42))))

  108. case class Assign(lhs: SymbolTable.Tree, rhs: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.AssignApi with Product with Serializable
  109. case class AssignOrNamedArg(lhs: SymbolTable.Tree, rhs: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.AssignOrNamedArgApi with Product with Serializable
  110. case class Bind(name: SymbolTable.Name, body: SymbolTable.Tree) extends SymbolTable.DefTree with SymbolTable.BindApi with Product with Serializable
  111. case class Block(stats: List[SymbolTable.Tree], expr: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.BlockApi with Product with Serializable
  112. trait CannotHaveAttrs extends SymbolTable.Tree
  113. case class CaseDef(pat: SymbolTable.Tree, guard: SymbolTable.Tree, body: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.CaseDefApi with Product with Serializable
  114. class ChangeOwnerTraverser extends SymbolTable.Traverser
  115. case class ClassDef(mods: SymbolTable.Modifiers, name: SymbolTable.TypeName, tparams: List[SymbolTable.TypeDef], impl: SymbolTable.Template) extends SymbolTable.ImplDef with SymbolTable.ClassDefApi with Product with Serializable
  116. class CollectTreeTraverser[T] extends SymbolTable.Traverser
  117. case class CompoundTypeTree(templ: SymbolTable.Template) extends SymbolTable.Tree with SymbolTable.TypTree with SymbolTable.CompoundTypeTreeApi with Product with Serializable
  118. case class DefDef(mods: SymbolTable.Modifiers, name: SymbolTable.TermName, tparams: List[SymbolTable.TypeDef], vparamss: List[List[SymbolTable.ValDef]], tpt: SymbolTable.Tree, rhs: SymbolTable.Tree) extends SymbolTable.ValOrDefDef with SymbolTable.DefDefApi with Product with Serializable
  119. abstract class DefTree extends SymbolTable.SymTree with SymbolTable.NameTree with SymbolTable.DefTreeApi
  120. case class ExistentialTypeTree(tpt: SymbolTable.Tree, whereClauses: List[SymbolTable.MemberDef]) extends SymbolTable.Tree with SymbolTable.TypTree with SymbolTable.ExistentialTypeTreeApi with Product with Serializable
  121. class FilterTreeTraverser extends SymbolTable.Traverser
  122. class FindTreeTraverser extends SymbolTable.Traverser
  123. class ForeachPartialTreeTraverser extends SymbolTable.Traverser
  124. class ForeachTreeTraverser extends SymbolTable.Traverser
  125. case class Function(vparams: List[SymbolTable.ValDef], body: SymbolTable.Tree) extends SymbolTable.SymTree with SymbolTable.TermTree with SymbolTable.FunctionApi with Product with Serializable
  126. abstract class GenericApply extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.GenericApplyApi
  127. case class Ident(name: SymbolTable.Name) extends SymbolTable.SymTree with SymbolTable.RefTree with SymbolTable.IdentApi with Product with Serializable
  128. case class If(cond: SymbolTable.Tree, thenp: SymbolTable.Tree, elsep: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.IfApi with Product with Serializable
  129. abstract class ImplDef extends SymbolTable.MemberDef with SymbolTable.ImplDefApi
  130. case class Import(expr: SymbolTable.Tree, selectors: List[SymbolTable.ImportSelector]) extends SymbolTable.SymTree with SymbolTable.ImportApi with Product with Serializable
  131. case class ImportSelector(name: SymbolTable.Name, namePos: Int, rename: SymbolTable.Name, renamePos: Int) extends SymbolTable.ImportSelectorApi with Product with Serializable
  132. abstract class InternalTreeCopierOps extends SymbolTable.TreeCopierOps
  133. case class LabelDef(name: SymbolTable.TermName, params: List[SymbolTable.Ident], rhs: SymbolTable.Tree) extends SymbolTable.DefTree with SymbolTable.TermTree with SymbolTable.LabelDefApi with Product with Serializable
  134. class LazyTreeCopier extends SymbolTable.InternalTreeCopierOps
  135. case class Literal(value: SymbolTable.Constant) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.LiteralApi with Product with Serializable
  136. case class Match(selector: SymbolTable.Tree, cases: List[SymbolTable.CaseDef]) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.MatchApi with Product with Serializable
  137. abstract class MemberDef extends SymbolTable.DefTree with SymbolTable.MemberDefApi
  138. case class Modifiers(flags: Long, privateWithin: SymbolTable.Name, annotations: List[SymbolTable.Tree]) extends SymbolTable.ModifiersApi with HasFlags with Product with Serializable

    privateWithin

    the qualifier for a private (a type name) or tpnme.EMPTY, if none is given.

    annotations

    the annotations for the definition. Note: the typechecker drops these annotations, use the AnnotationInfo's (Symbol.annotations) in later phases.

  139. case class ModuleDef(mods: SymbolTable.Modifiers, name: SymbolTable.TermName, impl: SymbolTable.Template) extends SymbolTable.ImplDef with SymbolTable.ModuleDefApi with Product with Serializable
  140. trait NameTree extends SymbolTable.Tree with SymbolTable.NameTreeApi
  141. case class New(tpt: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.NewApi with Product with Serializable
  142. case class PackageDef(pid: SymbolTable.RefTree, stats: List[SymbolTable.Tree]) extends SymbolTable.MemberDef with SymbolTable.PackageDefApi with Product with Serializable
  143. trait RefTree extends SymbolTable.SymTree with SymbolTable.NameTree with SymbolTable.RefTreeApi
  144. case class ReferenceToBoxed(ident: SymbolTable.Ident) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.ReferenceToBoxedApi with Product with Serializable
  145. case class Return(expr: SymbolTable.Tree) extends SymbolTable.SymTree with SymbolTable.TermTree with SymbolTable.ReturnApi with Product with Serializable
  146. case class Select(qualifier: SymbolTable.Tree, name: SymbolTable.Name) extends SymbolTable.SymTree with SymbolTable.RefTree with SymbolTable.SelectApi with Product with Serializable
  147. case class SelectFromTypeTree(qualifier: SymbolTable.Tree, name: SymbolTable.TypeName) extends SymbolTable.SymTree with SymbolTable.RefTree with SymbolTable.TypTree with SymbolTable.SelectFromTypeTreeApi with Product with Serializable
  148. case class SingletonTypeTree(ref: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TypTree with SymbolTable.SingletonTypeTreeApi with Product with Serializable
  149. case class Star(elem: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.StarApi with Product with Serializable
  150. class StrictTreeCopier extends SymbolTable.InternalTreeCopierOps
  151. case class Super(qual: SymbolTable.Tree, mix: SymbolTable.TypeName) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.SuperApi with Product with Serializable
  152. abstract class SymTree extends SymbolTable.Tree with SymbolTable.SymTreeApi
  153. case class Template(parents: List[SymbolTable.Tree], self: SymbolTable.ValDef, body: List[SymbolTable.Tree]) extends SymbolTable.SymTree with SymbolTable.TemplateApi with Product with Serializable
  154. trait TermTree extends SymbolTable.Tree with SymbolTable.TermTreeApi
  155. case class This(qual: SymbolTable.TypeName) extends SymbolTable.SymTree with SymbolTable.TermTree with SymbolTable.ThisApi with Product with Serializable
  156. class ThisSubstituter extends SymbolTable.Transformer

    Substitute clazz.this with to.

    Substitute clazz.this with to. to must be an attributed tree.

  157. case class Throw(expr: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.ThrowApi with Product with Serializable
  158. abstract class Tree extends SymbolTable.TreeContextApiImpl with SymbolTable.Attachable with Product
  159. abstract class TreeContextApiImpl extends SymbolTable.TreeApi
  160. abstract type TreeCopier >: Null <: SymbolTable.InternalTreeCopierOps

    The type of standard (lazy) tree copiers.

    The type of standard (lazy) tree copiers.

    Definition Classes
    TreesTrees
  161. class TreeReplacer extends SymbolTable.Transformer

    A transformer that replaces tree from with tree to in a given tree

  162. trait TreeStackTraverser extends SymbolTable.Traverser
  163. class TreeSubstituter extends SymbolTable.Transformer
  164. class TreeSymSubstTraverser extends SymbolTable.TypeMapTreeSubstituter
  165. class TreeSymSubstituter extends SymbolTable.Transformer

    Substitute symbols in from with symbols in to.

    Substitute symbols in from with symbols in to. Returns a new tree using the new symbols and whose Ident and Select nodes are name-consistent with the new symbols.

    Note: This is currently a destructive operation on the original Tree. Trees currently assigned a symbol in from will be assigned the new symbols without copying, and trees that define symbols with an info that refer a symbol in from will have a new type assigned.

  166. class TreeTypeSubstituter extends SymbolTable.TypeMapTreeSubstituter
  167. case class Try(block: SymbolTable.Tree, catches: List[SymbolTable.CaseDef], finalizer: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.TryApi with Product with Serializable
  168. trait TypTree extends SymbolTable.Tree with SymbolTable.TypTreeApi
  169. case class TypeApply(fun: SymbolTable.Tree, args: List[SymbolTable.Tree]) extends SymbolTable.GenericApply with SymbolTable.TypeApplyApi with Product with Serializable
  170. case class TypeBoundsTree(lo: SymbolTable.Tree, hi: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TypTree with SymbolTable.TypeBoundsTreeApi with Product with Serializable
  171. case class TypeDef(mods: SymbolTable.Modifiers, name: SymbolTable.TypeName, tparams: List[SymbolTable.TypeDef], rhs: SymbolTable.Tree) extends SymbolTable.MemberDef with SymbolTable.TypeDefApi with Product with Serializable
  172. class TypeMapTreeSubstituter extends SymbolTable.Traverser
  173. case class TypeTree() extends SymbolTable.Tree with SymbolTable.TypTree with SymbolTable.TypeTreeApi with Product with Serializable
  174. case class Typed(expr: SymbolTable.Tree, tpt: SymbolTable.Tree) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.TypedApi with Product with Serializable
  175. case class UnApply(fun: SymbolTable.Tree, args: List[SymbolTable.Tree]) extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.UnApplyApi with Product with Serializable
  176. trait UnderConstructionTransformer extends SymbolTable.Transformer

    Tracks the classes currently under construction during a transform

  177. case class ValDef(mods: SymbolTable.Modifiers, name: SymbolTable.TermName, tpt: SymbolTable.Tree, rhs: SymbolTable.Tree) extends SymbolTable.ValOrDefDef with SymbolTable.ValDefApi with Product with Serializable
  178. abstract class ValOrDefDef extends SymbolTable.MemberDef with SymbolTable.ValOrDefDefApi
  179. type ModifiersCreator = SymbolTable.ModifiersExtractor
    Definition Classes
    Trees
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use ModifiersExtractor instead

Abstract Value Members

  1. abstract def newLazyTreeCopier: SymbolTable.TreeCopier

    Creates a lazy tree copier.

    Creates a lazy tree copier.

    Definition Classes
    Trees
  2. abstract def newStrictTreeCopier: SymbolTable.TreeCopier

    Creates a strict tree copier.

    Creates a strict tree copier.

    Definition Classes
    Trees
  3. abstract def treeToString(tree: SymbolTable.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: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val AlternativeTag: ClassTag[SymbolTable.Alternative]
  5. implicit val AnnotatedTag: ClassTag[SymbolTable.Annotated]
  6. implicit val AppliedTypeTreeTag: ClassTag[SymbolTable.AppliedTypeTree]
  7. def Apply(sym: SymbolTable.Symbol, args: SymbolTable.Tree*): SymbolTable.Tree

    A factory method for Apply nodes.

    A factory method for Apply nodes.

    Definition Classes
    TreesTrees
  8. def ApplyConstructor(tpt: SymbolTable.Tree, args: List[SymbolTable.Tree]): SymbolTable.Apply

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

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

    Definition Classes
    TreesTrees
  9. implicit val ApplyTag: ClassTag[SymbolTable.Apply]
  10. implicit val AssignOrNamedArgTag: ClassTag[SymbolTable.AssignOrNamedArg]
  11. implicit val AssignTag: ClassTag[SymbolTable.Assign]
  12. def Bind(sym: SymbolTable.Symbol, body: SymbolTable.Tree): SymbolTable.Bind

    A factory method for Bind nodes.

    A factory method for Bind nodes.

    Definition Classes
    TreesTrees
  13. implicit val BindTag: ClassTag[SymbolTable.Bind]
  14. def Block(stats: SymbolTable.Tree*): SymbolTable.Block

    Block factory that flattens directly nested blocks.

    Block factory that flattens directly nested blocks.

    Definition Classes
    TreesTrees
  15. implicit val BlockTag: ClassTag[SymbolTable.Block]
  16. def CaseDef(pat: SymbolTable.Tree, body: SymbolTable.Tree): SymbolTable.CaseDef

    casedef shorthand

    casedef shorthand

    Definition Classes
    TreesTrees
  17. implicit val CaseDefTag: ClassTag[SymbolTable.CaseDef]
  18. implicit val ClassDefTag: ClassTag[SymbolTable.ClassDef]
  19. implicit val CompoundTypeTreeTag: ClassTag[SymbolTable.CompoundTypeTree]
  20. implicit val DefDefTag: ClassTag[SymbolTable.DefDef]
  21. implicit val DefTreeTag: ClassTag[SymbolTable.DefTree]
  22. lazy val EmptyTreeTypeSubstituter: SymbolTable.TreeTypeSubstituter
  23. implicit val ExistentialTypeTreeTag: ClassTag[SymbolTable.ExistentialTypeTree]
  24. implicit val FunctionTag: ClassTag[SymbolTable.Function]
  25. implicit val GenericApplyTag: ClassTag[SymbolTable.GenericApply]
  26. def Ident(sym: SymbolTable.Symbol): SymbolTable.Ident

    A factory method for Ident nodes.

    A factory method for Ident nodes.

    Definition Classes
    TreesTrees
  27. def Ident(name: String): SymbolTable.Ident

    A factory method for Ident nodes.

    A factory method for Ident nodes.

    Definition Classes
    TreesTrees
  28. implicit val IdentTag: ClassTag[SymbolTable.Ident]
  29. implicit val IfTag: ClassTag[SymbolTable.If]
  30. implicit val ImplDefTag: ClassTag[SymbolTable.ImplDef]
  31. implicit val ImportSelectorTag: ClassTag[SymbolTable.ImportSelector]
  32. implicit val ImportTag: ClassTag[SymbolTable.Import]
  33. implicit val LabelDefTag: ClassTag[SymbolTable.LabelDef]
  34. implicit val LiteralTag: ClassTag[SymbolTable.Literal]
  35. implicit val MatchTag: ClassTag[SymbolTable.Match]
  36. implicit val MemberDefTag: ClassTag[SymbolTable.MemberDef]
  37. def Modifiers(flags: SymbolTable.FlagSet): SymbolTable.Modifiers

    The factory for Modifiers instances.

    The factory for Modifiers instances.

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

    The factory for Modifiers instances.

    The factory for Modifiers instances.

    Definition Classes
    Trees
  39. implicit val ModifiersTag: ClassTag[SymbolTable.Modifiers]
  40. implicit val ModuleDefTag: ClassTag[SymbolTable.ModuleDef]
  41. implicit val NameTreeTag: ClassTag[SymbolTable.NameTree]
  42. def New(sym: SymbolTable.Symbol, args: SymbolTable.Tree*): SymbolTable.Tree

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

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

    Definition Classes
    TreesTrees
  43. def New(tpe: SymbolTable.Type, argss: List[List[SymbolTable.Tree]]): SymbolTable.Tree
  44. def New(tpe: SymbolTable.Type, args: SymbolTable.Tree*): SymbolTable.Tree

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

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

    Definition Classes
    TreesTrees
  45. def New(tpt: SymbolTable.Tree, argss: List[List[SymbolTable.Tree]]): SymbolTable.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
    TreesTrees
  46. def NewFromConstructor(constructor: SymbolTable.Symbol, args: SymbolTable.Tree*): SymbolTable.Apply
  47. implicit val NewTag: ClassTag[SymbolTable.New]
  48. lazy val NoMods: SymbolTable.Modifiers

    An empty Modifiers object: no flags, empty visibility annotation and no Scala annotations.

    An empty Modifiers object: no flags, empty visibility annotation and no Scala annotations.

    Definition Classes
    Trees
  49. implicit val PackageDefTag: ClassTag[SymbolTable.PackageDef]
  50. implicit val RefTreeTag: ClassTag[SymbolTable.RefTree]
  51. implicit val ReferenceToBoxedTag: ClassTag[SymbolTable.ReferenceToBoxed]
  52. implicit val ReturnTag: ClassTag[SymbolTable.Return]
  53. def Select(qualifier: SymbolTable.Tree, sym: SymbolTable.Symbol): SymbolTable.Select

    A factory method for Select nodes.

    A factory method for Select nodes.

    Definition Classes
    TreesTrees
  54. def Select(qualifier: SymbolTable.Tree, name: String): SymbolTable.Select

    A factory method for Select nodes.

    A factory method for Select nodes. The string name argument is assumed to represent a TermName.

    Definition Classes
    TreesTrees
  55. implicit val SelectFromTypeTreeTag: ClassTag[SymbolTable.SelectFromTypeTree]
  56. implicit val SelectTag: ClassTag[SymbolTable.Select]
  57. implicit val SingletonTypeTreeTag: ClassTag[SymbolTable.SingletonTypeTree]
  58. implicit val StarTag: ClassTag[SymbolTable.Star]
  59. def Super(sym: SymbolTable.Symbol, mix: SymbolTable.TypeName): SymbolTable.Tree

    A factory method for Super nodes.

    A factory method for Super nodes.

    Definition Classes
    TreesTrees
  60. def SuperSelect(clazz: SymbolTable.Symbol, sym: SymbolTable.Symbol): SymbolTable.Tree

    Creates a tree that selects a specific member sym without having to qualify the super.

    Creates a tree that selects a specific member sym without having to qualify the super. For example, given traits B <:< A, a class C <:< B needs to invoke A.$init$. If A is not a direct parent, a tree super[A].$init$ would not type check ("does not name a parent"). So we generate super.$init$ and pre-assign the correct symbol. A special-case in typedSelectInternal assigns the correct type A to the super qualifier.

  61. implicit val SuperTag: ClassTag[SymbolTable.Super]
  62. implicit val SymTreeTag: ClassTag[SymbolTable.SymTree]
  63. def Template(sym: SymbolTable.Symbol, body: List[SymbolTable.Tree]): SymbolTable.Template

    sym

    the template's symbol

    body

    trees that constitute the body of the template

    returns

    the template

  64. implicit val TemplateTag: ClassTag[SymbolTable.Template]
  65. implicit val TermTreeTag: ClassTag[SymbolTable.TermTree]
  66. def This(sym: SymbolTable.Symbol): SymbolTable.Tree

    A factory method for This nodes.

    A factory method for This nodes.

    Definition Classes
    TreesTrees
  67. implicit val ThisTag: ClassTag[SymbolTable.This]
  68. def Throw(tpe: SymbolTable.Type, args: SymbolTable.Tree*): SymbolTable.Throw

    A factory method for Throw nodes.

    A factory method for Throw nodes.

    Definition Classes
    TreesTrees
  69. implicit val ThrowTag: ClassTag[SymbolTable.Throw]
  70. implicit val TreeTag: ClassTag[SymbolTable.Tree]
  71. def Try(body: SymbolTable.Tree, cases: (SymbolTable.Tree, SymbolTable.Tree)*): SymbolTable.Try

    A factory method for Try nodes.

    A factory method for Try nodes.

    Definition Classes
    TreesTrees
  72. implicit val TryTag: ClassTag[SymbolTable.Try]
  73. implicit val TypTreeTag: ClassTag[SymbolTable.TypTree]
  74. implicit val TypeApplyTag: ClassTag[SymbolTable.TypeApply]
  75. def TypeBoundsTree(sym: SymbolTable.Symbol): SymbolTable.TypeBoundsTree
  76. def TypeBoundsTree(bounds: SymbolTable.TypeBounds): SymbolTable.TypeBoundsTree
  77. implicit val TypeBoundsTreeTag: ClassTag[SymbolTable.TypeBoundsTree]
  78. implicit val TypeDefTag: ClassTag[SymbolTable.TypeDef]
  79. def TypeTree(tp: SymbolTable.Type): SymbolTable.TypeTree

    A factory method for TypeTree nodes.

    A factory method for TypeTree nodes.

    Definition Classes
    TreesTrees
  80. implicit val TypeTreeTag: ClassTag[SymbolTable.TypeTree]
  81. implicit val TypedTag: ClassTag[SymbolTable.Typed]
  82. implicit val UnApplyTag: ClassTag[SymbolTable.UnApply]
  83. implicit val ValDefTag: ClassTag[SymbolTable.ValDef]
  84. implicit val ValOrDefDefTag: ClassTag[SymbolTable.ValOrDefDef]
  85. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  86. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  87. def copyClassDef(tree: SymbolTable.Tree)(mods: SymbolTable.Modifiers = null, name: SymbolTable.Name = null, tparams: List[SymbolTable.TypeDef] = null, impl: SymbolTable.Template = null): SymbolTable.ClassDef
  88. def copyDefDef(tree: SymbolTable.Tree)(mods: SymbolTable.Modifiers = null, name: SymbolTable.Name = null, tparams: List[SymbolTable.TypeDef] = null, vparamss: List[List[SymbolTable.ValDef]] = null, tpt: SymbolTable.Tree = null, rhs: SymbolTable.Tree = null): SymbolTable.DefDef
  89. def copyModuleDef(tree: SymbolTable.Tree)(mods: SymbolTable.Modifiers = null, name: SymbolTable.Name = null, impl: SymbolTable.Template = null): SymbolTable.ModuleDef
  90. def copyTypeDef(tree: SymbolTable.Tree)(mods: SymbolTable.Modifiers = null, name: SymbolTable.Name = null, tparams: List[SymbolTable.TypeDef] = null, rhs: SymbolTable.Tree = null): SymbolTable.TypeDef
  91. def copyValDef(tree: SymbolTable.Tree)(mods: SymbolTable.Modifiers = null, name: SymbolTable.Name = null, tpt: SymbolTable.Tree = null, rhs: SymbolTable.Tree = null): SymbolTable.ValDef
  92. def deriveCaseDef(cdef: SymbolTable.Tree)(applyToBody: (SymbolTable.Tree) ⇒ SymbolTable.Tree): SymbolTable.CaseDef
  93. def deriveClassDef(cdef: SymbolTable.Tree)(applyToImpl: (SymbolTable.Template) ⇒ SymbolTable.Template): SymbolTable.ClassDef
  94. def deriveDefDef(ddef: SymbolTable.Tree)(applyToRhs: (SymbolTable.Tree) ⇒ SymbolTable.Tree): SymbolTable.DefDef
  95. def deriveFunction(func: SymbolTable.Tree)(applyToRhs: (SymbolTable.Tree) ⇒ SymbolTable.Tree): SymbolTable.Function
  96. def deriveLabelDef(ldef: SymbolTable.Tree)(applyToRhs: (SymbolTable.Tree) ⇒ SymbolTable.Tree): SymbolTable.LabelDef
  97. def deriveModuleDef(mdef: SymbolTable.Tree)(applyToImpl: (SymbolTable.Template) ⇒ SymbolTable.Template): SymbolTable.ModuleDef
  98. def deriveTemplate(templ: SymbolTable.Tree)(applyToBody: (List[SymbolTable.Tree]) ⇒ List[SymbolTable.Tree]): SymbolTable.Template
  99. def deriveValDef(vdef: SymbolTable.Tree)(applyToRhs: (SymbolTable.Tree) ⇒ SymbolTable.Tree): SymbolTable.ValDef
  100. def duplicateAndKeepPositions(tree: SymbolTable.Tree): SymbolTable.Tree
  101. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  102. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  103. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  104. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  105. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  106. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  107. def isReferenceToPredef(t: SymbolTable.Tree): Boolean

    Is the tree Predef, scala.Predef, or _root_.scala.Predef?

  108. def isReferenceToScalaMember(t: SymbolTable.Tree, Id: SymbolTable.Name): Boolean
  109. def itransform(transformer: SymbolTable.Transformer, tree: SymbolTable.Tree): SymbolTable.Tree

    Delegates the transformation strategy to scala.reflect.internal.Trees, because pattern matching on abstract types we have here degrades performance.

    Delegates the transformation strategy to scala.reflect.internal.Trees, because pattern matching on abstract types we have here degrades performance.

    Attributes
    protected
    Definition Classes
    TreesTrees
  110. def itraverse(traverser: SymbolTable.Traverser, tree: SymbolTable.Tree): Unit

    Delegates the traversal strategy to scala.reflect.internal.Trees, because pattern matching on abstract types we have here degrades performance.

    Delegates the traversal strategy to scala.reflect.internal.Trees, because pattern matching on abstract types we have here degrades performance.

    Attributes
    protected
    Definition Classes
    TreesTrees
  111. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  112. def newDefDef(sym: SymbolTable.Symbol, rhs: SymbolTable.Tree)(mods: SymbolTable.Modifiers = Modifiers(sym.flags), name: SymbolTable.TermName = sym.name.toTermName, tparams: List[SymbolTable.TypeDef] = sym.typeParams map TypeDef.apply, vparamss: List[List[SymbolTable.ValDef]] = mapParamss(sym)(ValDef.apply), tpt: SymbolTable.Tree = TypeTreeMemberType(sym)): SymbolTable.DefDef
  113. def newTypeDef(sym: SymbolTable.Symbol, rhs: SymbolTable.Tree)(mods: SymbolTable.Modifiers = Modifiers(sym.flags), name: SymbolTable.TypeName = sym.name.toTypeName, tparams: List[SymbolTable.TypeDef] = sym.typeParams map TypeDef.apply): SymbolTable.TypeDef
  114. def newValDef(sym: SymbolTable.Symbol, rhs: SymbolTable.Tree)(mods: SymbolTable.Modifiers = Modifiers(sym.flags), name: SymbolTable.TermName = sym.name.toTermName, tpt: SymbolTable.Tree = TypeTreeMemberType(sym)): SymbolTable.ValDef
  115. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  116. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  117. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  118. def toString(): String
    Definition Classes
    AnyRef → Any
  119. val treeCopy: SymbolTable.TreeCopier

    The standard (lazy) tree copier.

    The standard (lazy) tree copier.

    Definition Classes
    Trees
  120. def treeLine(t: SymbolTable.Tree): String
    Attributes
    protected
  121. def treeStatus(t: SymbolTable.Tree, enclosingTree: SymbolTable.Tree = null): String
    Attributes
    protected
  122. def treeSymStatus(t: SymbolTable.Tree): String
    Attributes
    protected
  123. def typeTreeSymbol(tree: SymbolTable.TypeTree): SymbolTable.Symbol

    Delegate for a TypeTree symbol.

    Delegate for a TypeTree symbol. This operation is unsafe because it may trigger type checking when forcing the type symbol of the underlying type.

    Attributes
    protected
  124. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  125. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  126. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  127. def wrappingIntoTerm(tree0: SymbolTable.Tree)(op: (SymbolTable.Tree) ⇒ SymbolTable.Tree): SymbolTable.Tree
  128. def xtransform(transformer: SymbolTable.Transformer, tree: SymbolTable.Tree): SymbolTable.Tree

    Provides an extension hook for the transformation strategy.

    Provides an extension hook for the transformation strategy. Future-proofs against new node types.

    Attributes
    protected
    Definition Classes
    Trees
  129. def xtraverse(traverser: SymbolTable.Traverser, tree: SymbolTable.Tree): Unit

    Provides an extension hook for the traversal strategy.

    Provides an extension hook for the traversal strategy. Future-proofs against new node types.

    Attributes
    protected
    Definition Classes
    Trees
  130. object Alternative extends SymbolTable.AlternativeExtractor with Serializable

    The constructor/extractor for Alternative instances.

    The constructor/extractor for Alternative instances.

    Definition Classes
    TreesTrees
  131. object Annotated extends SymbolTable.AnnotatedExtractor with Serializable

    The constructor/extractor for Annotated instances.

    The constructor/extractor for Annotated instances.

    Definition Classes
    TreesTrees
  132. object AppliedTypeTree extends SymbolTable.AppliedTypeTreeExtractor with Serializable

    The constructor/extractor for AppliedTypeTree instances.

    The constructor/extractor for AppliedTypeTree instances.

    Definition Classes
    TreesTrees
  133. object Apply extends SymbolTable.ApplyExtractor with Serializable

    The constructor/extractor for Apply instances.

    The constructor/extractor for Apply instances.

    Definition Classes
    TreesTrees
  134. object Assign extends SymbolTable.AssignExtractor with Serializable

    The constructor/extractor for Assign instances.

    The constructor/extractor for Assign instances.

    Definition Classes
    TreesTrees
  135. object AssignOrNamedArg extends SymbolTable.AssignOrNamedArgExtractor with Serializable

    The constructor/extractor for AssignOrNamedArg instances.

    The constructor/extractor for AssignOrNamedArg instances.

    Definition Classes
    TreesTrees
  136. object Bind extends SymbolTable.BindExtractor with Serializable

    The constructor/extractor for Bind instances.

    The constructor/extractor for Bind instances.

    Definition Classes
    TreesTrees
  137. object Block extends SymbolTable.BlockExtractor with Serializable

    The constructor/extractor for Block instances.

    The constructor/extractor for Block instances.

    Definition Classes
    TreesTrees
  138. object CaseDef extends SymbolTable.CaseDefExtractor with Serializable

    The constructor/extractor for CaseDef instances.

    The constructor/extractor for CaseDef instances.

    Definition Classes
    TreesTrees
  139. object ClassDef extends SymbolTable.ClassDefExtractor with Serializable

    The constructor/extractor for ClassDef instances.

    The constructor/extractor for ClassDef instances.

    Definition Classes
    TreesTrees
  140. object CompoundTypeTree extends SymbolTable.CompoundTypeTreeExtractor with Serializable

    The constructor/extractor for CompoundTypeTree instances.

    The constructor/extractor for CompoundTypeTree instances.

    Definition Classes
    TreesTrees
  141. object DefDef extends SymbolTable.DefDefExtractor with Serializable

    The constructor/extractor for DefDef instances.

    The constructor/extractor for DefDef instances.

    Definition Classes
    TreesTrees
  142. object EmptyTree extends SymbolTable.Tree with SymbolTable.TermTree with SymbolTable.CannotHaveAttrs with Product with Serializable

    The empty tree

    The empty tree

    Definition Classes
    TreesTrees
  143. object ExistentialTypeTree extends SymbolTable.ExistentialTypeTreeExtractor with Serializable

    The constructor/extractor for ExistentialTypeTree instances.

    The constructor/extractor for ExistentialTypeTree instances.

    Definition Classes
    TreesTrees
  144. object Function extends SymbolTable.FunctionExtractor with Serializable

    The constructor/extractor for Function instances.

    The constructor/extractor for Function instances.

    Definition Classes
    TreesTrees
  145. object Ident extends SymbolTable.IdentExtractor with Serializable

    The constructor/extractor for Ident instances.

    The constructor/extractor for Ident instances.

    Definition Classes
    TreesTrees
  146. object If extends SymbolTable.IfExtractor with Serializable

    The constructor/extractor for If instances.

    The constructor/extractor for If instances.

    Definition Classes
    TreesTrees
  147. object Import extends SymbolTable.ImportExtractor with Serializable

    The constructor/extractor for Import instances.

    The constructor/extractor for Import instances.

    Definition Classes
    TreesTrees
  148. object ImportSelector extends SymbolTable.ImportSelectorExtractor with Serializable

    The constructor/extractor for ImportSelector instances.

    The constructor/extractor for ImportSelector instances.

    Definition Classes
    TreesTrees
  149. object LabelDef extends SymbolTable.LabelDefExtractor with Serializable

    The constructor/extractor for LabelDef instances.

    The constructor/extractor for LabelDef instances.

    Definition Classes
    TreesTrees
  150. object Literal extends SymbolTable.LiteralExtractor with Serializable

    The constructor/extractor for Literal instances.

    The constructor/extractor for Literal instances.

    Definition Classes
    TreesTrees
  151. object Match extends SymbolTable.MatchExtractor with Serializable

    The constructor/extractor for Match instances.

    The constructor/extractor for Match instances.

    Definition Classes
    TreesTrees
  152. object MethodValue
  153. object Modifiers extends SymbolTable.ModifiersExtractor with Serializable

    The constructor/extractor for Modifiers instances.

    The constructor/extractor for Modifiers instances.

    Definition Classes
    TreesTrees
  154. object ModuleDef extends SymbolTable.ModuleDefExtractor with Serializable

    The constructor/extractor for ModuleDef instances.

    The constructor/extractor for ModuleDef instances.

    Definition Classes
    TreesTrees
  155. object New extends SymbolTable.NewExtractor with Serializable

    The constructor/extractor for New instances.

    The constructor/extractor for New instances.

    Definition Classes
    TreesTrees
  156. object PackageDef extends SymbolTable.PackageDefExtractor with Serializable

    The constructor/extractor for PackageDef instances.

    The constructor/extractor for PackageDef instances.

    Definition Classes
    TreesTrees
  157. object RefTree extends SymbolTable.RefTreeExtractor

    The constructor/extractor for RefTree instances.

    The constructor/extractor for RefTree instances.

    Definition Classes
    TreesTrees
  158. object ReferenceToBoxed extends SymbolTable.ReferenceToBoxedExtractor with Serializable
  159. object Return extends SymbolTable.ReturnExtractor with Serializable

    The constructor/extractor for Return instances.

    The constructor/extractor for Return instances.

    Definition Classes
    TreesTrees
  160. object Select extends SymbolTable.SelectExtractor with Serializable

    The constructor/extractor for Select instances.

    The constructor/extractor for Select instances.

    Definition Classes
    TreesTrees
  161. object SelectFromTypeTree extends SymbolTable.SelectFromTypeTreeExtractor with Serializable

    The constructor/extractor for SelectFromTypeTree instances.

    The constructor/extractor for SelectFromTypeTree instances.

    Definition Classes
    TreesTrees
  162. object SingletonTypeTree extends SymbolTable.SingletonTypeTreeExtractor with Serializable

    The constructor/extractor for SingletonTypeTree instances.

    The constructor/extractor for SingletonTypeTree instances.

    Definition Classes
    TreesTrees
  163. object Star extends SymbolTable.StarExtractor with Serializable

    The constructor/extractor for Star instances.

    The constructor/extractor for Star instances.

    Definition Classes
    TreesTrees
  164. object Super extends SymbolTable.SuperExtractor with Serializable

    The constructor/extractor for Super instances.

    The constructor/extractor for Super instances.

    Definition Classes
    TreesTrees
  165. object Template extends SymbolTable.TemplateExtractor with Serializable

    The constructor/extractor for Template instances.

    The constructor/extractor for Template instances.

    Definition Classes
    TreesTrees
  166. object This extends SymbolTable.ThisExtractor with Serializable

    The constructor/extractor for This instances.

    The constructor/extractor for This instances.

    Definition Classes
    TreesTrees
  167. object Throw extends SymbolTable.ThrowExtractor with Serializable

    The constructor/extractor for Throw instances.

    The constructor/extractor for Throw instances.

    Definition Classes
    TreesTrees
  168. object Try extends SymbolTable.TryExtractor with Serializable

    The constructor/extractor for Try instances.

    The constructor/extractor for Try instances.

    Definition Classes
    TreesTrees
  169. object TypeApply extends SymbolTable.TypeApplyExtractor with Serializable

    The constructor/extractor for TypeApply instances.

    The constructor/extractor for TypeApply instances.

    Definition Classes
    TreesTrees
  170. object TypeBoundsTree extends SymbolTable.TypeBoundsTreeExtractor with Serializable

    The constructor/extractor for TypeBoundsTree instances.

    The constructor/extractor for TypeBoundsTree instances.

    Definition Classes
    TreesTrees
  171. object TypeDef extends SymbolTable.TypeDefExtractor with Serializable

    The constructor/extractor for TypeDef instances.

    The constructor/extractor for TypeDef instances.

    Definition Classes
    TreesTrees
  172. object TypeTree extends SymbolTable.TypeTreeExtractor with Serializable

    The constructor/extractor for TypeTree instances.

    The constructor/extractor for TypeTree instances.

    Definition Classes
    TreesTrees
  173. object Typed extends SymbolTable.TypedExtractor with Serializable

    The constructor/extractor for Typed instances.

    The constructor/extractor for Typed instances.

    Definition Classes
    TreesTrees
  174. object UnApply extends SymbolTable.UnApplyExtractor with Serializable

    The constructor/extractor for UnApply instances.

    The constructor/extractor for UnApply instances.

    Definition Classes
    TreesTrees
  175. object ValDef extends SymbolTable.ValDefExtractor with Serializable

    The constructor/extractor for ValDef instances.

    The constructor/extractor for ValDef instances.

    Definition Classes
    TreesTrees
  176. object ValOrDefDef
  177. object noSelfType extends SymbolTable.ValDef with SymbolTable.CannotHaveAttrs

    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.

    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.

    Definition Classes
    TreesTrees
  178. object pendingSuperCall extends SymbolTable.Apply with SymbolTable.CannotHaveAttrs

    An empty superclass constructor call corresponding to: super.<init>() This is used as a placeholder in the primary constructor body in class templates to denote the insertion point of a call to superclass constructor after the typechecker figures out the superclass of a given template.

    An empty superclass constructor call corresponding to: super.<init>() This is used as a placeholder in the primary constructor body in class templates to denote the insertion point of a call to superclass constructor after the typechecker figures out the superclass of a given template.

    Definition Classes
    TreesTrees

Deprecated Value Members

  1. lazy val emptyValDef: SymbolTable.noSelfType.type
    Definition Classes
    TreesTrees
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use noSelfType instead

Inherited from api.Trees

Inherited from AnyRef

Inherited from Any

API

Extractors

Trees

Tree Copying

Factories

Tree Traversal and Transformation

Ungrouped