Click or drag to resize

IBackendCreateNamedFromSpec(String, IGlobalVariables, String, String, ProcessSpecFlags, ListString, Int32, INamedGraph, IActions) Method

Creates a new INamedGraph and IActions backend instance from the specified specification file. If neccessary, any processing steps are performed automatically.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
void CreateNamedFromSpec(
	string grgFilename,
	IGlobalVariables globalVariables,
	string graphName,
	string statisticsPath,
	ProcessSpecFlags flags,
	List<string> externalAssemblies,
	int capacity,
	out INamedGraph newGraph,
	out IActions newActions
)

Parameters

grgFilename  String
Filename of the rule specification file (.grg).
globalVariables  IGlobalVariables
An object implementing the IGlobalVariables interface, serving as global variables.
graphName  String
Name of the new graph.
statisticsPath  String
Optional path to a file containing the graph statistics to be used for building the matchers.
flags  ProcessSpecFlags
Specifies how the specification is to be processed; only KeepGeneratedFiles and CompileWithDebug are taken care of!
externalAssemblies  ListString
List of external assemblies to reference.
capacity  Int32
The initial capacity for the name maps (performance optimization, use 0 if unsure).
newGraph  INamedGraph
Returns the new named graph.
newActions  IActions
Returns the new IActions object.
Exceptions
ExceptionCondition
ExceptionThrown when something goes wrong.
See Also