dparsergen v0.1.0 (2023-05-07T14:44:42Z)
Dub
Repo
Lexer.Front
dparsergen
generator
grammarebnf_lexer
Lexer
Undocumented in source.
struct
Lexer
(Location, bool includeIgnoredTokens = false)
static
struct
Front {
string
content
;
SymbolID
symbol
;
Location
currentLocation
;
static if
(
includeIgnoredTokens
)
bool
isIgnoreToken
;
Location
currentTokenEnd
();
}
Members
Functions
currentTokenEnd
Location
currentTokenEnd
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
content
string
content
;
Undocumented in source.
currentLocation
Location
currentLocation
;
Undocumented in source.
isIgnoreToken
bool
isIgnoreToken
;
Undocumented in source.
symbol
SymbolID
symbol
;
Undocumented in source.
Meta
Source
See Implementation
dparsergen
generator
grammarebnf_lexer
Lexer
aliases
LocationDiff
constructors
this
enums
tokenID
functions
lexerException
popFront
popFrontImpl
tokenName
structs
Front
variables
empty
front
input