Package gw.internal.gosu.parser
Class StandardParserState
- java.lang.Object
-
- gw.internal.gosu.parser.LightweightParserState
-
- gw.internal.gosu.parser.StandardParserState
-
- All Implemented Interfaces:
IFullParserState
,IParserState
public class StandardParserState extends LightweightParserState implements IFullParserState
-
-
Constructor Summary
Constructors Constructor Description StandardParserState(IParsedElement elt, String src, boolean bKeepSymbolTableInIssues)
StandardParserState(ISymbolTable symTable, SourceCodeTokenizer tokenizer, int offsetShift, int lineShift, boolean bKeepSymbolTableInIssues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collapseToken()
ISymbolTable
getSymbolTable()
boolean
isKeepSymbolTableInIssues()
void
setKeepSymbolTableInIssues(boolean keepSymbolTableInIssues)
void
setSymbolTable(ISymbolTable table)
-
Methods inherited from class gw.internal.gosu.parser.LightweightParserState
cloneWithNewTokenStartAndTokenEnd, getLineNumber, getLineOffset, getSource, getTokenColumn, getTokenEnd, getTokenStart
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.parser.IParserState
cloneWithNewTokenStartAndTokenEnd, getLineNumber, getLineOffset, getSource, getTokenColumn, getTokenEnd, getTokenStart
-
-
-
-
Constructor Detail
-
StandardParserState
public StandardParserState(ISymbolTable symTable, SourceCodeTokenizer tokenizer, int offsetShift, int lineShift, boolean bKeepSymbolTableInIssues)
-
StandardParserState
public StandardParserState(IParsedElement elt, String src, boolean bKeepSymbolTableInIssues)
-
-
Method Detail
-
getSymbolTable
public ISymbolTable getSymbolTable()
- Specified by:
getSymbolTable
in interfaceIFullParserState
-
setSymbolTable
public void setSymbolTable(ISymbolTable table)
- Specified by:
setSymbolTable
in interfaceIFullParserState
-
collapseToken
public void collapseToken()
- Specified by:
collapseToken
in interfaceIFullParserState
-
isKeepSymbolTableInIssues
public boolean isKeepSymbolTableInIssues()
- Specified by:
isKeepSymbolTableInIssues
in interfaceIFullParserState
-
setKeepSymbolTableInIssues
public void setKeepSymbolTableInIssues(boolean keepSymbolTableInIssues)
-
-