PPI::Structure::Subscript - Braces that represent an array or hash subscript


PPI documentation Contained in the PPI distribution.

Index


Code Index:

NAME

Top

PPI::Structure::Subscript - Braces that represent an array or hash subscript

SYNOPSIS

Top

  # The end braces for all of the following are subscripts
  $foo->[...]
  $foo[...]
  $foo{...}[...]
  $foo->{...}
  $foo{...}
  $foo[]{...}

INHERITANCE

Top

  PPI::Structure::Subscript
  isa PPI::Structure
      isa PPI::Node
          isa PPI::Element

DESCRIPTION

Top

PPI::Structure::Subscript is the class used for square and curly braces that specify one element of an array or hash (or a slice/subset of an array or hash)

METHODS

Top

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

Got any ideas for methods? Submit a report to rt.cpan.org!

SUPPORT

Top

See the support section in the main module.

AUTHOR

Top

Adam Kennedy <adamk@cpan.org>

COPYRIGHT

Top


PPI documentation Contained in the PPI distribution.
package PPI::Structure::Subscript;

use strict;
use PPI::Structure ();

use vars qw{$VERSION @ISA};
BEGIN {
	$VERSION = '1.215';
	@ISA     = 'PPI::Structure';
}

1;