public interface WritableToken extends Token
DEFAULT_CHANNEL, EOF, EPSILON, HIDDEN_CHANNEL, INVALID_TYPE, MIN_USER_TOKEN_TYPE
Modifier and Type | Method and Description |
---|---|
void |
setChannel(int channel) |
void |
setCharPositionInLine(int pos) |
void |
setLine(int line) |
void |
setText(String text) |
void |
setTokenIndex(int index) |
void |
setType(int ttype) |
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getTokenSource, getType
void setText(String text)
void setType(int ttype)
void setLine(int line)
void setCharPositionInLine(int pos)
void setChannel(int channel)
void setTokenIndex(int index)
Copyright © 1992-2013 ANTLR. All Rights Reserved.