![JAR search and dependency download from the Maven repository](/logo.png)
Java.target.apidocs.org.antlr.v4.runtime.WritableToken.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of antlr4-perf-testsuite Show documentation
Show all versions of antlr4-perf-testsuite Show documentation
The ANTLR 4 grammar compiler.
WritableToken (ANTLR 4 Runtime (Optimized) 4.13.1.3 API)
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 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)
-
Methods inherited from interface org.antlr.v4.runtime.Token
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getTokenSource, getType
-
-
Method Detail
-
setText
void setText(String text)
-
setType
void setType(int ttype)
-
setLine
void setLine(int line)
-
setCharPositionInLine
void setCharPositionInLine(int pos)
-
setChannel
void setChannel(int channel)
-
setTokenIndex
void setTokenIndex(int index)
Copyright © 1992–2023 Daniel Sun. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy