GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
IActionExecutionEnvironment Interface
Namespacesde.unika.ipd.grGen.libGrIActionExecutionEnvironment
An environment for the execution of actions (without embedded sequences). Holds a reference to the current graph.
Declaration Syntax
C#
public interface IActionExecutionEnvironment
Members
All MembersMethodsPropertiesEvents



IconMemberDescription
Actions
The actions employed by this graph processing environment

Custom(array<Object>[]()[][])
Does action execution environment dependent stuff.

Finished(IMatches, Boolean)
Fires an OnFinished event.

Finishing(IMatches, Boolean)
Fires an OnFinishing event.

GetNewestActionVersion(IAction)
Retrieves the newest version of an IAction object currently available for this graph. This may be the given object.

Graph
Returns the graph currently focused in processing / sequence execution. This may be the initial main graph, or a subgraph switched to, the current top element of the graph usage stack.

HighlightingUnderway
Tells whether execution is interrupted because a highlight statement was hit. Consequence: the timer that normally prints match statistics every second remains silent

Matched(IMatches, IMatch, Boolean)
Fires an OnMatched event.

MaxMatches
The maximum number of matches to be returned for a RuleAll sequence element. If it is zero or less, the number of matches is unlimited.

NamedGraph
Returns the named graph currently focused in processing / sequence execution. Returns null if this graph is not a named but an unnamed graph.

OnFinished
Fired after the rewrite step of a rule. Note, that the given matches object may contain invalid entries, as parts of the match may have been deleted!

OnFinishing
Fired before the rewrite step of a rule, when at least one match has been found.

OnMatched
Fired after all requested matches of a rule have been matched.

OnRewritingNextMatch
Fired before the next match is rewritten. It is not fired before rewriting the first match.

PerformanceInfo
PerformanceInfo is used to accumulate information about needed time, found matches and applied rewrites. And additionally search steps carried out if profiling instrumentation code was generated. It must not be null. The user is responsible for resetting the PerformanceInfo object. This is typically done at the start of a rewrite sequence, to measure its performance.

Replace(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.

RewritingNextMatch()()()()
Fires an OnRewritingNextMatch event.

SetNewestActionVersion(IAction, IAction)
Sets the newest action version for a static action.

Assembly: libGr (Module: libGr) Version: 4.4.0.0 (4.4.0.0)