Package eu.bandm.tools.umod.runtime
Interface Rewriter
public interface Rewriter
Auxiliary interface for the generated rewriter classes.
-
Method Summary
Modifier and TypeMethodDescriptionDefines the untyped rewriting process.<T> Trewrite_typed(T o) Defines the typed rewriting process.
-
Method Details
-
rewrite
Defines the untyped rewriting process.- Parameters:
o- the object to rewrite.- Returns:
- the result of rewriting
-
rewrite_typed
<T> T rewrite_typed(T o) Defines the typed rewriting process.- Type Parameters:
T- the common type of rewritten object and result- Parameters:
o- the object to rewrite.- Returns:
- the result of rewriting
-