org.lsmp.djep.xjep.rewriteRules
Class ExpandPower

java.lang.Object
  extended byorg.lsmp.djep.xjep.rewriteRules.ExpandPower
All Implemented Interfaces:
RewriteRuleI

public class ExpandPower
extends java.lang.Object
implements RewriteRuleI

Author:
Rich Morris Created on 01-Oct-2004

Constructor Summary
ExpandPower(XJep xj)
           
 
Method Summary
 Node apply(ASTFunNode node, Node[] children)
           
 boolean test(ASTFunNode node, Node[] children)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandPower

public ExpandPower(XJep xj)
Method Detail

test

public boolean test(ASTFunNode node,
                    Node[] children)
Specified by:
test in interface RewriteRuleI

apply

public Node apply(ASTFunNode node,
                  Node[] children)
           throws ParseException
Specified by:
apply in interface RewriteRuleI
Throws:
ParseException


http://www.singularsys.com/jep Copyright © 2004 Singular Systems