dmd v2.104.0 (2023-06-02T08:46:32Z)
Dub
Repo
Parser
vdc
parser
engine
Undocumented in source.
class
Parser {
Stack
!
State
stateStack
;
Stack
!
Node
nodeStack
;
Stack
!
Token
tokenStack
;
Stack
!
Snapshot
rollbackStack
;
Stack
!
Snapshot
recoverStack
;
Stack
!
Token
tokenHistory
;
int
tokenHistoryStart
;
Stack
!
Token
redoTokens
;
string
filename
;
int
lineno
;
int
tokenPos
;
Token
lookaheadToken
;
Token
tok
;
Token
lexerTok
;
string
partialString
;
TextSpan
partialStringSpan
;
int
countErrors
;
int
lastErrorTokenPos
;
string
lastError
;
TextSpan
lastErrorSpan
;
version(recoverError)
Stack
!
State
errStateStack
;
version(recoverError)
Stack
!
Node
errNodeStack
;
version(recoverError)
Stack
!
Token
errTokenStack
;
version(TraceParser)
State
[]
traceState
;
version(TraceParser)
string
[]
traceToken
;
bool
recovering
;
bool
abort
;
bool
saveErrors
;
ParseError
[]
errors
;
State
lastState
;
void
verifyAttributes
(Attribute attr, Attribute newAttr, Attribute mask);
static
Action
lookaheadParen
(Parser p);
}
Members
Functions
verifyAttributes
void
verifyAttributes
(Attribute attr, Attribute newAttr, Attribute mask)
////////////////////////////////////////////////////////
Static functions
lookaheadParen
Action
lookaheadParen
(Parser p)
////////////////////////////////////////////////////////
Meta
Source
See Implementation
vdc
parser
engine
classes
Parser
functions
isInOps
mixin templates
stateEnterToken