Interface Token
- 
- All Known Implementing Classes:
- Token.BasicToken
 
 public interface TokenRepresents a portion of a char sequence.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classToken.BasicTokenA basic implementation of a Token.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumnIndex()Returns the column index.intgetInputEnd()Returns the index of the end of this token in input.intgetInputStart()Returns the index of the start of this token in input.intgetLineIndex()Returns the line index.intgetLineStart()Returns the line start.java.lang.StringgetName()Returns the name.java.lang.StringgetPattern()Returns the pattern.TokengetSpecialToken()Returns the special token.java.lang.StringgetString()Returns the string.TokenizergetTokenizer()The Tokenizer that provided this token.
 
- 
- 
- 
Method Detail- 
getTokenizerTokenizer getTokenizer() The Tokenizer that provided this token.
 - 
getNamejava.lang.String getName() Returns the name.
 - 
getPatternjava.lang.String 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.
 - 
getStringjava.lang.String getString() Returns the string.
 
- 
 
-