Class CocoLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- net.sourceforge.pmd.lang.coco.ast.CocoLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class CocoLexer 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
AFTER
static int
AMP
static int
AND
static int
ARROW
static int
AS
static int
ASSERT
static int
ASSIGN
static int
AT
static int
ATTRIBUTE
static int
BACKTICK_LITERAL
static int
BECOME
static int
BLOCK_COMMENT
static int
BREAK
static int
CASE
static String[]
channelNames
static int
CHAR_LITERAL
static int
COLON
static int
COMMA
static int
COMPONENT
static int
CONTINUE
static int
DIV
static int
DOT
static int
ELLIP
static int
ELSE
static int
ENTRY
static int
ENUM
static int
EQ
static int
EXCL
static int
EXECUTION
static int
EXIT
static int
EXTERNAL
static int
FINAL
static int
FOR
static int
FUNCTION
static int
GE
static int
GT
static int
IDENTIFIER
static int
IF
static int
ILLEGAL
static int
IMPL
static int
IMPORT
static int
IN
static int
INIT
static int
INSTANCE
static int
INTEGER
static int
LB
static int
LC
static int
LE
static int
LINE_COMMENT
static int
LP
static int
LT
static int
MACHINE
static int
MATCH
static int
MINUS
static int
MOD
static String[]
modeNames
static int
MUL
static int
MUT
static int
MUTATING
static int
NE
static int
NEWLINE
static int
NONDET
static int
OFFER
static int
OPTIONAL
static int
OR
static int
OTHERWISE
static int
OUT
static int
OUTGOING
static int
PERIODIC
static int
PIPE
static int
PLUS
static int
PORT
static int
PRIVATE
static int
QM
static int
RB
static int
RC
static int
RETURN
static int
RP
static String[]
ruleNames
static int
SEMI
static int
SIGNAL
static int
SPONTANEOUS
static int
STATE
static int
STATIC
static int
STRING_LITERAL
static int
STRUCT
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TYPE
static int
UNQUALIFIED
static int
VAL
static int
VAR
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WHERE
static int
WHILE
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 CocoLexer(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
-
AFTER
public static final int AFTER
- See Also:
- Constant Field Values
-
AS
public static final int AS
- See Also:
- Constant Field Values
-
ASSERT
public static final int ASSERT
- See Also:
- Constant Field Values
-
ATTRIBUTE
public static final int ATTRIBUTE
- See Also:
- Constant Field Values
-
BECOME
public static final int BECOME
- See Also:
- Constant Field Values
-
BREAK
public static final int BREAK
- See Also:
- Constant Field Values
-
CASE
public static final int CASE
- See Also:
- Constant Field Values
-
COMPONENT
public static final int COMPONENT
- See Also:
- Constant Field Values
-
CONTINUE
public static final int CONTINUE
- See Also:
- Constant Field Values
-
ELSE
public static final int ELSE
- See Also:
- Constant Field Values
-
ENUM
public static final int ENUM
- See Also:
- Constant Field Values
-
ENTRY
public static final int ENTRY
- See Also:
- Constant Field Values
-
EXECUTION
public static final int EXECUTION
- See Also:
- Constant Field Values
-
EXIT
public static final int EXIT
- See Also:
- Constant Field Values
-
EXTERNAL
public static final int EXTERNAL
- See Also:
- Constant Field Values
-
FINAL
public static final int FINAL
- See Also:
- Constant Field Values
-
FOR
public static final int FOR
- See Also:
- Constant Field Values
-
FUNCTION
public static final int FUNCTION
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
ILLEGAL
public static final int ILLEGAL
- See Also:
- Constant Field Values
-
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
-
IN
public static final int IN
- See Also:
- Constant Field Values
-
INIT
public static final int INIT
- See Also:
- Constant Field Values
-
INSTANCE
public static final int INSTANCE
- See Also:
- Constant Field Values
-
MACHINE
public static final int MACHINE
- See Also:
- Constant Field Values
-
MATCH
public static final int MATCH
- See Also:
- Constant Field Values
-
MUT
public static final int MUT
- See Also:
- Constant Field Values
-
MUTATING
public static final int MUTATING
- See Also:
- Constant Field Values
-
NONDET
public static final int NONDET
- See Also:
- Constant Field Values
-
OFFER
public static final int OFFER
- See Also:
- Constant Field Values
-
OPTIONAL
public static final int OPTIONAL
- See Also:
- Constant Field Values
-
OTHERWISE
public static final int OTHERWISE
- See Also:
- Constant Field Values
-
OUT
public static final int OUT
- See Also:
- Constant Field Values
-
OUTGOING
public static final int OUTGOING
- See Also:
- Constant Field Values
-
PERIODIC
public static final int PERIODIC
- See Also:
- Constant Field Values
-
PORT
public static final int PORT
- See Also:
- Constant Field Values
-
PRIVATE
public static final int PRIVATE
- See Also:
- Constant Field Values
-
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
-
SIGNAL
public static final int SIGNAL
- See Also:
- Constant Field Values
-
SPONTANEOUS
public static final int SPONTANEOUS
- See Also:
- Constant Field Values
-
STATE
public static final int STATE
- See Also:
- Constant Field Values
-
STATIC
public static final int STATIC
- See Also:
- Constant Field Values
-
STRUCT
public static final int STRUCT
- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
UNQUALIFIED
public static final int UNQUALIFIED
- See Also:
- Constant Field Values
-
VAL
public static final int VAL
- See Also:
- Constant Field Values
-
VAR
public static final int VAR
- See Also:
- Constant Field Values
-
WHERE
public static final int WHERE
- See Also:
- Constant Field Values
-
WHILE
public static final int WHILE
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
-
AT
public static final int AT
- See Also:
- Constant Field Values
-
ASSIGN
public static final int ASSIGN
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
LP
public static final int LP
- See Also:
- Constant Field Values
-
RP
public static final int RP
- See Also:
- Constant Field Values
-
LC
public static final int LC
- See Also:
- Constant Field Values
-
RC
public static final int RC
- See Also:
- Constant Field Values
-
LB
public static final int LB
- See Also:
- Constant Field Values
-
RB
public static final int RB
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
SEMI
public static final int SEMI
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
LT
public static final int LT
- See Also:
- Constant Field Values
-
GT
public static final int GT
- See Also:
- Constant Field Values
-
MUL
public static final int MUL
- See Also:
- Constant Field Values
-
DIV
public static final int DIV
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
MOD
public static final int MOD
- See Also:
- Constant Field Values
-
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
-
IMPL
public static final int IMPL
- See Also:
- Constant Field Values
-
ARROW
public static final int ARROW
- See Also:
- Constant Field Values
-
AMP
public static final int AMP
- See Also:
- Constant Field Values
-
QM
public static final int QM
- See Also:
- Constant Field Values
-
PIPE
public static final int PIPE
- See Also:
- Constant Field Values
-
EXCL
public static final int EXCL
- See Also:
- Constant Field Values
-
ELLIP
public static final int ELLIP
- See Also:
- Constant Field Values
-
EQ
public static final int EQ
- See Also:
- Constant Field Values
-
NE
public static final int NE
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
LE
public static final int LE
- See Also:
- Constant Field Values
-
GE
public static final int GE
- See Also:
- Constant Field Values
-
WHITESPACE
public static final int WHITESPACE
- See Also:
- Constant Field Values
-
NEWLINE
public static final int NEWLINE
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
BLOCK_COMMENT
public static final int BLOCK_COMMENT
- See Also:
- Constant Field Values
-
INTEGER
public static final int INTEGER
- See Also:
- Constant Field Values
-
BACKTICK_LITERAL
public static final int BACKTICK_LITERAL
- See Also:
- Constant Field Values
-
CHAR_LITERAL
public static final int CHAR_LITERAL
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- 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>
-
-