Class AbstractSleighParser

    • Field Summary

      Fields 
      ChangeModifier and Type Field Description
      NEWprotected ParsingEnvironment env  
      NEWprotected SleighLexer lexer  
      • Fields inherited from class org.antlr.runtime.Parser

        input
      • Fields inherited from class org.antlr.runtime.BaseRecognizer

        DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
    • Constructor Summary

      Constructors 
      ChangeConstructor Description
      AbstractSleighParser​(org.antlr.runtime.TokenStream input)  
      AbstractSleighParser​(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      ChangeModifier and Type Method Description
      NEWprotected void bail​(java.lang.String msg)  
      void emitErrorMessage​(java.lang.String msg)  
      java.lang.String getErrorHeader​(org.antlr.runtime.RecognitionException e)  
      java.lang.String getErrorMessage​(org.antlr.runtime.RecognitionException e, java.lang.String[] tokenNames)  
      java.lang.String getTokenErrorDisplay​(org.antlr.runtime.Token t)  
      void setEnv​(ParsingEnvironment env)  
      void setLexer​(SleighLexer lexer)  
      • Methods inherited from class org.antlr.runtime.Parser

        getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
      • Methods inherited from class org.antlr.runtime.BaseRecognizer

        alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, endResync, failed, getBacktrackingLevel, getGrammarFileName, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

  • Method Detail

    • bail NEW

      protected void bail​(java.lang.String msg)
    • emitErrorMessage

      public void emitErrorMessage​(java.lang.String msg)
      Overrides:
      emitErrorMessage in class org.antlr.runtime.BaseRecognizer
    • getErrorHeader

      public java.lang.String getErrorHeader​(org.antlr.runtime.RecognitionException e)
      Overrides:
      getErrorHeader in class org.antlr.runtime.BaseRecognizer
    • getErrorMessage

      public java.lang.String getErrorMessage​(org.antlr.runtime.RecognitionException e,
                                              java.lang.String[] tokenNames)
      Overrides:
      getErrorMessage in class org.antlr.runtime.BaseRecognizer
    • getTokenErrorDisplay

      public java.lang.String getTokenErrorDisplay​(org.antlr.runtime.Token t)
      Overrides:
      getTokenErrorDisplay in class org.antlr.runtime.BaseRecognizer
    • setLexer

      public void setLexer​(SleighLexer lexer)