| |
|
| org.antlr.tool.ANTLRTreePrinter
ANTLRTreePrinter | public class ANTLRTreePrinter extends antlr.TreeParser implements ANTLRTreePrinterTokenTypes(Code) | | Print out a grammar (no pretty printing).
Terence Parr
University of San Francisco
August 19, 2003
|
showActions | protected boolean showActions(Code) | | |
ANTLRTreePrinter | public ANTLRTreePrinter()(Code) | | |
action | final public void action(AST _t) throws RecognitionException(Code) | | |
actions | final public void actions(AST _t) throws RecognitionException(Code) | | |
alternative | final public void alternative(AST _t) throws RecognitionException(Code) | | |
ast_suffix | final public void ast_suffix(AST _t) throws RecognitionException(Code) | | |
atom | final public void atom(AST _t) throws RecognitionException(Code) | | |
attrScope | final public void attrScope(AST _t) throws RecognitionException(Code) | | |
block | final public void block(AST _t, boolean forceParens) throws RecognitionException(Code) | | |
countAltsForBlock | final public int countAltsForBlock(AST _t) throws RecognitionException(Code) | | |
ebnf | final public void ebnf(AST _t) throws RecognitionException(Code) | | |
element | final public void element(AST _t) throws RecognitionException(Code) | | |
exceptionGroup | final public void exceptionGroup(AST _t) throws RecognitionException(Code) | | |
exceptionHandler | final public void exceptionHandler(AST _t) throws RecognitionException(Code) | | |
finallyClause | final public void finallyClause(AST _t) throws RecognitionException(Code) | | |
grammar | final public void grammar(AST _t) throws RecognitionException(Code) | | |
grammarSpec | final public void grammarSpec(AST _t, String gtype) throws RecognitionException(Code) | | |
modifier | final public void modifier(AST _t) throws RecognitionException(Code) | | |
normalize | public static String normalize(String g)(Code) | | Normalize a grammar print out by removing all double spaces
and trailing/beginning stuff. FOr example, convert
( A | B | C )*
to
( A | B | C )*
|
option | final public void option(AST _t) throws RecognitionException(Code) | | |
optionValue | final public void optionValue(AST _t) throws RecognitionException(Code) | | |
optionsSpec | final public void optionsSpec(AST _t) throws RecognitionException(Code) | | |
reportError | public void reportError(RecognitionException ex)(Code) | | |
rewrite | final public void rewrite(AST _t) throws RecognitionException(Code) | | |
rewrite_template | final public void rewrite_template(AST _t) throws RecognitionException(Code) | | |
rule | final public void rule(AST _t) throws RecognitionException(Code) | | |
ruleAction | final public void ruleAction(AST _t) throws RecognitionException(Code) | | |
ruleScopeSpec | final public void ruleScopeSpec(AST _t) throws RecognitionException(Code) | | |
rules | final public void rules(AST _t) throws RecognitionException(Code) | | |
single_rewrite | final public void single_rewrite(AST _t) throws RecognitionException(Code) | | |
toString | final public String toString(AST _t, Grammar g, boolean showActions) throws RecognitionException(Code) | | Call this to figure out how to print
|
tokenSpec | final public void tokenSpec(AST _t) throws RecognitionException(Code) | | |
tokensSpec | final public void tokensSpec(AST _t) throws RecognitionException(Code) | | |
tree | final public void tree(AST _t) throws RecognitionException(Code) | | |
|
|
|