GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
Replace Method (matches, which)
Namespacesde.unika.ipd.grGen.libGrIActionExecutionEnvironmentReplace(IMatches, Int32)
Executes the modifications of the according rule to the given match/matches. Fires OnRewritingNextMatch events before each rewrite except for the first one.
Declaration Syntax
List<Object[]> Replace(
	IMatches matches,
	int which
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.
Return Value
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.

Assembly: libGr (Module: libGr) Version: (