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

# ParserTreeBuilder

#### class ParserTreeBuilder extends TreeBuilder

Source
  Parsers.scala

Linear Supertypes
TreeBuilder, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. ParserTreeBuilder
2. TreeBuilder
3. AnyRef
4. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new ParserTreeBuilder()

### Value Members

1. #### final def !=(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

2. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

3. #### def +(other: String): String

   Implicit information
     This member is added by an implicit conversion from ParserTreeBuilder to any2stringadd[ParserTreeBuilder] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd

4. #### def ->[B](y: B): (ParserTreeBuilder, B)

   Implicit information
     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()

5. #### final def ==(arg0: Any): Boolean

   Definition Classes
     AnyRef → 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. #### def ensuring(cond: (ParserTreeBuilder) ⇒ Boolean, msg: ⇒ Any): ParserTreeBuilder

    Implicit information
      This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

12. #### def ensuring(cond: (ParserTreeBuilder) ⇒ Boolean): ParserTreeBuilder

    Implicit information
      This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

13. #### def ensuring(cond: Boolean, msg: ⇒ Any): ParserTreeBuilder

    Implicit information
      This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

14. #### def ensuring(cond: Boolean): ParserTreeBuilder

    Implicit information
      This member is added by an implicit conversion from ParserTreeBuilder to Ensuring[ParserTreeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

15. #### final def eq(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

16. #### def equals(arg0: Any): Boolean

    Definition Classes
      AnyRef → Any

17. #### def finalize(): Unit

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )

18. #### def formatted(fmtstr: String): String

    Implicit information
      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()

19. #### implicit def fresh: FreshNameCreator

    Definition Classes
      TreeBuilder

20. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

21. #### val global: Parsers.global.type

    Definition Classes
      ParserTreeBuilder → TreeBuilder

22. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

23. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

24. #### def makeAlternative(ts: List[Global.Tree]): Global.Tree

    Create tree for a pattern alternative

    Create tree for a pattern alternative

    Definition Classes
      TreeBuilder

25. #### def makeAnnotated(t: Global.Tree, annot: Global.Tree): Global.Tree

    Definition Classes
      TreeBuilder

26. #### def makeBinop(isExpr: Boolean, left: Global.Tree, op: Global.TermName, right: Global.Tree, opPos: Global.Position, targs: List[Global.Tree] = Nil): 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 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

32. #### def makeImportSelector(name: Global.Name, nameOffset: Int): Global.ImportSelector

    Definition Classes
      TreeBuilder

33. #### def makeParam(pname: Global.TermName, tpe: Global.Tree): Global.ValDef

    Definition Classes
      TreeBuilder

34. #### def makePatDef(mods: Global.Modifiers, pat: Global.Tree, rhs: Global.Tree): List[Global.ValDef]

    Definition Classes
      TreeBuilder

35. #### 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

36. #### def makeSelfDef(name: Global.TermName, tpt: Global.Tree): Global.ValDef

    Definition Classes
      TreeBuilder

37. #### def makeSyntheticTypeParam(pname: Global.TypeName, bounds: Global.Tree): Global.TypeDef

    Definition Classes
      TreeBuilder

38. #### def makeTupleTerm(elems: List[Global.Tree]): Global.Tree

    Definition Classes
      TreeBuilder

39. #### def makeTupleType(elems: List[Global.Tree]): Global.Tree

    Definition Classes
      TreeBuilder

40. #### 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

41. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

42. #### final def notify(): Unit

    Definition Classes
      AnyRef

43. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

44. #### def o2p(offset: Int): Global.Position

    Definition Classes
      TreeBuilder

45. #### def r2p(start: Int, mid: Int, end: Int): Global.Position

    Definition Classes
      TreeBuilder

46. #### def repeatedApplication(tpe: Global.Tree): Global.Tree

    Definition Classes
      TreeBuilder

47. #### def rootScalaDot(name: Global.Name): Global.Select

    Definition Classes
      TreeBuilder

48. #### def scalaAnyRefConstr: Global.Select

    Definition Classes
      TreeBuilder

49. #### def scalaDot(name: Global.Name): Global.Select

    Definition Classes
      TreeBuilder

50. #### def scalaUnitConstr: Global.Select

    Definition Classes
      TreeBuilder

51. #### def source: SourceFile

    Definition Classes
      ParserTreeBuilder → TreeBuilder

52. #### def stripParens(t: Global.Tree): Global.Tree

    Definition Classes
      TreeBuilder

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

    Definition Classes
      AnyRef

54. #### def toString(): String

    Definition Classes
      AnyRef → Any

55. #### def unit: Global.CompilationUnit

    Definition Classes
      ParserTreeBuilder → TreeBuilder

56. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

57. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

58. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

59. #### def →[B](y: B): (ParserTreeBuilder, B)

    Implicit information
      This member is added by an implicit conversion from ParserTreeBuilder to ArrowAssoc[ParserTreeBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from TreeBuilder

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from ParserTreeBuilder to any2stringadd[ParserTreeBuilder]

### Inherited by implicit conversion StringFormat from ParserTreeBuilder to StringFormat[ParserTreeBuilder]

### Inherited by implicit conversion Ensuring from ParserTreeBuilder to Ensuring[ParserTreeBuilder]

### Inherited by implicit conversion ArrowAssoc from ParserTreeBuilder to ArrowAssoc[ParserTreeBuilder]

### Ungrouped