GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
CreateFromSpec Method (grgFilename, graphName, statisticsPath, flags, externalAssemblies, named, capacity, newGraph, newActions)
Namespacesde.unika.ipd.grGen.lgspLGSPBackendCreateFromSpec(String, String, String, ProcessSpecFlags, List<(Of <<'(String>)>>), Boolean, Int32, LGSPGraph%, LGSPActions%)
Creates a new LGSPGraph or 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.
Declaration Syntax
public void CreateFromSpec(
	string grgFilename,
	string graphName,
	string statisticsPath,
	ProcessSpecFlags flags,
	List<string> externalAssemblies,
	bool named,
	int capacity,
	out LGSPGraph newGraph,
	out LGSPActions newActions
grgFilename (String)
Filename of the rule specification file (.grg).
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 (List<(Of <(<'String>)>)>)
List of external assemblies to reference.
named (Boolean)
Returns a named graph if true otherwise a non-named graph. You must cast the LGSPGraph returned to the inherited LGSPNamedGraph if named=true.
capacity (Int32)
The initial capacity for the name maps, only used if named (performance optimization, use 0 if unsure).
newGraph (LGSPGraph%)
Returns the new graph.
newActions (LGSPActions%)
Returns the new BaseActions object.
FileNotFoundExceptionThrown, when a needed specification file does not exist.
ExceptionThrown, when something goes wrong.

Assembly: lgspBackend (Module: lgspBackend) Version: (