class TipParser extends Parser with Comments
Parser for TIP programs, implemented using the parboiled2 parser generator (http://parboiled2.org).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TipParser
- Comments
- Parser
- RuleDSL
- RuleDSLActions
- RuleDSLCombinators
- RuleDSLBasics
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TipParser(input: ParserInput)
Type Members
-
sealed
trait
ActionOperator[I <: HList, O <: HList, Ops] extends AnyRef
- Definition Classes
- RuleDSLActions
-
sealed
trait
CharRangeSupport extends AnyRef
- Definition Classes
- RuleDSLBasics
-
sealed
trait
NTimes extends AnyRef
- Definition Classes
- RuleDSLCombinators
-
class
TracingBubbleException extends RuntimeException with NoStackTrace
- Definition Classes
- Parser
-
trait
WithSeparatedBy[I <: HList, O <: HList] extends AnyRef
- Definition Classes
- RuleDSLCombinators
-
class
__SubParserInput extends ParserInput
- Attributes
- protected
- Definition Classes
- Parser
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&(r: Rule[_, _]): Rule0
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
ANY: Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
- def Access: Rule1[AFieldAccess]
- def Assigment: Rule1[AStmtInNestedBlock]
- def AssignableExpression: Rule1[Assignable]
- def Atom: Rule1[AExpr]
- def Block: Rule1[AStmtInNestedBlock]
-
def
BlockComment: Rule0
- Definition Classes
- Comments
-
def
Comment: Rule0
- Definition Classes
- Comments
- def DeRef: Rule1[AUnaryOp]
- def Declaration: Rule1[AVarStmt]
- def DerefWrite: Rule1[ADerefWrite]
- def Digits: Rule[HNil, HNil]
- def DirectFieldWrite: Rule1[ADirectFieldWrite]
-
def
EOI: Char
- Definition Classes
- RuleDSLBasics
- def Error: Rule1[AStmtInNestedBlock]
- def Expression: Rule1[AExpr]
- def Field: Rule1[ARecordField]
- def FunActualArgs: Rule1[Seq[AExpr]]
- def FunApp: Rule1[AExpr]
- def FunBlock: Rule1[AFunBlockStmt]
- def Id: Rule1[String]
- def Identifier: Rule1[AIdentifier]
- def IdentifierDeclaration: Rule1[AIdentifierDeclaration]
- def If: Rule1[AStmtInNestedBlock]
- def IndirectFieldWrite: Rule1[AIndirectFieldWrite]
- def InputLine: Rule[HNil, ::[AProgram, HNil]]
-
def
MATCH: Rule0
- Definition Classes
- RuleDSLBasics
-
def
MISMATCH[I <: HList, O <: HList]: Rule[I, O]
- Definition Classes
- RuleDSLBasics
-
def
MISMATCH0: Rule0
- Definition Classes
- RuleDSLBasics
-
def
NewLine: Rule0
- Definition Classes
- Comments
-
def
NonClosing: Rule0
- Definition Classes
- Comments
- def Number: Rule1[AExpr]
- def Operation: Rule1[AExpr]
- def OptSpace: Rule[HNil, HNil]
- def Output: Rule1[AStmtInNestedBlock]
- def Parens: Rule[HNil, ::[AExpr, HNil]]
- def PointersExpression: Rule[HNil, ::[AExpr with Serializable, HNil]]
- def Program: Rule1[AProgram]
- def Record: Rule1[ARecord]
- def Ref: Rule[HNil, ::[AVarRef, HNil]]
- def Return: Rule1[AReturnStmt]
- def Statement: Rule1[AStmtInNestedBlock]
- def Statements: Rule1[Seq[AStmtInNestedBlock]]
- def Term: Rule1[AExpr]
- def TipFunction: Rule1[AFunDeclaration]
- def VarStatements: Rule1[Seq[AVarStmt]]
- def WS: Rule[HNil, HNil]
- def While: Rule1[AStmtInNestedBlock]
-
def
__advance(): Boolean
- Definition Classes
- Parser
-
def
__bubbleUp(prefix: List[NonTerminal], terminal: Terminal): Nothing
- Definition Classes
- Parser
-
def
__bubbleUp(terminal: Terminal): Nothing
- Definition Classes
- Parser
-
def
__enterAtomic(start: Int): Boolean
- Definition Classes
- Parser
-
def
__enterNotPredicate(): AnyRef
- Definition Classes
- Parser
-
def
__enterQuiet(): Int
- Definition Classes
- Parser
-
def
__exitAtomic(saved: Boolean): Unit
- Definition Classes
- Parser
-
def
__exitNotPredicate(saved: AnyRef): Unit
- Definition Classes
- Parser
-
def
__exitQuiet(saved: Int): Unit
- Definition Classes
- Parser
-
def
__hardFail(expected: String): Nothing
- Definition Classes
- Parser
-
def
__inErrorAnalysis: Boolean
- Definition Classes
- Parser
-
final
def
__matchAnyOf(string: String, ix: Int): Boolean
- Definition Classes
- Parser
- Annotations
- @tailrec()
-
final
def
__matchIgnoreCaseString(string: String, ix: Int): Boolean
- Definition Classes
- Parser
- Annotations
- @tailrec()
-
final
def
__matchIgnoreCaseStringWrapped(string: String, ix: Int): Boolean
- Definition Classes
- Parser
- Annotations
- @tailrec()
-
def
__matchMap(m: Map[String, Any], ignoreCase: Boolean): Boolean
- Definition Classes
- Parser
-
def
__matchMapWrapped(m: Map[String, Any], ignoreCase: Boolean): Boolean
- Definition Classes
- Parser
-
final
def
__matchNoneOf(string: String, ix: Int): Boolean
- Definition Classes
- Parser
- Annotations
- @tailrec()
-
final
def
__matchString(string: String, ix: Int): Boolean
- Definition Classes
- Parser
- Annotations
- @tailrec()
-
final
def
__matchStringWrapped(string: String, ix: Int): Boolean
- Definition Classes
- Parser
- Annotations
- @tailrec()
-
def
__push(value: Any): Boolean
- Definition Classes
- Parser
-
def
__registerMismatch(): Boolean
- Definition Classes
- Parser
-
def
__restoreState(mark: Mark): Unit
- Definition Classes
- Parser
-
def
__run[L <: HList](rule: ⇒ RuleN[L])(implicit scheme: DeliveryScheme[L]): Result
- Definition Classes
- Parser
-
def
__saveState: Mark
- Definition Classes
- Parser
-
def
__updateMaxCursor(): Boolean
- Definition Classes
- Parser
-
def
anyOf(chars: String): Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atomic[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
def
capture[I <: HList, O <: HList](r: Rule[I, O])(implicit p: Prepend[O, ::[String, HNil]]): Rule[I, Out]
- Definition Classes
- RuleDSLActions
- Annotations
- @compileTimeOnly( ... )
-
implicit
def
ch(c: Char): Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
def
charAt(offset: Int): Char
- Definition Classes
- Parser
-
def
charAtRC(offset: Int): Char
- Definition Classes
- Parser
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
copyStateFrom(other: Parser, offset: Int): Unit
- Definition Classes
- Parser
-
def
cursor: Int
- Definition Classes
- Parser
-
def
cursorChar: Char
- Definition Classes
- Parser
-
def
drop[T](implicit h: HListable[T]): PopRule[Out]
- Definition Classes
- RuleDSLActions
- Annotations
- @compileTimeOnly( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
errorTraceCollectionLimit: Int
- Definition Classes
- Parser
-
def
fail(expected: String): Rule0
- Definition Classes
- RuleDSLBasics
-
def
failX[I <: HList, O <: HList](expected: String): Rule[I, O]
- Definition Classes
- RuleDSLBasics
-
def
formatError(error: ParseError, formatter: ErrorFormatter): String
- Definition Classes
- Parser
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
ignoreCase(s: String): Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
def
ignoreCase(c: Char): Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
val
input: ParserInput
- Definition Classes
- TipParser → Parser
-
implicit
def
int2NTimes(i: Int): NTimes
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keywords: Set[String]
-
val
lastBreaks: MutableList[Int]
- Definition Classes
- Comments
-
def
lastChar: Char
- Definition Classes
- Parser
-
macro
def
namedRule[I <: HList, O <: HList](name: String)(r: Rule[I, O]): Rule[I, O]
- Definition Classes
- Parser
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noneOf(chars: String): Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
implicit
def
offset2Loc(i: Int): Loc
- Definition Classes
- Comments
-
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( ... )
-
def
optional[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Option, I, O]): Rule[In, OptionalOut]
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
implicit
def
predicate(p: CharPredicate): Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
def
push[T](value: T)(implicit h: HListable[T]): RuleN[Out]
- Definition Classes
- RuleDSLActions
- Annotations
- @compileTimeOnly( ... )
-
def
quiet[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
implicit
def
range2NTimes(range: Range): NTimes
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
macro
def
rule[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
- Definition Classes
- Parser
-
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( ... )
-
implicit
def
rule2WithSeparatedBy[I <: HList, O <: HList](r: Rule[I, O] with Repeated): WithSeparatedBy[I, O]
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
def
run[T](arg: T)(implicit rr: RunResult[T]): Out
- Definition Classes
- RuleDSLActions
- Annotations
- @compileTimeOnly( ... )
-
def
runSubParser[I <: HList, O <: HList](f: (ParserInput) ⇒ Rule[I, O]): Rule[I, O]
- Definition Classes
- RuleDSLCombinators
- Annotations
- @compileTimeOnly( ... )
-
implicit
def
str(s: String): Rule0
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
implicit
def
str2CharRangeSupport(s: String): CharRangeSupport
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
test(condition: Boolean): Rule0
- Definition Classes
- RuleDSLActions
- Annotations
- @compileTimeOnly( ... )
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueMap[T](m: Map[String, T], ignoreCase: Boolean)(implicit h: HListable[T]): RuleN[Out]
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
implicit
def
valueMap[T](m: Map[String, T])(implicit h: HListable[T]): RuleN[Out]
- Definition Classes
- RuleDSLBasics
- Annotations
- @compileTimeOnly( ... )
-
def
valueStack: ValueStack
- Definition Classes
- Parser
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- implicit def wspStr(s: String): Rule0
-
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( ... )
- object LanguageKeywords
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated