Function fullIf [src]
Prototype
pub fn fullIf(tree: Ast, node: Node.Index) ?full.If Parameters
tree: Astnode: Node.Index Source
pub fn fullIf(tree: Ast, node: Node.Index) ?full.If {
return switch (tree.nodeTag(node)) {
.if_simple => tree.ifSimple(node),
.@"if" => tree.ifFull(node),
else => null,
};
}