Node¶
-
class
Cocotec.CocoPlatform.Coco.Node
¶ A single AST node within a Coco model.
Public Functions
-
string
Name
()¶ If this is a value declaration, then the name of the node, otherwise an empty string.
-
string
PrettyPrint
()¶ Pretty prints a representation of this node.
-
string
PrettyPrint
(string formatSpecification) Pretty prints a representation of this node, applying the Coco formatter to the result.
- Parameters
formatSpecification
: A json dictionary giving the coco-format options.
Properties
-
ulong
OpaqueValue
{ }¶
-
string