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

Compiler::Parser::Node::Dereference

INHERITANCE

    Compiler::Parser::Node::Dereference
    isa Compiler::Parser::Node

DESCRIPTION

    This node is created to represent dereference of array or hash.
    Dereference node has single pointer of 'expr'.
    Also, this node has 'next' pointer to access next statement's node.

LAYOUT

     ________________        _____________
    |                | next |             |
    |   Dereference  |----->|             |
    |________________|      |_____________|
            |
      expr  |
            v

Example

e.g.) @$array_ref; ...

               |
     __________|__________        _________
    |                     | next |         |
    |   Dereference(@$)   |----->|  .....  |
    |_____________________|      |_________|
               |
         expr  |
        _______v_______
       |               |
       |  $array_ref   |
       |_______________|

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.