ParsingResult

ll1compiletime.ParsingResult$
See theParsingResult companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class ParsedSuccessfully[A](v: A) extends ParsingResult[A]

A sucessful parsing result, all tokens have been consumed

A sucessful parsing result, all tokens have been consumed

Attributes

v

the value of produced by the parser

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParsingResult[A]
class Object
trait Matchable
class Any
case class ParsedSuccessfullyWithRest[A, Token](v: A, tokens: List[Token]) extends ParsingResult[A]

A sucessful parsing result, but NOT all tokens have been consumed

A sucessful parsing result, but NOT all tokens have been consumed

Attributes

tokens

the remaining Tokens

v

the value of produced by the parser

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParsingResult[A]
class Object
trait Matchable
class Any
case class UnexpectedEnd[A, Kind](expected: Set[Kind]) extends ParsingResult[A]

A failed parsing result, the end of the Token sequence have been reached before the end of the parsing.

A failed parsing result, the end of the Token sequence have been reached before the end of the parsing.

Attributes

expected

the expected following Kinds of Token

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParsingResult[A]
class Object
trait Matchable
class Any
case class UnexpectedToken[A, Kind](k: Kind, expected: Set[Kind]) extends ParsingResult[A]

A failed parsing result, An unexpected token has been encountered during during parsing

A failed parsing result, An unexpected token has been encountered during during parsing

Attributes

expected

the expected following Kinds of Token

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParsingResult[A]
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror