ll1compiletime.parser

Members list

Concise view

Type members

Classlikes

class ParsingTable[A, Token, Kind]

A parsing table which can return a result from a token sequence

A parsing table which can return a result from a token sequence

Attributes

entry

the id of the entry syntax

getKind

a function that give the respective Kind of a Token

nt

nullable table that map an id to a value

nullable

map a syntax id to a Nullable

table

A Map from a syntax and the parsed Token Kind to a parsing instruction.

Graph
Supertypes
class Object
trait Matchable
class Any
class PartialParsingTable[Kind](entry: Int, table: Map[(Int, Kind), SymboleType], nullable: Map[Int, Nullable])

A partial parsing table. It doesn't contain the produced value.

A partial parsing table. It doesn't contain the produced value.

It cannot be used as is, the value should be provided with the method withFunctionTable(...)

Attributes

Kind

the Token Kind used in parsing

entry

the id of the entry point syntax

nullable

a Map from the syntax id (which is nullable) to the actual value (or a reference to the syntax that hold them)

table

a Map from the id of the current syntax to parse along with the Kind of the current parsed Token and gives back the next parsing instruction

Note:

This class shouldn't be used, it just can't be made private to the ll1compiletime package because it is inlined by the macros

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

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