public abstract class TypeScriptParserBase
extends org.antlr.v4.runtime.Parser
| Constructor and Description |
|---|
TypeScriptParserBase(org.antlr.v4.runtime.TokenStream input) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
closeBrace() |
protected boolean |
lineTerminatorAhead()
Returns
true iff on the current index of the parser's
token stream a token exists on the HIDDEN channel which
either is a line terminator, or is a multi line comment that
contains a line terminator. |
protected boolean |
n(String str)
Short form for next(String str)
|
protected boolean |
next(String str)
Whether the next token value equals to @param str
|
protected boolean |
notLineTerminator() |
protected boolean |
notOpenBraceAndNotFunction() |
protected boolean |
p(String str)
Short form for prev(String str)
|
protected boolean |
prev(String str)
Whether the previous token value equals to @param str
|
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContextsaction, addErrorListener, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getGrammarFileName, getInterpreter, getRuleIndexMap, getRuleNames, getSerializedATN, getState, getTokenErrorDisplay, getTokenNames, getTokenType, getTokenTypeMap, getVocabulary, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setStatepublic TypeScriptParserBase(org.antlr.v4.runtime.TokenStream input)
protected boolean p(String str)
protected boolean prev(String str)
protected boolean n(String str)
protected boolean next(String str)
protected boolean notLineTerminator()
protected boolean notOpenBraceAndNotFunction()
protected boolean closeBrace()
protected boolean lineTerminatorAhead()
true iff on the current index of the parser's
token stream a token exists on the HIDDEN channel which
either is a line terminator, or is a multi line comment that
contains a line terminator.true iff on the current index of the parser's
token stream a token exists on the HIDDEN channel which
either is a line terminator, or is a multi line comment that
contains a line terminator.Copyright © 2025 FG Forrest, a.s.. All rights reserved.