treehugger

Trees

trait Trees extends treehugger.api.Trees

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

Type Members

  1. abstract class AbsModifiers extends AnyRef

    Definition Classes
    Trees
  2. case class Alternative(trees: List[Universe.Tree]) extends Universe.Tree with Universe.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: Universe.Tree, arg: Universe.Tree) extends Universe.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[Universe.ValDef]], tpt: Universe.Tree, rhs: Universe.Tree) extends Universe.Tree with Universe.FuncTree with Product with Serializable

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

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

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

    Value application

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

    Dynamic value application.

  9. class ApplyImplicitView extends Universe.Apply

    Definition Classes
    Trees
  10. class ApplyToImplicitArgs extends Universe.Apply

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

    Array of expressions, needs to be translated in backend,

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

    Assignment

  13. class BackQuotedIdent extends Universe.Ident

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

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

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

    Block of expressions (semicolon separated expressions)

  16. case class CaseDef(pat: Universe.Tree, guard: Universe.Tree, body: Universe.Tree) extends Universe.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: Universe.Modifiers, ctormods: Universe.Modifiers, name: Universe.TypeName, tparams: List[Universe.TypeDef], vparams: List[Universe.ValDef], impl: Universe.Template) extends Universe.ImplDef with Product with Serializable

    A class definition.

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

    Commented expression

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

    Intersection type <parent1> with .

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

    A method or macro definition.

  21. abstract class DefTree extends Universe.Tree with Universe.SymTree

    A tree which defines a symbol-carrying entity.

  22. sealed trait Enumerator extends Universe.Tree

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

    Definition Classes
    Trees
  24. class FilterTreeTraverser extends Universe.Traverser

    Definition Classes
    Trees
  25. class FindTreeTraverser extends Universe.Traverser

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

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

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

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

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

    Definition Classes
    Trees
  31. class ForeachTreeTraverser extends Universe.Traverser

    Definition Classes
    Trees
  32. trait FuncTree extends Universe.Tree with Universe.TermTree

    A tree for a function expression.

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

    Anonymous function, eliminated by analyzer

  34. abstract class GenericApply extends Universe.Tree with Universe.TermTree

    Common base class for Apply and TypeApply.

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

    Identifier <name>

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

    Conditional expression

  37. abstract class ImplDef extends Universe.MemberDef

    A common base class for class and object definitions.

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

    Import clause

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

    Import selector

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

    Infix application

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

    Infix extraction, for example case x :: rest

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

    A labelled expression.

  43. class LazyTreeCopier extends Universe.TreeCopierOps

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

    Literal

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

    - Pattern matching expression (before explicitouter)

  46. abstract class MemberDef extends Universe.DefTree

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

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

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

    An object definition, e.

  49. case class New(tpt: Universe.Tree) extends Universe.Tree with Universe.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: Universe.Modifiers, pid: Universe.RefTree, stats: List[Universe.Tree]) extends Universe.MemberDef with Product with Serializable

    A packaging, such as package pid { stats }

  51. trait RefTree extends Universe.Tree with Universe.SymTree

    A tree which references a symbol-carrying entity.

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

    Return expression

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

    Designator <qualifier> .

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

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

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

    Singleton type, eliminated by RefCheck

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

    Repetition of pattern, eliminated by explicitouter

  57. class StrictTreeCopier extends Universe.TreeCopierOps

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

    Super reference, qual = corresponding this reference

  59. trait SymTree extends Universe.Tree

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

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

    Instantiation template of a class or trait

  61. trait TermTree extends Universe.Tree

    A tree for a term.

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

    Self reference

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

    Throw expression

  64. class Traverser extends AnyRef

    Definition Classes
    Trees
  65. abstract class Tree extends Product

    Tree is the basis for scala's abstract syntax.

  66. abstract type TreeCopier <: Forest.TreeCopierOps

    Definition Classes
    Trees
  67. trait TreeCopierOps extends AnyRef

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

    Definition Classes
    Trees
  69. trait TypTree extends Universe.Tree

    A tree for a type.

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

    Explicit type application.

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

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

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

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

    A synthetic tree holding an arbitrary type.

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

    Type annotation, eliminated by explicit outer

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

    Definition Classes
    Trees
  76. case class ValDef(mods: Universe.Modifiers, lhs: Universe.Tree, rhs: Universe.Tree) extends Universe.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 Universe.MemberDef

    A common base class for ValDefs and DefDefs.

Abstract Value Members

  1. abstract def newLazyTreeCopier: Forest.TreeCopier

    Definition Classes
    Trees
  2. abstract def newStrictTreeCopier: Forest.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: Forest.Symbol, args: Forest.Tree*): Forest.Apply

  7. def BackQuotedIdent(sym: Forest.Symbol): Forest.BackQuotedIdent

    Definition Classes
    Trees
  8. object BackQuotedIdent extends Serializable

    Definition Classes
    Trees
  9. def Bind(sym: Forest.Symbol, body: Forest.Tree): Forest.Bind

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

    Block factory that flattens directly nested blocks.

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

    casedef shorthand

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

    The empty tree

  13. def ForFilter(test: Forest.Tree): Forest.ForFilter

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

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

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

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

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

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

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

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

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

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

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

    sym

    the class symbol

    impl

    the implementation template

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

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

  25. def New(tpt: Forest.Tree, argss: List[List[Forest.Tree]]): Forest.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: Forest.Modifiers

  27. val NoPackage: Forest.Ident

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

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

  30. def Super(sym: Forest.Symbol): Forest.Super

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

  32. def This(sym: Forest.Symbol): Forest.This

  33. def TypeDef(sym: Forest.Symbol): Forest.TypeDef

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

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

  35. def TypeTree(tp: Forest.Type): Forest.TypeTree

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

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

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

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

    Definition Classes
    Any
  40. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. object emptyValDef extends Forest.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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. final def getClass(): 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: Forest.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: Forest.Traverser, tree: Forest.Tree): Unit

    Attributes
    protected
    Definition Classes
    Trees

Inherited from api.Trees

Inherited from AnyRef

Inherited from Any

No Group