The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

JavaScript::Code::Function - A JavaScript Function

METHODS

$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

JavaScript::Code

AUTHOR

Sascha Kiefer, esskar@cpan.org

LICENSE

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

1;