package scala
- Alphabetic
- By Inheritance
- scala
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type BasicParseRunner[V] = scala.parserunners.BasicParseRunner[V]
- type CharRule = scala.rules.CharRule
-
class
Input
extends AnyRef
Simple Input abstraction serving as the target of a number of implicit conversions defined in the org.parboiled.scala package object.
- type ParseRunner[V] = scala.parserunners.ParseRunner[V]
-
trait
Parser
extends AnyRef
The main Parser trait for scala parboiled parsers.
The main Parser trait for scala parboiled parsers. Defines the basic rule building methods as well as the caching and proxying logic.
-
class
ParsingResult
[+V] extends AnyRef
The scala wrapper for the org.parboiled.support.ParsingResult class.
- type PopRule1[-Z] = scala.rules.PopRule1[Z]
- type PopRule2[-Y, -Z] = scala.rules.PopRule2[Y, Z]
- type PopRule3[-X, -Y, -Z] = scala.rules.PopRule3[X, Y, Z]
- type RecoveringParseRunner[V] = scala.parserunners.RecoveringParseRunner[V]
- type ReductionRule1[-Z, +R] = scala.rules.ReductionRule1[Z, R]
- type ReductionRule2[-Y, -Z, +R] = scala.rules.ReductionRule2[Y, Z, R]
- type ReductionRule3[-X, -Y, -Z, +R] = scala.rules.ReductionRule3[X, Y, Z, R]
- type ReportingParseRunner[V] = scala.parserunners.ReportingParseRunner[V]
- type Rule = scala.rules.Rule
- type Rule0 = scala.rules.Rule0
- type Rule1[+A] = scala.rules.Rule1[A]
- type Rule2[+A, +B] = scala.rules.Rule2[A, B]
- type Rule3[+A, +B, +C] = scala.rules.Rule3[A, B, C]
- type Rule4[+A, +B, +C, +D] = scala.rules.Rule4[A, B, C, D]
- type Rule5[+A, +B, +C, +D, +E] = scala.rules.Rule5[A, B, C, D, E]
- type Rule6[+A, +B, +C, +D, +E, +F] = scala.rules.Rule6[A, B, C, D, E, F]
- type Rule7[+A, +B, +C, +D, +E, +F, +G] = scala.rules.Rule7[A, B, C, D, E, F, G]
- type RuleMethod = StackTraceElement
-
sealed abstract
class
RuleOption
extends AnyRef
Rule building expressions can take a number of options which are implemented as case objects derived from this class.
- type TracingParseRunner[V] = scala.parserunners.TracingParseRunner[V]
- class WithContextAction1 [A, R] extends (A) ⇒ R
- class WithContextAction2 [A, B, R] extends (A, B) ⇒ R
- class WithContextAction3 [A, B, C, R] extends (A, B, C) ⇒ R
- class WithContextAction4 [A, B, C, D, R] extends (A, B, C, D) ⇒ R
- class WithContextAction5 [A, B, C, D, E, R] extends (A, B, C, D, E) ⇒ R
- class WithContextAction6 [A, B, C, D, E, F, R] extends (A, B, C, D, E, F) ⇒ R
- class WithContextAction7 [A, B, C, D, E, F, G, R] extends (A, B, C, D, E, F, G) ⇒ R
Value Members
-
def
&(sub: Rule): Rule0
Creates an "AND" syntactic predicate according to the PEG formalism.
-
lazy val
ANY: Rule0
A rule that matches any single character except EOI.
- val BasicParseRunner: scala.parserunners.BasicParseRunner.type
-
lazy val
DEDENT: Rule0
A rule that matches the "DEDENT" non-character as produced by the IndentDedentInputBuffer.
-
lazy val
DROP: PopRule1[Any]
A parser action removing the top element from the value stack.
-
lazy val
DROP2: PopRule2[Any, Any]
A parser action removing the top two elements from the value stack.
-
lazy val
DROP3: PopRule3[Any, Any, Any]
A parser action removing the top three elements from the value stack.
-
lazy val
EMPTY: Rule0
A rule that always matches but consumes no input.
-
lazy val
EOI: Rule0
A rule that matches the End-Of-Input non-character.
-
lazy val
INDENT: Rule0
A rule that matches the "INDENT" non-character as produced by the IndentDedentInputBuffer.
-
lazy val
NOTHING: Rule0
A rule that never matches anything (i.e.
A rule that never matches anything (i.e. that always fails).
- val RecoveringParseRunner: scala.parserunners.RecoveringParseRunner.type
- val ReportingParseRunner: scala.parserunners.ReportingParseRunner.type
- val TracingParseRunner: scala.parserunners.TracingParseRunner.type
- implicit def charArray2Input(input: Array[Char]): Input
- implicit def creator4PopRule1[Z](m: Matcher): PopRule1[Z]
- implicit def creator4PopRule2[Y, Z](m: Matcher): PopRule2[Y, Z]
- implicit def creator4PopRule3[X, Y, Z](m: Matcher): PopRule3[X, Y, Z]
- implicit def creator4ReductionRule1[Z, R](m: Matcher): ReductionRule1[Z, R]
- implicit def creator4ReductionRule2[Y, Z, R](m: Matcher): ReductionRule2[Y, Z, R]
- implicit def creator4ReductionRule3[X, Y, Z, R](m: Matcher): ReductionRule3[X, Y, Z, R]
- implicit def creator4Rule0(m: Matcher): Rule0
- implicit def creator4Rule1[A](m: Matcher): Rule1[A]
- implicit def creator4Rule2[A, B](m: Matcher): Rule2[A, B]
- implicit def creator4Rule3[A, B, C](m: Matcher): Rule3[A, B, C]
- implicit def creator4Rule4[A, B, C, D](m: Matcher): Rule4[A, B, C, D]
- implicit def creator4Rule5[A, B, C, D, E](m: Matcher): Rule5[A, B, C, D, E]
- implicit def creator4Rule6[A, B, C, D, E, F](m: Matcher): Rule6[A, B, C, D, E, F]
- implicit def creator4Rule7[A, B, C, D, E, F, G](m: Matcher): Rule7[A, B, C, D, E, F, G]
-
def
group[T <: Rule](rule: T): T
Groups the given sub rule into one entity so that a following ~> operator receives the text matched by the whole group rather than only the immediately preceding sub rule.
- implicit def inputStream2Input(input: InputStream)(implicit codec: Codec): Input
- def make[A, U](a: A)(f: (A) ⇒ U): A
- implicit def source2Input(input: Source): Input
- implicit def string2Input(input: String): Input
- implicit def toRunAction(f: (Context[Any]) ⇒ Unit): Rule0
- implicit def toTestAction(f: (Context[Any]) ⇒ Boolean): Rule0
-
object
MemoMismatches
extends RuleOption with Product with Serializable
Enables memoization of rule mismatches for consecutive rule applications at the same input location.
- object ParsingResult
-
object
SkipNode
extends RuleOption with Product with Serializable
This rule option advises parboiled to not create a parse tree node for this rule (in case that parse tree building is enabled on the parser).
-
object
SuppressNode
extends RuleOption with Product with Serializable
This rule option advises parboiled to not create a parse tree node for this rule and all sub rules (in case that parse tree building is enabled on the parser).
-
object
SuppressSubnodes
extends RuleOption with Product with Serializable
This rule option advises parboiled to not create a parse tree node for the sub rules of this rule (in case that parse tree building is enabled on the parser).