Class EpsilonParser

java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
org.eclipse.epsilon.common.parse.EpsilonParser
Direct Known Subclasses:
Ecl_EclParserRules, Ecl_EolParserRules, Ecl_ErlParserRules, EclParser, Egx_EgxParserRules, Egx_EolParserRules, Egx_ErlParserRules, EgxParser, Eml_EmlParserRules, Eml_EolParserRules, Eml_ErlParserRules, Eml_EtlParserRules, EmlParser, Eol_EolParserRules, EolParser, Epl_EolParserRules, Epl_EplParserRules, Epl_ErlParserRules, EplParser, Erl_EolParserRules, Erl_ErlParserRules, ErlParser, Etl_EolParserRules, Etl_ErlParserRules, Etl_EtlParserRules, EtlParser, Evl_EolParserRules, Evl_ErlParserRules, Evl_EvlParserRules, EvlParser, Ewl_EolParserRules, Ewl_ErlParserRules, Ewl_EwlParserRules, EwlParser, Flock_EolParserRules, Flock_ErlParserRules, FlockParser, HutnParser, HutnSpecParser, Pinset_EolParserRules, Pinset_ErlParserRules, Pinset_PinsetParserRules, PinsetParser

public abstract class EpsilonParser extends org.antlr.runtime.Parser
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected EpsilonParser
     
    protected List<ParseProblem>
     
    protected static WeakHashMap<String,EpsilonParser>
     

    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
    Constructor
    Description
    EpsilonParser(org.antlr.runtime.TokenStream tokenstream)
     
    EpsilonParser(org.antlr.runtime.TokenStream tokenstream, org.antlr.runtime.RecognizerSharedState recognizersharedstate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configureDelegator(org.antlr.runtime.TokenStream tokenstream)
     
    void
    displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException re)
     
     
    protected String
    getTokenStreamId(org.antlr.runtime.TokenStream tokenstream)
     
    abstract org.antlr.runtime.tree.TreeAdaptor
     
    protected boolean
    isSupertype(Class<?> parent, Class<?> child)
     
    void
     
    void
    reportException(int line, int column, String reason)
     
    void
    setDeepTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor)
     
    abstract void
    setTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor)
     

    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, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getGrammarFileName, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, 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
  • Field Details

  • Constructor Details

    • EpsilonParser

      public EpsilonParser(org.antlr.runtime.TokenStream tokenstream)
    • EpsilonParser

      public EpsilonParser(org.antlr.runtime.TokenStream tokenstream, org.antlr.runtime.RecognizerSharedState recognizersharedstate)
  • Method Details

    • configureDelegator

      protected void configureDelegator(org.antlr.runtime.TokenStream tokenstream)
    • getTokenStreamId

      protected String getTokenStreamId(org.antlr.runtime.TokenStream tokenstream)
    • getTreeAdaptor

      public abstract org.antlr.runtime.tree.TreeAdaptor getTreeAdaptor()
    • setTreeAdaptor

      public abstract void setTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor)
    • isSupertype

      protected boolean isSupertype(Class<?> parent, Class<?> child)
    • setDeepTreeAdaptor

      public void setDeepTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor)
    • prepareForGUnit

      public void prepareForGUnit()
    • displayRecognitionError

      public void displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException re)
      Overrides:
      displayRecognitionError in class org.antlr.runtime.BaseRecognizer
    • reportException

      public void reportException(int line, int column, String reason)
    • getParseProblems

      public List<ParseProblem> getParseProblems()