Class AntlrLexicalAnalyzer.EmuToken
java.lang.Object
org.antlr.v4.runtime.CommonToken
net.emustudio.emulib.plugin.compiler.antlr.AntlrLexicalAnalyzer.EmuToken
- All Implemented Interfaces:
Serializable, Token, org.antlr.v4.runtime.Token, org.antlr.v4.runtime.WritableToken
- Enclosing class:
AntlrLexicalAnalyzer
-
Field Summary
Fields inherited from class org.antlr.v4.runtime.CommonToken
channel, charPositionInLine, EMPTY_SOURCE, index, line, source, start, stop, text, typeFields inherited from interface Token
BLOCK_END, BLOCK_START, COMMENT, EOF, ERROR, IDENTIFIER, INCLUDE_PATH, LABEL, LITERAL, OPERATOR, PREPROCESSOR, REGISTER, RESERVED, SEPARATOR, SYMBOL_DEFINITION, WHITESPACEFields 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
Modifier and TypeMethodDescriptionintGet 0-based starting offset in UTF-16 code units (Java String indices).Methods inherited from class org.antlr.v4.runtime.CommonToken
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getTokenSource, getType, setChannel, setCharPositionInLine, setLine, setStartIndex, setStopIndex, setText, setTokenIndex, setType, toString, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Token
getReferencedFile, getSymbolName, getText, getType
-
Method Details
-
getOffset
-