public class GoLexer
extends org.antlr.v4.runtime.Lexer
| Modifier and Type | Field and Description |
|---|---|
static org.antlr.v4.runtime.atn.ATN |
_ATN |
protected static org.antlr.v4.runtime.dfa.DFA[] |
_decisionToDFA |
static String |
_serializedATN |
protected static org.antlr.v4.runtime.atn.PredictionContextCache |
_sharedContextCache |
static int |
AMPERSAND |
static int |
ASSIGN |
static int |
BIT_CLEAR |
static int |
BREAK |
static int |
CARET |
static int |
CASE |
static int |
CHAN |
static String[] |
channelNames |
static int |
COLON |
static int |
COMMA |
static int |
COMMENT |
static int |
CONST |
static int |
CONTINUE |
static int |
DECIMAL_LIT |
static int |
DECLARE_ASSIGN |
static int |
DEFAULT |
static int |
DEFER |
static int |
DIV |
static int |
DOT |
static int |
ELLIPSIS |
static int |
ELSE |
static int |
EQUALS |
static int |
EXCLAMATION |
static int |
FALLTHROUGH |
static int |
FLOAT_LIT |
static int |
FOR |
static int |
FUNC |
static int |
GO |
static int |
GOTO |
static int |
GREATER |
static int |
GREATER_OR_EQUALS |
static int |
HEX_LIT |
static int |
IDENTIFIER |
static int |
IF |
static int |
IMAGINARY_LIT |
static int |
IMPORT |
static int |
INTERFACE |
static int |
INTERPRETED_STRING_LIT |
static int |
L_BRACKET |
static int |
L_CURLY |
static int |
L_PAREN |
static int |
LESS |
static int |
LESS_OR_EQUALS |
static int |
LINE_COMMENT |
static int |
LOGICAL_AND |
static int |
LOGICAL_OR |
static int |
LSHIFT |
static int |
MAP |
static int |
MINUS |
static int |
MINUS_MINUS |
static int |
MOD |
static String[] |
modeNames |
static int |
NIL_LIT |
static int |
NOT_EQUALS |
static int |
OCTAL_LIT |
static int |
OR |
static int |
PACKAGE |
static int |
PLUS |
static int |
PLUS_PLUS |
static int |
R_BRACKET |
static int |
R_CURLY |
static int |
R_PAREN |
static int |
RANGE |
static int |
RAW_STRING_LIT |
static int |
RECEIVE |
static int |
RETURN |
static int |
RSHIFT |
static String[] |
ruleNames |
static int |
RUNE_LIT |
static int |
SELECT |
static int |
SEMI |
static int |
STAR |
static int |
STRUCT |
static int |
SWITCH |
static int |
TERMINATOR |
static String[] |
tokenNames
Deprecated.
Use
VOCABULARY instead. |
static int |
TYPE |
static int |
VAR |
static org.antlr.v4.runtime.Vocabulary |
VOCABULARY |
static int |
WS |
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP| Constructor and Description |
|---|
GoLexer(org.antlr.v4.runtime.CharStream input) |
| Modifier and Type | Method and Description |
|---|---|
org.antlr.v4.runtime.atn.ATN |
getATN() |
String[] |
getChannelNames() |
String |
getGrammarFileName() |
String[] |
getModeNames() |
String[] |
getRuleNames() |
String |
getSerializedATN() |
String[] |
getTokenNames()
Deprecated.
|
org.antlr.v4.runtime.Vocabulary |
getVocabulary() |
emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skipaction, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setStateprotected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
public static final int BREAK
public static final int DEFAULT
public static final int FUNC
public static final int INTERFACE
public static final int SELECT
public static final int CASE
public static final int DEFER
public static final int GO
public static final int MAP
public static final int STRUCT
public static final int CHAN
public static final int ELSE
public static final int GOTO
public static final int PACKAGE
public static final int SWITCH
public static final int CONST
public static final int FALLTHROUGH
public static final int IF
public static final int RANGE
public static final int TYPE
public static final int CONTINUE
public static final int FOR
public static final int IMPORT
public static final int RETURN
public static final int VAR
public static final int NIL_LIT
public static final int IDENTIFIER
public static final int L_PAREN
public static final int R_PAREN
public static final int L_CURLY
public static final int R_CURLY
public static final int L_BRACKET
public static final int R_BRACKET
public static final int ASSIGN
public static final int COMMA
public static final int SEMI
public static final int COLON
public static final int DOT
public static final int PLUS_PLUS
public static final int MINUS_MINUS
public static final int DECLARE_ASSIGN
public static final int ELLIPSIS
public static final int LOGICAL_OR
public static final int LOGICAL_AND
public static final int EQUALS
public static final int NOT_EQUALS
public static final int LESS
public static final int LESS_OR_EQUALS
public static final int GREATER
public static final int GREATER_OR_EQUALS
public static final int OR
public static final int DIV
public static final int MOD
public static final int LSHIFT
public static final int RSHIFT
public static final int BIT_CLEAR
public static final int EXCLAMATION
public static final int PLUS
public static final int MINUS
public static final int CARET
public static final int STAR
public static final int AMPERSAND
public static final int RECEIVE
public static final int DECIMAL_LIT
public static final int OCTAL_LIT
public static final int HEX_LIT
public static final int FLOAT_LIT
public static final int IMAGINARY_LIT
public static final int RUNE_LIT
public static final int RAW_STRING_LIT
public static final int INTERPRETED_STRING_LIT
public static final int WS
public static final int COMMENT
public static final int TERMINATOR
public static final int LINE_COMMENT
public static String[] channelNames
public static String[] modeNames
public static final String[] ruleNames
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
@Deprecated public static final String[] tokenNames
VOCABULARY instead.public static final String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
@Deprecated public String[] getTokenNames()
getTokenNames in class org.antlr.v4.runtime.Lexerpublic org.antlr.v4.runtime.Vocabulary getVocabulary()
getVocabulary in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String getGrammarFileName()
getGrammarFileName in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String[] getRuleNames()
getRuleNames in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String getSerializedATN()
getSerializedATN in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String[] getChannelNames()
getChannelNames in class org.antlr.v4.runtime.Lexerpublic String[] getModeNames()
getModeNames in class org.antlr.v4.runtime.Lexerpublic org.antlr.v4.runtime.atn.ATN getATN()
getATN in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>Copyright © 2021 Markus Heberling. All rights reserved.