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)
RewriteRuleItest in interface RewriteRuleIpublic Node apply(ASTFunNode node, Node[] children) throws ParseException
RewriteRuleIapply in interface RewriteRuleIParseExceptionCopyright © 2018. All rights reserved.