antlr
Interface ANTLRGrammarParseBehavior

All Known Implementing Classes:
DefineGrammarSymbols

public interface ANTLRGrammarParseBehavior

Untamed:


Method Summary
 void abortGrammar()
          Enabled:
 void beginAlt(boolean doAST_)
          Enabled:
 void beginChildList()
          Enabled:
 void beginExceptionGroup()
          Enabled:
 void beginExceptionSpec(Token label)
          Enabled:
 void beginSubRule(Token label, int line, boolean not)
          Enabled:
 void beginTree(int line)
          Enabled:
 void defineRuleName(Token r, String access, boolean ruleAST, String docComment)
          Enabled:
 void defineToken(Token tokname, Token tokliteral)
          Enabled:
 void endAlt()
          Enabled:
 void endChildList()
          Enabled:
 void endExceptionGroup()
          Enabled:
 void endExceptionSpec()
          Enabled:
 void endGrammar()
          Enabled:
 void endOptions()
          Enabled:
 void endRule(String r)
          Enabled:
 void endSubRule()
          Enabled:
 void endTree()
          Enabled:
 void hasError()
          Enabled:
 void noASTSubRule()
          Enabled:
 void oneOrMoreSubRule()
          Enabled:
 void optionalSubRule()
          Enabled:
 void refAction(Token action)
          Enabled:
 void refArgAction(Token action)
          Enabled:
 void refCharLiteral(Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule)
          Enabled:
 void refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
          Enabled:
 void refElementOption(Token option, Token value)
          Enabled:
 void refExceptionHandler(Token exTypeAndName, Token action)
          Enabled:
 void refHeaderAction(Token name, Token act)
          Enabled:
 void refInitAction(Token action)
          Enabled:
 void refMemberAction(Token act)
          Enabled:
 void refPreambleAction(Token act)
          Enabled:
 void refReturnAction(Token returnAction)
          Enabled:
 void refRule(Token idAssign, Token r, Token label, Token arg, int autoGenType)
          Enabled:
 void refSemPred(Token pred)
          Enabled:
 void refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
          Enabled:
 void refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Enabled:
 void refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
          Enabled:
 void refTokensSpecElementOption(Token tok, Token option, Token value)
          Enabled:
 void refTreeSpecifier(Token treeSpec)
          Enabled:
 void refWildcard(Token t, Token label, int autoGenType)
          Enabled:
 void setArgOfRuleRef(Token argaction)
          Enabled:
 void setCharVocabulary(BitSet b)
          Enabled:
 void setFileOption(Token key, Token value, String filename)
          Enabled:
 void setGrammarOption(Token key, Token value)
          Enabled:
 void setRuleOption(Token key, Token value)
          Enabled:
 void setSubruleOption(Token key, Token value)
          Enabled:
 void setUserExceptions(String thr)
          Enabled:
 void startLexer(String file, Token name, String superClass, String doc)
          Enabled:
 void startParser(String file, Token name, String superClass, String doc)
          Enabled:
 void startTreeWalker(String file, Token name, String superClass, String doc)
          Enabled:
 void synPred()
          Enabled:
 void zeroOrMoreSubRule()
          Enabled:
 

Method Detail

abortGrammar

public void abortGrammar()
Enabled:


beginAlt

public void beginAlt(boolean doAST_)
Enabled:


beginChildList

public void beginChildList()
Enabled:


beginExceptionGroup

public void beginExceptionGroup()
Enabled:


beginExceptionSpec

public void beginExceptionSpec(Token label)
Enabled:


beginSubRule

public void beginSubRule(Token label,
                         int line,
                         boolean not)
Enabled:


beginTree

public void beginTree(int line)
               throws SemanticException
Enabled:

SemanticException

defineRuleName

public void defineRuleName(Token r,
                           String access,
                           boolean ruleAST,
                           String docComment)
                    throws SemanticException
Enabled:

SemanticException

defineToken

