NAME

Class::Declarative::Semantics::Code - implements some code (perl or otherwise) in a declarative framework.

VERSION

Version 0.01

SYNOPSIS

This class serves two purposes: first, it's an example of what a semantic node class should look like, and second, it will probably end up being the class that builds most of the code references in a declarative program.

defines()

Called by Class::Declarative::Semantics during import, to find out what xmlapi tags this plugin claims to implement.

build, fixvars, fixcall, fixevent

The build function is then called when this object's payload is built (i.e. in the stage when we're adding semantics to our parsed syntax).

The parent's payload will always have been created by the time this function is called.

go()

This is called to execute callable stuff. We override Node's default because we know how to build our own code in closures, so we'll call that if we've got it.

AUTHOR

Michael Roberts, <michael at vivtek.com>

BUGS

Please report any bugs or feature requests to bug-wx-definedui at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Wx-DefinedUI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

LICENSE AND COPYRIGHT

Copyright 2010 Michael Roberts.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.