Node.this
this
(json.types.NodeType type)Creates a new node holding the given type.
This is a convenience function for [json.node.Node.alloc] and [json.node.Node.init_], and it's the equivalent of:
json_node_init (json_node_alloc (), type);Parameters
type | the type of the node to create |
Returns
the newly created node