public void defineToken(Token tokname,
                        Token tokliteral)
Enabled:


endAlt

public void endAlt()
Enabled:


endChildList

public void endChildList()
Enabled:


endExceptionGroup

public void endExceptionGroup()
Enabled:


endExceptionSpec

public void endExceptionSpec()
Enabled:


endGrammar

public void endGrammar()
Enabled:


endOptions

public void endOptions()
Enabled:


endRule

public void endRule(String r)
Enabled:


endSubRule

public void endSubRule()
Enabled:


endTree

public void endTree()
Enabled:


hasError

public void hasError()
Enabled:


noASTSubRule

public void noASTSubRule()
Enabled:


oneOrMoreSubRule

public void oneOrMoreSubRule()
Enabled:


optionalSubRule

public void optionalSubRule()
Enabled:


refAction

public void refAction(Token action)
Enabled:


refArgAction

public void refArgAction(Token action)
Enabled:


setUserExceptions

public void setUserExceptions(String thr)
Enabled:


refCharLiteral

public void refCharLiteral(Token lit,
                           Token label,
                           boolean inverted,
                           int autoGenType,
                           boolean lastInRule)
Enabled:


refCharRange

public void refCharRange(Token t1,
                         Token t2,
                         Token label,
                         int autoGenType,
                         boolean lastInRule)
Enabled:


refElementOption

public void refElementOption(Token option,
                             Token value)
Enabled:


refTokensSpecElementOption

public void refTokensSpecElementOption(Token tok,
                                       Token option,
                                       Token value)
Enabled:


refExceptionHandler

public void refExceptionHandler(Token exTypeAndName,
                                Token action)
Enabled:


refHeaderAction

public void refHeaderAction(Token name,
                            Token act)
Enabled:


refInitAction

public void refInitAction(Token action)
Enabled:


refMemberAction

public void refMemberAction(Token act)
Enabled:


refPreambleAction

public void refPreambleAction(Token act)
Enabled:


refReturnAction

public void refReturnAction(Token returnAction)
Enabled:


refRule

public void refRule(Token idAssign,
                    Token r,
                    Token label,
                    Token arg,
                    int autoGenType)
Enabled:


refSemPred

public void refSemPred(Token pred)
Enabled:


refStringLiteral

public void refStringLiteral(Token lit,
                             Token label,
                             int autoGenType,
                             boolean lastInRule)
Enabled:


refToken

public void refToken(Token assignId,
                     Token t,
                     Token label,
                     Token args,
                     boolean inverted,
                     int autoGenType,
                     boolean lastInRule)
Enabled:


refTokenRange

public void refTokenRange(Token t1,
                          Token t2,
                          Token label,
                          int autoGenType,
                          boolean lastInRule)
Enabled:


refTreeSpecifier

public void refTreeSpecifier(Token treeSpec)
Enabled:


refWildcard

public void refWildcard(Token t,
                        Token label,
                        int autoGenType)
Enabled:


setArgOfRuleRef

public void setArgOfRuleRef(Token argaction)
Enabled:


setCharVocabulary

public void setCharVocabulary(BitSet b)
Enabled:


setFileOption

public void setFileOption(Token key,
                          Token value,
                          String filename)
Enabled:


setGrammarOption

public void setGrammarOption(Token key,
                             Token value)
Enabled:


setRuleOption

public void setRuleOption(Token key,
                          Token value)
Enabled:


setSubruleOption

public void setSubruleOption(Token key,
                             Token value)
Enabled:


startLexer

public void startLexer(String file,
                       Token name,
                       String superClass,
                       String doc)
Enabled:


startParser

public void startParser(String file,
                        Token name,
                        String superClass,
                        String doc)
Enabled:


startTreeWalker

public void startTreeWalker(String file,
                            Token name,
                            String superClass,
                            String doc)
Enabled:


synPred

public void synPred()
Enabled:


zeroOrMoreSubRule

public void zeroOrMoreSubRule()
Enabled:



comments?