class ParserTreeBuilder extends TreeBuilder
- Alphabetic
- By Inheritance
- ParserTreeBuilder
- TreeBuilder
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ParserTreeBuilder()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to any2stringadd[ParserTreeBuilder] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ParserTreeBuilder, B)
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to ArrowAssoc[ParserTreeBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addEvidenceParams(owner: Global.Name, vparamss: List[List[Global.ValDef]], contextBounds: List[Global.Tree]): List[List[Global.ValDef]]
Append implicit parameter section if
contextBounds
nonemptyAppend implicit parameter section if
contextBounds
nonempty- Definition Classes
- TreeBuilder
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
byNameApplication(tpe: Global.Tree): Global.Tree
- Definition Classes
- TreeBuilder
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
convertToTypeName(t: Global.Tree): Option[Global.RefTree]
- Definition Classes
- TreeBuilder
-
def
ensuring(cond: (ParserTreeBuilder) ⇒ Boolean, msg: ⇒ Any): ParserTreeBuilder
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ParserTreeBuilder) ⇒ Boolean): ParserTreeBuilder
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ParserTreeBuilder
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ParserTreeBuilder
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to StringFormat[ParserTreeBuilder] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
implicit
def
fresh: FreshNameCreator
- Definition Classes
- TreeBuilder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
global: Parsers.global.type
- Definition Classes
- ParserTreeBuilder → TreeBuilder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
makeAlternative(ts: List[Global.Tree]): Global.Tree
Create tree for a pattern alternative
Create tree for a pattern alternative
- Definition Classes
- TreeBuilder
-
def
makeAnnotated(t: Global.Tree, annot: Global.Tree): Global.Tree
- Definition Classes
- TreeBuilder
-
def
makeBlock(stats: List[Global.Tree]): Global.Tree
Create block of statements
stats
Create block of statements
stats
- Definition Classes
- TreeBuilder
-
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
-
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
-
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
-
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
-
def
makeImportSelector(name: Global.Name, nameOffset: Int): Global.ImportSelector
- Definition Classes
- TreeBuilder
-
def
makeMethodValue(expr: Global.Tree): Global.Tree
- Definition Classes
- TreeBuilder
-
def
makeParam(pname: Global.TermName, tpe: Global.Tree): Global.ValDef
- Definition Classes
- TreeBuilder
-
def
makePatDef(mods: Global.Modifiers, pat: Global.Tree, rhs: Global.Tree): List[Global.ValDef]
- Definition Classes
- TreeBuilder
-
def
makePostfixSelect(start0: Int, end: Int, od: Global.Tree, op: Global.Name): Global.Tree
Tree for
od op
, start is start0 if od.pos is borked.Tree for
od op
, start is start0 if od.pos is borked.- Definition Classes
- TreeBuilder
-
def
makeSelfDef(name: Global.TermName, tpt: Global.Tree): Global.ValDef
- Definition Classes
- TreeBuilder
-
def
makeSyntheticTypeParam(pname: Global.TypeName, bounds: Global.Tree): Global.TypeDef
- Definition Classes
- TreeBuilder
-
def
makeTupleTerm(elems: List[Global.Tree]): Global.Tree
- Definition Classes
- TreeBuilder
-
def
makeTupleType(elems: List[Global.Tree]): Global.Tree
- Definition Classes
- TreeBuilder
-
def
makeWhile(startPos: Int, cond: Global.Tree, body: Global.Tree): Global.Tree
Create tree representing a while loop
Create tree representing a while loop
- Definition Classes
- TreeBuilder
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
o2p(offset: Int): Global.Position
- Definition Classes
- TreeBuilder
-
def
r2p(start: Int, mid: Int, end: Int): Global.Position
- Definition Classes
- TreeBuilder
-
def
repeatedApplication(tpe: Global.Tree): Global.Tree
- Definition Classes
- TreeBuilder
-
def
rootScalaDot(name: Global.Name): Global.Select
- Definition Classes
- TreeBuilder
-
def
scalaAnyRefConstr: Global.Select
- Definition Classes
- TreeBuilder
-
def
scalaDot(name: Global.Name): Global.Select
- Definition Classes
- TreeBuilder
-
def
scalaUnitConstr: Global.Select
- Definition Classes
- TreeBuilder
-
def
source: SourceFile
- Definition Classes
- ParserTreeBuilder → TreeBuilder
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unit: Global.CompilationUnit
- Definition Classes
- ParserTreeBuilder → TreeBuilder
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
→[B](y: B): (ParserTreeBuilder, B)
- Implicit
- This member is added by an implicit conversion from ParserTreeBuilder to ArrowAssoc[ParserTreeBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler and reflection APIs.