Click or drag to resize

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.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
List<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

ListObject
A 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