| 1 | package Zuzu::AST::Stmt::Next; | ||
| 2 | |||
| 3 | 78 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 78 | our $VERSION = '0.007002'; | |
| 6 | |||
| 7 | 78 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 78 | with 'Zuzu::AST::Role::Node'; | |
| 10 | |||
| 11 | 196 | ▶ | sub evaluate { $_[1]->eval_next($_[0]) } |
|
Subroutine
evaluate: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | |||
| 13 | =pod | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Zuzu::AST::Stmt::Next - AST node for next statements | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | Represents one statement form in the abstract syntax tree and delegates execution to C<Zuzu::Runtime>. | ||
| 22 | |||
| 23 | =head1 INHERITANCE | ||
| 24 | |||
| 25 | Inherits from C<Moo::Object>. | ||
| 26 | |||
| 27 | =head1 ROLES | ||
| 28 | |||
| 29 | Consumes C<Zuzu::AST::Role::Node>. | ||
| 30 | |||
| 31 | =head1 ATTRIBUTES | ||
| 32 | |||
| 33 | =head1 METHODS | ||
| 34 | |||
| 35 | =head2 evaluate | ||
| 36 | |||
| 37 | Dispatches this AST node to the matching runtime evaluator. | ||
| 38 | |||
| 39 | =head1 SEE ALSO | ||
| 40 | |||
| 41 | C<Zuzu::AST::Role::Node>. | ||
| 42 | |||
| 43 | Subclasses: none in this distribution. | ||
| 44 | |||
| 45 | =head1 COPYRIGHT AND LICENCE | ||
| 46 | |||
| 47 | B<< Zuzu::AST::Stmt::Next >> is copyright Toby Inkster. | ||
| 48 | |||
| 49 | It is free software; you may redistribute it and/or modify it under | ||
| 50 | the terms of either the Artistic License 1.0 or the GNU General Public | ||
| 51 | License version 2. | ||
| 52 | |||
| 53 | =cut | ||
| 54 | |||
| 55 | 78 | 1; | |