public class ExpandPower extends Object implements RewriteRuleI
Constructor and Description |
---|
ExpandPower(XJep xj) |
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 ExpandPower(XJep xj)
public boolean test(ASTFunNode node, Node[] children)
RewriteRuleI
test
in interface RewriteRuleI
public Node apply(ASTFunNode node, Node[] children) throws ParseException
RewriteRuleI
apply
in interface RewriteRuleI
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics