Class SwiftLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- net.sourceforge.pmd.lang.swift.antlr4.SwiftLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class SwiftLexer extends org.antlr.v4.runtime.Lexer
-
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAstatic java.lang.String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic intBinaryLiteralstatic intBlockCommentstatic intBooleanLiteralstatic java.lang.String[]channelNamesstatic intDecimalLiteralstatic intDotOperatorHeadstatic intEscapedCharacterstatic intFloatingPointLiteralstatic intHexadecimalLiteralstatic intIdentifierstatic intImplicitParameterNamestatic intLineCommentstatic java.lang.String[]modeNamesstatic intMultiStringLiteralstatic intNilLiteralstatic intOctalLiteralstatic intOperatorCharacterstatic intOperatorHeadstatic java.lang.String[]ruleNamesstatic intSingleStringLiteralstatic intT__0static intT__1static intT__10static intT__100static intT__101static intT__102static intT__103static intT__104static intT__105static intT__106static intT__107static intT__108static intT__109static intT__11static intT__110static intT__111static intT__112static intT__113static intT__114static intT__115static intT__116static intT__117static intT__118static intT__119static intT__12static intT__120static intT__121static intT__122static intT__123static intT__124static intT__125static intT__126static intT__127static intT__128static intT__129static intT__13static intT__130static intT__131static intT__132static intT__133static intT__134static intT__135static intT__136static intT__137static intT__138static intT__139static intT__14static intT__140static intT__141static intT__142static intT__143static intT__144static intT__145static intT__146static intT__147static intT__148static intT__149static intT__15static intT__150static intT__151static intT__152static intT__153static intT__154static intT__155static intT__156static intT__157static intT__158static intT__159static intT__16static intT__160static intT__161static intT__17static intT__18static intT__19static intT__2static intT__20static intT__21static intT__22static intT__23static intT__24static intT__25static intT__26static intT__27static intT__28static intT__29static intT__3static intT__30static intT__31static intT__32static intT__33static intT__34static intT__35static intT__36static intT__37static intT__38static intT__39static intT__4static intT__40static intT__41static intT__42static intT__43static intT__44static intT__45static intT__46static intT__47static intT__48static intT__49static intT__5static intT__50static intT__51static intT__52static intT__53static intT__54static intT__55static intT__56static intT__57static intT__58static intT__59static intT__6static intT__60static intT__61static intT__62static intT__63static intT__64static intT__65static intT__66static intT__67static intT__68static intT__69static intT__7static intT__70static intT__71static intT__72static intT__73static intT__74static intT__75static intT__76static intT__77static intT__78static intT__79static intT__8static intT__80static intT__81static intT__82static intT__83static intT__84static intT__85static intT__86static intT__87static intT__88static intT__89static intT__9static intT__90static intT__91static intT__92static intT__93static intT__94static intT__95static intT__96static intT__97static intT__98static intT__99static java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.static intTRIPLEDQUOTESstatic intVersionLiteralstatic org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWS-
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 SwiftLexer(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.ATNgetATN()java.lang.String[]getChannelNames()java.lang.StringgetGrammarFileName()java.lang.String[]getModeNames()java.lang.String[]getRuleNames()java.lang.StringgetSerializedATN()java.lang.String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()-
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
-
T__99
public static final int T__99
- See Also:
- Constant Field Values
-
T__100
public static final int T__100
- See Also:
- Constant Field Values
-
T__101
public static final int T__101
- See Also:
- Constant Field Values
-
T__102
public static final int T__102
- See Also:
- Constant Field Values
-
T__103
public static final int T__103
- See Also:
- Constant Field Values
-
T__104
public static final int T__104
- See Also:
- Constant Field Values
-
T__105
public static final int T__105
- See Also:
- Constant Field Values
-
T__106
public static final int T__106
- See Also:
- Constant Field Values
-
T__107
public static final int T__107
- See Also:
- Constant Field Values
-
T__108
public static final int T__108
- See Also:
- Constant Field Values
-
T__109
public static final int T__109
- See Also:
- Constant Field Values
-
T__110
public static final int T__110
- See Also:
- Constant Field Values
-
T__111
public static final int T__111
- See Also:
- Constant Field Values
-
T__112
public static final int T__112
- See Also:
- Constant Field Values
-
T__113
public static final int T__113
- See Also:
- Constant Field Values
-
T__114
public static final int T__114
- See Also:
- Constant Field Values
-
T__115
public static final int T__115
- See Also:
- Constant Field Values
-
T__116
public static final int T__116
- See Also:
- Constant Field Values
-
T__117
public static final int T__117
- See Also:
- Constant Field Values
-
T__118
public static final int T__118
- See Also:
- Constant Field Values
-
T__119
public static final int T__119
- See Also:
- Constant Field Values
-
T__120
public static final int T__120
- See Also:
- Constant Field Values
-
T__121
public static final int T__121
- See Also:
- Constant Field Values
-
T__122
public static final int T__122
- See Also:
- Constant Field Values
-
T__123
public static final int T__123
- See Also:
- Constant Field Values
-
T__124
public static final int T__124
- See Also:
- Constant Field Values
-
T__125
public static final int T__125
- See Also:
- Constant Field Values
-
T__126
public static final int T__126
- See Also:
- Constant Field Values
-
T__127
public static final int T__127
- See Also:
- Constant Field Values
-
T__128
public static final int T__128
- See Also:
- Constant Field Values
-
T__129
public static final int T__129
- See Also:
- Constant Field Values
-
T__130
public static final int T__130
- See Also:
- Constant Field Values
-
T__131
public static final int T__131
- See Also:
- Constant Field Values
-
T__132
public static final int T__132
- See Also:
- Constant Field Values
-
T__133
public static final int T__133
- See Also:
- Constant Field Values
-
T__134
public static final int T__134
- See Also:
- Constant Field Values
-
T__135
public static final int T__135
- See Also:
- Constant Field Values
-
T__136
public static final int T__136
- See Also:
- Constant Field Values
-
T__137
public static final int T__137
- See Also:
- Constant Field Values
-
T__138
public static final int T__138
- See Also:
- Constant Field Values
-
T__139
public static final int T__139
- See Also:
- Constant Field Values
-
T__140
public static final int T__140
- See Also:
- Constant Field Values
-
T__141
public static final int T__141
- See Also:
- Constant Field Values
-
T__142
public static final int T__142
- See Also:
- Constant Field Values
-
T__143
public static final int T__143
- See Also:
- Constant Field Values
-
T__144
public static final int T__144
- See Also:
- Constant Field Values
-
T__145
public static final int T__145
- See Also:
- Constant Field Values
-
T__146
public static final int T__146
- See Also:
- Constant Field Values
-
T__147
public static final int T__147
- See Also:
- Constant Field Values
-
T__148
public static final int T__148
- See Also:
- Constant Field Values
-
T__149
public static final int T__149
- See Also:
- Constant Field Values
-
T__150
public static final int T__150
- See Also:
- Constant Field Values
-
T__151
public static final int T__151
- See Also:
- Constant Field Values
-
T__152
public static final int T__152
- See Also:
- Constant Field Values
-
T__153
public static final int T__153
- See Also:
- Constant Field Values
-
T__154
public static final int T__154
- See Also:
- Constant Field Values
-
T__155
public static final int T__155
- See Also:
- Constant Field Values
-
T__156
public static final int T__156
- See Also:
- Constant Field Values
-
T__157
public static final int T__157
- See Also:
- Constant Field Values
-
T__158
public static final int T__158
- See Also:
- Constant Field Values
-
T__159
public static final int T__159
- See Also:
- Constant Field Values
-
T__160
public static final int T__160
- See Also:
- Constant Field Values
-
T__161
public static final int T__161
- See Also:
- Constant Field Values
-
BooleanLiteral
public static final int BooleanLiteral
- See Also:
- Constant Field Values
-
NilLiteral
public static final int NilLiteral
- See Also:
- Constant Field Values
-
OperatorHead
public static final int OperatorHead
- See Also:
- Constant Field Values
-
OperatorCharacter
public static final int OperatorCharacter
- See Also:
- Constant Field Values
-
DotOperatorHead
public static final int DotOperatorHead
- See Also:
- Constant Field Values
-
Identifier
public static final int Identifier
- See Also:
- Constant Field Values
-
ImplicitParameterName
public static final int ImplicitParameterName
- See Also:
- Constant Field Values
-
BinaryLiteral
public static final int BinaryLiteral
- See Also:
- Constant Field Values
-
OctalLiteral
public static final int OctalLiteral
- See Also:
- Constant Field Values
-
DecimalLiteral
public static final int DecimalLiteral
- See Also:
- Constant Field Values
-
HexadecimalLiteral
public static final int HexadecimalLiteral
- See Also:
- Constant Field Values
-
FloatingPointLiteral
public static final int FloatingPointLiteral
- See Also:
- Constant Field Values
-
VersionLiteral
public static final int VersionLiteral
- See Also:
- Constant Field Values
-
TRIPLEDQUOTES
public static final int TRIPLEDQUOTES
- See Also:
- Constant Field Values
-
MultiStringLiteral
public static final int MultiStringLiteral
- See Also:
- Constant Field Values
-
SingleStringLiteral
public static final int SingleStringLiteral
- See Also:
- Constant Field Values
-
EscapedCharacter
public static final int EscapedCharacter
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
BlockComment
public static final int BlockComment
- See Also:
- Constant Field Values
-
LineComment
public static final int LineComment
- See Also:
- Constant Field Values
-
channelNames
public static java.lang.String[] channelNames
-
modeNames
public static java.lang.String[] modeNames
-
ruleNames
public static final java.lang.String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARYinstead.
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public java.lang.String[] getTokenNames()
Deprecated.- Overrides:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.String[] getModeNames()
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-