Class Dart2Lexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- net.sourceforge.pmd.lang.dart.antlr4.Dart2Lexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class Dart2Lexer 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
ABSTRACT
static int
AS
static String[]
channelNames
static int
COVARIANT
static int
DEFERRED
static int
DYNAMIC
static int
EXPORT
static int
EXTERNAL
static int
FACTORY
static int
FUNCTION
static int
GET
static int
HEX_NUMBER
static int
IDENTIFIER
static int
IMPLEMENTS
static int
IMPORT
static int
INTERFACE
static int
LIBRARY
static int
MIXIN
static String[]
modeNames
static int
MULTI_LINE_COMMENT
static int
MultiLineString
static int
NEWLINE
static int
NUMBER
static int
OPERATOR
static int
PART
static String[]
ruleNames
static int
SEMICOLON
static int
SET
static int
SINGLE_LINE_COMMENT
static int
SingleLineString
static int
STATIC
static int
T__0
static int
T__1
static int
T__10
static int
T__11
static int
T__12
static int
T__13
static int
T__14
static int
T__15
static int
T__16
static int
T__17
static int
T__18
static int
T__19
static int
T__2
static int
T__20
static int
T__21
static int
T__22
static int
T__23
static int
T__24
static int
T__25
static int
T__26
static int
T__27
static int
T__28
static int
T__29
static int
T__3
static int
T__30
static int
T__31
static int
T__32
static int
T__33
static int
T__34
static int
T__35
static int
T__36
static int
T__37
static int
T__38
static int
T__39
static int
T__4
static int
T__40
static int
T__41
static int
T__42
static int
T__43
static int
T__44
static int
T__45
static int
T__46
static int
T__47
static int
T__48
static int
T__49
static int
T__5
static int
T__50
static int
T__51
static int
T__52
static int
T__53
static int
T__54
static int
T__55
static int
T__56
static int
T__57
static int
T__58
static int
T__59
static int
T__6
static int
T__60
static int
T__61
static int
T__62
static int
T__63
static int
T__64
static int
T__65
static int
T__66
static int
T__67
static int
T__68
static int
T__69
static int
T__7
static int
T__70
static int
T__71
static int
T__72
static int
T__73
static int
T__74
static int
T__75
static int
T__76
static int
T__77
static int
T__78
static int
T__79
static int
T__8
static int
T__80
static int
T__81
static int
T__82
static int
T__83
static int
T__84
static int
T__85
static int
T__86
static int
T__87
static int
T__88
static int
T__89
static int
T__9
static int
T__90
static int
T__91
static int
T__92
static int
T__93
static int
T__94
static int
T__95
static int
T__96
static int
T__97
static int
T__98
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TYPEDEF
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WHITESPACE
-
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 Dart2Lexer(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
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
T__2
public static final int T__2
- See Also:
- Constant Field Values
-
T__3
public static final int T__3
- See Also:
- Constant Field Values
-
T__4
public static final int T__4
- See Also:
- Constant Field Values
-
T__5
public static final int T__5
- See Also:
- Constant Field Values
-
T__6
public static final int T__6
- See Also:
- Constant Field Values
-
T__7
public static final int T__7
- See Also:
- Constant Field Values
-
T__8
public static final int T__8
- See Also:
- Constant Field Values
-
T__9
public static final int T__9
- See Also:
- Constant Field Values
-
T__10
public static final int T__10
- See Also:
- Constant Field Values
-
T__11
public static final int T__11
- See Also:
- Constant Field Values
-
T__12
public static final int T__12
- See Also:
- Constant Field Values
-
T__13
public static final int T__13
- See Also:
- Constant Field Values
-
T__14
public static final int T__14
- See Also:
- Constant Field Values
-
T__15
public static final int T__15
- See Also:
- Constant Field Values
-
T__16
public static final int T__16
- See Also:
- Constant Field Values
-
T__17
public static final int T__17
- See Also:
- Constant Field Values
-
T__18
public static final int T__18
- See Also:
- Constant Field Values
-
T__19
public static final int T__19
- See Also:
- Constant Field Values
-
T__20
public static final int T__20
- See Also:
- Constant Field Values
-
T__21
public static final int T__21
- See Also:
- Constant Field Values
-
T__22
public static final int T__22
- See Also:
- Constant Field Values
-
T__23
public static final int T__23
- See Also:
- Constant Field Values
-
T__24
public static final int T__24
- See Also:
- Constant Field Values
-
T__25
public static final int T__25
- See Also:
- Constant Field Values
-
T__26
public static final int T__26
- See Also:
- Constant Field Values
-
T__27
public static final int T__27
- See Also:
- Constant Field Values
-
T__28
public static final int T__28
- See Also:
- Constant Field Values
-
T__29
public static final int T__29
- See Also:
- Constant Field Values
-
T__30
public static final int T__30
- See Also:
- Constant Field Values
-
T__31
public static final int T__31
- See Also:
- Constant Field Values
-
T__32
public static final int T__32
- See Also:
- Constant Field Values
-
T__33
public static final int T__33
- See Also:
- Constant Field Values
-
T__34
public static final int T__34
- See Also:
- Constant Field Values
-
T__35
public static final int T__35
- See Also:
- Constant Field Values
-
T__36
public static final int T__36
- See Also:
- Constant Field Values
-
T__37
public static final int T__37
- See Also:
- Constant Field Values
-
T__38
public static final int T__38
- See Also:
- Constant Field Values
-
T__39
public static final int T__39
- See Also:
- Constant Field Values
-
T__40
public static final int T__40
- See Also:
- Constant Field Values
-
T__41
public static final int T__41
- See Also:
- Constant Field Values
-
T__42
public static final int T__42
- See Also:
- Constant Field Values
-
T__43
public static final int T__43
- See Also:
- Constant Field Values
-
T__44
public static final int T__44
- See Also:
- Constant Field Values
-
T__45
public static final int T__45
- See Also:
- Constant Field Values
-
T__46
public static final int T__46
- See Also:
- Constant Field Values
-
T__47
public static final int T__47
- See Also:
- Constant Field Values
-
T__48
public static final int T__48
- See Also:
- Constant Field Values
-
T__49
public static final int T__49
- See Also:
- Constant Field Values
-
T__50
public static final int T__50
- See Also:
- Constant Field Values
-
T__51
public static final int T__51
- See Also:
- Constant Field Values
-
T__52
public static final int T__52
- See Also:
- Constant Field Values
-
T__53
public static final int T__53
- See Also:
- Constant Field Values
-
T__54
public static final int T__54
- See Also:
- Constant Field Values
-
T__55
public static final int T__55
- See Also:
- Constant Field Values
-
T__56
public static final int T__56
- See Also:
- Constant Field Values
-
T__57
public static final int T__57
- See Also:
- Constant Field Values
-
T__58
public static final int T__58
- See Also:
- Constant Field Values
-
T__59
public static final int T__59
- See Also:
- Constant Field Values
-
T__60
public static final int T__60
- See Also:
- Constant Field Values
-
T__61
public static final int T__61
- See Also:
- Constant Field Values
-
T__62
public static final int T__62
- See Also:
- Constant Field Values
-
T__63
public static final int T__63
- See Also:
- Constant Field Values
-
T__64
public static final int T__64
- See Also:
- Constant Field Values
-
T__65
public static final int T__65
- See Also:
- Constant Field Values
-
T__66
public static final int T__66
- See Also:
- Constant Field Values
-
T__67
public static final int T__67
- See Also:
- Constant Field Values
-
T__68
public static final int T__68
- See Also:
- Constant Field Values
-
T__69
public static final int T__69
- See Also:
- Constant Field Values
-
T__70
public static final int T__70
- See Also:
- Constant Field Values
-
T__71
public static final int T__71
- See Also:
- Constant Field Values
-
T__72
public static final int T__72
- See Also:
- Constant Field Values
-
T__73
public static final int T__73
- See Also:
- Constant Field Values
-
T__74
public static final int T__74
- See Also:
- Constant Field Values
-
T__75
public static final int T__75
- See Also:
- Constant Field Values
-
T__76
public static final int T__76
- See Also:
- Constant Field Values
-
T__77
public static final int T__77
- See Also:
- Constant Field Values
-
T__78
public static final int T__78
- See Also:
- Constant Field Values
-
T__79
public static final int T__79
- See Also:
- Constant Field Values
-
T__80
public static final int T__80
- See Also:
- Constant Field Values
-
T__81
public static final int T__81
- See Also:
- Constant Field Values
-
T__82
public static final int T__82
- See Also:
- Constant Field Values
-
T__83
public static final int T__83
- See Also:
- Constant Field Values
-
T__84
public static final int T__84
- See Also:
- Constant Field Values
-
T__85
public static final int T__85
- See Also:
- Constant Field Values
-
T__86
public static final int T__86
- See Also:
- Constant Field Values
-
T__87
public static final int T__87
- See Also:
- Constant Field Values
-
T__88
public static final int T__88
- See Also:
- Constant Field Values
-
T__89
public static final int T__89
- See Also:
- Constant Field Values
-
T__90
public static final int T__90
- See Also:
- Constant Field Values
-
T__91
public static final int T__91
- See Also:
- Constant Field Values
-
T__92
public static final int T__92
- See Also:
- Constant Field Values
-
T__93
public static final int T__93
- See Also:
- Constant Field Values
-
T__94
public static final int T__94
- See Also:
- Constant Field Values
-
T__95
public static final int T__95
- See Also:
- Constant Field Values
-
T__96
public static final int T__96
- See Also:
- Constant Field Values
-
T__97
public static final int T__97
- See Also:
- Constant Field Values
-
T__98
public static final int T__98
- See Also:
- Constant Field Values
-
WHITESPACE
public static final int WHITESPACE
- See Also:
- Constant Field Values
-
SEMICOLON
public static final int SEMICOLON
- See Also:
- Constant Field Values
-
NUMBER
public static final int NUMBER
- See Also:
- Constant Field Values
-
HEX_NUMBER
public static final int HEX_NUMBER
- See Also:
- Constant Field Values
-
SingleLineString
public static final int SingleLineString
- See Also:
- Constant Field Values
-
MultiLineString
public static final int MultiLineString
- See Also:
- Constant Field Values
-
NEWLINE
public static final int NEWLINE
- See Also:
- Constant Field Values
-
ABSTRACT
public static final int ABSTRACT
- See Also:
- Constant Field Values
-
AS
public static final int AS
- See Also:
- Constant Field Values
-
COVARIANT
public static final int COVARIANT
- See Also:
- Constant Field Values
-
DEFERRED
public static final int DEFERRED
- See Also:
- Constant Field Values
-
DYNAMIC
public static final int DYNAMIC
- See Also:
- Constant Field Values
-
EXPORT
public static final int EXPORT
- See Also:
- Constant Field Values
-
EXTERNAL
public static final int EXTERNAL
- See Also:
- Constant Field Values
-
FACTORY
public static final int FACTORY
- See Also:
- Constant Field Values
-
FUNCTION
public static final int FUNCTION
- See Also:
- Constant Field Values
-
GET
public static final int GET
- See Also:
- Constant Field Values
-
IMPLEMENTS
public static final int IMPLEMENTS
- See Also:
- Constant Field Values
-
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
-
INTERFACE
public static final int INTERFACE
- See Also:
- Constant Field Values
-
LIBRARY
public static final int LIBRARY
- See Also:
- Constant Field Values
-
OPERATOR
public static final int OPERATOR
- See Also:
- Constant Field Values
-
MIXIN
public static final int MIXIN
- See Also:
- Constant Field Values
-
PART
public static final int PART
- See Also:
- Constant Field Values
-
SET
public static final int SET
- See Also:
- Constant Field Values
-
STATIC
public static final int STATIC
- See Also:
- Constant Field Values
-
TYPEDEF
public static final int TYPEDEF
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
-
SINGLE_LINE_COMMENT
public static final int SINGLE_LINE_COMMENT
- See Also:
- Constant Field Values
-
MULTI_LINE_COMMENT
public static final int MULTI_LINE_COMMENT
- 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
- See Also:
- Constant Field Values
-
_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>
-
-