public class Strip extends Object
Modifier and Type | Field and Description |
---|---|
protected String[] |
args |
protected String |
filename |
protected TokenRewriteStream |
tokens |
protected boolean |
tree_option |
Modifier and Type | Method and Description |
---|---|
static void |
ACTION(TokenRewriteStream tokens,
CommonTree t) |
TokenRewriteStream |
getTokenStream() |
static void |
main(String[] args) |
void |
parseAndRewrite() |
void |
processArgs(String[] args) |
void |
rewrite(TreeAdaptor adaptor,
CommonTree t,
String[] tokenNames) |
protected String filename
protected TokenRewriteStream tokens
protected boolean tree_option
protected String[] args
public Strip(String[] args)
public TokenRewriteStream getTokenStream()
public void rewrite(TreeAdaptor adaptor, CommonTree t, String[] tokenNames) throws Exception
Exception
public static void ACTION(TokenRewriteStream tokens, CommonTree t)
public void processArgs(String[] args)
Copyright © 1992–2015 ANTLR. All rights reserved.