Interface Token
- All Known Implementing Classes:
- Token.BasicToken
public interface Token
Represents a portion of a char sequence.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classA basic implementation of a Token.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the column index.intReturns the index of the end of this token in input.intReturns the index of the start of this token in input.intReturns the line index.intReturns the line start.getName()Returns the name.Returns the pattern.Returns the special token.Returns the string.The Tokenizer that provided this token.
- 
Method Details- 
getTokenizerTokenizer getTokenizer()The Tokenizer that provided this token.
- 
getNameString getName()Returns the name.
- 
getPatternString getPattern()Returns the pattern.
- 
getInputStartint getInputStart()Returns the index of the start of this token in input.
- 
getInputEndint getInputEnd()Returns the index of the end of this token in input.
- 
getLineIndexint getLineIndex()Returns the line index.
- 
getLineStartint getLineStart()Returns the line start.
- 
getColumnIndexint getColumnIndex()Returns the column index.
- 
getSpecialTokenToken getSpecialToken()Returns the special token.
- 
getStringString getString()Returns the string.
 
-