Package org.antlr.v4.runtime
Interface WritableToken
-
- All Superinterfaces:
Token
- All Known Implementing Classes:
CommonToken,TokenTagToken
public interface WritableToken extends Token
-
-
Field Summary
-
Fields inherited from interface org.antlr.v4.runtime.Token
DEFAULT_CHANNEL, EOF, EPSILON, HIDDEN_CHANNEL, INVALID_TYPE, MIN_USER_CHANNEL_VALUE, MIN_USER_TOKEN_TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetChannel(int channel)voidsetCharPositionInLine(int pos)voidsetLine(int line)voidsetText(java.lang.String text)voidsetTokenIndex(int index)voidsetType(int ttype)-
Methods inherited from interface org.antlr.v4.runtime.Token
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getTokenSource, getType
-
-