Function fullFor [src]
Prototype
pub fn fullFor(tree: Ast, node: Node.Index) ?full.For
Parameters
tree: Ast
node: 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,
};
}