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::Array

INHERITANCE

App::perl2js::Converter::Node::Array
isa App::perl2js::Converter::Node

DESCRIPTION

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

LAYOUT

 ____________        _____________
|            | next |             |
|   Array    |----->|             |
|____________|      |_____________|
      |
 idx  |
      v

Example

e.g.) $array[0]; ...

           |
 __________|__________        _________
|                     | next |         |
|     Array($array)   |----->|  .....  |
|_____________________|      |_________|
           |
      idx  |
    _______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.