pub fn blockStatements(tree: Ast, buffer: *[2]Ast.Node.Index, node: Ast.Node.Index) ?[]const Node.Index
tree: Ast
buffer: *[2]Ast.Node.Index
node: Ast.Node.Index
2440 2441 2442 2443 2444 2445 2446
pub fn blockStatements(tree: Ast, buffer: *[2]Ast.Node.Index, node: Ast.Node.Index) ?[]const Node.Index { return switch (tree.nodeTag(node)) { .block_two, .block_two_semicolon => loadOptionalNodesIntoBuffer(2, buffer, tree.nodeData(node).opt_node_and_opt_node), .block, .block_semicolon => tree.extraDataSlice(tree.nodeData(node).extra_range, Node.Index), else => null, }; }