public abstract class AbstractRewrite extends java.lang.Object implements RewriteRuleI
Modifier and Type | Field and Description |
---|---|
protected DeepCopyVisitor |
dcv |
protected NodeFactory |
nf
A NodeFactory used for construction nodes.
|
protected OperatorTableI |
opSet
An OperatorSet used for finding operators.
|
protected TreeUtils |
tu
TreeUtils for testing types of nodes.
|
protected Jep |
xj
A reference to main XJep opbject.
|
Constructor and Description |
---|
AbstractRewrite() |
Modifier and Type | Method and Description |
---|---|
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.
|
void |
init(Jep jep)
Initialize the component.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, test
protected NodeFactory nf
protected OperatorTableI opSet
protected TreeUtils tu
protected Jep xj
protected DeepCopyVisitor dcv
public void init(Jep jep)
JepComponent
init
in interface JepComponent
jep
- the current Jep instancepublic JepComponent getLightWeightInstance()
JepComponent
getLightWeightInstance
in interface JepComponent
Copyright © 2018 Singular Systems http://www.singularsys.com/jep