Package gw.internal.gosu.parser
Class ParserBase.PlaceholderParserState
java.lang.Object
gw.internal.gosu.parser.ParserBase.PlaceholderParserState
- All Implemented Interfaces:
IParserState
- Enclosing class:
- ParserBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncloneWithNewTokenStartAndTokenEnd
(int newTokenStart, int newLength) int
int
int
int
int
-
Constructor Details
-
PlaceholderParserState
private PlaceholderParserState()
-
-
Method Details
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in interfaceIParserState
- Returns:
- the line number of this parser state
-
getTokenColumn
public int getTokenColumn()- Specified by:
getTokenColumn
in interfaceIParserState
- Returns:
- the column represented by this parser state
-
getSource
- Specified by:
getSource
in interfaceIParserState
- Returns:
- the program source associated with this parser state
-
getTokenStart
public int getTokenStart()- Specified by:
getTokenStart
in interfaceIParserState
- Returns:
- the start of the token represented by this parser state
-
getTokenEnd
public int getTokenEnd()- Specified by:
getTokenEnd
in interfaceIParserState
- Returns:
- the end of the token represented by this parser state
-
getLineOffset
public int getLineOffset()- Specified by:
getLineOffset
in interfaceIParserState
- Returns:
- the starting line of this parser state
-
cloneWithNewTokenStartAndTokenEnd
- Specified by:
cloneWithNewTokenStartAndTokenEnd
in interfaceIParserState
-