Click or drag to resize

LGSPBackendCreateFromSpec(String, IGlobalVariables, String, LGSPGraph, LGSPActions) Method

Creates a new LGSPGraph 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.lgsp
Assembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntax
C#
public void CreateFromSpec(
	string grgFilename,
	IGlobalVariables globalVariables,
	string statisticsPath,
	out LGSPGraph 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.
newGraph  LGSPGraph
Returns the new graph.
newActions  LGSPActions
Returns the new BaseActions object.
Exceptions
ExceptionCondition
FileNotFoundExceptionThrown, when a needed specification file does not exist.
ExceptionThrown, when something goes wrong.
See Also