Function fullFor [src]
Prototype
pub fn fullFor(tree: Ast, node: Node.Index) ?full.For Parameters
tree: Astnode: Node.Index Source
pub fn fullFor(tree: Ast, node: Node.Index) ?full.For {
return switch (tree.nodeTag(node)) {
.for_simple => tree.forSimple(node),
.@"for" => tree.forFull(node),
else => null,
};
}