public abstract class JavaScriptBaseLexer
extends org.antlr.v4.runtime.Lexer
| 构造器和说明 |
|---|
JavaScriptBaseLexer(org.antlr.v4.runtime.CharStream input) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
getStrictDefault() |
protected boolean |
IsRegexPossible()
Returns
true if the lexer can match a regex literal. |
boolean |
IsStrictMode() |
org.antlr.v4.runtime.Token |
nextToken()
Return the next token from the character stream and records this last token in case it
resides on the default channel.
|
protected void |
ProcessCloseBrace() |
protected void |
ProcessOpenBrace() |
protected void |
ProcessStringLiteral() |
void |
setUseStrictDefault(boolean value) |
emit, emit, emitEOF, getAllTokens, getChannel, getChannelNames, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getModeNames, getSourceName, getText, getToken, getTokenFactory, getTokenNames, getType, mode, more, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skipaction, addErrorListener, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getGrammarFileName, getInterpreter, getParseInfo, getRuleIndexMap, getRuleNames, getSerializedATN, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, getVocabulary, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setStatepublic boolean getStrictDefault()
public void setUseStrictDefault(boolean value)
public boolean IsStrictMode()
public org.antlr.v4.runtime.Token nextToken()
nextToken 在接口中 org.antlr.v4.runtime.TokenSourcenextToken 在类中 org.antlr.v4.runtime.Lexerprotected void ProcessOpenBrace()
protected void ProcessCloseBrace()
protected void ProcessStringLiteral()
protected boolean IsRegexPossible()
true if the lexer can match a regex literal.