use strict;
use warnings;

package Code::Statistics::Target::Block;
$Code::Statistics::Target::Block::VERSION = '1.190680';
# ABSTRACT: represents a block in perl code

use Moose;
extends 'Code::Statistics::Target';

sub find_targets {
    my ( $class, $file ) = @_;
    return $file->ppi->find( 'PPI::Structure::Block' );




=encoding UTF-8

=head1 NAME

Code::Statistics::Target::Block - represents a block in perl code

=head1 VERSION

version 1.190680

=head2 find_targets
    Returns all PPI::Structure::Block elements found in the given file.

=head1 AUTHOR

Christian Walde <>


Christian Walde has dedicated the work to the Commons by waiving all of his
or her rights to the work worldwide under copyright law and all related or
neighboring legal rights he or she had in the work, to the extent allowable by

Works under CC0 do not require attribution. When citing the work, you should
not imply endorsement by the author.