Class TypeScriptParserBase

  • Direct Known Subclasses:
    TypeScriptParser

    public abstract class TypeScriptParserBase
    extends org.antlr.v4.runtime.Parser
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser

        org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
    • Field Summary

      • Fields inherited from class org.antlr.v4.runtime.Parser

        _buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF
      • Fields inherited from class org.antlr.v4.runtime.Recognizer

        _interp, EOF
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeScriptParserBase​(org.antlr.v4.runtime.TokenStream input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean closeBrace()  
      protected boolean lineTerminatorAhead()  
      protected boolean n​(String str)  
      protected boolean next​(String str)  
      protected boolean notLineTerminator()  
      protected boolean notOpenBraceAndNotFunction()  
      protected boolean p​(String str)  
      protected boolean prev​(String str)  
      • Methods inherited from class org.antlr.v4.runtime.Parser

        addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, 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, unrollRecursionContexts
      • Methods inherited from class org.antlr.v4.runtime.Recognizer

        action, addErrorListener, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getGrammarFileName, getInterpreter, getRuleIndexMap, getRuleNames, getSerializedATN, getState, getTokenErrorDisplay, getTokenNames, getTokenType, getTokenTypeMap, getVocabulary, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
    • Constructor Detail

      • TypeScriptParserBase

        public TypeScriptParserBase​(org.antlr.v4.runtime.TokenStream input)
    • Method Detail

      • p

        protected boolean p​(String str)
      • prev

        protected boolean prev​(String str)
      • n

        protected boolean n​(String str)
      • next

        protected boolean next​(String str)
      • notLineTerminator

        protected boolean notLineTerminator()
      • notOpenBraceAndNotFunction

        protected boolean notOpenBraceAndNotFunction()
      • closeBrace

        protected boolean closeBrace()
      • lineTerminatorAhead

        protected boolean lineTerminatorAhead()