| 1 | package WebDAO::Lexer::method; | ||
| 2 | =head1 NAME | ||
| 3 | |||
| 4 | WebDAO::Lexer::method - Process method tag | ||
| 5 | |||
| 6 | =head1 SYNOPSIS | ||
| 7 | |||
| 8 | =head1 DESCRIPTION | ||
| 9 | |||
| 10 | WebDAO::Lexer::method - Process method tag | ||
| 11 | |||
| 12 | =cut | ||
| 13 | |||
| 14 | our $VERSION = '0.01'; | ||
| 15 | |||
| 16 | use base 'WebDAO::Lexer::base'; | ||
| 17 | use strict; | ||
| 18 | use warnings; | ||
| 19 | sub value { | ||
| 20 | my $self = shift; | ||
| 21 | my $eng = shift || return undef; | ||
| 22 | my $attr= $self->attr; | ||
| 23 | my $object = | ||
| 24 | $eng->_create_( "none", "_method_call", $attr->{path} ); | ||
| 25 | return $object; | ||
| 26 | } | ||
| 27 | 1; | ||
| 28 | |||
| 29 | __DATA__ | ||
| 30 | |||
| 31 | =head1 SEE ALSO | ||
| 32 | |||
| 33 | http://sourceforge.net/projects/webdao | ||
| 34 | |||
| 35 | =head1 AUTHOR | ||
| 36 | |||
| 37 | Zahatski Aliaksandr, E<lt>zag@cpan.orgE<gt> | ||
| 38 | |||
| 39 | =head1 COPYRIGHT AND LICENSE | ||
| 40 | |||
| 41 | Copyright 2002-2011 by Zahatski Aliaksandr | ||
| 42 | |||
| 43 | This library is free software; you can redistribute it and/or modify | ||
| 44 | it under the same terms as Perl itself. | ||
| 45 | |||
| 46 | =cut | ||
| 47 |