Possible Premature Optimization. We can trim a bunch of
calls to nodes that we'll never analyze during parsing,
pre-order analysis or post-order analysis.
public static shouldVisit ( ast\Node $node ) : boolean | ||
$node | ast\Node | A node we'd like to determine if we should visit |
return | boolean | True if the given node should be visited or false if it should be skipped entirely |