|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Token | |
---|---|
gate.yam.parse | Parsing of the YAM language. |
gate.yam.translate | Translation of YAM to other languages. |
Uses of Token in gate.yam.parse |
---|
Fields in gate.yam.parse declared as Token | |
---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully. |
Token |
YamParser.jj_nt
|
Token |
Token.next
A reference to the next regular (non-special) token from the input stream. |
Token |
Token.specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. |
Token |
YamParser.token
|
Methods in gate.yam.parse that return Token | |
---|---|
Token |
YamNode.getFirstToken()
Get the first Token dominated by this node. |
Token |
YamNode.getLastToken()
Get the last Token dominated by this node. |
Token |
YamParser.getNextToken()
|
Token |
YamParserTokenManager.getNextToken()
|
Token |
YamParser.getToken(int index)
|
protected Token |
YamParserTokenManager.jjFillToken()
|
static Token |
Token.newToken(int ofKind)
Returns a new Token object, by default. |
Methods in gate.yam.parse with parameters of type Token | |
---|---|
int |
YamParser.getSepSpacing(Token sep)
Returns the length of the trailing spaces on a sep token (the spaces at the start of the next line). |
boolean |
Token.samePlace(Token other)
Do two tokens point to the same place? |
static boolean |
Token.samePlace(Token a,
Token b)
Do two tokens point to the same place? |
void |
YamNode.setFirstToken(Token first)
Set the first Token dominated by this node. |
void |
YamNode.setLastToken(Token last)
Set the last Token dominated by this node. |
Constructors in gate.yam.parse with parameters of type Token | |
---|---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser. |
Uses of Token in gate.yam.translate |
---|
Methods in gate.yam.translate with parameters of type Token | |
---|---|
void |
Cursor.blanksAfter(Token gapStart,
Token gapEnd,
int norm,
int min,
int max)
Set the number of blank lines in a token sequence. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |