Sascha Kiefer > JavaScript-Code > JavaScript::Code::Function

Download:
JavaScript-Code-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.08   Source  

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;

syntax highlighting: