Function fullWhile [src]

Prototype

pub fn fullWhile(tree: Ast, node: Node.Index) ?full.While

Parameters

tree: Astnode: Node.Index

Source

pub fn fullWhile(tree: Ast, node: Node.Index) ?full.While { return switch (tree.nodeTag(node)) { .while_simple => tree.whileSimple(node), .while_cont => tree.whileCont(node), .@"while" => tree.whileFull(node), else => null, }; }