public class ExpandBrackets extends AbstractRewrite
nf, opSet, tu, xj
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
http://www.singularsys.com/jep Copyright © 2007 Singular Systems