NAME

Compiler::Parser::Node::ArrayRef

INHERITANCE

Compiler::Parser::Node::ArrayRef
isa Compiler::Parser::Node

DESCRIPTION

This node is created to represent array reference's get/set accessor.
ArrayRef node has single pointer of 'data'.
Also, this node has 'next' pointer to access next statement's node.

LAYOUT

 _____________        _____________
|             | next |             |
|   ArrayRef  |----->|             |
|_____________|      |_____________|
       |
 data  |
       v

Example

e.g.) $array_ref->[0]; ...

           |
 __________|______________        _________
|                         | next |         |
|   ArrayRef($array_ref)  |----->|  .....  |
|_________________________|      |_________|
           |
     data  |
    _______v_______
   |               |
   |       0       |
   |_______________|

SEE ALSO

[Compiler::Parser::Node](http://search.cpan.org/perldoc?Compiler::Parser::Node)

AUTHOR

Masaaki Goshima (goccy) <goccy54@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) Masaaki Goshima (goccy).

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.