Package org.antlr.gunit.swingui.parsers
Class ANTLRv3Lexer
- java.lang.Object
-
- org.antlr.runtime.BaseRecognizer
-
- org.antlr.runtime.Lexer
-
- org.antlr.gunit.swingui.parsers.ANTLRv3Lexer
-
- All Implemented Interfaces:
TokenSource
public class ANTLRv3Lexer extends Lexer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
ANTLRv3Lexer.DFA2
protected class
ANTLRv3Lexer.DFA22
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION
static int
ACTION_CHAR_LITERAL
static int
ACTION_ESC
static int
ACTION_STRING_LITERAL
static int
ALT
static int
ARG
static int
ARG_ACTION
static int
ARGLIST
static int
BACKTRACK_SEMPRED
static int
BANG
static int
BLOCK
static int
CHAR_LITERAL
static int
CHAR_RANGE
static int
CLOSURE
static int
COMBINED_GRAMMAR
protected ANTLRv3Lexer.DFA2
dfa2
protected ANTLRv3Lexer.DFA22
dfa22
static int
DOC_COMMENT
static int
DOUBLE_ANGLE_STRING_LITERAL
static int
DOUBLE_QUOTE_STRING_LITERAL
static int
EOA
static int
EOB
static int
EOF
static int
EOR
static int
EPSILON
static int
ESC
static int
FRAGMENT
static int
GATED_SEMPRED
static int
ID
static int
INITACTION
static int
INT
static int
LABEL
static int
LEXER
static int
LEXER_GRAMMAR
static int
LITERAL_CHAR
static int
ML_COMMENT
static int
NESTED_ACTION
static int
NESTED_ARG_ACTION
static int
OPTIONAL
static int
OPTIONS
static int
PARSER
static int
PARSER_GRAMMAR
static int
POSITIVE_CLOSURE
static int
RANGE
static int
RET
static int
REWRITE
static int
ROOT
static int
RULE
static int
RULE_REF
static int
SCOPE
static int
SEMPRED
static int
SL_COMMENT
static int
SRC
static int
STRING_LITERAL
static int
SYN_SEMPRED
static int
SYNPRED
static int
T__65
static int
T__66
static int
T__67
static int
T__68
static int
T__69
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__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__90
static int
T__91
static int
T__92
static int
T__93
static int
TEMPLATE
static int
TOKEN_REF
static int
TOKENS
static int
TREE_BEGIN
static int
TREE_GRAMMAR
static int
WS
static int
WS_LOOP
static int
XDIGIT
-
Fields inherited from class org.antlr.runtime.BaseRecognizer
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
-
-
Constructor Summary
Constructors Constructor Description ANTLRv3Lexer()
ANTLRv3Lexer(CharStream input)
ANTLRv3Lexer(CharStream input, RecognizerSharedState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lexer[]
getDelegates()
java.lang.String
getGrammarFileName()
For debugging and other purposes, might want the grammar name.void
mACTION()
void
mACTION_CHAR_LITERAL()
void
mACTION_ESC()
void
mACTION_STRING_LITERAL()
void
mARG_ACTION()
void
mBANG()
void
mCHAR_LITERAL()
void
mDOUBLE_ANGLE_STRING_LITERAL()
void
mDOUBLE_QUOTE_STRING_LITERAL()
void
mESC()
void
mFRAGMENT()
void
mINT()
void
mLITERAL_CHAR()
void
mML_COMMENT()
void
mNESTED_ACTION()
void
mNESTED_ARG_ACTION()
void
mOPTIONS()
void
mRANGE()
void
mREWRITE()
void
mROOT()
void
mRULE_REF()
void
mSCOPE()
void
mSL_COMMENT()
void
mSRC()
void
mSTRING_LITERAL()
void
mT__65()
void
mT__66()
void
mT__67()
void
mT__68()
void
mT__69()
void
mT__70()
void
mT__71()
void
mT__72()
void
mT__73()
void
mT__74()
void
mT__75()
void
mT__76()
void
mT__77()
void
mT__78()
void
mT__79()
void
mT__80()
void
mT__81()
void
mT__82()
void
mT__83()
void
mT__84()
void
mT__85()
void
mT__86()
void
mT__87()
void
mT__88()
void
mT__89()
void
mT__90()
void
mT__91()
void
mT__92()
void
mT__93()
void
mTOKEN_REF()
void
mTokens()
This is the lexer entry point that sets instance var 'token'void
mTOKENS()
void
mTREE_BEGIN()
void
mWS()
void
mWS_LOOP()
void
mXDIGIT()
-
Methods inherited from class org.antlr.runtime.Lexer
emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getEOFToken, getErrorMessage, getLine, getSourceName, getText, match, match, matchAny, matchRange, nextToken, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOut
-
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getCurrentInputSymbol, getErrorHeader, getMissingSymbol, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOut
-
-
-
-
Field Detail
-
EOF
public static final int EOF
- 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
-
ACTION
public static final int ACTION
- See Also:
- Constant Field Values
-
ACTION_CHAR_LITERAL
public static final int ACTION_CHAR_LITERAL
- See Also:
- Constant Field Values
-
ACTION_ESC
public static final int ACTION_ESC
- See Also:
- Constant Field Values
-
ACTION_STRING_LITERAL
public static final int ACTION_STRING_LITERAL
- See Also:
- Constant Field Values
-
ALT
public static final int ALT
- See Also:
- Constant Field Values
-
ARG
public static final int ARG
- See Also:
- Constant Field Values
-
ARGLIST
public static final int ARGLIST
- See Also:
- Constant Field Values
-
ARG_ACTION
public static final int ARG_ACTION
- See Also:
- Constant Field Values
-
BACKTRACK_SEMPRED
public static final int BACKTRACK_SEMPRED
- See Also:
- Constant Field Values
-
BANG
public static final int BANG
- See Also:
- Constant Field Values
-
BLOCK
public static final int BLOCK
- See Also:
- Constant Field Values
-
CHAR_LITERAL
public static final int CHAR_LITERAL
- See Also:
- Constant Field Values
-
CHAR_RANGE
public static final int CHAR_RANGE
- See Also:
- Constant Field Values
-
CLOSURE
public static final int CLOSURE
- See Also:
- Constant Field Values
-
COMBINED_GRAMMAR
public static final int COMBINED_GRAMMAR
- See Also:
- Constant Field Values
-
DOC_COMMENT
public static final int DOC_COMMENT
- See Also:
- Constant Field Values
-
DOUBLE_ANGLE_STRING_LITERAL
public static final int DOUBLE_ANGLE_STRING_LITERAL
- See Also:
- Constant Field Values
-
DOUBLE_QUOTE_STRING_LITERAL
public static final int DOUBLE_QUOTE_STRING_LITERAL
- See Also:
- Constant Field Values
-
EOA
public static final int EOA
- See Also:
- Constant Field Values
-
EOB
public static final int EOB
- See Also:
- Constant Field Values
-
EOR
public static final int EOR
- See Also:
- Constant Field Values
-
EPSILON
public static final int EPSILON
- See Also:
- Constant Field Values
-
ESC
public static final int ESC
- See Also:
- Constant Field Values
-
FRAGMENT
public static final int FRAGMENT
- See Also:
- Constant Field Values
-
GATED_SEMPRED
public static final int GATED_SEMPRED
- See Also:
- Constant Field Values
-
ID
public static final int ID
- See Also:
- Constant Field Values
-
INITACTION
public static final int INITACTION
- See Also:
- Constant Field Values
-
INT
public static final int INT
- See Also:
- Constant Field Values
-
LABEL
public static final int LABEL
- See Also:
- Constant Field Values
-
LEXER
public static final int LEXER
- See Also:
- Constant Field Values
-
LEXER_GRAMMAR
public static final int LEXER_GRAMMAR
- See Also:
- Constant Field Values
-
LITERAL_CHAR
public static final int LITERAL_CHAR
- See Also:
- Constant Field Values
-
ML_COMMENT
public static final int ML_COMMENT
- See Also:
- Constant Field Values
-
NESTED_ACTION
public static final int NESTED_ACTION
- See Also:
- Constant Field Values
-
NESTED_ARG_ACTION
public static final int NESTED_ARG_ACTION
- See Also:
- Constant Field Values
-
OPTIONAL
public static final int OPTIONAL
- See Also:
- Constant Field Values
-
OPTIONS
public static final int OPTIONS
- See Also:
- Constant Field Values
-
PARSER
public static final int PARSER
- See Also:
- Constant Field Values
-
PARSER_GRAMMAR
public static final int PARSER_GRAMMAR
- See Also:
- Constant Field Values
-
POSITIVE_CLOSURE
public static final int POSITIVE_CLOSURE
- See Also:
- Constant Field Values
-
RANGE
public static final int RANGE
- See Also:
- Constant Field Values
-
RET
public static final int RET
- See Also:
- Constant Field Values
-
REWRITE
public static final int REWRITE
- See Also:
- Constant Field Values
-
ROOT
public static final int ROOT
- See Also:
- Constant Field Values
-
RULE
public static final int RULE
- See Also:
- Constant Field Values
-
RULE_REF
public static final int RULE_REF
- See Also:
- Constant Field Values
-
SCOPE
public static final int SCOPE
- See Also:
- Constant Field Values
-
SEMPRED
public static final int SEMPRED
- See Also:
- Constant Field Values
-
SL_COMMENT
public static final int SL_COMMENT
- See Also:
- Constant Field Values
-
SRC
public static final int SRC
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
-
SYNPRED
public static final int SYNPRED
- See Also:
- Constant Field Values
-
SYN_SEMPRED
public static final int SYN_SEMPRED
- See Also:
- Constant Field Values
-
TEMPLATE
public static final int TEMPLATE
- See Also:
- Constant Field Values
-
TOKENS
public static final int TOKENS
- See Also:
- Constant Field Values
-
TOKEN_REF
public static final int TOKEN_REF
- See Also:
- Constant Field Values
-
TREE_BEGIN
public static final int TREE_BEGIN
- See Also:
- Constant Field Values
-
TREE_GRAMMAR
public static final int TREE_GRAMMAR
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
WS_LOOP
public static final int WS_LOOP
- See Also:
- Constant Field Values
-
XDIGIT
public static final int XDIGIT
- See Also:
- Constant Field Values
-
dfa2
protected ANTLRv3Lexer.DFA2 dfa2
-
dfa22
protected ANTLRv3Lexer.DFA22 dfa22
-
-
Constructor Detail
-
ANTLRv3Lexer
public ANTLRv3Lexer()
-
ANTLRv3Lexer
public ANTLRv3Lexer(CharStream input)
-
ANTLRv3Lexer
public ANTLRv3Lexer(CharStream input, RecognizerSharedState state)
-
-
Method Detail
-
getDelegates
public Lexer[] getDelegates()
-
getGrammarFileName
public java.lang.String getGrammarFileName()
Description copied from class:BaseRecognizer
For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.- Overrides:
getGrammarFileName
in classBaseRecognizer
-
mBANG
public final void mBANG() throws RecognitionException
- Throws:
RecognitionException
-
mFRAGMENT
public final void mFRAGMENT() throws RecognitionException
- Throws:
RecognitionException
-
mRANGE
public final void mRANGE() throws RecognitionException
- Throws:
RecognitionException
-
mREWRITE
public final void mREWRITE() throws RecognitionException
- Throws:
RecognitionException
-
mROOT
public final void mROOT() throws RecognitionException
- Throws:
RecognitionException
-
mSCOPE
public final void mSCOPE() throws RecognitionException
- Throws:
RecognitionException
-
mTREE_BEGIN
public final void mTREE_BEGIN() throws RecognitionException
- Throws:
RecognitionException
-
mT__65
public final void mT__65() throws RecognitionException
- Throws:
RecognitionException
-
mT__66
public final void mT__66() throws RecognitionException
- Throws:
RecognitionException
-
mT__67
public final void mT__67() throws RecognitionException
- Throws:
RecognitionException
-
mT__68
public final void mT__68() throws RecognitionException
- Throws:
RecognitionException
-
mT__69
public final void mT__69() throws RecognitionException
- Throws:
RecognitionException
-
mT__70
public final void mT__70() throws RecognitionException
- Throws:
RecognitionException
-
mT__71
public final void mT__71() throws RecognitionException
- Throws:
RecognitionException
-
mT__72
public final void mT__72() throws RecognitionException
- Throws:
RecognitionException
-
mT__73
public final void mT__73() throws RecognitionException
- Throws:
RecognitionException
-
mT__74
public final void mT__74() throws RecognitionException
- Throws:
RecognitionException
-
mT__75
public final void mT__75() throws RecognitionException
- Throws:
RecognitionException
-
mT__76
public final void mT__76() throws RecognitionException
- Throws:
RecognitionException
-
mT__77
public final void mT__77() throws RecognitionException
- Throws:
RecognitionException
-
mT__78
public final void mT__78() throws RecognitionException
- Throws:
RecognitionException
-
mT__79
public final void mT__79() throws RecognitionException
- Throws:
RecognitionException
-
mT__80
public final void mT__80() throws RecognitionException
- Throws:
RecognitionException
-
mT__81
public final void mT__81() throws RecognitionException
- Throws:
RecognitionException
-
mT__82
public final void mT__82() throws RecognitionException
- Throws:
RecognitionException
-
mT__83
public final void mT__83() throws RecognitionException
- Throws:
RecognitionException
-
mT__84
public final void mT__84() throws RecognitionException
- Throws:
RecognitionException
-
mT__85
public final void mT__85() throws RecognitionException
- Throws:
RecognitionException
-
mT__86
public final void mT__86() throws RecognitionException
- Throws:
RecognitionException
-
mT__87
public final void mT__87() throws RecognitionException
- Throws:
RecognitionException
-
mT__88
public final void mT__88() throws RecognitionException
- Throws:
RecognitionException
-
mT__89
public final void mT__89() throws RecognitionException
- Throws:
RecognitionException
-
mT__90
public final void mT__90() throws RecognitionException
- Throws:
RecognitionException
-
mT__91
public final void mT__91() throws RecognitionException
- Throws:
RecognitionException
-
mT__92
public final void mT__92() throws RecognitionException
- Throws:
RecognitionException
-
mT__93
public final void mT__93() throws RecognitionException
- Throws:
RecognitionException
-
mSL_COMMENT
public final void mSL_COMMENT() throws RecognitionException
- Throws:
RecognitionException
-
mML_COMMENT
public final void mML_COMMENT() throws RecognitionException
- Throws:
RecognitionException
-
mCHAR_LITERAL
public final void mCHAR_LITERAL() throws RecognitionException
- Throws:
RecognitionException
-
mSTRING_LITERAL
public final void mSTRING_LITERAL() throws RecognitionException
- Throws:
RecognitionException
-
mLITERAL_CHAR
public final void mLITERAL_CHAR() throws RecognitionException
- Throws:
RecognitionException
-
mDOUBLE_QUOTE_STRING_LITERAL
public final void mDOUBLE_QUOTE_STRING_LITERAL() throws RecognitionException
- Throws:
RecognitionException
-
mDOUBLE_ANGLE_STRING_LITERAL
public final void mDOUBLE_ANGLE_STRING_LITERAL() throws RecognitionException
- Throws:
RecognitionException
-
mESC
public final void mESC() throws RecognitionException
- Throws:
RecognitionException
-
mXDIGIT
public final void mXDIGIT() throws RecognitionException
- Throws:
RecognitionException
-
mINT
public final void mINT() throws RecognitionException
- Throws:
RecognitionException
-
mARG_ACTION
public final void mARG_ACTION() throws RecognitionException
- Throws:
RecognitionException
-
mNESTED_ARG_ACTION
public final void mNESTED_ARG_ACTION() throws RecognitionException
- Throws:
RecognitionException
-
mACTION
public final void mACTION() throws RecognitionException
- Throws:
RecognitionException
-
mNESTED_ACTION
public final void mNESTED_ACTION() throws RecognitionException
- Throws:
RecognitionException
-
mACTION_CHAR_LITERAL
public final void mACTION_CHAR_LITERAL() throws RecognitionException
- Throws:
RecognitionException
-
mACTION_STRING_LITERAL
public final void mACTION_STRING_LITERAL() throws RecognitionException
- Throws:
RecognitionException
-
mACTION_ESC
public final void mACTION_ESC() throws RecognitionException
- Throws:
RecognitionException
-
mTOKEN_REF
public final void mTOKEN_REF() throws RecognitionException
- Throws:
RecognitionException
-
mRULE_REF
public final void mRULE_REF() throws RecognitionException
- Throws:
RecognitionException
-
mOPTIONS
public final void mOPTIONS() throws RecognitionException
- Throws:
RecognitionException
-
mTOKENS
public final void mTOKENS() throws RecognitionException
- Throws:
RecognitionException
-
mSRC
public final void mSRC() throws RecognitionException
- Throws:
RecognitionException
-
mWS
public final void mWS() throws RecognitionException
- Throws:
RecognitionException
-
mWS_LOOP
public final void mWS_LOOP() throws RecognitionException
- Throws:
RecognitionException
-
mTokens
public void mTokens() throws RecognitionException
Description copied from class:Lexer
This is the lexer entry point that sets instance var 'token'- Specified by:
mTokens
in classLexer
- Throws:
RecognitionException
-
-