App::perl2js::Converter::Node::Branch
App::perl2js::Converter::Node::Branch isa App::perl2js::Converter::Node
Branch node has two pointers of 'left' and 'right'. Also, this node has 'next' pointer to access next statement's node. This node includes token kind of 'Operator', 'Assign' and 'Comma'.
____________________________________ _____________ | | next | | | Branch(Operator,Assign,Comma) |----->| | |____________________________________| |_____________| | | left | | right v v
e.g.) 1 + 2 + 3; ...
| __________|__________ _________ | | next | | | Add(+) |----->| ..... | |_____________________| |_________| | | left | | right _______v_______ __v__ | | | | | Add(+) | | 3 | |_______________| |_____| | | left | | right __v__ __v__ | | | | | 1 | | 2 | |_____| |_____|
[App::perl2js::Converter::Node](http://search.cpan.org/perldoc?Compiler::Parser::Node)
Masaaki Goshima (goccy) <goccy54@gmail.com>
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.
To install App::perl2js, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::perl2js
CPAN shell
perl -MCPAN -e shell install App::perl2js
For more information on module installation, please visit the detailed CPAN module installation guide.