public abstract class TypeScriptLexerBase
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 |
|---|
TypeScriptLexerBase(org.antlr.v4.runtime.CharStream input) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DecreaseTemplateDepth() |
boolean |
getStrictDefault() |
protected void |
IncreaseTemplateDepth() |
boolean |
IsInTemplateString() |
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) |
void |
StartTemplateString() |
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 TypeScriptLexerBase(org.antlr.v4.runtime.CharStream input)
public boolean getStrictDefault()
public void setUseStrictDefault(boolean value)
public boolean IsStrictMode()
public void StartTemplateString()
public boolean IsInTemplateString()
public org.antlr.v4.runtime.Token nextToken()
nextToken in interface org.antlr.v4.runtime.TokenSourcenextToken in class org.antlr.v4.runtime.Lexerprotected void ProcessOpenBrace()
protected void ProcessCloseBrace()
protected void ProcessStringLiteral()
protected void IncreaseTemplateDepth()
protected void DecreaseTemplateDepth()
protected boolean IsRegexPossible()
true if the lexer can match a regex literal.Copyright © 2025 FG Forrest, a.s.. All rights reserved.