Top Fields Methods
org.antlr.v4.runtime

public Interface WritableToken

extends Token
Known Direct Implementers
org.antlr.v4.runtime.CommonToken

Field Summary

Inherited from org.antlr.v4.runtime.Token:
DEFAULT_CHANNELEOFEPSILONHIDDEN_CHANNELINVALID_TYPEMIN_USER_CHANNEL_VALUEMIN_USER_TOKEN_TYPE

Method Summary

Modifier and TypeMethod and Description
public void
setChannel(int channel)

public void
public void
setLine(int line)

public void
public void
setTokenIndex(int index)

public void
setType(int ttype)

Inherited from org.antlr.v4.runtime.Token:
getChannelgetCharPositionInLinegetInputStreamgetLinegetStartIndexgetStopIndexgetTextgetTokenIndexgetTokenSourcegetType

Method Detail

setChannelback to summary
public void setChannel(int channel)
setCharPositionInLineback to summary
public void setCharPositionInLine(int pos)
setLineback to summary
public void setLine(int line)
setTextback to summary
public void setText(String text)
setTokenIndexback to summary
public void setTokenIndex(int index)
setTypeback to summary
public void setType(int ttype)