public abstract class JavaScriptBaseLexer
extends 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 and Description |
|---|
JavaScriptBaseLexer(org.antlr.v4.runtime.CharStream input) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getStrictDefault() |
boolean |
IsSrictMode() |
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 boolean |
RegexPossible()
Returns
true if the lexer can match a regex literal. |
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 JavaScriptBaseLexer(org.antlr.v4.runtime.CharStream input)
public boolean getStrictDefault()
public void setUseStrictDefault(boolean value)
public boolean IsSrictMode()
public org.antlr.v4.runtime.Token nextToken()
nextToken in interface org.antlr.v4.runtime.TokenSourcenextToken in class org.antlr.v4.runtime.Lexerprotected boolean RegexPossible()
true if the lexer can match a regex literal.