public class ExpandBrackets extends AbstractRewrite
Constructor and Description |
---|
ExpandBrackets(XJep xj)
TODO cope with a * uminus(x+x)
|
Modifier and Type | Method and Description |
---|---|
Node |
apply(ASTFunNode node,
Node[] children)
Rewrites the node
|
boolean |
test(ASTFunNode node,
Node[] children)
Returns true if node needs to be rewritten, according to this rule.
|
public ExpandBrackets(XJep xj)
public boolean test(ASTFunNode node, Node[] children)
RewriteRuleI
public Node apply(ASTFunNode node, Node[] children) throws ParseException
RewriteRuleI
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics