org.lsmp.djep.rewrite
Class ExpandPower
java.lang.Object
org.lsmp.djep.rewrite.ExpandPower
- All Implemented Interfaces:
- RewriteRuleI
public class ExpandPower
- extends Object
- implements RewriteRuleI
- Author:
- Rich Morris
Created on 01-Oct-2004
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandPower
public ExpandPower(XJep xj)
test
public boolean test(ASTFunNode node,
Node[] children)
- Description copied from interface:
RewriteRuleI
- Returns true if node needs to be rewritten, according to this rule.
- Specified by:
test in interface RewriteRuleI
apply
public Node apply(ASTFunNode node,
Node[] children)
throws ParseException
- Description copied from interface:
RewriteRuleI
- Rewrites the node
- Specified by:
apply in interface RewriteRuleI
- Throws:
ParseException
Copyright © 2014. All rights reserved.