Package

akka

parboiled2

Permalink

package parboiled2

Source
package.scala
Linear Supertypes
Content Hierarchy
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

    Permalink
  2. trait DynamicRuleDispatch[P <: Parser, L <: HList] extends AnyRef

    Permalink

    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]

    Permalink

    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

    Permalink

    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

    Permalink
  6. abstract class Parser extends RuleDSL

    Permalink
  7. trait ParserInput extends AnyRef

    Permalink
  8. type PopRule[-L <: HList] = Rule[L, HNil]

    Permalink
  9. case class Position(index: Int, line: Int, column: Int) extends Product with Serializable

    Permalink

    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

    Permalink
  11. sealed class Rule[-I <: HList, +O <: HList] extends RuleX

    Permalink

    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]

    Permalink
  13. type Rule1[+T] = Rule[HNil, ::[T, HNil]]

    Permalink
  14. type Rule2[+A, +B] = Rule[HNil, ::[A, ::[B, HNil]]]

    Permalink
  15. abstract class RuleDSL extends RuleDSLBasics with RuleDSLCombinators with RuleDSLActions

    Permalink
  16. trait RuleDSLActions extends AnyRef

    Permalink
  17. trait RuleDSLBasics extends AnyRef

    Permalink
  18. trait RuleDSLCombinators extends AnyRef

    Permalink
  19. type RuleN[+L <: HList] = Rule[HNil, L]

    Permalink
  20. trait RuleRunner[P <: Parser, L <: HList] extends AnyRef

    Permalink
  21. case class RuleTrace(prefix: List[NonTerminal], terminal: Terminal) extends Product with Serializable

    Permalink
  22. sealed trait RuleX extends AnyRef

    Permalink
  23. class ValueStack extends Iterable[Any]

    Permalink

    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

    Permalink
  25. class ValueStackUnderflowException extends RuntimeException

    Permalink

Value Members

  1. object CharPredicate

    Permalink
  2. object CharUtils

    Permalink
  3. object DynamicRuleDispatch

    Permalink
  4. val EOI: Char

    Permalink
  5. val EmptyArray: Array[Any]

    Permalink
  6. val ISO-8859-1: Charset

    Permalink
  7. object Parser

    Permalink
  8. object ParserInput

    Permalink
  9. object ParserMacros

    Permalink
  10. object Position extends Serializable

    Permalink
  11. object Rule extends Rule0

    Permalink

    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!

  12. object RuleTrace extends Serializable

    Permalink
  13. val UTF8: Charset

    Permalink
  14. package support

    Permalink
  15. package util

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped