程序包 org.antlr.gunit
类 gUnitLexer
- java.lang.Object
-
- org.antlr.runtime.BaseRecognizer
-
- org.antlr.runtime.Lexer
-
- org.antlr.gunit.gUnitLexer
-
- 所有已实现的接口:
TokenSource
public class gUnitLexer extends Lexer
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected class
gUnitLexer.DFA14
-
字段概要
字段 修饰符和类型 字段 说明 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
-
从类继承的字段 org.antlr.runtime.BaseRecognizer
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
-
-
构造器概要
构造器 构造器 说明 gUnitLexer()
gUnitLexer(CharStream input)
gUnitLexer(CharStream input, RecognizerSharedState state)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Lexer[]
getDelegates()
java.lang.String
getGrammarFileName()
For debugging and other purposes, might want the grammar name.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()
This is the lexer entry point that sets instance var 'token'void
mWS()
void
mXDIGIT()
-
从类继承的方法 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
-
从类继承的方法 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
-
-
-
-
字段详细资料
-
EOF
public static final int EOF
- 另请参阅:
- 常量字段值
-
T__26
public static final int T__26
- 另请参阅:
- 常量字段值
-
T__27
public static final int T__27
- 另请参阅:
- 常量字段值
-
T__28
public static final int T__28
- 另请参阅:
- 常量字段值
-
T__29
public static final int T__29
- 另请参阅:
- 常量字段值
-
T__30
public static final int T__30
- 另请参阅:
- 常量字段值
-
T__31
public static final int T__31
- 另请参阅:
- 常量字段值
-
T__32
public static final int T__32
- 另请参阅:
- 常量字段值
-
T__33
public static final int T__33
- 另请参阅:
- 常量字段值
-
T__34
public static final int T__34
- 另请参阅:
- 常量字段值
-
ACTION
public static final int ACTION
- 另请参阅:
- 常量字段值
-
AST
public static final int AST
- 另请参阅:
- 常量字段值
-
CHAR_LITERAL
public static final int CHAR_LITERAL
- 另请参阅:
- 常量字段值
-
DOC_COMMENT
public static final int DOC_COMMENT
- 另请参阅:
- 常量字段值
-
ESC
public static final int ESC
- 另请参阅:
- 常量字段值
-
EXT
public static final int EXT
- 另请参阅:
- 常量字段值
-
FAIL
public static final int FAIL
- 另请参阅:
- 常量字段值
-
ML_COMMENT
public static final int ML_COMMENT
- 另请参阅:
- 常量字段值
-
ML_STRING
public static final int ML_STRING
- 另请参阅:
- 常量字段值
-
NESTED_ACTION
public static final int NESTED_ACTION
- 另请参阅:
- 常量字段值
-
NESTED_AST
public static final int NESTED_AST
- 另请参阅:
- 常量字段值
-
NESTED_RETVAL
public static final int NESTED_RETVAL
- 另请参阅:
- 常量字段值
-
OK
public static final int OK
- 另请参阅:
- 常量字段值
-
OPTIONS
public static final int OPTIONS
- 另请参阅:
- 常量字段值
-
RETVAL
public static final int RETVAL
- 另请参阅:
- 常量字段值
-
RULE_REF
public static final int RULE_REF
- 另请参阅:
- 常量字段值
-
SL_COMMENT
public static final int SL_COMMENT
- 另请参阅:
- 常量字段值
-
STRING
public static final int STRING
- 另请参阅:
- 常量字段值
-
STRING_LITERAL
public static final int STRING_LITERAL
- 另请参阅:
- 常量字段值
-
TOKEN_REF
public static final int TOKEN_REF
- 另请参阅:
- 常量字段值
-
WS
public static final int WS
- 另请参阅:
- 常量字段值
-
XDIGIT
public static final int XDIGIT
- 另请参阅:
- 常量字段值
-
dfa14
protected gUnitLexer.DFA14 dfa14
-
-
构造器详细资料
-
gUnitLexer
public gUnitLexer()
-
gUnitLexer
public gUnitLexer(CharStream input)
-
gUnitLexer
public gUnitLexer(CharStream input, RecognizerSharedState state)
-
-
方法详细资料
-
getDelegates
public Lexer[] getDelegates()
-
getGrammarFileName
public java.lang.String getGrammarFileName()
从类复制的说明:BaseRecognizer
For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.- 覆盖:
getGrammarFileName
在类中BaseRecognizer
-
mFAIL
public final void mFAIL() throws RecognitionException
-
mOK
public final void mOK() throws RecognitionException
-
mT__26
public final void mT__26() throws RecognitionException
-
mT__27
public final void mT__27() throws RecognitionException
-
mT__28
public final void mT__28() throws RecognitionException
-
mT__29
public final void mT__29() throws RecognitionException
-
mT__30
public final void mT__30() throws RecognitionException
-
mT__31
public final void mT__31() throws RecognitionException
-
mT__32
public final void mT__32() throws RecognitionException
-
mT__33
public final void mT__33() throws RecognitionException
-
mT__34
public final void mT__34() throws RecognitionException
-
mSL_COMMENT
public final void mSL_COMMENT() throws RecognitionException
-
mML_COMMENT
public final void mML_COMMENT() throws RecognitionException
-
mSTRING
public final void mSTRING() throws RecognitionException
-
mML_STRING
public final void mML_STRING() throws RecognitionException
-
mTOKEN_REF
public final void mTOKEN_REF() throws RecognitionException
-
mRULE_REF
public final void mRULE_REF() throws RecognitionException
-
mEXT
public final void mEXT() throws RecognitionException
-
mRETVAL
public final void mRETVAL() throws RecognitionException
-
mNESTED_RETVAL
public final void mNESTED_RETVAL() throws RecognitionException
-
mAST
public final void mAST() throws RecognitionException
-
mNESTED_AST
public final void mNESTED_AST() throws RecognitionException
-
mOPTIONS
public final void mOPTIONS() throws RecognitionException
-
mACTION
public final void mACTION() throws RecognitionException
-
mNESTED_ACTION
public final void mNESTED_ACTION() throws RecognitionException
-
mCHAR_LITERAL
public final void mCHAR_LITERAL() throws RecognitionException
-
mSTRING_LITERAL
public final void mSTRING_LITERAL() throws RecognitionException
-
mESC
public final void mESC() throws RecognitionException
-
mXDIGIT
public final void mXDIGIT() throws RecognitionException
-
mWS
public final void mWS() throws RecognitionException
-
mTokens
public void mTokens() throws RecognitionException
从类复制的说明:Lexer
This is the lexer entry point that sets instance var 'token'- 指定者:
mTokens
在类中Lexer
- 抛出:
RecognitionException
-
-