NAME

App::perl2js::Converter::Node::DoStmt

INHERITANCE

App::perl2js::Converter::Node::DoStmt
isa App::perl2js::Converter::Node

DESCRIPTION

DoStmt node has single pointer of 'stmt'.
Also, this node has 'next' pointer to access next statement's node.

LAYOUT

 ___________        ___________
|           | next |           |
|   DoStmt  |----->|           |
|___________|      |___________|
      |
 stmt |
      v

Example

e.g.) do { $a++; } ...

        |
 _______|_______        _________
|               | next |         |
|   DoStmt(do)  |----->|  .....  |
|_______________|      |_________|
        |
  stmt  |
 _______v_______
|               |
|     Inc(++)   |
|_______________|
        |
  expr  |
 _______v_______
|               |
|      $a       |
|_______________|

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.