switch ()
...
-- NP(switch) = NP() + NP() + NP() ... --
public visitSwitchStatement ( PDepend\Source\AST\ASTNode $node, string $data ) : string | ||
$node | PDepend\Source\AST\ASTNode | The currently visited node. |
$data | string | The previously calculated npath value. |
return | string |