 | IActionExecutionEnvironmentReplace Method |
Executes the modifications of the according rule to the given match/matches.
Fires OnRewritingNextMatch events before each rewrite except for the first one.
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
SyntaxList<Object[]> Replace(
IMatches matches,
int which,
bool special,
bool fireDebugEvents
)
Parameters
- matches IMatches
- The matches object returned by a previous matcher call.
- which Int32
- The index of the match in the matches object to be applied,
or -1, if all matches are to be applied.
- special Boolean
- Whether the special flag was applied to the rule call.
- fireDebugEvents Boolean
- Specifies whether debug events (mostly action events) are to be fired.
Return Value
ListObjectA list with the return values of each of the rewrites applied.
Each element is a possibly empty array of objects that were returned by their rewrite.
See Also