Packages

c

tip.parser

TipParser

class TipParser extends Parser with Comments

Parser for TIP programs, implemented using the parboiled2 parser generator (http://parboiled2.org).

Linear Supertypes
Comments, Parser, RuleDSL, RuleDSLActions, RuleDSLCombinators, RuleDSLBasics, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TipParser
  2. Comments
  3. Parser
  4. RuleDSL
  5. RuleDSLActions
  6. RuleDSLCombinators
  7. RuleDSLBasics
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TipParser(input: ParserInput)

Type Members

  1. sealed trait ActionOperator[I <: HList, O <: HList, Ops] extends AnyRef
    Definition Classes
    RuleDSLActions
  2. sealed trait CharRangeSupport extends AnyRef
    Definition Classes
    RuleDSLBasics
  3. sealed trait NTimes extends AnyRef
    Definition Classes
    RuleDSLCombinators
  4. class TracingBubbleException extends RuntimeException with NoStackTrace
    Definition Classes
    Parser
  5. trait WithSeparatedBy[I <: HList, O <: HList] extends AnyRef
    Definition Classes
    RuleDSLCombinators
  6. class __SubParserInput extends ParserInput
    Attributes
    protected
    Definition Classes
    Parser

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(r: Rule[_, _]): Rule0
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def ANY: Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  6. def Access: Rule1[AFieldAccess]
  7. def Assigment: Rule1[AStmtInNestedBlock]
  8. def AssignableExpression: Rule1[Assignable]
  9. def Atom: Rule1[AExpr]
  10. def Block: Rule1[AStmtInNestedBlock]
  11. def BlockComment: Rule0
    Definition Classes
    Comments
  12. def Comment: Rule0
    Definition Classes
    Comments
  13. def DeRef: Rule1[AUnaryOp]
  14. def Declaration: Rule1[AVarStmt]
  15. def DerefWrite: Rule1[ADerefWrite]
  16. def Digits: Rule[HNil, HNil]
  17. def DirectFieldWrite: Rule1[ADirectFieldWrite]
  18. def EOI: Char
    Definition Classes
    RuleDSLBasics
  19. def Error: Rule1[AStmtInNestedBlock]
  20. def Expression: Rule1[AExpr]
  21. def Field: Rule1[ARecordField]
  22. def FunActualArgs: Rule1[Seq[AExpr]]
  23. def FunApp: Rule1[AExpr]
  24. def FunBlock: Rule1[AFunBlockStmt]
  25. def Id: Rule1[String]
  26. def Identifier: Rule1[AIdentifier]
  27. def IdentifierDeclaration: Rule1[AIdentifierDeclaration]
  28. def If: Rule1[AStmtInNestedBlock]
  29. def IndirectFieldWrite: Rule1[AIndirectFieldWrite]
  30. def InputLine: Rule[HNil, ::[AProgram, HNil]]
  31. def MATCH: Rule0
    Definition Classes
    RuleDSLBasics
  32. def MISMATCH[I <: HList, O <: HList]: Rule[I, O]
    Definition Classes
    RuleDSLBasics
  33. def MISMATCH0: Rule0
    Definition Classes
    RuleDSLBasics
  34. def NewLine: Rule0
    Definition Classes
    Comments
  35. def NonClosing: Rule0
    Definition Classes
    Comments
  36. def Number: Rule1[AExpr]
  37. def Operation: Rule1[AExpr]
  38. def OptSpace: Rule[HNil, HNil]
  39. def Output: Rule1[AStmtInNestedBlock]
  40. def Parens: Rule[HNil, ::[AExpr, HNil]]
  41. def PointersExpression: Rule[HNil, ::[AExpr with Serializable, HNil]]
  42. def Program: Rule1[AProgram]
  43. def Record: Rule1[ARecord]
  44. def Ref: Rule[HNil, ::[AVarRef, HNil]]
  45. def Return: Rule1[AReturnStmt]
  46. def Statement: Rule1[AStmtInNestedBlock]
  47. def Statements: Rule1[Seq[AStmtInNestedBlock]]
  48. def Term: Rule1[AExpr]
  49. def TipFunction: Rule1[AFunDeclaration]
  50. def VarStatements: Rule1[Seq[AVarStmt]]
  51. def WS: Rule[HNil, HNil]
  52. def While: Rule1[AStmtInNestedBlock]
  53. def __advance(): Boolean
    Definition Classes
    Parser
  54. def __bubbleUp(prefix: List[NonTerminal], terminal: Terminal): Nothing
    Definition Classes
    Parser
  55. def __bubbleUp(terminal: Terminal): Nothing
    Definition Classes
    Parser
  56. def __enterAtomic(start: Int): Boolean
    Definition Classes
    Parser
  57. def __enterNotPredicate(): AnyRef
    Definition Classes
    Parser
  58. def __enterQuiet(): Int
    Definition Classes
    Parser
  59. def __exitAtomic(saved: Boolean): Unit
    Definition Classes
    Parser
  60. def __exitNotPredicate(saved: AnyRef): Unit
    Definition Classes
    Parser
  61. def __exitQuiet(saved: Int): Unit
    Definition Classes
    Parser
  62. def __hardFail(expected: String): Nothing
    Definition Classes
    Parser
  63. def __inErrorAnalysis: Boolean
    Definition Classes
    Parser
  64. final def __matchAnyOf(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  65. final def __matchIgnoreCaseString(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  66. final def __matchIgnoreCaseStringWrapped(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  67. def __matchMap(m: Map[String, Any], ignoreCase: Boolean): Boolean
    Definition Classes
    Parser
  68. def __matchMapWrapped(m: Map[String, Any], ignoreCase: Boolean): Boolean
    Definition Classes
    Parser
  69. final def __matchNoneOf(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  70. final def __matchString(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  71. final def __matchStringWrapped(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  72. def __push(value: Any): Boolean
    Definition Classes
    Parser
  73. def __registerMismatch(): Boolean
    Definition Classes
    Parser
  74. def __restoreState(mark: Mark): Unit
    Definition Classes
    Parser
  75. def __run[L <: HList](rule: ⇒ RuleN[L])(implicit scheme: DeliveryScheme[L]): Result
    Definition Classes
    Parser
  76. def __saveState: Mark
    Definition Classes
    Parser
  77. def __updateMaxCursor(): Boolean
    Definition Classes
    Parser
  78. def anyOf(chars: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  79. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  80. def atomic[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  81. def capture[I <: HList, O <: HList](r: Rule[I, O])(implicit p: Prepend[O, ::[String, HNil]]): Rule[I, Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  82. implicit def ch(c: Char): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  83. def charAt(offset: Int): Char
    Definition Classes
    Parser
  84. def charAtRC(offset: Int): Char
    Definition Classes
    Parser
  85. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  86. def copyStateFrom(other: Parser, offset: Int): Unit
    Definition Classes
    Parser
  87. def cursor: Int
    Definition Classes
    Parser
  88. def cursorChar: Char
    Definition Classes
    Parser
  89. def drop[T](implicit h: HListable[T]): PopRule[Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  90. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  91. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  92. def errorTraceCollectionLimit: Int
    Definition Classes
    Parser
  93. def fail(expected: String): Rule0
    Definition Classes
    RuleDSLBasics
  94. def failX[I <: HList, O <: HList](expected: String): Rule[I, O]
    Definition Classes
    RuleDSLBasics
  95. def formatError(error: ParseError, formatter: ErrorFormatter): String
    Definition Classes
    Parser
  96. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  97. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  98. def ignoreCase(s: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  99. def ignoreCase(c: Char): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  100. val input: ParserInput
    Definition Classes
    TipParser → Parser
  101. implicit def int2NTimes(i: Int): NTimes
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  102. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  103. val keywords: Set[String]
  104. val lastBreaks: MutableList[Int]
    Definition Classes
    Comments
  105. def lastChar: Char
    Definition Classes
    Parser
  106. macro def namedRule[I <: HList, O <: HList](name: String)(r: Rule[I, O]): Rule[I, O]
    Definition Classes
    Parser
  107. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  108. def noneOf(chars: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  109. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  110. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  111. implicit def offset2Loc(i: Int): Loc
    Definition Classes
    Comments
  112. def oneOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[In, StrictOut] with Repeated
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  113. def optional[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Option, I, O]): Rule[In, OptionalOut]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  114. implicit def predicate(p: CharPredicate): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  115. def push[T](value: T)(implicit h: HListable[T]): RuleN[Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  116. def quiet[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  117. implicit def range2NTimes(range: Range): NTimes
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  118. macro def rule[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
    Definition Classes
    Parser
  119. implicit def rule2ActionOperator[I <: HList, O <: HList](r: Rule[I, O])(implicit ops: ActionOps[I, O]): ActionOperator[I, O, Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  120. implicit def rule2WithSeparatedBy[I <: HList, O <: HList](r: Rule[I, O] with Repeated): WithSeparatedBy[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  121. def run[T](arg: T)(implicit rr: RunResult[T]): Out
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  122. def runSubParser[I <: HList, O <: HList](f: (ParserInput) ⇒ Rule[I, O]): Rule[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  123. implicit def str(s: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  124. implicit def str2CharRangeSupport(s: String): CharRangeSupport
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  125. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  126. def test(condition: Boolean): Rule0
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  127. def toString(): String
    Definition Classes
    AnyRef → Any
  128. def valueMap[T](m: Map[String, T], ignoreCase: Boolean)(implicit h: HListable[T]): RuleN[Out]
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  129. implicit def valueMap[T](m: Map[String, T])(implicit h: HListable[T]): RuleN[Out]
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  130. def valueStack: ValueStack
    Definition Classes
    Parser
  131. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  132. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  133. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  134. implicit def wspStr(s: String): Rule0
  135. def zeroOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[In, OptionalOut] with Repeated
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  136. object LanguageKeywords

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Comments

Inherited from Parser

Inherited from RuleDSL

Inherited from RuleDSLActions

Inherited from RuleDSLCombinators

Inherited from RuleDSLBasics

Inherited from AnyRef

Inherited from Any

Ungrouped