Object

org.parboiled2

StringBuilding

Related Doc: package parboiled2

Permalink

object StringBuilding extends Parser

For certain high-performance use-cases it is better to construct Strings that the parser is to produce/extract from the input in a char-by-char fashion.

The object defines helper rules for this. Just import StringBuilding._ and make sure that your parser context mixes in the StringBuilding.Context trait.

Linear Supertypes
Parser, RuleDSLActions, RuleDSLCombinators, RuleDSLBasics, RuleTypes, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringBuilding
  2. Parser
  3. RuleDSLActions
  4. RuleDSLCombinators
  5. RuleDSLBasics
  6. RuleTypes
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait ActionOperator[I <: HList, O <: HList, Ops] extends AnyRef

    Permalink
    Definition Classes
    RuleDSLActions
  2. sealed trait CharRangeSupport extends AnyRef

    Permalink
    Definition Classes
    RuleDSLBasics
  3. trait Context extends AnyRef

    Permalink
  4. sealed trait NTimes extends AnyRef

    Permalink
    Definition Classes
    RuleDSLCombinators
  5. type Rule0 = Rule[Context, HNil, HNil]

    Permalink
    Definition Classes
    RuleTypes
  6. type Rule1[+T] = Rule[Context, HNil, ::[T, HNil]]

    Permalink
    Definition Classes
    RuleTypes
  7. type Rule10[-A] = Rule1X[Context, A, HNil, HNil]

    Permalink
    Definition Classes
    RuleTypes
  8. type Rule11[-A, +T] = Rule1X[Context, A, HNil, ::[T, HNil]]

    Permalink
    Definition Classes
    RuleTypes
  9. type Rule12[-A, +T0, +T1] = Rule1X[Context, A, HNil, ::[T0, ::[T1, HNil]]]

    Permalink
    Definition Classes
    RuleTypes
  10. type Rule13[-A, +T0, +T1, +T2] = Rule1X[Context, A, HNil, ::[T0, ::[T1, ::[T2, HNil]]]]

    Permalink
    Definition Classes
    RuleTypes
  11. type Rule1N[-A, +L <: HList] = Rule1X[Context, A, HNil, L]

    Permalink
    Definition Classes
    RuleTypes
  12. type Rule2[+A, +B] = Rule[Context, HNil, ::[A, ::[B, HNil]]]

    Permalink
    Definition Classes
    RuleTypes
  13. type Rule20[-A, -B] = Rule2X[Context, A, B, HNil, HNil]

    Permalink
    Definition Classes
    RuleTypes
  14. type Rule21[-A, -B, +T] = Rule2X[Context, A, B, HNil, ::[T, HNil]]

    Permalink
    Definition Classes
    RuleTypes
  15. type Rule22[-A, -B, +T0, +T1] = Rule2X[Context, A, B, HNil, ::[T0, ::[T1, HNil]]]

    Permalink
    Definition Classes
    RuleTypes
  16. type Rule23[-A, -B, +T0, +T1, +T2] = Rule2X[Context, A, B, HNil, ::[T0, ::[T1, ::[T2, HNil]]]]

    Permalink
    Definition Classes
    RuleTypes
  17. type Rule2N[-A, -B, +L <: HList] = Rule2X[Context, A, B, HNil, L]

    Permalink
    Definition Classes
    RuleTypes
  18. type Rule3[+A, +B, +C] = Rule[Context, HNil, ::[A, ::[B, ::[C, HNil]]]]

    Permalink
    Definition Classes
    RuleTypes
  19. type Rule30[-A, -B, -C] = Rule3X[Context, A, B, C, HNil, HNil]

    Permalink
    Definition Classes
    RuleTypes
  20. type Rule31[-A, -B, -C, +T] = Rule3X[Context, A, B, C, HNil, ::[T, HNil]]

    Permalink
    Definition Classes
    RuleTypes
  21. type Rule32[-A, -B, -C, +T0, +T1] = Rule3X[Context, A, B, C, HNil, ::[T0, ::[T1, HNil]]]

    Permalink
    Definition Classes
    RuleTypes
  22. type Rule33[-A, -B, -C, +T0, +T1, +T2] = Rule3X[Context, A, B, C, HNil, ::[T0, ::[T1, ::[T2, HNil]]]]

    Permalink
    Definition Classes
    RuleTypes
  23. type Rule3N[-A, -B, -C, +L <: HList] = Rule3X[Context, A, B, C, HNil, L]

    Permalink
    Definition Classes
    RuleTypes
  24. class RuleCreator0 extends AnyRef

    Permalink
    Definition Classes
    Parser
  25. class RuleCreator1[A] extends AnyRef

    Permalink
    Definition Classes
    Parser
  26. class RuleCreator2[A, B] extends AnyRef

    Permalink
    Definition Classes
    Parser
  27. class RuleCreator3[A, B, C] extends AnyRef

    Permalink
    Definition Classes
    Parser
  28. type RuleN[+L <: HList] = Rule[Context, HNil, L]

    Permalink
    Definition Classes
    RuleTypes
  29. trait WithSeparatedBy[Ctx, I <: HList, O <: HList] extends AnyRef

    Permalink
    Definition Classes
    RuleDSLCombinators

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &[C](r: Rule[C, _, _]): Rule[C, HNil, HNil]

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def ANY: Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  6. def EOI: Char

    Permalink
    Definition Classes
    RuleDSLBasics
  7. def MATCH: Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  8. def MISMATCH[I <: HList, O <: HList]: Rule[Any, I, O]

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  9. def MISMATCH0: Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  10. def anyOf(chars: String): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  11. val appendChar: Rule10[Char]

    Permalink
  12. val appendLastChar: Rule0

    Permalink
  13. val appendString: Rule10[String]

    Permalink
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def atomic[C, I <: HList, O <: HList](r: Rule[C, I, O]): Rule[C, I, O]

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  16. def capture[C, I <: HList, O <: HList](r: Rule[C, I, O])(implicit p: Prepend[O, ::[String, HNil]]): Rule[C, I, Out]

    Permalink
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  17. def capturePos[C, I <: HList, O <: HList](r: Rule[C, I, O])(implicit p: Prepend[O, ::[CapturePos, HNil]]): Rule[C, I, Out]

    Permalink
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  18. implicit def ch(c: Char): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  19. val clearSB: Rule0

    Permalink
  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. implicit def ctx: Context

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  22. def drop[T](implicit h: HListable[T]): Rule[Context, Out, HNil]

    Permalink
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def fail(expected: String): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
  26. def failX[I <: HList, O <: HList](expected: String): Rule[Any, I, O]

    Permalink
    Definition Classes
    RuleDSLBasics
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. def ignoreCase(s: String): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  31. def ignoreCase(c: Char): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  32. implicit def int2NTimes(i: Int): NTimes

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def namedRule(name: String): RuleCreator0

    Permalink
    Definition Classes
    Parser
  35. def namedRule1X[A](name: String): RuleCreator1[A]

    Permalink
    Definition Classes
    Parser
  36. def namedRule2X[A, B](name: String): RuleCreator2[A, B]

    Permalink
    Definition Classes
    Parser
  37. def namedRule3X[A, B, C](name: String): RuleCreator3[A, B, C]

    Permalink
    Definition Classes
    Parser
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def noneOf(chars: String): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def oneOrMore[C, I <: HList, O <: HList](r: Rule[C, I, O])(implicit l: Lifter[Seq, I, O]): Rule[C, In, StrictOut] with Repeated

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  43. def optional[C, I <: HList, O <: HList](r: Rule[C, I, O])(implicit l: Lifter[Option, I, O]): Rule[C, In, OptionalOut]

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  44. implicit def predicate(p: CharPredicate): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  45. val prependChar: Rule10[Char]

    Permalink
  46. val prependLastChar: Rule0

    Permalink
  47. val prependString: Rule10[String]

    Permalink
  48. def push[T](value: T)(implicit h: HListable[T]): RuleN[Out]

    Permalink
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  49. val pushSB: Rule1[String]

    Permalink
  50. def quiet[C, I <: HList, O <: HList](r: Rule[C, I, O]): Rule[C, I, O]

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  51. implicit def range2NTimes(range: Range): NTimes

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  52. def rule[A, B, C](): RuleCreator3[A, B, C]

    Permalink
    Definition Classes
    Parser
  53. def rule[A, B](): RuleCreator2[A, B]

    Permalink
    Definition Classes
    Parser
  54. def rule[A](): RuleCreator1[A]

    Permalink
    Definition Classes
    Parser
  55. def rule: RuleCreator0

    Permalink
    Definition Classes
    Parser
  56. implicit def rule2ActionOperator[C <: Context, I <: HList, O <: HList](r: Rule[C, I, O])(implicit ops: ActionOps[C, I, O]): ActionOperator[I, O, Out]

    Permalink
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  57. implicit def rule2WithSeparatedBy[C, I <: HList, O <: HList](r: Rule[C, I, O] with Repeated): WithSeparatedBy[C, I, O]

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  58. def run[T](arg: T)(implicit rr: RunResult[Context, T]): Out

    Permalink
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  59. val setSB: Rule10[String]

    Permalink
  60. implicit def state: ParserState[Context]

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  61. implicit def str(s: String): Rule0

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  62. implicit def str2CharRangeSupport(s: String): CharRangeSupport

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  64. def test(condition: Boolean): Rule0

    Permalink
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  65. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  66. implicit def valueMap[T](m: Map[String, T])(implicit h: HListable[T]): Rule[Any, HNil, Out]

    Permalink
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  67. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. def zeroOrMore[C, I <: HList, O <: HList](r: Rule[C, I, O])(implicit l: Lifter[Seq, I, O]): Rule[C, In, OptionalOut] with Repeated

    Permalink
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )

Inherited from Parser

Inherited from RuleDSLActions

Inherited from RuleDSLCombinators

Inherited from RuleDSLBasics

Inherited from RuleTypes

Inherited from AnyRef

Inherited from Any

Ungrouped