| spoon.reflect.eval.PartialEvaluator
All known Subclasses: spoon.support.reflect.eval.VisitorPartialEvaluator,
PartialEvaluator | public interface PartialEvaluator (Code) | | This interface defines a simple partial evaluator on the Spoon meta-model. It
recursively transforms a meta-model element by partially evaluating it and
simplifies it when possible (i.e. when constant values are involved).
|
Method Summary | |
R | evaluate(CtElement parent, R element) Partially evaluates an element and all its sub-elements. |
evaluate | R evaluate(CtElement parent, R element)(Code) | | Partially evaluates an element and all its sub-elements.
< Parameters: R - >the partially evaluated element type Parameters: parent - the parent element of the partially evaluated element Parameters: element - the element to be partially evaluated the result of the partial evaluation |
|
|