Click or drag to resize

IActionExecutionEnvironmentMatchForQuery Method (IAction, Object, Int32, Boolean)

Matches a rewrite rule, without firing the Matched event, but with firing the PreMatch event and Cloning of the matches (so they can stored, or used in an expression combining multiple queries like [?r] + [?r], or the action can be called multiple times in a multi rule all call query (on different parameters)).

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
IMatches MatchForQuery(
	IAction action,
	Object[] arguments,
	int localMaxMatches,
	bool fireDebugEvents
)

Parameters

action
Type: de.unika.ipd.grGen.libGrIAction
The rule to invoke
arguments
Type: SystemObject
The input arguments
localMaxMatches
Type: SystemInt32
Specifies the maximum number of matches to be found (if less or equal 0 the number of matches depends on the MaxMatches property)
fireDebugEvents
Type: SystemBoolean
Specifies whether debug events (mostly action events) are to be fired.

Return Value

Type: IMatches
A matches object containing the found matches.
See Also