Package

fastparse

core

Permalink

package core

Visibility
  1. Public
  2. All

Type Members

  1. case class Frame(index: Int, parser: Parser[_]) extends Product with Serializable

    Permalink

    A single frame of the parser call stack

    A single frame of the parser call stack

    index

    The index at which point this parse frame started

    parser

    The parser which was attempted at this index

  2. trait Mutable[+T] extends AnyRef

    Permalink

    An internal mirror of the Parsed classes, except it contains far more data and is mutable to maximize performance

  3. class ParseCtx extends AnyRef

    Permalink

    Things which get passed through the entire parse run, but almost never get changed in the process.

  4. case class ParseError(failure: Failure) extends Exception with Product with Serializable

    Permalink
  5. sealed trait Parsed[+T] extends AnyRef

    Permalink

    Result of a parse, whether successful or failed.

  6. trait Parser[+T] extends ParserResults[T] with Precedence

    Permalink

    A single, self-contained, immutable parser.

    A single, self-contained, immutable parser. The primary method is parse, which returns a T on success and a stack trace on failure.

    Some small optimizations are performed in-line: collapsing parsers.Combinators.Either cells into large ones and collapsing parsers.Combinators.Sequence cells into parsers.Combinators.Sequence.Flats. These optimizations together appear to make things faster but any 10%, whether or not you activate tracing.

  7. trait ParserResults[+T] extends AnyRef

    Permalink

    Convenience methods to be used internally inside Parsers

  8. trait Precedence extends AnyRef

    Permalink

    Something which contains an operator precedence, which can be used to correctly wrap other things which contain lower precedences in parentheses when stringifying.

Value Members

  1. object Mutable

    Permalink
  2. object ParseError extends Serializable

    Permalink
  3. object Parsed

    Permalink
  4. object Precedence

    Permalink

    All the level of operator precedence in Scala

Ungrouped