JavaScript::Code::Function - A JavaScript Function


JavaScript-Code documentation  | view source Contained in the JavaScript-Code distribution.

Index


NAME

Top

JavaScript::Code::Function - A JavaScript Function

METHODS

Top

$self->name( $name )

Sets or gets the function name.

$self->block( $block )

Sets or gets the code block of the function.

$block must be a JavaScript::Code::Block

$self->is_buildin( )

Returns whether or not the function is a build-in function

$self->check_name( )

$self->call( )

Calls the functions. Returns a JavaScript::Code::Function::Result.

$self->output( )

SEE ALSO

Top

JavaScript::Code

AUTHOR

Top

Sascha Kiefer, esskar@cpan.org

LICENSE

Top

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

1;


JavaScript-Code documentation  | view source Contained in the JavaScript-Code distribution.