Function nodeTag [src]
Prototype
pub fn nodeTag(tree: *const Ast, node: Node.Index) Node.Tag
Parameters
tree: *const Ast
node: Node.Index
Source
pub fn nodeTag(tree: *const Ast, node: Node.Index) Node.Tag {
return tree.nodes.items(.tag)[@intFromEnum(node)];
}