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
Fields Modifier and Type Field 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
ATSIGN
static int
BAD_ESC_TAB
static int
BASE64
static int
BLOCKCLOSE
static int
BLOCKOPEN
static int
BRACECLOSE
static int
BRACEOPEN
static String[]
channelNames
static int
COLON
static int
COMMA
static int
CURLYBRACECLOSE
static int
CURLYBRACEOPEN
static int
EMAIL
static int
EQUALS
static int
GIBBERISH
static int
MIME_TYPE_1
static int
MIME_TYPE_2
static int
MINUS
static String[]
modeNames
static int
PLUS
static int
QUOTE1
static int
QUOTE2
static int
QUOTE3
static int
QUOTE4
static String[]
ruleNames
static int
SEMICOLON
static int
SLASH
static int
SPACE
static int
SPECIALVERSIONWORDS
static int
T__0
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
UNASSIGNEDVARIABLE
static int
URL
static int
USERAGENT1
static int
USERAGENT2
static int
UUID
static int
VERSION
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WORD
-
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
-
-
Constructor Summary
Constructors Constructor Description UserAgentLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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()
-
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 Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
QUOTE1
public static final int QUOTE1
- See Also:
- Constant Field Values
-
QUOTE2
public static final int QUOTE2
- See Also:
- Constant Field Values
-
QUOTE3
public static final int QUOTE3
- See Also:
- Constant Field Values
-
QUOTE4
public static final int QUOTE4
- See Also:
- Constant Field Values
-
BAD_ESC_TAB
public static final int BAD_ESC_TAB
- See Also:
- Constant Field Values
-
MIME_TYPE_1
public static final int MIME_TYPE_1
- See Also:
- Constant Field Values
-
MIME_TYPE_2
public static final int MIME_TYPE_2
- See Also:
- Constant Field Values
-
SPACE
public static final int SPACE
- See Also:
- Constant Field Values
-
USERAGENT1
public static final int USERAGENT1
- See Also:
- Constant Field Values
-
USERAGENT2
public static final int USERAGENT2
- See Also:
- Constant Field Values
-
EMAIL
public static final int EMAIL
- See Also:
- Constant Field Values
-
CURLYBRACEOPEN
public static final int CURLYBRACEOPEN
- See Also:
- Constant Field Values
-
CURLYBRACECLOSE
public static final int CURLYBRACECLOSE
- See Also:
- Constant Field Values
-
BRACEOPEN
public static final int BRACEOPEN
- See Also:
- Constant Field Values
-
BRACECLOSE
public static final int BRACECLOSE
- See Also:
- Constant Field Values
-
BLOCKOPEN
public static final int BLOCKOPEN
- See Also:
- Constant Field Values
-
BLOCKCLOSE
public static final int BLOCKCLOSE
- See Also:
- Constant Field Values
-
SEMICOLON
public static final int SEMICOLON
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
SLASH
public static final int SLASH
- See Also:
- Constant Field Values
-
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
-
UUID
public static final int UUID
- See Also:
- Constant Field Values
-
URL
public static final int URL
- See Also:
- Constant Field Values
-
SPECIALVERSIONWORDS
public static final int SPECIALVERSIONWORDS
- See Also:
- Constant Field Values
-
UNASSIGNEDVARIABLE
public static final int UNASSIGNEDVARIABLE
- See Also:
- Constant Field Values
-
GIBBERISH
public static final int GIBBERISH
- See Also:
- Constant Field Values
-
ATSIGN
public static final int ATSIGN
- See Also:
- Constant Field Values
-
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
-
WORD
public static final int WORD
- See Also:
- Constant Field Values
-
BASE64
public static final int BASE64
- See Also:
- Constant Field Values
-
channelNames
public static String[] channelNames
-
modeNames
public static String[] modeNames
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final String _serializedATN
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] 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
public String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public String[] getChannelNames()
- Overrides:
getChannelNames
in classorg.antlr.v4.runtime.Lexer
-
getModeNames
public String[] 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>
-
-