ll1compiletime

Members list

Concise view

Type members

Classlikes

sealed trait ParsingResult[A]

the result of parsing

the result of parsing

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class UnexpectedEnd[A, Kind]
class UnexpectedToken[A, Kind]

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ~[+A, +B](_1: A, _2: B)

A pair of value

A pair of value

Used as infix type

Attributes

_1

first value

_2

second value

Example:
val s: CSyntax[A ~ B] = ???
s.map {
    case a ~ b => ???
}
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

type CompileTime[A, T, K] = CompileTime[A, T, K]

Define a syntax that will be analyzed at compile time

Define a syntax that will be analyzed at compile time

Attributes

See also:

The trait to define a syntax. See the operators here ll1compiletime.syntax.SyntaxDefinition

The trait to define a syntax. See the operators here ll1compiletime.syntax.SyntaxDefinition

Attributes

K

the Kind type

T

the Token type

Note:

this type definition is so that be have only to import ll1compiletime._

Value members

Concrete methods

Apply the syntax definition to a new Parsing, and return the result

Apply the syntax definition to a new Parsing, and return the result

Attributes

K

the Token Kind used in the parser

sd

the syntax definition

Returns:

the partial parsing table created by the Parsing object