Click or drag to resize

EmitHelperToString(IDictionary, AttributeChangeType, Object, Object, String, String, AttributeType, IGraph) Method

Returns a string representation of the given dictionary after the given operation with the given parameters was applied

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public static void ToString(
	IDictionary setmap,
	AttributeChangeType changeType,
	Object newValue,
	Object keyValue,
	out string type,
	out string content,
	AttributeType attrType,
	IGraph graph
)

Parameters

setmap  IDictionary
The base dictionary of the operation
changeType  AttributeChangeType
The type of the change operation
newValue  Object
The new value of the attribute, if changeType==Assign. Or the value to be inserted/removed if changeType==PutElement/RemoveElement on set. Or the new map pair value to be inserted if changeType==PutElement on map.
keyValue  Object
The map pair key to be inserted/removed if changeType==PutElement/RemoveElement on map.
type  String
The type as string, e.g set<int> or map<string,boolean>
content  String
The content as string, e.g. { 42, 43 } or { "foo"->true, "bar"->false }
attrType  AttributeType
The attribute type of the dictionary
graph  IGraph
The graph with the model and the element names
See Also