public static interface PrintVisitor.PrintRulesI
pv.addSpecialRule(Operator.OP_LIST,new PrintVisitor.PrintRulesI() { public void append(Node node,PrintVisitor pv) throws ParseException { pv.append("["); for(int i=0;i0) pv.append(","); node.jjtGetChild(i).jjtAccept(pv, null); } pv.append("]"); }});
Modifier and Type | Method and Description |
---|---|
void |
append(Node node,
PrintVisitor pv)
The method called to append data for the rule.
|
void append(Node node, PrintVisitor pv) throws ParseException
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics