Package gw.lang.parser
Interface IFullParserState
-
- All Superinterfaces:
IParserState
- All Known Implementing Classes:
StandardParserState
public interface IFullParserState extends IParserState
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
collapseToken()
Collapses the token captured by this parser state, if possibleISymbolTable
getSymbolTable()
boolean
isKeepSymbolTableInIssues()
void
setSymbolTable(ISymbolTable table)
Set the symbol table at the moment of creation of this IParserState-
Methods inherited from interface gw.lang.parser.IParserState
cloneWithNewTokenStartAndTokenEnd, getLineNumber, getLineOffset, getSource, getTokenColumn, getTokenEnd, getTokenStart
-
-
-
-
Method Detail
-
getSymbolTable
ISymbolTable getSymbolTable()
- Returns:
- the symbol table at the moment of creation of the parser state
-
setSymbolTable
void setSymbolTable(ISymbolTable table)
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)
-
-