 | EmitHelperToStringNonNull Method |
Returns a string representation of the given value, which must be not null (for emit,record)
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic static string ToStringNonNull(
Object value,
IGraph graph,
bool firstLevelObjectEmitted,
ObjectNamerAndIndexer objectNamerAndIndexer,
TransientObjectNamerAndIndexer transientObjectNamerAndIndexer,
IGraphProcessingEnvironment procEnv
)
Parameters
- value
- Type: SystemObject
The value of which to get the string representation - graph
- Type: de.unika.ipd.grGen.libGrIGraph
The graph with the model and the element names if available, otherwise null - firstLevelObjectEmitted
- Type: SystemBoolean
Prevents emitting of further objects and thus infinite regressions - objectNamerAndIndexer
- Type: de.unika.ipd.grGen.libGrObjectNamerAndIndexer
If not null, it is used to name the visited objects or collect them - transientObjectNamerAndIndexer
- Type: de.unika.ipd.grGen.libGrTransientObjectNamerAndIndexer
If not null, it is used to name the visited transient objects or collect them - procEnv
- Type: de.unika.ipd.grGen.libGrIGraphProcessingEnvironment
If not null, the processing environment is used for transient object unique id emitting and fetching
Return Value
Type:
Stringstring representation of the value
See Also