scala.tools.nsc.ast

Trees

trait Trees extends Trees

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

Type Members

  1. class ChangeOwnerTraverser extends Traverser

  2. case class DocDef(comment: DocComment, definition: Tree) extends Tree with Product with Serializable

    Documented definition, eliminated by analyzer

  3. class ForeachPartialTreeTraverser extends Traverser

  4. class LazyTreeCopier extends LazyTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  5. case class Modifiers(flags: Long, privateWithin: Name, annotations: List[Tree]) extends AbsModifiers with HasFlags with Product with Serializable

  6. case class Parens(args: List[Tree]) extends Tree with Product with Serializable

    Only used during parsing

  7. case class ReferenceToBoxed(idt: Ident) extends Tree with TermTree with Product with Serializable

    Marks underlying reference to id as boxed.

  8. case class SelectFromArray(qualifier: Tree, name: Name, erasure: Type) extends Tree with TermTree with RefTree with Product with Serializable

    Array selection <qualifier> .

  9. class StrictTreeCopier extends StrictTreeCopier with TreeCopier

    Definition Classes
    Trees → Trees
  10. class Transformer extends Transformer

    Definition Classes
    Trees → Trees
  11. trait TreeCopier extends TreeCopierOps

    Definition Classes
    Trees → Trees
  12. class TreeOps extends AnyRef

  13. class TreeSubstituter extends Transformer

  14. class TreeSymSubstTraverser extends TypeMapTreeSubstituter

  15. class TreeSymSubstituter extends Transformer

    Substitute symbols in from with symbols in to.

  16. class TreeTypeSubstituter extends TypeMapTreeSubstituter

  17. class TypeMapTreeSubstituter extends Traverser

  18. case class TypeTreeWithDeferredRefCheck(check: () ⇒ TypeTree) extends Tree with TypTree with Product with Serializable

    emitted by typer, eliminated by refchecks

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*): Tree

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

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

    Block factory that flattens directly nested blocks.

    Block factory that flattens directly nested blocks.

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

    casedef shorthand

    casedef shorthand

    Definition Classes
    Trees
  10. def ClassDef(sym: Symbol, constrMods: Modifiers, vparamss: List[List[ValDef]], argss: List[List[Tree]], body: List[Tree], superPos: Position): ClassDef

    Construct class definition with given class symbol, value parameters, supercall arguments and template body.

    Construct class definition with given class symbol, value parameters, supercall arguments and template body.

    sym

    the class symbol

    constrMods

    the modifiers for the class constructor, i.e. as in class C private (...)

    vparamss

    the value parameters -- if they have symbols they should be owned by sym

    argss

    the supercall arguments

    body

    the template statements without primary constructor and value parameter fields.

  11. def ClassDef(sym: Symbol, impl: Template): ClassDef

    sym

    the class symbol

    returns

    the implementation template

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

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

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

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

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

    Definition Classes
    Trees
  17. lazy val EmptyTreeTypeSubstituter: TreeTypeSubstituter

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

    Definition Classes
    Trees
  19. def Ident(name: String): Ident

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

    Definition Classes
    Trees
  21. def Modifiers(mods: Set[Modifier], privateWithin: Name, annotations: List[Tree]): Modifiers

    Definition Classes
    Trees → Trees
  22. def Modifiers(flags: Long): Modifiers

    Definition Classes
    Trees
  23. def Modifiers(flags: Long, privateWithin: Name): Modifiers

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

    sym

    the class symbol

    impl

    the implementation template

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

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

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

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

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

    Definition Classes
    Trees
  28. lazy val NoMods: Modifiers

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

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

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

    Definition Classes
    Trees
  32. def Template(parents: List[Tree], self: ValDef, constrMods: Modifiers, vparamss: List[List[ValDef]], argss: List[List[Tree]], body: List[Tree], superPos: Position): Template

    Generates a template with constructor corresponding to

    Generates a template with constructor corresponding to

    constrmods (vparams1_) ... (vparams_n) preSuper { presupers } extends superclass(args_1) ... (args_n) with mixins { self => body }

    This gets translated to

    extends superclass with mixins { self => presupers' // presupers without rhs vparamss // abstract fields corresponding to value parameters def <init>(vparamss) { presupers super.<init>(args) } body }

  33. def This(sym: Symbol): Tree

    Definition Classes
    Trees
  34. def TypeDef(sym: Symbol): TypeDef

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

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

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

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

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

    Definition Classes
    Trees
  36. def TypeTree(tp: Type): TypeTree

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

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

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

    Definition Classes
    Any
  40. def atPos[T <: Tree](pos: Position)(tree: T): T

    Definition Classes
    Trees
  41. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  42. def duplicateTree(tree: Tree): Tree

    Attributes
    protected[scala]
    Definition Classes
    Trees → Trees
  43. object emptyValDef extends ValDef

    Definition Classes
    Trees → Trees
  44. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Definition Classes
    AnyRef
  51. def newLazyTreeCopier: TreeCopier

    Definition Classes
    Trees → Trees
  52. def newStrictTreeCopier: TreeCopier

    Definition Classes
    Trees → Trees
  53. final def notify(): Unit

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

    Definition Classes
    AnyRef
  55. def resetAllAttrs[A <: Tree](x: A): A

    resets symbol and tpe fields in a tree, @see ResetAttrs

  56. def resetLocalAttrs[A <: Tree](x: A): A

  57. object resetPos extends Traverser

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

    Definition Classes
    AnyRef
  59. def toString(): String

    Definition Classes
    AnyRef → Any
  60. val treeCopy: TreeCopier

    Definition Classes
    Trees
  61. object treeInfo extends TreeInfo

  62. implicit def treeOps(tree: Tree): TreeOps

    Definition Classes
    Trees
  63. lazy val treePrinter: TreePrinter

  64. final def wait(): Unit

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

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

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

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

    Attributes
    protected
    Definition Classes
    Trees → Trees

Inherited from Trees

Inherited from Trees

Inherited from AnyRef

Inherited from Any