CompileTime

ll1compiletime.syntax.CompileTime
trait CompileTime[A, T, K]

The trait to define a syntax executed at compile time

Attributes

A

the return type of the entry point

K

the Kind type

T

the Token type

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Types

type CSyntax[X] = Syntax[X, Token, Kind]

Type of a syntax in this context of CompileTime

Type of a syntax in this context of CompileTime

Attributes

X

the return value of the syntax

type Kind = K
type Token = T

Value members

Abstract methods

def getKind(t: Token): Kind

Return the Kind of a given Token

Return the Kind of a given Token

Attributes

t

the given Token

Returns:

the Kind corresponding to the token

the macro call for the compile time analysis and construction of the syntax

the macro call for the compile time analysis and construction of the syntax

Attributes

Note:

should abslutely be an inline

Concrete methods

final inline def parser: ParsingTable[A, T, Kind]

Return a parsing table corresponding to the defined syntax.

Return a parsing table corresponding to the defined syntax.

Attributes

Abstract fields

lazy val entryPoint: CSyntax[A]

The top level syntax, where the parsing begin.

The top level syntax, where the parsing begin.

Attributes