scala.tools.nsc.ast.parser.Parsers.Parser

treeBuilder

object treeBuilder extends TreeBuilder

Source
Parsers.scala
Linear Supertypes
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. treeBuilder
  2. TreeBuilder
  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 Enumerator extends AnyRef

    Definition Classes
    TreeBuilder
  2. case class Filter(pos: Global.Position, test: Global.Tree) extends Enumerator with Product with Serializable

    Definition Classes
    TreeBuilder
  3. class GetVarTraverser extends Global.Traverser

    Traverse pattern and collect all variable names with their types in buffer The variables keep their positions; whereas the pattern is converted to be synthetic for all nodes that contain a variable position.

  4. case class ValEq(pos: Global.Position, pat: Global.Tree, rhs: Global.Tree) extends Enumerator with Product with Serializable

    Definition Classes
    TreeBuilder
  5. case class ValFrom(pos: Global.Position, pat: Global.Tree, rhs: Global.Tree) extends Enumerator with Product with Serializable

    Definition Classes
    TreeBuilder

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 addEvidenceParams(owner: Global.Name, vparamss: List[List[Global.ValDef]], contextBounds: List[Global.Tree]): List[List[Global.ValDef]]

    Append implicit parameter section if contextBounds nonempty

    Append implicit parameter section if contextBounds nonempty

    Definition Classes
    TreeBuilder
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def byNameApplication(tpe: Global.Tree): Global.Tree

    Definition Classes
    TreeBuilder
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def convertToTypeName(t: Global.Tree): Option[Global.RefTree]

    Definition Classes
    TreeBuilder
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def freshName(prefix: String): Global.Name

    Definition Classes
    treeBuilderTreeBuilder
  15. def freshName(): Global.Name

    Definition Classes
    TreeBuilder
  16. def freshTermName(prefix: String): Global.TermName

    Definition Classes
    treeBuilderTreeBuilder
  17. def freshTermName(): Global.TermName

    Definition Classes
    TreeBuilder
  18. def freshTypeName(prefix: String): Global.TypeName

    Definition Classes
    treeBuilderTreeBuilder
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. val global: Parsers.global.type

    Definition Classes
    treeBuilderTreeBuilder
  21. def hashCode(): Int

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

    Definition Classes
    Any
  23. def makeAlternative(ts: List[Global.Tree]): Global.Tree

    Create tree for a pattern alternative

    Create tree for a pattern alternative

    Definition Classes
    TreeBuilder
  24. def makeAnnotated(t: Global.Tree, annot: Global.Tree): Global.Tree

    Definition Classes
    TreeBuilder
  25. def makeAssign(lhs: Global.Tree, rhs: Global.Tree): Global.Tree

    Create a tree representing an assignment <lhs = rhs>

    Create a tree representing an assignment <lhs = rhs>

    Definition Classes
    TreeBuilder
  26. def makeBinop(isExpr: Boolean, left: Global.Tree, op: Global.TermName, right: Global.Tree, opPos: Global.Position): Global.Tree

    Create tree representing (unencoded) binary operation expression or pattern.

    Create tree representing (unencoded) binary operation expression or pattern.

    Definition Classes
    TreeBuilder
  27. def makeBlock(stats: List[Global.Tree]): Global.Tree

    Create block of statements stats

    Create block of statements stats

    Definition Classes
    TreeBuilder
  28. def makeCaseDef(pat: Global.Tree, guard: Global.Tree, rhs: Global.Tree): Global.CaseDef

    Create tree for case definition <case pat if guard => rhs>

    Create tree for case definition <case pat if guard => rhs>

    Definition Classes
    TreeBuilder
  29. def makeCatchFromExpr(catchExpr: Global.Tree): Global.CaseDef

    Creates tree representing: { case x: Throwable => val catchFn = catchExpr if (catchFn isDefinedAt x) catchFn(x) else throw x }

    Creates tree representing: { case x: Throwable => val catchFn = catchExpr if (catchFn isDefinedAt x) catchFn(x) else throw x }

    Definition Classes
    TreeBuilder
  30. def makeDoWhile(lname: Global.TermName, body: Global.Tree, cond: Global.Tree): Global.Tree

    Create tree representing a do-while loop

    Create tree representing a do-while loop

    Definition Classes
    TreeBuilder
  31. def makeFilter(tree: Global.Tree, condition: Global.Tree, scrutineeName: String): Global.Tree

    Definition Classes
    TreeBuilder
  32. def makeFor(enums: List[Enumerator], body: Global.Tree): Global.Tree

    Create tree for for-do comprehension <for (enums) body>

    Create tree for for-do comprehension <for (enums) body>

    Definition Classes
    TreeBuilder
  33. def makeForYield(enums: List[Enumerator], body: Global.Tree): Global.Tree

    Create tree for for-yield comprehension <for (enums) yield body>

    Create tree for for-yield comprehension <for (enums) yield body>

    Definition Classes
    TreeBuilder
  34. def makeFunctionTypeTree(argtpes: List[Global.Tree], restpe: Global.Tree): Global.Tree

    Create a tree representing the function type (argtpes) => restpe

    Create a tree representing the function type (argtpes) => restpe

    Definition Classes
    TreeBuilder
  35. def makeGenerator(pos: Global.Position, pat: Global.Tree, valeq: Boolean, rhs: Global.Tree): Enumerator

    Create tree for for-comprehension generator <val pat0 <- rhs0>

    Create tree for for-comprehension generator <val pat0 <- rhs0>

    Definition Classes
    TreeBuilder
  36. def makeImportSelector(name: Global.Name, nameOffset: Int): Global.ImportSelector

    Definition Classes
    TreeBuilder
  37. def makeIntersectionTypeTree(tps: List[Global.Tree]): Global.Tree

    A type tree corresponding to (possibly unary) intersection type

    A type tree corresponding to (possibly unary) intersection type

    Definition Classes
    TreeBuilder
  38. def makeLifted(gs: List[ValFrom], body: Global.Tree): Global.Tree

    Create tree for a lifted expression XX-LIFTING

    Create tree for a lifted expression XX-LIFTING

    Definition Classes
    TreeBuilder
  39. def makeNew(parents: List[Global.Tree], self: Global.ValDef, stats: List[Global.Tree], argss: List[List[Global.Tree]], npos: Global.Position, cpos: Global.Position): Global.Tree

    Create positioned tree representing an object creation <new parents { stats }

    Create positioned tree representing an object creation <new parents { stats }

    npos

    the position of the new

    cpos

    the position of the anonymous class starting with parents

    Definition Classes
    TreeBuilder
  40. def makeParam(pname: Global.TermName, tpe: Global.Tree): Global.ValDef

    Definition Classes
    TreeBuilder
  41. def makePatDef(mods: Global.Modifiers, pat: Global.Tree, rhs: Global.Tree): List[Global.Tree]

    Create tree for pattern definition <mods val pat0 = rhs>

    Create tree for pattern definition <mods val pat0 = rhs>

    Definition Classes
    TreeBuilder
  42. def makePatDef(pat: Global.Tree, rhs: Global.Tree): List[Global.Tree]

    Create tree for pattern definition <val pat0 = rhs>

    Create tree for pattern definition <val pat0 = rhs>

    Definition Classes
    TreeBuilder
  43. def makeSelfDef(name: Global.TermName, tpt: Global.Tree): Global.ValDef

    Definition Classes
    TreeBuilder
  44. def makeSyntheticParam(pname: Global.TermName): Global.ValDef

    Definition Classes
    TreeBuilder
  45. def makeSyntheticTypeParam(pname: Global.TypeName, bounds: Global.Tree): Global.TypeDef

    Definition Classes
    TreeBuilder
  46. def makeTupleTerm(trees: List[Global.Tree], flattenUnary: Boolean): Global.Tree

    Definition Classes
    TreeBuilder
  47. def makeTupleType(trees: List[Global.Tree], flattenUnary: Boolean): Global.Tree

    Definition Classes
    TreeBuilder
  48. def makeVisitor(cases: List[Global.CaseDef], checkExhaustive: Boolean, prefix: String): Global.Tree

    Create visitor <x => x match cases>

    Create visitor <x => x match cases>

    Definition Classes
    TreeBuilder
  49. def makeVisitor(cases: List[Global.CaseDef], checkExhaustive: Boolean): Global.Tree

    Create visitor <x => x match cases>

    Create visitor <x => x match cases>

    Definition Classes
    TreeBuilder
  50. def makeWhile(lname: Global.TermName, cond: Global.Tree, body: Global.Tree): Global.Tree

    Create tree representing a while loop

    Create tree representing a while loop

    Definition Classes
    TreeBuilder
  51. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  54. def o2p(offset: Int): Global.Position

    Definition Classes
    treeBuilderTreeBuilder
  55. def productConstr: Global.Select

    Definition Classes
    TreeBuilder
  56. def productConstrN(n: Int): Global.Select

    Definition Classes
    TreeBuilder
  57. def r2p(start: Int, point: Int, end: Int): Global.Position

    Definition Classes
    treeBuilderTreeBuilder
  58. def repeatedApplication(tpe: Global.Tree): Global.Tree

    Definition Classes
    TreeBuilder
  59. def rootId(name: Global.Name): Global.Select

    Definition Classes
    TreeBuilder
  60. def rootScalaDot(name: Global.Name): Global.Select

    Definition Classes
    TreeBuilder
  61. def scalaAnyConstr: Global.Select

    Definition Classes
    TreeBuilder
  62. def scalaAnyRefConstr: Global.Select

    Definition Classes
    TreeBuilder
  63. def scalaAnyValConstr: Global.Select

    Definition Classes
    TreeBuilder
  64. def scalaDot(name: Global.Name): Global.Select

    Definition Classes
    TreeBuilder
  65. def scalaUnitConstr: Global.Select

    Definition Classes
    TreeBuilder
  66. def serializableConstr: Global.Select

    Definition Classes
    TreeBuilder
  67. def stripParens(t: Global.Tree): Global.Tree

    Definition Classes
    TreeBuilder
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  69. def toString(): String

    Definition Classes
    AnyRef → Any
  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TreeBuilder

Inherited from AnyRef

Inherited from Any

No Group