Function fullSwitch [src]

Prototype

pub fn fullSwitch(tree: Ast, node: Node.Index) ?full.Switch

Parameters

tree: Astnode: Node.Index

Source

pub fn fullSwitch(tree: Ast, node: Node.Index) ?full.Switch { return switch (tree.nodeTag(node)) { .@"switch", .switch_comma => tree.switchFull(node), else => null, }; }