public interface RewriteRuleI extends JepComponent
| 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.
|
getLightWeightInstance, initboolean test(ASTFunNode node, Node[] children) throws ParseException
ParseException - if for some reason rewriting cannot be performed.Node apply(ASTFunNode node, Node[] children) throws ParseException
ParseExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep