treehugger

Trees

trait Trees extends Trees

Self Type
Forest
Linear Supertypes
Trees, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Trees
  2. Trees
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbsModifiers extends AnyRef

  2. case class Alternative(trees: List[Tree]) extends Tree with TermTree with Product with Serializable

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

  3. case class Annotated(annot: Tree, arg: Tree) extends Tree with Product with Serializable

    A tree that has an annotation attached to it.

  4. abstract type AnnotationType

    Definition Classes
    Trees
  5. case class AnonFunc(vparamss: List[List[ValDef]], tpt: Tree, rhs: Tree) extends Tree with FuncTree with Product with Serializable

  6. case class AppliedTypeTree(tpt: Tree, args: List[Tree]) extends Tree with TypTree with Product with Serializable

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

  7. case class Apply(fun: Tree, args: List[Tree]) extends GenericApply with Product with Serializable

    Value application

  8. case class ApplyDynamic(qual: Tree, args: List[Tree]) extends Tree with TermTree with SymTree with Product with Serializable

    Dynamic value application.

  9. class ApplyImplicitView extends Apply

  10. class ApplyToImplicitArgs extends Apply

  11. case class ArrayValue(elemtpt: Tree, elems: List[Tree]) extends Tree with TermTree with Product with Serializable

    Array of expressions, needs to be translated in backend,

  12. case class Assign(lhs: Tree, rhs: Tree) extends Tree with TermTree with Product with Serializable

    Assignment

  13. class BackQuotedIdent extends Ident

  14. case class Bind(name: Name, body: Tree) extends DefTree with Product with Serializable

    Bind of a variable to a rhs pattern, eliminated by explicitouter

  15. case class Block(stats: List[Tree], expr: Tree) extends Tree with TermTree with Product with Serializable

    Block of expressions (semicolon separated expressions)

  16. case class CaseDef(pat: Tree, guard: Tree, body: Tree) extends Tree with Product with Serializable

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

  17. case class ClassDef(mods: Modifiers, ctormods: Modifiers, name: TypeName, tparams: List[TypeDef], vparams: List[ValDef], impl: Template) extends ImplDef with Product with Serializable

    A class definition.

  18. case class Commented(mods: Modifiers, comment: List[String], expr: Tree) extends Tree with Product with Serializable

    Commented expression

  19. case class CompoundTypeTree(templ: Template) extends Tree with TypTree with Product with Serializable

    Intersection type <parent1> with .

  20. case class DefDef(mods: Modifiers, name: Name, tparams: List[TypeDef], vparamss: List[List[ValDef]], tpt: Tree, rhs: Tree) extends ValOrDefDef with Product with Serializable

    A method or macro definition.

  21. abstract class DefTree extends Tree with SymTree

    A tree which defines a symbol-carrying entity.

  22. sealed trait Enumerator extends Tree

  23. case class ExistentialTypeTree(tpt: Tree, whereClauses: List[Tree]) extends Tree with TypTree with Product with Serializable

  24. class FilterTreeTraverser extends Traverser

  25. class FindTreeTraverser extends Traverser

  26. case class ForFilter(pos: Position, test: Tree) extends Tree with Enumerator with Product with Serializable

  27. case class ForTree(enums: List[Enumerator], body: Tree) extends Tree with Product with Serializable

  28. case class ForValDef(pos: Position, name: TermName, tpt: Tree, rhs: Tree) extends ValOrDefDef with Enumerator with Product with Serializable

  29. case class ForValFrom(pos: Position, name: TermName, tpt: Tree, rhs: Tree) extends ValOrDefDef with Enumerator with Product with Serializable

  30. case class ForYieldTree(enums: List[Enumerator], body: Tree) extends Tree with Product with Serializable

  31. class ForeachTreeTraverser extends Traverser

  32. trait FuncTree extends Tree with TermTree

    A tree for a function expression.

  33. case class Function(vparams: List[ValDef], body: Tree) extends Tree with TermTree with SymTree with Product with Serializable

    Anonymous function, eliminated by analyzer

  34. abstract class GenericApply extends Tree with TermTree

    Common base class for Apply and TypeApply.

  35. case class Ident(name: Name) extends Tree with RefTree with Product with Serializable

    Identifier <name>

  36. case class If(cond: Tree, thenp: Tree, elsep: Tree) extends Tree with TermTree with Product with Serializable

    Conditional expression

  37. abstract class ImplDef extends MemberDef

    A common base class for class and object definitions.

  38. case class Import(expr: Tree, selectors: List[ImportSelector]) extends Tree with SymTree with Product with Serializable

    Import clause

  39. case class ImportSelector(name: Name, namePos: Int, rename: Name, renamePos: Int) extends Product with Serializable

    Import selector

  40. case class Infix(qualifier: Tree, name: Name, args: List[Tree]) extends Tree with Product with Serializable

    Infix application

  41. case class InfixUnApply(qualifier: Tree, name: Name, args: List[Tree]) extends Tree with Product with Serializable

    Infix extraction, for example case x :: rest

  42. case class LabelDef(name: TermName, param: Tree, rhs: Tree) extends DefTree with TermTree with Product with Serializable

    A labelled expression.

  43. class LazyTreeCopier extends TreeCopierOps

  44. case class Literal(value: Constant) extends Tree with TermTree with Product with Serializable

    Literal

  45. case class Match(selector: Tree, cases: List[CaseDef]) extends Tree with TermTree with Product with Serializable

    - Pattern matching expression (before explicitouter)

  46. abstract class MemberDef extends DefTree

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

  47. case class Modifiers(flags: Long, privateWithin: Name, annotations: List[AnnotationInfo]) extends AbsModifiers with HasFlags with Product with Serializable

  48. case class ModuleDef(mods: Modifiers, name: TermName, impl: Template) extends ImplDef with Product with Serializable

    An object definition, e.

  49. case class New(tpt: Tree) extends Tree with TermTree with Product with Serializable

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

  50. case class PackageDef(mods: Modifiers, pid: RefTree, stats: List[Tree]) extends MemberDef with Product with Serializable

    A packaging, such as package pid { stats }

  51. trait RefTree extends Tree with SymTree

    A tree which references a symbol-carrying entity.

  52. case class Return(expr: Tree) extends Tree with TermTree with SymTree with Product with Serializable

    Return expression

  53. case class Select(qualifier: Tree, name: Name) extends Tree with RefTree with Product with Serializable

    Designator <qualifier> .

  54. case class SelectFromTypeTree(qualifier: Tree, name: TypeName) extends Tree with TypTree with RefTree with Product with Serializable

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

  55. case class SingletonTypeTree(ref: Tree) extends Tree with TypTree with Product with Serializable

    Singleton type, eliminated by RefCheck

  56. case class Star(elem: Tree) extends Tree with TermTree with Product with Serializable

    Repetition of pattern, eliminated by explicitouter

  57. class StrictTreeCopier extends TreeCopierOps

  58. case class Super(qual: Tree, mix: TypeName) extends Tree with TermTree with Product with Serializable

    Super reference, qual = corresponding this reference

  59. trait SymTree extends Tree

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

  60. case class Template(parents: List[Tree], self: ValDef, body: List[Tree]) extends Tree with SymTree with Product with Serializable

    Instantiation template of a class or trait

  61. trait TermTree extends Tree

    A tree for a term.

  62. case class This(qual: TypeName) extends Tree with TermTree with SymTree with Product with Serializable

    Self reference

  63. case class Throw(expr: Tree) extends Tree with TermTree with Product with Serializable

    Throw expression

  64. class Traverser extends AnyRef

  65. abstract class Tree extends Product

    Tree is the basis for scala's abstract syntax.

  66. abstract type TreeCopier <: TreeCopierOps

    Definition Classes
    Trees
  67. trait TreeCopierOps extends AnyRef

  68. case class Try(block: Tree, catches: List[CaseDef], finalizer: Tree) extends Tree with TermTree with Product with Serializable

  69. trait TypTree extends Tree

    A tree for a type.

  70. case class TypeApply(fun: Tree, args: List[Tree]) extends GenericApply with Product with Serializable

    Explicit type application.

  71. case class TypeBoundsTree(lo: Tree, hi: Tree) extends Tree with TypTree with Product with Serializable

  72. case class TypeDef(mods: Modifiers, name: TypeName, tparams: List[TypeDef], rhs: Tree) extends MemberDef with Product with Serializable

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

  73. case class TypeTree() extends Tree with TypTree with Product with Serializable

    A synthetic tree holding an arbitrary type.

  74. case class Typed(expr: Tree, tpt: Tree) extends Tree with TermTree with Product with Serializable

    Type annotation, eliminated by explicit outer

  75. case class UnApply(fun: Tree, args: List[Tree]) extends Tree with TermTree with Product with Serializable

  76. case class ValDef(mods: Modifiers, lhs: Tree, rhs: Tree) extends ValOrDefDef with Product with Serializable

    A constant value definition (this includes vars as well, which differ from vals only in having the MUTABLE flag set in their Modifiers.

  77. abstract class ValOrDefDef extends MemberDef

    A common base class for ValDefs and DefDefs.

Abstract Value Members

  1. abstract def newLazyTreeCopier: TreeCopier

    Definition Classes
    Trees
  2. abstract def newStrictTreeCopier: TreeCopier

    Definition Classes
    Trees

Concrete Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. def Apply(sym: Symbol, args: Tree*): Apply

  7. def BackQuotedIdent(sym: Symbol): BackQuotedIdent

    Definition Classes
    Trees
  8. object BackQuotedIdent extends Serializable

  9. def Bind(sym: Symbol, body: Tree): Bind

  10. def Block(stats: Tree*): Block

    Block factory that flattens directly nested blocks.

  11. def CaseDef(pat: Tree, body: Tree): CaseDef

    casedef shorthand

  12. object EmptyTree extends Tree with TermTree with Product with Serializable

    The empty tree

  13. def ForFilter(test: Tree): ForFilter

    Definition Classes
    Trees
  14. def ForValDef(name: TermName, tpt: Tree, rhs: Tree): ForValDef

    Definition Classes
    Trees
  15. def ForValFrom(name: TermName, tpt: Tree, rhs: Tree): ForValFrom

    Definition Classes
    Trees
  16. def Ident(sym: Symbol): Ident

    Definition Classes
    Trees
  17. def Infix(qualifier: Tree, sym: Symbol, args: List[Tree]): Infix

    Definition Classes
    Trees
  18. def InfixUnApply(qualifier: Tree, sym: Symbol, args: List[Tree]): InfixUnApply

    Definition Classes
    Trees
  19. def LabelDef(sym: Symbol, param: Tree, rhs: Tree): LabelDef

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

  20. def Modifiers(mods: Set[Value], privateWithin: Name, annotations: List[AnnotationInfo]): Modifiers

    Definition Classes
    TreesTrees
  21. def Modifiers(flags: Long): Modifiers

  22. def Modifiers(flags: Long, privateWithin: Name): Modifiers

  23. def ModuleDef(sym: Symbol, impl: Template): ModuleDef

    sym

    the class symbol

    impl

    the implementation template

  24. def New(sym: Symbol, args: Tree*): Tree

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

  25. 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)

  26. lazy val NoMods: Modifiers

  27. val NoPackage: Ident

  28. def Select(qualifier: Tree, sym: Symbol): Select

    Definition Classes
    Trees
  29. def Super(qual: Tree): Super

  30. def Super(sym: Symbol): Super

  31. def Super(sym: Symbol, mix: TypeName): Super

  32. def This(sym: Symbol): This

  33. def TypeDef(sym: Symbol): TypeDef

  34. def TypeDef(sym: Symbol, rhs: Tree): TypeDef

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

  35. def TypeTree(tp: Type): TypeTree

    Definition Classes
    Trees
  36. def ValDef(sym: Symbol): ValDef

  37. def ValDef(sym: Symbol, rhs: Tree): ValDef

  38. def ValDef(mods: Modifiers, name: Name, tpt: Tree, rhs: Tree): ValDef

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

    Definition Classes
    Any
  40. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. object emptyValDef extends ValDef

    Definition Classes
    TreesTrees
  42. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. val treeCopy: TreeCopier

    Definition Classes
    Trees
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  57. def xtraverse(traverser: Traverser, tree: Tree): Unit

    Attributes
    protected
    Definition Classes
    Trees

Inherited from Trees

Inherited from AnyRef

Inherited from Any