 | Alternative Class |
An alternative is a pattern graph element containing subpatterns
of which one must get successfully matched so that the entire pattern gets matched successfully.
Inheritance Hierarchy Namespace: de.unika.ipd.grGen.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic class Alternative : IAlternative
The Alternative type exposes the following members.
Constructors | Name | Description |
---|
 | Alternative(String, String, PatternGraph) |
Constructs an Alternative object.
|
 | Alternative(Alternative, PatternGraphEmbedding, PatternGraph, String, String, DictionaryPatternNode, PatternNode, DictionaryPatternEdge, PatternEdge, DictionaryPatternVariable, PatternVariable) |
Instantiates a new alternative object as a copy from an original alternative, used for inlining.
|
Top
Properties
Fields | Name | Description |
---|
 | 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.
|
Top
See Also