Function nodeData [src]

Prototype

pub fn nodeData(tree: *const Ast, node: Node.Index) Node.Data

Parameters

tree: *const Astnode: Node.Index

Source

pub fn nodeData(tree: *const Ast, node: Node.Index) Node.Data { return tree.nodes.items(.data)[@intFromEnum(node)]; }