| 1 | #!/usr/bin/perl | ||
| 2 | package SQL::QueryBuilder::Pretty::Database::ANSI::LogicOperator; | ||
| 3 | 1 | ▶ | use base qw(SQL::QueryBuilder::Pretty::Rule); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | our $VERSION = '0.01'; | |
| 9 | |||
| 10 | 1 | ▶ | use Carp qw(croak); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use Data::Dumper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 0 | ▶ | sub order { return 70 } |
|
Subroutine
order: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 14 | |||
| 15 | 0 | ▶ | sub match { |
|
Subroutine
match: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 16 | 0 | return qr/ | |
| 17 | AND|OR | ||
| 18 | /x; | ||
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub action { |
|
Subroutine
action: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 22 | 0 | my $self = shift; | |
| 23 | 0 | my $print = shift; | |
| 24 | 0 | my $token = shift; | |
| 25 | |||
| 26 | 0 | $print->new_line; | |
| 27 | 0 | $print->var( $print->current_indent ); | |
| 28 | 0 | $print->var($token); | |
| 29 | |||
| 30 | 0 | return 1; | |
| 31 | } | ||
| 32 | |||
| 33 | 1 | 1; | |
| 34 | __END__ | ||