IAction Interface |
Namespace: de.unika.ipd.grGen.libGr
public interface IAction : IActionCore, INamed
The IAction type exposes the following members.
Name | Description | |
---|---|---|
Name |
The name of the action
(Inherited from IActionCore.) | |
Package |
null if this is a global action, otherwise the package the action is contained in.
(Inherited from IActionCore.) | |
PackagePrefixedName |
The name of the action in case of a global type,
the name of the action prefixed by the name of the package otherwise.
(Inherited from IActionCore.) | |
RulePattern |
The RulePattern object from which this IAction object has been created.
(Inherited from IActionCore.) |
Name | Description | |
---|---|---|
Apply(IActionExecutionEnvironment) |
Tries to apply this rule to the given graph processing environment/its current graph once.
Only applicable for parameterless rules. Shows better performance than the normal Apply called without parameters.
No Matched/Finished events are triggered by this function (needed for visual debugging).
| |
Apply(IActionExecutionEnvironment, Object) |
Tries to apply this rule to the given processing environment/its current graph once.
No Matched/Finished events are triggered by this function (needed for visual debugging).
The null parameter check is omitted also.
| |
ApplyAll(Int32, IActionExecutionEnvironment) |
Tries to apply this rule to all occurrences in the current graph of the graph processing environment "at once".
Only applicable for parameterless rules. Shows better performance than the normal ApplyAll called without parameters.
No Matched/Finished events are triggered by this function (needed for visual debugging).
| |
ApplyAll(Int32, IActionExecutionEnvironment, Object) |
Tries to apply this rule to all occurrences in the current graph of the graph processing environment "at once".
No Matched/Finished events are triggered by this function (needed for visual debugging).
The null parameter check is omitted also.
| |
ApplyMinMax(IActionExecutionEnvironment, Int32, Int32) |
Applies this rule to The action execution environment/its current graph at most max times.
Only applicable for parameterless rules. Shows better performance than the normal ApplyMinMax called without parameters.
No Matched/Finished events are triggered by this function (needed for visual debugging).
| |
ApplyMinMax(IActionExecutionEnvironment, Int32, Int32, Object) |
Applies this rule to the given processing environment/its current graph at most max times.
No Matched/Finished events are triggered by this function (needed for visual debugging).
The null parameter check is omitted also.
| |
ApplyPlus(IActionExecutionEnvironment) |
Applies this rule to the given processing environment/its current graph as often as possible.
Only applicable for parameterless rules. Shows better performance than the normal ApplyPlus called without parameters.
No Matched/Finished events are triggered by this function (needed for visual debugging).
| |
ApplyPlus(IActionExecutionEnvironment, Object) |
Applies this rule to the given processing environment/its current graph as often as possible.
No Matched/Finished events are triggered by this function (needed for visual debugging).
The null parameter check is omitted also.
| |
ApplyStar(IActionExecutionEnvironment) |
Applies this rule to the given processing environment/its current graph as often as possible.
Only applicable for parameterless rules. Shows better performance than the normal ApplyStar called without parameters.
No Matched/Finished events are triggered by this function (needed for visual debugging).
| |
ApplyStar(IActionExecutionEnvironment, Object) |
Applies this rule to the given processing environment/its current graph as often as possible.
No Matched/Finished events are triggered by this function (needed for visual debugging).
The null parameter check is omitted also.
| |
Filter |
Filters the matches found by this action
(Inherited from IActionCore.) | |
Match |
Searches for a graph pattern as specified by RulePattern in the current graph of the graph processing environment.
(Inherited from IActionCore.) | |
Modify |
Performs the rule specific modifications to the current graph of the graph processing environment with the given match.
The graph and match object must have the correct type for the used backend (and this action).
(Inherited from IActionCore.) | |
ModifyAll |
Performs the rule specific modifications to the current graph of the graph processing environment with all of the given matches.
The graph and match object must have the correct type for the used backend.
No OnRewritingNextMatch events are triggered by this function (needed for visual debugging), in contrast to the Replace function of the action execution environment.
| |
Reserve |
Returns a list of arrays with the given number of list elements;
the array size is as needed for storing the return values.
The list/its members are only valid until the next allocate or graph rewrite with this rule.
Internal memory optimization.
(Inherited from IActionCore.) |