Class JuliaLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- net.sourceforge.pmd.lang.julia.ast.JuliaLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class JuliaLexer 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
ANY
static int
ARROWOPERATOR
static int
ASSIGNMENTOPERATOR
static int
BAREMODULE
static int
BEGIN
static int
BINARY
static int
BITSHIFTOPERATOR
static int
BITSTYPE
static int
BREAK
static int
CATCH
static int
CCALL
static String[]
channelNames
static int
CHAR
static int
COMMENTS
static int
CONST
static int
CONTINUE
static int
DO
static int
ELSE
static int
ELSIF
static int
END
static int
EXPORT
static int
EXTERNALCOMMAND
static int
FINALLY
static int
FLOAT32_LITERAL
static int
FLOAT64_LITERAL
static int
FOR
static int
FUNCTION
static int
GLOBAL
static int
HEX
static int
HEX_FLOAT
static int
IDENTIFIER
static int
IF
static int
IMMUTABLE
static int
IMPORT
static int
IMPORTALL
static int
INSTANCEOF
static int
INT_LITERAL
static int
LET
static int
LOCAL
static int
MACRO
static String[]
modeNames
static int
MODULE
static int
MULTILINECOMMENTS1
static int
MULTILINECOMMENTS2
static int
MULTILINESTRING
static int
NL
static int
NUMERICAL
static int
OCTAL
static int
PIPEOPERATOR
static int
QUOTE
static int
RETURN
static String[]
ruleNames
static int
STAGEDFUNCTION
static int
STRING
static int
STRUCT
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__2
static int
T__3
static int
T__4
static int
T__5
static int
T__6
static int
T__7
static int
T__8
static int
T__9
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TRY
static int
TYPE
static int
TYPEALIAS
static int
USING
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 JuliaLexer(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
-
COMMENTS
public static final int COMMENTS
- See Also:
- Constant Field Values
-
MULTILINECOMMENTS1
public static final int MULTILINECOMMENTS1
- See Also:
- Constant Field Values
-
MULTILINECOMMENTS2
public static final int MULTILINECOMMENTS2
- See Also:
- Constant Field Values
-
MULTILINESTRING
public static final int MULTILINESTRING
- See Also:
- Constant Field Values
-
NL
public static final int NL
- See Also:
- Constant Field Values
-
WHITESPACE
public static final int WHITESPACE
- See Also:
- Constant Field Values
-
ABSTRACT
public static final int ABSTRACT
- See Also:
- Constant Field Values
-
ARROWOPERATOR
public static final int ARROWOPERATOR
- See Also:
- Constant Field Values
-
ASSIGNMENTOPERATOR
public static final int ASSIGNMENTOPERATOR
- See Also:
- Constant Field Values
-
BAREMODULE
public static final int BAREMODULE
- See Also:
- Constant Field Values
-
BEGIN
public static final int BEGIN
- See Also:
- Constant Field Values
-
BITSHIFTOPERATOR
public static final int BITSHIFTOPERATOR
- See Also:
- Constant Field Values
-
BITSTYPE
public static final int BITSTYPE
- See Also:
- Constant Field Values
-
BREAK
public static final int BREAK
- See Also:
- Constant Field Values
-
CATCH
public static final int CATCH
- See Also:
- Constant Field Values
-
CCALL
public static final int CCALL
- See Also:
- Constant Field Values
-
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
-
CONST
public static final int CONST
- See Also:
- Constant Field Values
-
CONTINUE
public static final int CONTINUE
- See Also:
- Constant Field Values
-
DO
public static final int DO
- See Also:
- Constant Field Values
-
ELSE
public static final int ELSE
- See Also:
- Constant Field Values
-
ELSIF
public static final int ELSIF
- See Also:
- Constant Field Values
-
END
public static final int END
- See Also:
- Constant Field Values
-
EXPORT
public static final int EXPORT
- See Also:
- Constant Field Values
-
EXTERNALCOMMAND
public static final int EXTERNALCOMMAND
- See Also:
- Constant Field Values
-
FINALLY
public static final int FINALLY
- 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
-
GLOBAL
public static final int GLOBAL
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
IMMUTABLE
public static final int IMMUTABLE
- See Also:
- Constant Field Values
-
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
-
IMPORTALL
public static final int IMPORTALL
- See Also:
- Constant Field Values
-
INSTANCEOF
public static final int INSTANCEOF
- See Also:
- Constant Field Values
-
LET
public static final int LET
- See Also:
- Constant Field Values
-
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
-
MACRO
public static final int MACRO
- See Also:
- Constant Field Values
-
MODULE
public static final int MODULE
- See Also:
- Constant Field Values
-
PIPEOPERATOR
public static final int PIPEOPERATOR
- See Also:
- Constant Field Values
-
QUOTE
public static final int QUOTE
- See Also:
- Constant Field Values
-
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
-
STAGEDFUNCTION
public static final int STAGEDFUNCTION
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
STRUCT
public static final int STRUCT
- See Also:
- Constant Field Values
-
TRY
public static final int TRY
- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
TYPEALIAS
public static final int TYPEALIAS
- See Also:
- Constant Field Values
-
USING
public static final int USING
- 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
-
NUMERICAL
public static final int NUMERICAL
- See Also:
- Constant Field Values
-
INT_LITERAL
public static final int INT_LITERAL
- See Also:
- Constant Field Values
-
BINARY
public static final int BINARY
- See Also:
- Constant Field Values
-
OCTAL
public static final int OCTAL
- See Also:
- Constant Field Values
-
HEX
public static final int HEX
- See Also:
- Constant Field Values
-
FLOAT32_LITERAL
public static final int FLOAT32_LITERAL
- See Also:
- Constant Field Values
-
FLOAT64_LITERAL
public static final int FLOAT64_LITERAL
- See Also:
- Constant Field Values
-
HEX_FLOAT
public static final int HEX_FLOAT
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
-
ANY
public static final int ANY
- 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>
-
-