Package gw.lang.parser
Interface IFullParserState
- All Superinterfaces:
IParserState
- All Known Implementing Classes:
StandardParserState
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Collapses the token captured by this parser state, if possibleboolean
void
setSymbolTable
(ISymbolTable table) Set the symbol table at the moment of creation of this IParserStateMethods inherited from interface gw.lang.parser.IParserState
cloneWithNewTokenStartAndTokenEnd, getLineNumber, getLineOffset, getSource, getTokenColumn, getTokenEnd, getTokenStart
-
Method Details
-
getSymbolTable
ISymbolTable getSymbolTable()- Returns:
- the symbol table at the moment of creation of the parser state
-
setSymbolTable
Set the symbol table at the moment of creation of this IParserState -
collapseToken
void collapseToken()Collapses the token captured by this parser state, if possible -
isKeepSymbolTableInIssues
boolean isKeepSymbolTableInIssues()- Returns:
- true if parse issues need to retain this state's symbol table (e.g. in an IDE)
-