public function getLineCount() {
    $count = 1;

    $this
      ->find(Filter::isInstanceOf('\Pharborist\WhitespaceNode'))
      ->each(function(WhitespaceNode $node) use (&$count) {
        $count += $node->getNewlineCount();
      });

    return $count;
  }
public function getLineCount() {
    $count = 1;

    $this
      ->find(Filter::isInstanceOf('\Pharborist\WhitespaceNode'))
      ->each(function(WhitespaceNode $node) use (&$count) {
        $count += $node->getNewlineCount();
      });

    return $count;
  }
public function getLineCount ( ) { $ count = 1 ; $ this -> find ( Filter :: isInstanceOf ( '\Pharborist\WhitespaceNode' ) ) -> each ( function ( WhitespaceNode $ node ) use ( & $ count ) { $ count += $ node -> getNewlineCount ( ) ; } ) ; return $ count ; }
Gets the number of lines spanned by this statement.

@return integer
Always returns at least one, because any statement will be at least
one line long.
Gets the number of lines spanned by this statement .