if ()
S;
-- NP(if) = NP() + NP() + 1 --
if ()
else
S;
-- NP(if) = NP() + NP() + NP( --
public visitIfStatement ( 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 |