|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.lsmp.djep.rewrite.AbstractRewrite
public abstract class AbstractRewrite
Basic implementation for a RewriteRule. Subclasses can have access to NodeFactory,OperatorSet,TreeUtilsand XJep objects.
Field Summary | |
---|---|
protected NodeFactory |
nf
A NodeFactory used for construction nodes. |
protected OperatorSet |
opSet
An OperatorSet used for finding operators. |
protected TreeUtils |
tu
TreeUtils for testing types of nodes. |
protected XJep |
xj
A reference to main XJep opbject. |
Constructor Summary | |
---|---|
AbstractRewrite(XJep xj)
Constructor with reference to XJep object. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.lsmp.djep.rewrite.RewriteRuleI |
---|
apply, test |
Field Detail |
---|
protected NodeFactory nf
protected OperatorSet opSet
protected TreeUtils tu
protected XJep xj
Constructor Detail |
---|
public AbstractRewrite(XJep xj)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |