fn advanceSourceCursorToNode(astgen: *AstGen, node: Ast.Node.Index) void
Advances the source cursor to the beginning of node.
node
astgen: *AstGen
node: Ast.Node.Index
12845 12846 12847 12848 12849
fn advanceSourceCursorToNode(astgen: *AstGen, node: Ast.Node.Index) void { const tree = astgen.tree; const node_start = tree.tokenStart(tree.firstToken(node)); astgen.advanceSourceCursor(node_start); }
Advances the source cursor to the beginning of
node.