p

akka

parboiled2

package parboiled2

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. parboiled2
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class CharPredicate extends (Char) ⇒ Boolean
  2. trait DynamicRuleDispatch[P <: Parser, L <: HList] extends AnyRef

    Runs one of the rules of a parser instance of type P given the rules name.

    Runs one of the rules of a parser instance of type P given the rules name. The rule must have type RuleN[L].

  3. trait DynamicRuleHandler[P <: Parser, L <: HList] extends DeliveryScheme[L]

    An application needs to implement this interface to receive the result of a dynamic parsing run.

    An application needs to implement this interface to receive the result of a dynamic parsing run. Often times this interface is directly implemented by the Parser class itself (even though this is not a requirement).

  4. class ErrorFormatter extends AnyRef

    Abstraction for error formatting logic.

    Abstraction for error formatting logic. Instantiate with a custom configuration or override with custom logic.

  5. case class ParseError(position: Position, principalPosition: Position, traces: Seq[RuleTrace]) extends RuntimeException with Product with Serializable
  6. abstract class Parser extends RuleDSL
  7. trait ParserInput extends AnyRef
  8. type PopRule[-L <: HList] = Rule[L, HNil]
  9. case class Position(index: Int, line: Int, column: Int) extends Product with Serializable

    Defines a position in an ParserInput.

    Defines a position in an ParserInput.

    index

    index into the input buffer (0-based)

    line

    the text line the error occurred in (1-based)

    column

    the text column the error occurred in (1-based)

  10. trait Repeated extends AnyRef
  11. sealed class Rule[-I <: HList, +O <: HList] extends RuleX

    The general model of a parser rule.

    The general model of a parser rule. It is characterized by consuming a certain number of elements from the value stack (whose types are captured by the HList type parameter I for "Input") and itself pushing a certain number of elements onto the value stack (whose types are captured by the HList type parameter O for "Output").

    At runtime there are only two instances of this class which signal whether the rule has matched (or mismatched) at the current point in the input.

  12. type Rule0 = Rule[HNil, HNil]
  13. type Rule1[+T] = Rule[HNil, ::[T, HNil]]
  14. type Rule2[+A, +B] = Rule[HNil, ::[A, ::[B, HNil]]]
  15. abstract class RuleDSL extends RuleDSLBasics with RuleDSLCombinators with RuleDSLActions
  16. trait RuleDSLActions extends AnyRef
  17. trait RuleDSLBasics extends AnyRef
  18. trait RuleDSLCombinators extends AnyRef
  19. type RuleN[+L <: HList] = Rule[HNil, L]
  20. trait RuleRunner[P <: Parser, L <: HList] extends AnyRef
  21. case class RuleTrace(prefix: List[NonTerminal], terminal: Terminal) extends Product with Serializable
  22. sealed trait RuleX extends AnyRef
  23. class ValueStack extends Iterable[Any]

    A mutable untyped stack of values.

    A mutable untyped stack of values. In most cases you won't have to access its API directly since parboiled2's DSL should allow you a safer and easier way to interact with the stack. However, in some cases, when you know what you are doing, direct access can be helpful.

  24. class ValueStackOverflowException extends RuntimeException
  25. class ValueStackUnderflowException extends RuntimeException

Value Members

  1. val EOI: Char
  2. val EmptyArray: Array[Any]
  3. val ISO-8859-1: Charset
  4. val UTF8: Charset
  5. object CharPredicate
  6. object CharUtils
  7. object DynamicRuleDispatch
  8. object Parser
  9. object ParserInput
  10. object ParserMacros
  11. object Position extends Serializable
  12. object Rule extends Rule0

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

  13. object RuleTrace extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped