Parser

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;
}

Members

Functions

verifyAttributes
void verifyAttributes(Attribute attr, Attribute newAttr, Attribute mask)

////////////////////////////////////////////////////////

Static functions

lookaheadParen
Action lookaheadParen(Parser p)

////////////////////////////////////////////////////////

Meta