Package nl.basjes.parse.useragent.parser
Class UserAgentLexer
java.lang.Object
org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
org.antlr.v4.runtime.Lexer
nl.basjes.parse.useragent.parser.UserAgentLexer
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class UserAgentLexer
extends org.antlr.v4.runtime.Lexer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATN
protected static final org.antlr.v4.runtime.dfa.DFA[]
static final String
protected static final org.antlr.v4.runtime.atn.PredictionContextCache
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static String[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static String[]
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
static final int
static final int
static final int
static final int
static final String[]
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
static final org.antlr.v4.runtime.Vocabulary
static final int
Fields inherited from class org.antlr.v4.runtime.Lexer
_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
Fields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF
-
Constructor Summary
-
Method Summary
Methods inherited from class org.antlr.v4.runtime.Lexer
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, skip
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
Field Details
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA -
T__0
public static final int T__0- See Also:
-
QUOTE1
public static final int QUOTE1- See Also:
-
QUOTE2
public static final int QUOTE2- See Also:
-
QUOTE3
public static final int QUOTE3- See Also:
-
QUOTE4
public static final int QUOTE4- See Also:
-
BAD_ESC_TAB
public static final int BAD_ESC_TAB- See Also:
-
MIME_TYPE_1
public static final int MIME_TYPE_1- See Also:
-
MIME_TYPE_2
public static final int MIME_TYPE_2- See Also:
-
SPACE
public static final int SPACE- See Also:
-
USERAGENT1
public static final int USERAGENT1- See Also:
-
USERAGENT2
public static final int USERAGENT2- See Also:
-
EMAIL
public static final int EMAIL- See Also:
-
CURLYBRACEOPEN
public static final int CURLYBRACEOPEN- See Also:
-
CURLYBRACECLOSE
public static final int CURLYBRACECLOSE- See Also:
-
BRACEOPEN
public static final int BRACEOPEN- See Also:
-
BRACECLOSE
public static final int BRACECLOSE- See Also:
-
BLOCKOPEN
public static final int BLOCKOPEN- See Also:
-
BLOCKCLOSE
public static final int BLOCKCLOSE- See Also:
-
SEMICOLON
public static final int SEMICOLON- See Also:
-
COLON
public static final int COLON- See Also:
-
COMMA
public static final int COMMA- See Also:
-
SLASH
public static final int SLASH- See Also:
-
EQUALS
public static final int EQUALS- See Also:
-
MINUS
public static final int MINUS- See Also:
-
PLUS
public static final int PLUS- See Also:
-
UUID
public static final int UUID- See Also:
-
URL
public static final int URL- See Also:
-
SPECIALVERSIONWORDS
public static final int SPECIALVERSIONWORDS- See Also:
-
UNASSIGNEDVARIABLE
public static final int UNASSIGNEDVARIABLE- See Also:
-
GIBBERISH
public static final int GIBBERISH- See Also:
-
ATSIGN
public static final int ATSIGN- See Also:
-
WORD
public static final int WORD- See Also:
-
VERSION
public static final int VERSION- See Also:
-
BASE64
public static final int BASE64- See Also:
-
channelNames
-
modeNames
-
ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
UserAgentLexer
public UserAgentLexer(org.antlr.v4.runtime.CharStream input)
-
-
Method Details
-
getTokenNames
Deprecated.- Overrides:
getTokenNames
in classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
- Overrides:
getChannelNames
in classorg.antlr.v4.runtime.Lexer
-
getModeNames
- Overrides:
getModeNames
in classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
VOCABULARY
instead.