logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PPI::Structure::Block - Curly braces representing a code block

Author

       Adam Kennedy <adamk@cpan.org>

Description

       "PPI::Structure::Block" is the class used for all curly braces that represent code blocks. This includes
       subroutines, compound statements and any other block braces.

Inheritance

         PPI::Structure::Block
         isa PPI::Structure
             isa PPI::Node
                 isa PPI::Element

Methods

       "PPI::Structure::Block" has no methods beyond those provided by the standard PPI::Structure, PPI::Node
       and PPI::Element methods.

Name

       PPI::Structure::Block - Curly braces representing a code block

Support

       See the support section in the main module.

Synopsis

         sub foo { ... }

         grep { ... } @list;

         if ( condition ) {
             ...
         }

         LABEL: {
             ...
         }

See Also