 | LGSPBackendCreateNamedFromSpec(String, IGlobalVariables, String, Int32, LGSPNamedGraph, LGSPActions) Method |
Creates a new LGSPNamedGraph and LGSPActions instance from the specified specification file.
If the according dlls do not exist or are out of date, the needed processing steps are performed automatically.
A name for the graph is automatically generated.
Namespace: de.unika.ipd.grGen.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic void CreateNamedFromSpec(
string grgFilename,
IGlobalVariables globalVariables,
string statisticsPath,
int capacity,
out LGSPNamedGraph newGraph,
out LGSPActions newActions
)
Parameters
- grgFilename String
- Filename of the rule specification file (.grg).
- globalVariables IGlobalVariables
- An object implementing the IGlobalVariables interface, serving as global variables.
- statisticsPath String
- Optional path to a file containing the graph statistics to be used for building the matchers.
- capacity Int32
- The initial capacity for the name maps (performance optimization, use 0 if unsure).
- newGraph LGSPNamedGraph
- Returns the new named graph.
- newActions LGSPActions
- Returns the new BaseActions object.
Exceptions
See Also