Function asmLegacy [src]

Prototype

pub fn asmLegacy(tree: Ast, node: Node.Index) full.AsmLegacy

Parameters

tree: Astnode: Node.Index

Source

pub fn asmLegacy(tree: Ast, node: Node.Index) full.AsmLegacy { const template, const extra_index = tree.nodeData(node).node_and_extra; const extra = tree.extraData(extra_index, Node.AsmLegacy); const items = tree.extraDataSlice(.{ .start = extra.items_start, .end = extra.items_end }, Node.Index); return tree.legacyAsmComponents(.{ .asm_token = tree.nodeMainToken(node), .template = template, .items = items, .rparen = extra.rparen, }); }