Click or drag to resize

IMatchClass Interface

An object representing the shared elements from the patterns of several actions. (Match classes allow via their Filterer implementation part to filter the matches obtained from multiple actions (potentially employed by the multi rule all call or multi backtracking sequences)).

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public interface IMatchClass : INamed

The IMatchClass type exposes the following members.

Properties
  NameDescription
Public propertyAnnotations
The annotations of the match class
Public propertyEdges
An array of all pattern edges.
Public propertyFilters
An array of the names of the available filters
Public propertyMatchClassName
The name of the real .NET class type of the match of the match class (fully qualified).
Public propertyMatchInterfaceName
The name of the real .NET interface type of the match of the match class (fully qualified).
Public propertyName
The name of the match class
Public propertyNodes
An array of all pattern nodes.
Public propertyPackage
null if this is a global match class, otherwise the package the match class is contained in.
Public propertyPackagePrefixedName
The name of the match class in case of a global match class, the name of the match class prefixed by the name of the package otherwise.
Public propertyPatternElements
An enumerable over all pattern elements.
Public propertyVariables
An array of all pattern variables.
Top
Methods
  NameDescription
Public methodCreate
Returns an instance of the match class
Public methodGetFilter
Returns the (package prefixed) filter if it is available, otherwise null
Public methodGetPatternElement
Returns the pattern element with the given name if it is available, otherwise null.
Top
See Also