Package org.antlr.gunit
Class gUnitLexer
- java.lang.Object
-
- org.antlr.runtime.BaseRecognizer
-
- org.antlr.runtime.Lexer
-
- org.antlr.gunit.gUnitLexer
-
- All Implemented Interfaces:
org.antlr.runtime.TokenSource
public class gUnitLexer extends org.antlr.runtime.Lexer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
gUnitLexer.DFA14
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION
static int
AST
static int
CHAR_LITERAL
protected gUnitLexer.DFA14
dfa14
static int
DOC_COMMENT
static int
EOF
static int
ESC
static int
EXT
static int
FAIL
static int
ML_COMMENT
static int
ML_STRING
static int
NESTED_ACTION
static int
NESTED_AST
static int
NESTED_RETVAL
static int
OK
static int
OPTIONS
static int
RETVAL
static int
RULE_REF
static int
SL_COMMENT
static int
STRING
static int
STRING_LITERAL
static int
T__26
static int
T__27
static int
T__28
static int
T__29
static int
T__30
static int
T__31
static int
T__32
static int
T__33
static int
T__34
static int
TOKEN_REF
static int
WS
static int
XDIGIT
-
Constructor Summary
Constructors Constructor Description gUnitLexer()
gUnitLexer(org.antlr.runtime.CharStream input)
gUnitLexer(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.antlr.runtime.Lexer[]
getDelegates()
java.lang.String
getGrammarFileName()
void
mACTION()
void
mAST()
void
mCHAR_LITERAL()
void
mESC()
void
mEXT()
void
mFAIL()
void
mML_COMMENT()
void
mML_STRING()
void
mNESTED_ACTION()
void
mNESTED_AST()
void
mNESTED_RETVAL()
void
mOK()
void
mOPTIONS()
void
mRETVAL()
void
mRULE_REF()
void
mSL_COMMENT()
void
mSTRING()
void
mSTRING_LITERAL()
void
mT__26()
void
mT__27()
void
mT__28()
void
mT__29()
void
mT__30()
void
mT__31()
void
mT__32()
void
mT__33()
void
mT__34()
void
mTOKEN_REF()
void
mTokens()
void
mWS()
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__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
-
ACTION
public static final int ACTION
- See Also:
- Constant Field Values
-
AST
public static final int AST
- See Also:
- Constant Field Values
-
CHAR_LITERAL
public static final int CHAR_LITERAL
- See Also:
- Constant Field Values
-
DOC_COMMENT
public static final int DOC_COMMENT
- See Also:
- Constant Field Values
-
ESC
public static final int ESC
- See Also:
- Constant Field Values
-
EXT
public static final int EXT
- See Also:
- Constant Field Values
-
FAIL
public static final int FAIL
- See Also:
- Constant Field Values
-
ML_COMMENT
public static final int ML_COMMENT
- See Also:
- Constant Field Values
-
ML_STRING
public static final int ML_STRING
- See Also:
- Constant Field Values
-
NESTED_ACTION
public static final int NESTED_ACTION
- See Also:
- Constant Field Values
-
NESTED_AST
public static final int NESTED_AST
- See Also:
- Constant Field Values
-
NESTED_RETVAL
public static final int NESTED_RETVAL
- See Also:
- Constant Field Values
-
OK
public static final int OK
- See Also:
- Constant Field Values
-
OPTIONS
public static final int OPTIONS
- See Also:
- Constant Field Values
-
RETVAL
public static final int RETVAL
- See Also:
- Constant Field Values
-
RULE_REF
public static final int RULE_REF
- See Also:
- Constant Field Values
-
SL_COMMENT
public static final int SL_COMMENT
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
-
TOKEN_REF
public static final int TOKEN_REF
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
XDIGIT
public static final int XDIGIT
- See Also:
- Constant Field Values
-
dfa14
protected gUnitLexer.DFA14 dfa14
-
-
Method Detail
-
getDelegates
public org.antlr.runtime.Lexer[] getDelegates()
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Overrides:
getGrammarFileName
in classorg.antlr.runtime.BaseRecognizer
-
mFAIL
public final void mFAIL() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mOK
public final void mOK() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__26
public final void mT__26() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__27
public final void mT__27() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__28
public final void mT__28() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__29
public final void mT__29() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__30
public final void mT__30() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__31
public final void mT__31() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__32
public final void mT__32() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__33
public final void mT__33() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mT__34
public final void mT__34() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mSL_COMMENT
public final void mSL_COMMENT() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mML_COMMENT
public final void mML_COMMENT() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mSTRING
public final void mSTRING() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mML_STRING
public final void mML_STRING() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mTOKEN_REF
public final void mTOKEN_REF() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mRULE_REF
public final void mRULE_REF() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mEXT
public final void mEXT() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mRETVAL
public final void mRETVAL() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mNESTED_RETVAL
public final void mNESTED_RETVAL() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mAST
public final void mAST() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mNESTED_AST
public final void mNESTED_AST() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mOPTIONS
public final void mOPTIONS() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mACTION
public final void mACTION() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mNESTED_ACTION
public final void mNESTED_ACTION() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mCHAR_LITERAL
public final void mCHAR_LITERAL() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mSTRING_LITERAL
public final void mSTRING_LITERAL() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mESC
public final void mESC() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mXDIGIT
public final void mXDIGIT() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mWS
public final void mWS() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mTokens
public void mTokens() throws org.antlr.runtime.RecognitionException
- Specified by:
mTokens
in classorg.antlr.runtime.Lexer
- Throws:
org.antlr.runtime.RecognitionException
-
-