| JavaScript-Code documentation | Contained in the JavaScript-Code distribution. |
JavaScript::Code::Function::Result::Element - A JavaScript Function Result Element
Sascha Kiefer, esskar@cpan.org
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| JavaScript-Code documentation | Contained in the JavaScript-Code distribution. |
package JavaScript::Code::Function::Result::Element; use strict; use vars qw[ $VERSION ]; use base qw[ JavaScript::Code::Element ]; __PACKAGE__->mk_accessors(qw[ value ]); $VERSION = '0.08';
sub output { my $self = shift; my $scope = shift || 1; my $indenting = $self->get_indenting($scope); return $indenting . $self->value . ";\n"; }
1;