The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::perl2js::Converter::Node::ArrayRef

INHERITANCE

App::perl2js::Converter::Node::ArrayRef
isa App::perl2js::Converter::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

[App::perl2js::Converter::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.