Package eu.bandm.tools.graph
Interface Rewriting.Step<O,A,E>
- Type Parameters:
O- the type of objects to rewriteA- the type of dynamic arguments of the rewriting processE- the type of static environments of the rewriting process
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for functions that rewrite an object.
- See Also:
-
Method Summary
-
Method Details
-
step
Rewrite an object, and its neighborhood recursively.A context-sensitive callback to the rewriting process is passed to this operation. It can be used both for recursive rewriting of the neighborhood of the object, and for accessing the static environment.
- Parameters:
original- the object to rewriteargument- the dynamic argument to the rewriting process, ornullif not applicablecontext- callback into the context of the rewriting process- Returns:
- the rewritten result with recursively rewritten neighborhood
- See Also:
-