GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
Alternative Class
Namespacesde.unika.ipd.grGen.lgspAlternative
An alternative is a pattern graph element containing subpatterns of which one must get successfully matched so that the entire pattern gets matched successfully.
Declaration Syntax
C#
public class Alternative : IAlternative
Members
All MembersConstructorsPropertiesFields



IconMemberDescription
Alternative(String, String, array<PatternGraph>[]()[][])
Constructs an Alternative object.

Alternative(Alternative, PatternGraphEmbedding, PatternGraph, String, String, Dictionary<(Of <<'(PatternNode, PatternNode>)>>), Dictionary<(Of <<'(PatternEdge, PatternEdge>)>>), Dictionary<(Of <<'(PatternVariable, PatternVariable>)>>))
Instantiates a new alternative object as a copy from an original alternative, used for inlining.

alternativeCases
Array with the alternative cases.

AlternativeCases
Array with the alternative cases.

name
Name of the alternative.

originalAlternative
Links to the original alternative in case this alternative was inlined, otherwise null

originalSubpatternEmbedding
Links to the original subpattern embedding which was inlined in case this alternative was inlined, otherwise null.

pathPrefix
Prefix for name from nesting path.

Inheritance Hierarchy
Object
Alternative

Assembly: lgspBackend (Module: lgspBackend) Version: 4.4.0.0 (4.4.0.0)