NodeData¶
Contains strongly-typed data for various AST nodes.
Public Functions¶
name¶
An informative identifier for the type of data the AST node holds.
Returns¶
- String val
add_json_props¶
Add properties to the JSON representation of the AST node.
fun box add_json_props(
node: Node box,
props: Array[(String val , (Object box | Sequence box | String box | I128 val | F64 val | Bool val | Null val))] ref)
: None val
Parameters¶
- node: Node box
- props: Array[(String val , (Object box | Sequence box | String box | I128 val | F64 val | Bool val | Null val))] ref
Returns¶
- None val
clone¶
Clone the strongly-typed data during a syntax tree transformation.
Parameters¶
Returns¶
- NodeData val