| 1 | package JavaScript::Code::Expression::Op::Equal; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use vars qw[ $VERSION ]; | ||
| 5 | use base qw[ JavaScript::Code::Expression::Op ]; | ||
| 6 | |||
| 7 | $VERSION = '0.02'; | ||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | JavaScript::Code::Expression::Op::Equal | ||
| 12 | |||
| 13 | =head1 METHODS | ||
| 14 | |||
| 15 | =head2 $self->precedence( ) | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | sub precedence { return 500; } | ||
| 20 | |||
| 21 | =head2 $self->op( ) | ||
| 22 | |||
| 23 | =cut | ||
| 24 | |||
| 25 | sub op { return " == "; } | ||
| 26 | |||
| 27 | =head1 SEE ALSO | ||
| 28 | |||
| 29 | L<JavaScript::Code> | ||
| 30 | |||
| 31 | =head1 AUTHOR | ||
| 32 | |||
| 33 | Sascha Kiefer, C<esskar@cpan.org> | ||
| 34 | |||
| 35 | =head1 LICENSE | ||
| 36 | |||
| 37 | This library is free software, you can redistribute it and/or modify it under | ||
| 38 | the same terms as Perl itself. | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 1; |