Class Strip
java.lang.Object
org.antlr.tool.Strip
A basic action stripper.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidACTION(org.antlr.runtime.TokenRewriteStream tokens, org.antlr.runtime.tree.CommonTree t) org.antlr.runtime.TokenRewriteStreamstatic voidvoidvoidprocessArgs(String[] args) voidrewrite(org.antlr.runtime.tree.TreeAdaptor adaptor, org.antlr.runtime.tree.CommonTree t, String[] tokenNames)
-
Field Details
-
filename
-
tokens
protected org.antlr.runtime.TokenRewriteStream tokens -
tree_option
protected boolean tree_option -
args
-
-
Constructor Details
-
Strip
-
-
Method Details
-
main
-
getTokenStream
public org.antlr.runtime.TokenRewriteStream getTokenStream() -
parseAndRewrite
-
rewrite
-
ACTION
public static void ACTION(org.antlr.runtime.TokenRewriteStream tokens, org.antlr.runtime.tree.CommonTree t) -
processArgs
-