1 package SQL::Translator::Parser::DB2::Grammar;
3 use vars qw[ $VERSION ];
11 package Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar;
13 use vars qw($skip $AUTOLOAD );
16 my ( %tables, $table_order, @table_comments, @views, @triggers );
21 local $SIG{__WARN__} = sub {0};
22 # PRETEND TO BE IN Parse::RecDescent NAMESPACE
23 *Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::AUTOLOAD = sub
26 $AUTOLOAD =~ s/^Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar/Parse::RecDescent/;
31 push @Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::ISA, 'Parse::RecDescent';
32 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
33 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_17_of_rule_sysibm_function
35 my $thisparser = $_[0];
36 use vars q{$tracelevel};
37 local $tracelevel = ($tracelevel||0)+1;
39 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_17_of_rule_sysibm_function"};
41 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_17_of_rule_sysibm_function]},
42 Parse::RecDescent::_tracefirst($_[1]),
43 q{_alternation_1_of_production_17_of_rule_sysibm_function},
45 if defined $::RD_TRACE;
48 my $err_at = @{$thisparser->{errors}};
58 my $repeating = defined($_[2]) && $_[2];
59 my $_noactions = defined($_[3]) && $_[3];
60 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
61 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
64 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
65 $expectation->at($_[1]);
68 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
72 while (!$_matched && !$commit)
75 Parse::RecDescent::_trace(q{Trying production: [/DECIMAL/i]},
76 Parse::RecDescent::_tracefirst($_[1]),
77 q{_alternation_1_of_production_17_of_rule_sysibm_function},
79 if defined $::RD_TRACE;
80 my $thisprod = $thisrule->{"prods"}[0];
83 @item = (q{_alternation_1_of_production_17_of_rule_sysibm_function});
84 %item = (__RULE__ => q{_alternation_1_of_production_17_of_rule_sysibm_function});
88 Parse::RecDescent::_trace(q{Trying terminal: [/DECIMAL/i]}, Parse::RecDescent::_tracefirst($text),
89 q{_alternation_1_of_production_17_of_rule_sysibm_function},
91 if defined $::RD_TRACE;
93 $expectation->is(q{})->at($text);
96 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DECIMAL)//i)
99 $expectation->failed();
100 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
101 Parse::RecDescent::_tracefirst($text))
102 if defined $::RD_TRACE;
106 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
108 Parse::RecDescent::_tracefirst($text))
109 if defined $::RD_TRACE;
110 push @item, $item{__PATTERN1__}=$&;
114 Parse::RecDescent::_trace(q{>>Matched production: [/DECIMAL/i]<<},
115 Parse::RecDescent::_tracefirst($text),
116 q{_alternation_1_of_production_17_of_rule_sysibm_function},
118 if defined $::RD_TRACE;
124 while (!$_matched && !$commit)
127 Parse::RecDescent::_trace(q{Trying production: [/DEC/i]},
128 Parse::RecDescent::_tracefirst($_[1]),
129 q{_alternation_1_of_production_17_of_rule_sysibm_function},
131 if defined $::RD_TRACE;
132 my $thisprod = $thisrule->{"prods"}[1];
135 @item = (q{_alternation_1_of_production_17_of_rule_sysibm_function});
136 %item = (__RULE__ => q{_alternation_1_of_production_17_of_rule_sysibm_function});
140 Parse::RecDescent::_trace(q{Trying terminal: [/DEC/i]}, Parse::RecDescent::_tracefirst($text),
141 q{_alternation_1_of_production_17_of_rule_sysibm_function},
143 if defined $::RD_TRACE;
145 $expectation->is(q{})->at($text);
148 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DEC)//i)
151 $expectation->failed();
152 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
153 Parse::RecDescent::_tracefirst($text))
154 if defined $::RD_TRACE;
158 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
160 Parse::RecDescent::_tracefirst($text))
161 if defined $::RD_TRACE;
162 push @item, $item{__PATTERN1__}=$&;
166 Parse::RecDescent::_trace(q{>>Matched production: [/DEC/i]<<},
167 Parse::RecDescent::_tracefirst($text),
168 q{_alternation_1_of_production_17_of_rule_sysibm_function},
170 if defined $::RD_TRACE;
176 unless ( $_matched || defined($return) || defined($score) )
180 $_[1] = $text; # NOT SURE THIS IS NEEDED
181 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
182 Parse::RecDescent::_tracefirst($_[1]),
183 q{_alternation_1_of_production_17_of_rule_sysibm_function},
185 if defined $::RD_TRACE;
188 if (!defined($return) && defined($score))
190 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
191 q{_alternation_1_of_production_17_of_rule_sysibm_function},
193 if defined $::RD_TRACE;
194 $return = $score_return;
196 splice @{$thisparser->{errors}}, $err_at;
197 $return = $item[$#item] unless defined $return;
198 if (defined $::RD_TRACE)
200 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
202 q{_alternation_1_of_production_17_of_rule_sysibm_function},
204 Parse::RecDescent::_trace(q{(consumed: [} .
205 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
206 Parse::RecDescent::_tracefirst($text),
207 , q{_alternation_1_of_production_17_of_rule_sysibm_function},
214 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
215 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::triggered_action
217 my $thisparser = $_[0];
218 use vars q{$tracelevel};
219 local $tracelevel = ($tracelevel||0)+1;
221 my $thisrule = $thisparser->{"rules"}{"triggered_action"};
223 Parse::RecDescent::_trace(q{Trying rule: [triggered_action]},
224 Parse::RecDescent::_tracefirst($_[1]),
227 if defined $::RD_TRACE;
230 my $err_at = @{$thisparser->{errors}};
240 my $repeating = defined($_[2]) && $_[2];
241 my $_noactions = defined($_[3]) && $_[3];
242 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
243 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
246 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
247 $expectation->at($_[1]);
250 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
254 while (!$_matched && !$commit)
257 Parse::RecDescent::_trace(q{Trying production: [when_clause SQL_procedure_statement]},
258 Parse::RecDescent::_tracefirst($_[1]),
261 if defined $::RD_TRACE;
262 my $thisprod = $thisrule->{"prods"}[0];
265 @item = (q{triggered_action});
266 %item = (__RULE__ => q{triggered_action});
270 Parse::RecDescent::_trace(q{Trying repeated subrule: [when_clause]},
271 Parse::RecDescent::_tracefirst($text),
274 if defined $::RD_TRACE;
275 $expectation->is(q{})->at($text);
277 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::when_clause, 0, 1, $_noactions,$expectation,undef)))
279 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [when_clause]>>},
280 Parse::RecDescent::_tracefirst($text),
283 if defined $::RD_TRACE;
286 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [when_clause]<< (}
287 . @$_tok . q{ times)},
289 Parse::RecDescent::_tracefirst($text),
292 if defined $::RD_TRACE;
293 $item{q{when_clause(?)}} = $_tok;
298 Parse::RecDescent::_trace(q{Trying subrule: [SQL_procedure_statement]},
299 Parse::RecDescent::_tracefirst($text),
302 if defined $::RD_TRACE;
303 if (1) { no strict qw{refs};
304 $expectation->is(q{SQL_procedure_statement})->at($text);
305 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::SQL_procedure_statement($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
308 Parse::RecDescent::_trace(q{<<Didn't match subrule: [SQL_procedure_statement]>>},
309 Parse::RecDescent::_tracefirst($text),
312 if defined $::RD_TRACE;
313 $expectation->failed();
316 Parse::RecDescent::_trace(q{>>Matched subrule: [SQL_procedure_statement]<< (return value: [}
319 Parse::RecDescent::_tracefirst($text),
322 if defined $::RD_TRACE;
323 $item{q{SQL_procedure_statement}} = $_tok;
328 Parse::RecDescent::_trace(q{Trying action},
329 Parse::RecDescent::_tracefirst($text),
332 if defined $::RD_TRACE;
335 $_tok = ($_noactions) ? 0 : do { $return = { 'condition' => $item[1][0],
336 'statement' => $item{'SQL_procedure_statement'} };
338 unless (defined $_tok)
340 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
341 if defined $::RD_TRACE;
344 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
346 Parse::RecDescent::_tracefirst($text))
347 if defined $::RD_TRACE;
349 $item{__ACTION1__}=$_tok;
353 Parse::RecDescent::_trace(q{>>Matched production: [when_clause SQL_procedure_statement]<<},
354 Parse::RecDescent::_tracefirst($text),
357 if defined $::RD_TRACE;
363 unless ( $_matched || defined($return) || defined($score) )
367 $_[1] = $text; # NOT SURE THIS IS NEEDED
368 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
369 Parse::RecDescent::_tracefirst($_[1]),
372 if defined $::RD_TRACE;
375 if (!defined($return) && defined($score))
377 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
380 if defined $::RD_TRACE;
381 $return = $score_return;
383 splice @{$thisparser->{errors}}, $err_at;
384 $return = $item[$#item] unless defined $return;
385 if (defined $::RD_TRACE)
387 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
391 Parse::RecDescent::_trace(q{(consumed: [} .
392 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
393 Parse::RecDescent::_tracefirst($text),
394 , q{triggered_action},
401 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
402 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_2_of_rule_search_condition
404 my $thisparser = $_[0];
405 use vars q{$tracelevel};
406 local $tracelevel = ($tracelevel||0)+1;
408 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_2_of_rule_search_condition"};
410 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_2_of_rule_search_condition]},
411 Parse::RecDescent::_tracefirst($_[1]),
412 q{_alternation_1_of_production_2_of_rule_search_condition},
414 if defined $::RD_TRACE;
417 my $err_at = @{$thisparser->{errors}};
427 my $repeating = defined($_[2]) && $_[2];
428 my $_noactions = defined($_[3]) && $_[3];
429 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
430 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
433 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
434 $expectation->at($_[1]);
437 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
441 while (!$_matched && !$commit)
444 Parse::RecDescent::_trace(q{Trying production: [predicate /SELECTIVITY/i]},
445 Parse::RecDescent::_tracefirst($_[1]),
446 q{_alternation_1_of_production_2_of_rule_search_condition},
448 if defined $::RD_TRACE;
449 my $thisprod = $thisrule->{"prods"}[0];
452 @item = (q{_alternation_1_of_production_2_of_rule_search_condition});
453 %item = (__RULE__ => q{_alternation_1_of_production_2_of_rule_search_condition});
457 Parse::RecDescent::_trace(q{Trying subrule: [predicate]},
458 Parse::RecDescent::_tracefirst($text),
459 q{_alternation_1_of_production_2_of_rule_search_condition},
461 if defined $::RD_TRACE;
462 if (1) { no strict qw{refs};
463 $expectation->is(q{})->at($text);
464 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::predicate($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
467 Parse::RecDescent::_trace(q{<<Didn't match subrule: [predicate]>>},
468 Parse::RecDescent::_tracefirst($text),
469 q{_alternation_1_of_production_2_of_rule_search_condition},
471 if defined $::RD_TRACE;
472 $expectation->failed();
475 Parse::RecDescent::_trace(q{>>Matched subrule: [predicate]<< (return value: [}
478 Parse::RecDescent::_tracefirst($text),
479 q{_alternation_1_of_production_2_of_rule_search_condition},
481 if defined $::RD_TRACE;
482 $item{q{predicate}} = $_tok;
487 Parse::RecDescent::_trace(q{Trying repeated subrule: [/SELECTIVITY/i]},
488 Parse::RecDescent::_tracefirst($text),
489 q{_alternation_1_of_production_2_of_rule_search_condition},
491 if defined $::RD_TRACE;
492 $expectation->is(q{/SELECTIVITY/i})->at($text);
494 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition, 0, 1, $_noactions,$expectation,undef)))
496 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/SELECTIVITY/i]>>},
497 Parse::RecDescent::_tracefirst($text),
498 q{_alternation_1_of_production_2_of_rule_search_condition},
500 if defined $::RD_TRACE;
503 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition]<< (}
504 . @$_tok . q{ times)},
506 Parse::RecDescent::_tracefirst($text),
507 q{_alternation_1_of_production_2_of_rule_search_condition},
509 if defined $::RD_TRACE;
510 $item{q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition(?)}} = $_tok;
516 Parse::RecDescent::_trace(q{>>Matched production: [predicate /SELECTIVITY/i]<<},
517 Parse::RecDescent::_tracefirst($text),
518 q{_alternation_1_of_production_2_of_rule_search_condition},
520 if defined $::RD_TRACE;
526 while (!$_matched && !$commit)
529 Parse::RecDescent::_trace(q{Trying production: ['(' search_condition ')']},
530 Parse::RecDescent::_tracefirst($_[1]),
531 q{_alternation_1_of_production_2_of_rule_search_condition},
533 if defined $::RD_TRACE;
534 my $thisprod = $thisrule->{"prods"}[1];
537 @item = (q{_alternation_1_of_production_2_of_rule_search_condition});
538 %item = (__RULE__ => q{_alternation_1_of_production_2_of_rule_search_condition});
542 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
543 Parse::RecDescent::_tracefirst($text),
544 q{_alternation_1_of_production_2_of_rule_search_condition},
546 if defined $::RD_TRACE;
548 $expectation->is(q{})->at($text);
551 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
554 $expectation->failed();
555 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
556 Parse::RecDescent::_tracefirst($text))
557 if defined $::RD_TRACE;
560 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
562 Parse::RecDescent::_tracefirst($text))
563 if defined $::RD_TRACE;
564 push @item, $item{__STRING1__}=$&;
567 Parse::RecDescent::_trace(q{Trying subrule: [search_condition]},
568 Parse::RecDescent::_tracefirst($text),
569 q{_alternation_1_of_production_2_of_rule_search_condition},
571 if defined $::RD_TRACE;
572 if (1) { no strict qw{refs};
573 $expectation->is(q{search_condition})->at($text);
574 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::search_condition($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
577 Parse::RecDescent::_trace(q{<<Didn't match subrule: [search_condition]>>},
578 Parse::RecDescent::_tracefirst($text),
579 q{_alternation_1_of_production_2_of_rule_search_condition},
581 if defined $::RD_TRACE;
582 $expectation->failed();
585 Parse::RecDescent::_trace(q{>>Matched subrule: [search_condition]<< (return value: [}
588 Parse::RecDescent::_tracefirst($text),
589 q{_alternation_1_of_production_2_of_rule_search_condition},
591 if defined $::RD_TRACE;
592 $item{q{search_condition}} = $_tok;
597 Parse::RecDescent::_trace(q{Trying terminal: [')']},
598 Parse::RecDescent::_tracefirst($text),
599 q{_alternation_1_of_production_2_of_rule_search_condition},
601 if defined $::RD_TRACE;
603 $expectation->is(q{')'})->at($text);
606 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
609 $expectation->failed();
610 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
611 Parse::RecDescent::_tracefirst($text))
612 if defined $::RD_TRACE;
615 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
617 Parse::RecDescent::_tracefirst($text))
618 if defined $::RD_TRACE;
619 push @item, $item{__STRING2__}=$&;
623 Parse::RecDescent::_trace(q{>>Matched production: ['(' search_condition ')']<<},
624 Parse::RecDescent::_tracefirst($text),
625 q{_alternation_1_of_production_2_of_rule_search_condition},
627 if defined $::RD_TRACE;
633 unless ( $_matched || defined($return) || defined($score) )
637 $_[1] = $text; # NOT SURE THIS IS NEEDED
638 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
639 Parse::RecDescent::_tracefirst($_[1]),
640 q{_alternation_1_of_production_2_of_rule_search_condition},
642 if defined $::RD_TRACE;
645 if (!defined($return) && defined($score))
647 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
648 q{_alternation_1_of_production_2_of_rule_search_condition},
650 if defined $::RD_TRACE;
651 $return = $score_return;
653 splice @{$thisparser->{errors}}, $err_at;
654 $return = $item[$#item] unless defined $return;
655 if (defined $::RD_TRACE)
657 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
659 q{_alternation_1_of_production_2_of_rule_search_condition},
661 Parse::RecDescent::_trace(q{(consumed: [} .
662 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
663 Parse::RecDescent::_tracefirst($text),
664 , q{_alternation_1_of_production_2_of_rule_search_condition},
671 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
672 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::name1
674 my $thisparser = $_[0];
675 use vars q{$tracelevel};
676 local $tracelevel = ($tracelevel||0)+1;
678 my $thisrule = $thisparser->{"rules"}{"name1"};
680 Parse::RecDescent::_trace(q{Trying rule: [name1]},
681 Parse::RecDescent::_tracefirst($_[1]),
684 if defined $::RD_TRACE;
687 my $err_at = @{$thisparser->{errors}};
697 my $repeating = defined($_[2]) && $_[2];
698 my $_noactions = defined($_[3]) && $_[3];
699 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
700 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
703 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
704 $expectation->at($_[1]);
707 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
711 while (!$_matched && !$commit)
714 Parse::RecDescent::_trace(q{Trying production: [NAME]},
715 Parse::RecDescent::_tracefirst($_[1]),
718 if defined $::RD_TRACE;
719 my $thisprod = $thisrule->{"prods"}[0];
723 %item = (__RULE__ => q{name1});
727 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
728 Parse::RecDescent::_tracefirst($text),
731 if defined $::RD_TRACE;
732 if (1) { no strict qw{refs};
733 $expectation->is(q{})->at($text);
734 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
737 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
738 Parse::RecDescent::_tracefirst($text),
741 if defined $::RD_TRACE;
742 $expectation->failed();
745 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
748 Parse::RecDescent::_tracefirst($text),
751 if defined $::RD_TRACE;
752 $item{q{NAME}} = $_tok;
758 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
759 Parse::RecDescent::_tracefirst($text),
762 if defined $::RD_TRACE;
768 unless ( $_matched || defined($return) || defined($score) )
772 $_[1] = $text; # NOT SURE THIS IS NEEDED
773 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
774 Parse::RecDescent::_tracefirst($_[1]),
777 if defined $::RD_TRACE;
780 if (!defined($return) && defined($score))
782 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
785 if defined $::RD_TRACE;
786 $return = $score_return;
788 splice @{$thisparser->{errors}}, $err_at;
789 $return = $item[$#item] unless defined $return;
790 if (defined $::RD_TRACE)
792 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
796 Parse::RecDescent::_trace(q{(consumed: [} .
797 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
798 Parse::RecDescent::_tracefirst($text),
806 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
807 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_cond
809 my $thisparser = $_[0];
810 use vars q{$tracelevel};
811 local $tracelevel = ($tracelevel||0)+1;
813 my $thisrule = $thisparser->{"rules"}{"_alternation_2_of_production_1_of_rule_cond"};
815 Parse::RecDescent::_trace(q{Trying rule: [_alternation_2_of_production_1_of_rule_cond]},
816 Parse::RecDescent::_tracefirst($_[1]),
817 q{_alternation_2_of_production_1_of_rule_cond},
819 if defined $::RD_TRACE;
822 my $err_at = @{$thisparser->{errors}};
832 my $repeating = defined($_[2]) && $_[2];
833 my $_noactions = defined($_[3]) && $_[3];
834 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
835 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
838 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
839 $expectation->at($_[1]);
842 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
846 while (!$_matched && !$commit)
849 Parse::RecDescent::_trace(q{Trying production: [predicate /SELECTIVITY/i]},
850 Parse::RecDescent::_tracefirst($_[1]),
851 q{_alternation_2_of_production_1_of_rule_cond},
853 if defined $::RD_TRACE;
854 my $thisprod = $thisrule->{"prods"}[0];
857 @item = (q{_alternation_2_of_production_1_of_rule_cond});
858 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_cond});
862 Parse::RecDescent::_trace(q{Trying subrule: [predicate]},
863 Parse::RecDescent::_tracefirst($text),
864 q{_alternation_2_of_production_1_of_rule_cond},
866 if defined $::RD_TRACE;
867 if (1) { no strict qw{refs};
868 $expectation->is(q{})->at($text);
869 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::predicate($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
872 Parse::RecDescent::_trace(q{<<Didn't match subrule: [predicate]>>},
873 Parse::RecDescent::_tracefirst($text),
874 q{_alternation_2_of_production_1_of_rule_cond},
876 if defined $::RD_TRACE;
877 $expectation->failed();
880 Parse::RecDescent::_trace(q{>>Matched subrule: [predicate]<< (return value: [}
883 Parse::RecDescent::_tracefirst($text),
884 q{_alternation_2_of_production_1_of_rule_cond},
886 if defined $::RD_TRACE;
887 $item{q{predicate}} = $_tok;
892 Parse::RecDescent::_trace(q{Trying repeated subrule: [/SELECTIVITY/i]},
893 Parse::RecDescent::_tracefirst($text),
894 q{_alternation_2_of_production_1_of_rule_cond},
896 if defined $::RD_TRACE;
897 $expectation->is(q{/SELECTIVITY/i})->at($text);
899 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond, 0, 1, $_noactions,$expectation,undef)))
901 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/SELECTIVITY/i]>>},
902 Parse::RecDescent::_tracefirst($text),
903 q{_alternation_2_of_production_1_of_rule_cond},
905 if defined $::RD_TRACE;
908 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond]<< (}
909 . @$_tok . q{ times)},
911 Parse::RecDescent::_tracefirst($text),
912 q{_alternation_2_of_production_1_of_rule_cond},
914 if defined $::RD_TRACE;
915 $item{q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond(?)}} = $_tok;
921 Parse::RecDescent::_trace(q{>>Matched production: [predicate /SELECTIVITY/i]<<},
922 Parse::RecDescent::_tracefirst($text),
923 q{_alternation_2_of_production_1_of_rule_cond},
925 if defined $::RD_TRACE;
931 while (!$_matched && !$commit)
934 Parse::RecDescent::_trace(q{Trying production: ['(' search_condition ')']},
935 Parse::RecDescent::_tracefirst($_[1]),
936 q{_alternation_2_of_production_1_of_rule_cond},
938 if defined $::RD_TRACE;
939 my $thisprod = $thisrule->{"prods"}[1];
942 @item = (q{_alternation_2_of_production_1_of_rule_cond});
943 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_cond});
947 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
948 Parse::RecDescent::_tracefirst($text),
949 q{_alternation_2_of_production_1_of_rule_cond},
951 if defined $::RD_TRACE;
953 $expectation->is(q{})->at($text);
956 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
959 $expectation->failed();
960 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
961 Parse::RecDescent::_tracefirst($text))
962 if defined $::RD_TRACE;
965 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
967 Parse::RecDescent::_tracefirst($text))
968 if defined $::RD_TRACE;
969 push @item, $item{__STRING1__}=$&;
972 Parse::RecDescent::_trace(q{Trying subrule: [search_condition]},
973 Parse::RecDescent::_tracefirst($text),
974 q{_alternation_2_of_production_1_of_rule_cond},
976 if defined $::RD_TRACE;
977 if (1) { no strict qw{refs};
978 $expectation->is(q{search_condition})->at($text);
979 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::search_condition($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
982 Parse::RecDescent::_trace(q{<<Didn't match subrule: [search_condition]>>},
983 Parse::RecDescent::_tracefirst($text),
984 q{_alternation_2_of_production_1_of_rule_cond},
986 if defined $::RD_TRACE;
987 $expectation->failed();
990 Parse::RecDescent::_trace(q{>>Matched subrule: [search_condition]<< (return value: [}
993 Parse::RecDescent::_tracefirst($text),
994 q{_alternation_2_of_production_1_of_rule_cond},
996 if defined $::RD_TRACE;
997 $item{q{search_condition}} = $_tok;
1002 Parse::RecDescent::_trace(q{Trying terminal: [')']},
1003 Parse::RecDescent::_tracefirst($text),
1004 q{_alternation_2_of_production_1_of_rule_cond},
1006 if defined $::RD_TRACE;
1008 $expectation->is(q{')'})->at($text);
1011 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
1014 $expectation->failed();
1015 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
1016 Parse::RecDescent::_tracefirst($text))
1017 if defined $::RD_TRACE;
1020 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
1022 Parse::RecDescent::_tracefirst($text))
1023 if defined $::RD_TRACE;
1024 push @item, $item{__STRING2__}=$&;
1028 Parse::RecDescent::_trace(q{>>Matched production: ['(' search_condition ')']<<},
1029 Parse::RecDescent::_tracefirst($text),
1030 q{_alternation_2_of_production_1_of_rule_cond},
1032 if defined $::RD_TRACE;
1038 unless ( $_matched || defined($return) || defined($score) )
1042 $_[1] = $text; # NOT SURE THIS IS NEEDED
1043 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
1044 Parse::RecDescent::_tracefirst($_[1]),
1045 q{_alternation_2_of_production_1_of_rule_cond},
1047 if defined $::RD_TRACE;
1050 if (!defined($return) && defined($score))
1052 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
1053 q{_alternation_2_of_production_1_of_rule_cond},
1055 if defined $::RD_TRACE;
1056 $return = $score_return;
1058 splice @{$thisparser->{errors}}, $err_at;
1059 $return = $item[$#item] unless defined $return;
1060 if (defined $::RD_TRACE)
1062 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1063 $return . q{])}, "",
1064 q{_alternation_2_of_production_1_of_rule_cond},
1066 Parse::RecDescent::_trace(q{(consumed: [} .
1067 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1068 Parse::RecDescent::_tracefirst($text),
1069 , q{_alternation_2_of_production_1_of_rule_cond},
1076 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
1077 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_expression
1079 my $thisparser = $_[0];
1080 use vars q{$tracelevel};
1081 local $tracelevel = ($tracelevel||0)+1;
1083 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_expression"};
1085 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_expression]},
1086 Parse::RecDescent::_tracefirst($_[1]),
1087 q{_alternation_1_of_production_1_of_rule_expression},
1089 if defined $::RD_TRACE;
1092 my $err_at = @{$thisparser->{errors}};
1102 my $repeating = defined($_[2]) && $_[2];
1103 my $_noactions = defined($_[3]) && $_[3];
1104 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
1105 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
1108 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
1109 $expectation->at($_[1]);
1112 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1116 while (!$_matched && !$commit)
1119 Parse::RecDescent::_trace(q{Trying production: ['+', or '-' function, or '(', or constant, or column_name, or host_variable, or special_register, or labeled_duration, or case_expression, or cast_specification, or OLAP_function, or method_invocation, or subtype_treatment, or sequence_reference]},
1120 Parse::RecDescent::_tracefirst($_[1]),
1121 q{_alternation_1_of_production_1_of_rule_expression},
1123 if defined $::RD_TRACE;
1124 my $thisprod = $thisrule->{"prods"}[0];
1127 @item = (q{_alternation_1_of_production_1_of_rule_expression});
1128 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_expression});
1132 Parse::RecDescent::_trace(q{Trying repeated subrule: ['+', or '-']},
1133 Parse::RecDescent::_tracefirst($text),
1134 q{_alternation_1_of_production_1_of_rule_expression},
1136 if defined $::RD_TRACE;
1137 $expectation->is(q{})->at($text);
1139 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression, 0, 1, $_noactions,$expectation,undef)))
1141 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: ['+', or '-']>>},
1142 Parse::RecDescent::_tracefirst($text),
1143 q{_alternation_1_of_production_1_of_rule_expression},
1145 if defined $::RD_TRACE;
1148 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression]<< (}
1149 . @$_tok . q{ times)},
1151 Parse::RecDescent::_tracefirst($text),
1152 q{_alternation_1_of_production_1_of_rule_expression},
1154 if defined $::RD_TRACE;
1155 $item{q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression(?)}} = $_tok;
1160 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression]},
1161 Parse::RecDescent::_tracefirst($text),
1162 q{_alternation_1_of_production_1_of_rule_expression},
1164 if defined $::RD_TRACE;
1165 if (1) { no strict qw{refs};
1166 $expectation->is(q{function, or '(', or constant, or column_name, or host_variable, or special_register, or labeled_duration, or case_expression, or cast_specification, or OLAP_function, or method_invocation, or subtype_treatment, or sequence_reference})->at($text);
1167 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
1170 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression]>>},
1171 Parse::RecDescent::_tracefirst($text),
1172 q{_alternation_1_of_production_1_of_rule_expression},
1174 if defined $::RD_TRACE;
1175 $expectation->failed();
1178 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression]<< (return value: [}
1181 Parse::RecDescent::_tracefirst($text),
1182 q{_alternation_1_of_production_1_of_rule_expression},
1184 if defined $::RD_TRACE;
1185 $item{q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression}} = $_tok;
1191 Parse::RecDescent::_trace(q{>>Matched production: ['+', or '-' function, or '(', or constant, or column_name, or host_variable, or special_register, or labeled_duration, or case_expression, or cast_specification, or OLAP_function, or method_invocation, or subtype_treatment, or sequence_reference]<<},
1192 Parse::RecDescent::_tracefirst($text),
1193 q{_alternation_1_of_production_1_of_rule_expression},
1195 if defined $::RD_TRACE;
1201 unless ( $_matched || defined($return) || defined($score) )
1205 $_[1] = $text; # NOT SURE THIS IS NEEDED
1206 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
1207 Parse::RecDescent::_tracefirst($_[1]),
1208 q{_alternation_1_of_production_1_of_rule_expression},
1210 if defined $::RD_TRACE;
1213 if (!defined($return) && defined($score))
1215 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
1216 q{_alternation_1_of_production_1_of_rule_expression},
1218 if defined $::RD_TRACE;
1219 $return = $score_return;
1221 splice @{$thisparser->{errors}}, $err_at;
1222 $return = $item[$#item] unless defined $return;
1223 if (defined $::RD_TRACE)
1225 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1226 $return . q{])}, "",
1227 q{_alternation_1_of_production_1_of_rule_expression},
1229 Parse::RecDescent::_trace(q{(consumed: [} .
1230 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1231 Parse::RecDescent::_tracefirst($text),
1232 , q{_alternation_1_of_production_1_of_rule_expression},
1239 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
1240 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::SCHEMA
1242 my $thisparser = $_[0];
1243 use vars q{$tracelevel};
1244 local $tracelevel = ($tracelevel||0)+1;
1246 my $thisrule = $thisparser->{"rules"}{"SCHEMA"};
1248 Parse::RecDescent::_trace(q{Trying rule: [SCHEMA]},
1249 Parse::RecDescent::_tracefirst($_[1]),
1252 if defined $::RD_TRACE;
1255 my $err_at = @{$thisparser->{errors}};
1265 my $repeating = defined($_[2]) && $_[2];
1266 my $_noactions = defined($_[3]) && $_[3];
1267 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
1268 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
1271 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
1272 $expectation->at($_[1]);
1275 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1279 while (!$_matched && !$commit)
1282 Parse::RecDescent::_trace(q{Trying production: [/\\w+/]},
1283 Parse::RecDescent::_tracefirst($_[1]),
1286 if defined $::RD_TRACE;
1287 my $thisprod = $thisrule->{"prods"}[0];
1290 @item = (q{SCHEMA});
1291 %item = (__RULE__ => q{SCHEMA});
1295 Parse::RecDescent::_trace(q{Trying terminal: [/\\w+/]}, Parse::RecDescent::_tracefirst($text),
1298 if defined $::RD_TRACE;
1300 $expectation->is(q{})->at($text);
1303 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:\w+)//)
1306 $expectation->failed();
1307 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
1308 Parse::RecDescent::_tracefirst($text))
1309 if defined $::RD_TRACE;
1313 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
1315 Parse::RecDescent::_tracefirst($text))
1316 if defined $::RD_TRACE;
1317 push @item, $item{__PATTERN1__}=$&;
1321 Parse::RecDescent::_trace(q{>>Matched production: [/\\w+/]<<},
1322 Parse::RecDescent::_tracefirst($text),
1325 if defined $::RD_TRACE;
1331 while (!$_matched && !$commit)
1334 Parse::RecDescent::_trace(q{Trying production: [/\\w\{1,128\}/]},
1335 Parse::RecDescent::_tracefirst($_[1]),
1338 if defined $::RD_TRACE;
1339 my $thisprod = $thisrule->{"prods"}[1];
1342 @item = (q{SCHEMA});
1343 %item = (__RULE__ => q{SCHEMA});
1347 Parse::RecDescent::_trace(q{Trying terminal: [/\\w\{1,128\}/]}, Parse::RecDescent::_tracefirst($text),
1350 if defined $::RD_TRACE;
1352 $expectation->is(q{})->at($text);
1355 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:\w{1,128})//)
1358 $expectation->failed();
1359 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
1360 Parse::RecDescent::_tracefirst($text))
1361 if defined $::RD_TRACE;
1365 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
1367 Parse::RecDescent::_tracefirst($text))
1368 if defined $::RD_TRACE;
1369 push @item, $item{__PATTERN1__}=$&;
1373 Parse::RecDescent::_trace(q{>>Matched production: [/\\w\{1,128\}/]<<},
1374 Parse::RecDescent::_tracefirst($text),
1377 if defined $::RD_TRACE;
1383 unless ( $_matched || defined($return) || defined($score) )
1387 $_[1] = $text; # NOT SURE THIS IS NEEDED
1388 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
1389 Parse::RecDescent::_tracefirst($_[1]),
1392 if defined $::RD_TRACE;
1395 if (!defined($return) && defined($score))
1397 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
1400 if defined $::RD_TRACE;
1401 $return = $score_return;
1403 splice @{$thisparser->{errors}}, $err_at;
1404 $return = $item[$#item] unless defined $return;
1405 if (defined $::RD_TRACE)
1407 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1408 $return . q{])}, "",
1411 Parse::RecDescent::_trace(q{(consumed: [} .
1412 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1413 Parse::RecDescent::_tracefirst($text),
1421 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
1422 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_87_of_rule_sysibm_function
1424 my $thisparser = $_[0];
1425 use vars q{$tracelevel};
1426 local $tracelevel = ($tracelevel||0)+1;
1428 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_87_of_rule_sysibm_function"};
1430 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_87_of_rule_sysibm_function]},
1431 Parse::RecDescent::_tracefirst($_[1]),
1432 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1434 if defined $::RD_TRACE;
1437 my $err_at = @{$thisparser->{errors}};
1447 my $repeating = defined($_[2]) && $_[2];
1448 my $_noactions = defined($_[3]) && $_[3];
1449 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
1450 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
1453 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
1454 $expectation->at($_[1]);
1457 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1461 while (!$_matched && !$commit)
1464 Parse::RecDescent::_trace(q{Trying production: [/VARIANCE/i]},
1465 Parse::RecDescent::_tracefirst($_[1]),
1466 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1468 if defined $::RD_TRACE;
1469 my $thisprod = $thisrule->{"prods"}[0];
1472 @item = (q{_alternation_1_of_production_87_of_rule_sysibm_function});
1473 %item = (__RULE__ => q{_alternation_1_of_production_87_of_rule_sysibm_function});
1477 Parse::RecDescent::_trace(q{Trying terminal: [/VARIANCE/i]}, Parse::RecDescent::_tracefirst($text),
1478 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1480 if defined $::RD_TRACE;
1482 $expectation->is(q{})->at($text);
1485 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:VARIANCE)//i)
1488 $expectation->failed();
1489 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
1490 Parse::RecDescent::_tracefirst($text))
1491 if defined $::RD_TRACE;
1495 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
1497 Parse::RecDescent::_tracefirst($text))
1498 if defined $::RD_TRACE;
1499 push @item, $item{__PATTERN1__}=$&;
1503 Parse::RecDescent::_trace(q{>>Matched production: [/VARIANCE/i]<<},
1504 Parse::RecDescent::_tracefirst($text),
1505 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1507 if defined $::RD_TRACE;
1513 while (!$_matched && !$commit)
1516 Parse::RecDescent::_trace(q{Trying production: [/VAR/i]},
1517 Parse::RecDescent::_tracefirst($_[1]),
1518 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1520 if defined $::RD_TRACE;
1521 my $thisprod = $thisrule->{"prods"}[1];
1524 @item = (q{_alternation_1_of_production_87_of_rule_sysibm_function});
1525 %item = (__RULE__ => q{_alternation_1_of_production_87_of_rule_sysibm_function});
1529 Parse::RecDescent::_trace(q{Trying terminal: [/VAR/i]}, Parse::RecDescent::_tracefirst($text),
1530 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1532 if defined $::RD_TRACE;
1534 $expectation->is(q{})->at($text);
1537 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:VAR)//i)
1540 $expectation->failed();
1541 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
1542 Parse::RecDescent::_tracefirst($text))
1543 if defined $::RD_TRACE;
1547 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
1549 Parse::RecDescent::_tracefirst($text))
1550 if defined $::RD_TRACE;
1551 push @item, $item{__PATTERN1__}=$&;
1555 Parse::RecDescent::_trace(q{>>Matched production: [/VAR/i]<<},
1556 Parse::RecDescent::_tracefirst($text),
1557 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1559 if defined $::RD_TRACE;
1565 unless ( $_matched || defined($return) || defined($score) )
1569 $_[1] = $text; # NOT SURE THIS IS NEEDED
1570 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
1571 Parse::RecDescent::_tracefirst($_[1]),
1572 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1574 if defined $::RD_TRACE;
1577 if (!defined($return) && defined($score))
1579 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
1580 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1582 if defined $::RD_TRACE;
1583 $return = $score_return;
1585 splice @{$thisparser->{errors}}, $err_at;
1586 $return = $item[$#item] unless defined $return;
1587 if (defined $::RD_TRACE)
1589 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1590 $return . q{])}, "",
1591 q{_alternation_1_of_production_87_of_rule_sysibm_function},
1593 Parse::RecDescent::_trace(q{(consumed: [} .
1594 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1595 Parse::RecDescent::_tracefirst($text),
1596 , q{_alternation_1_of_production_87_of_rule_sysibm_function},
1603 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
1604 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression
1606 my $thisparser = $_[0];
1607 use vars q{$tracelevel};
1608 local $tracelevel = ($tracelevel||0)+1;
1610 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression"};
1612 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression]},
1613 Parse::RecDescent::_tracefirst($_[1]),
1614 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1616 if defined $::RD_TRACE;
1619 my $err_at = @{$thisparser->{errors}};
1629 my $repeating = defined($_[2]) && $_[2];
1630 my $_noactions = defined($_[3]) && $_[3];
1631 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
1632 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
1635 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
1636 $expectation->at($_[1]);
1639 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1643 while (!$_matched && !$commit)
1646 Parse::RecDescent::_trace(q{Trying production: ['+']},
1647 Parse::RecDescent::_tracefirst($_[1]),
1648 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1650 if defined $::RD_TRACE;
1651 my $thisprod = $thisrule->{"prods"}[0];
1654 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
1655 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
1659 Parse::RecDescent::_trace(q{Trying terminal: ['+']},
1660 Parse::RecDescent::_tracefirst($text),
1661 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1663 if defined $::RD_TRACE;
1665 $expectation->is(q{})->at($text);
1668 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\+//)
1671 $expectation->failed();
1672 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
1673 Parse::RecDescent::_tracefirst($text))
1674 if defined $::RD_TRACE;
1677 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
1679 Parse::RecDescent::_tracefirst($text))
1680 if defined $::RD_TRACE;
1681 push @item, $item{__STRING1__}=$&;
1685 Parse::RecDescent::_trace(q{>>Matched production: ['+']<<},
1686 Parse::RecDescent::_tracefirst($text),
1687 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1689 if defined $::RD_TRACE;
1695 while (!$_matched && !$commit)
1698 Parse::RecDescent::_trace(q{Trying production: ['-']},
1699 Parse::RecDescent::_tracefirst($_[1]),
1700 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1702 if defined $::RD_TRACE;
1703 my $thisprod = $thisrule->{"prods"}[1];
1706 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
1707 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
1711 Parse::RecDescent::_trace(q{Trying terminal: ['-']},
1712 Parse::RecDescent::_tracefirst($text),
1713 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1715 if defined $::RD_TRACE;
1717 $expectation->is(q{})->at($text);
1720 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\-//)
1723 $expectation->failed();
1724 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
1725 Parse::RecDescent::_tracefirst($text))
1726 if defined $::RD_TRACE;
1729 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
1731 Parse::RecDescent::_tracefirst($text))
1732 if defined $::RD_TRACE;
1733 push @item, $item{__STRING1__}=$&;
1737 Parse::RecDescent::_trace(q{>>Matched production: ['-']<<},
1738 Parse::RecDescent::_tracefirst($text),
1739 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1741 if defined $::RD_TRACE;
1747 unless ( $_matched || defined($return) || defined($score) )
1751 $_[1] = $text; # NOT SURE THIS IS NEEDED
1752 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
1753 Parse::RecDescent::_tracefirst($_[1]),
1754 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1756 if defined $::RD_TRACE;
1759 if (!defined($return) && defined($score))
1761 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
1762 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1764 if defined $::RD_TRACE;
1765 $return = $score_return;
1767 splice @{$thisparser->{errors}}, $err_at;
1768 $return = $item[$#item] unless defined $return;
1769 if (defined $::RD_TRACE)
1771 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1772 $return . q{])}, "",
1773 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1775 Parse::RecDescent::_trace(q{(consumed: [} .
1776 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1777 Parse::RecDescent::_tracefirst($text),
1778 , q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
1785 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
1786 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::get_bracketed
1788 my $thisparser = $_[0];
1789 use vars q{$tracelevel};
1790 local $tracelevel = ($tracelevel||0)+1;
1792 my $thisrule = $thisparser->{"rules"}{"get_bracketed"};
1794 Parse::RecDescent::_trace(q{Trying rule: [get_bracketed]},
1795 Parse::RecDescent::_tracefirst($_[1]),
1798 if defined $::RD_TRACE;
1801 my $err_at = @{$thisparser->{errors}};
1811 my $repeating = defined($_[2]) && $_[2];
1812 my $_noactions = defined($_[3]) && $_[3];
1813 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
1814 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
1817 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
1818 $expectation->at($_[1]);
1821 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1825 while (!$_matched && !$commit)
1828 Parse::RecDescent::_trace(q{Trying production: []},
1829 Parse::RecDescent::_tracefirst($_[1]),
1832 if defined $::RD_TRACE;
1833 my $thisprod = $thisrule->{"prods"}[0];
1836 @item = (q{get_bracketed});
1837 %item = (__RULE__ => q{get_bracketed});
1841 Parse::RecDescent::_trace(q{Trying action},
1842 Parse::RecDescent::_tracefirst($text),
1845 if defined $::RD_TRACE;
1848 $_tok = ($_noactions) ? 0 : do {
1849 extract_bracketed($text, '(');
1851 unless (defined $_tok)
1853 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
1854 if defined $::RD_TRACE;
1857 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
1859 Parse::RecDescent::_tracefirst($text))
1860 if defined $::RD_TRACE;
1862 $item{__ACTION1__}=$_tok;
1866 Parse::RecDescent::_trace(q{>>Matched production: []<<},
1867 Parse::RecDescent::_tracefirst($text),
1870 if defined $::RD_TRACE;
1876 unless ( $_matched || defined($return) || defined($score) )
1880 $_[1] = $text; # NOT SURE THIS IS NEEDED
1881 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
1882 Parse::RecDescent::_tracefirst($_[1]),
1885 if defined $::RD_TRACE;
1888 if (!defined($return) && defined($score))
1890 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
1893 if defined $::RD_TRACE;
1894 $return = $score_return;
1896 splice @{$thisparser->{errors}}, $err_at;
1897 $return = $item[$#item] unless defined $return;
1898 if (defined $::RD_TRACE)
1900 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1901 $return . q{])}, "",
1904 Parse::RecDescent::_trace(q{(consumed: [} .
1905 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1906 Parse::RecDescent::_tracefirst($text),
1914 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
1915 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::labeled_duration
1917 my $thisparser = $_[0];
1918 use vars q{$tracelevel};
1919 local $tracelevel = ($tracelevel||0)+1;
1921 my $thisrule = $thisparser->{"rules"}{"labeled_duration"};
1923 Parse::RecDescent::_trace(q{Trying rule: [labeled_duration]},
1924 Parse::RecDescent::_tracefirst($_[1]),
1925 q{labeled_duration},
1927 if defined $::RD_TRACE;
1930 my $err_at = @{$thisparser->{errors}};
1940 my $repeating = defined($_[2]) && $_[2];
1941 my $_noactions = defined($_[3]) && $_[3];
1942 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
1943 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
1946 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
1947 $expectation->at($_[1]);
1950 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1954 while (!$_matched && !$commit)
1957 Parse::RecDescent::_trace(q{Trying production: [ld_type ld_duration]},
1958 Parse::RecDescent::_tracefirst($_[1]),
1959 q{labeled_duration},
1961 if defined $::RD_TRACE;
1962 my $thisprod = $thisrule->{"prods"}[0];
1965 @item = (q{labeled_duration});
1966 %item = (__RULE__ => q{labeled_duration});
1970 Parse::RecDescent::_trace(q{Trying subrule: [ld_type]},
1971 Parse::RecDescent::_tracefirst($text),
1972 q{labeled_duration},
1974 if defined $::RD_TRACE;
1975 if (1) { no strict qw{refs};
1976 $expectation->is(q{})->at($text);
1977 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::ld_type($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
1980 Parse::RecDescent::_trace(q{<<Didn't match subrule: [ld_type]>>},
1981 Parse::RecDescent::_tracefirst($text),
1982 q{labeled_duration},
1984 if defined $::RD_TRACE;
1985 $expectation->failed();
1988 Parse::RecDescent::_trace(q{>>Matched subrule: [ld_type]<< (return value: [}
1991 Parse::RecDescent::_tracefirst($text),
1992 q{labeled_duration},
1994 if defined $::RD_TRACE;
1995 $item{q{ld_type}} = $_tok;
2000 Parse::RecDescent::_trace(q{Trying subrule: [ld_duration]},
2001 Parse::RecDescent::_tracefirst($text),
2002 q{labeled_duration},
2004 if defined $::RD_TRACE;
2005 if (1) { no strict qw{refs};
2006 $expectation->is(q{ld_duration})->at($text);
2007 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::ld_duration($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
2010 Parse::RecDescent::_trace(q{<<Didn't match subrule: [ld_duration]>>},
2011 Parse::RecDescent::_tracefirst($text),
2012 q{labeled_duration},
2014 if defined $::RD_TRACE;
2015 $expectation->failed();
2018 Parse::RecDescent::_trace(q{>>Matched subrule: [ld_duration]<< (return value: [}
2021 Parse::RecDescent::_tracefirst($text),
2022 q{labeled_duration},
2024 if defined $::RD_TRACE;
2025 $item{q{ld_duration}} = $_tok;
2031 Parse::RecDescent::_trace(q{>>Matched production: [ld_type ld_duration]<<},
2032 Parse::RecDescent::_tracefirst($text),
2033 q{labeled_duration},
2035 if defined $::RD_TRACE;
2041 unless ( $_matched || defined($return) || defined($score) )
2045 $_[1] = $text; # NOT SURE THIS IS NEEDED
2046 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
2047 Parse::RecDescent::_tracefirst($_[1]),
2048 q{labeled_duration},
2050 if defined $::RD_TRACE;
2053 if (!defined($return) && defined($score))
2055 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
2056 q{labeled_duration},
2058 if defined $::RD_TRACE;
2059 $return = $score_return;
2061 splice @{$thisparser->{errors}}, $err_at;
2062 $return = $item[$#item] unless defined $return;
2063 if (defined $::RD_TRACE)
2065 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2066 $return . q{])}, "",
2067 q{labeled_duration},
2069 Parse::RecDescent::_trace(q{(consumed: [} .
2070 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2071 Parse::RecDescent::_tracefirst($text),
2072 , q{labeled_duration},
2079 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
2080 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_end
2082 my $thisparser = $_[0];
2083 use vars q{$tracelevel};
2084 local $tracelevel = ($tracelevel||0)+1;
2086 my $thisrule = $thisparser->{"rules"}{"group_end"};
2088 Parse::RecDescent::_trace(q{Trying rule: [group_end]},
2089 Parse::RecDescent::_tracefirst($_[1]),
2092 if defined $::RD_TRACE;
2095 my $err_at = @{$thisparser->{errors}};
2105 my $repeating = defined($_[2]) && $_[2];
2106 my $_noactions = defined($_[3]) && $_[3];
2107 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
2108 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
2111 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
2112 $expectation->at($_[1]);
2115 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2119 while (!$_matched && !$commit)
2122 Parse::RecDescent::_trace(q{Trying production: [/UNBOUNDED\\s+PRECEDING/i]},
2123 Parse::RecDescent::_tracefirst($_[1]),
2126 if defined $::RD_TRACE;
2127 my $thisprod = $thisrule->{"prods"}[0];
2130 @item = (q{group_end});
2131 %item = (__RULE__ => q{group_end});
2135 Parse::RecDescent::_trace(q{Trying terminal: [/UNBOUNDED\\s+PRECEDING/i]}, Parse::RecDescent::_tracefirst($text),
2138 if defined $::RD_TRACE;
2140 $expectation->is(q{})->at($text);
2143 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UNBOUNDED\s+PRECEDING)//i)
2146 $expectation->failed();
2147 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
2148 Parse::RecDescent::_tracefirst($text))
2149 if defined $::RD_TRACE;
2153 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
2155 Parse::RecDescent::_tracefirst($text))
2156 if defined $::RD_TRACE;
2157 push @item, $item{__PATTERN1__}=$&;
2161 Parse::RecDescent::_trace(q{>>Matched production: [/UNBOUNDED\\s+PRECEDING/i]<<},
2162 Parse::RecDescent::_tracefirst($text),
2165 if defined $::RD_TRACE;
2171 while (!$_matched && !$commit)
2174 Parse::RecDescent::_trace(q{Trying production: [unsigned_constant /FOLLOWING/i]},
2175 Parse::RecDescent::_tracefirst($_[1]),
2178 if defined $::RD_TRACE;
2179 my $thisprod = $thisrule->{"prods"}[1];
2182 @item = (q{group_end});
2183 %item = (__RULE__ => q{group_end});
2187 Parse::RecDescent::_trace(q{Trying subrule: [unsigned_constant]},
2188 Parse::RecDescent::_tracefirst($text),
2191 if defined $::RD_TRACE;
2192 if (1) { no strict qw{refs};
2193 $expectation->is(q{})->at($text);
2194 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::unsigned_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
2197 Parse::RecDescent::_trace(q{<<Didn't match subrule: [unsigned_constant]>>},
2198 Parse::RecDescent::_tracefirst($text),
2201 if defined $::RD_TRACE;
2202 $expectation->failed();
2205 Parse::RecDescent::_trace(q{>>Matched subrule: [unsigned_constant]<< (return value: [}
2208 Parse::RecDescent::_tracefirst($text),
2211 if defined $::RD_TRACE;
2212 $item{q{unsigned_constant}} = $_tok;
2217 Parse::RecDescent::_trace(q{Trying terminal: [/FOLLOWING/i]}, Parse::RecDescent::_tracefirst($text),
2220 if defined $::RD_TRACE;
2222 $expectation->is(q{/FOLLOWING/i})->at($text);
2225 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FOLLOWING)//i)
2228 $expectation->failed();
2229 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
2230 Parse::RecDescent::_tracefirst($text))
2231 if defined $::RD_TRACE;
2235 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
2237 Parse::RecDescent::_tracefirst($text))
2238 if defined $::RD_TRACE;
2239 push @item, $item{__PATTERN1__}=$&;
2243 Parse::RecDescent::_trace(q{>>Matched production: [unsigned_constant /FOLLOWING/i]<<},
2244 Parse::RecDescent::_tracefirst($text),
2247 if defined $::RD_TRACE;
2253 unless ( $_matched || defined($return) || defined($score) )
2257 $_[1] = $text; # NOT SURE THIS IS NEEDED
2258 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
2259 Parse::RecDescent::_tracefirst($_[1]),
2262 if defined $::RD_TRACE;
2265 if (!defined($return) && defined($score))
2267 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
2270 if defined $::RD_TRACE;
2271 $return = $score_return;
2273 splice @{$thisparser->{errors}}, $err_at;
2274 $return = $item[$#item] unless defined $return;
2275 if (defined $::RD_TRACE)
2277 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2278 $return . q{])}, "",
2281 Parse::RecDescent::_trace(q{(consumed: [} .
2282 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2283 Parse::RecDescent::_tracefirst($text),
2291 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
2292 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::statement
2294 my $thisparser = $_[0];
2295 use vars q{$tracelevel};
2296 local $tracelevel = ($tracelevel||0)+1;
2298 my $thisrule = $thisparser->{"rules"}{"statement"};
2300 Parse::RecDescent::_trace(q{Trying rule: [statement]},
2301 Parse::RecDescent::_tracefirst($_[1]),
2304 if defined $::RD_TRACE;
2307 my $err_at = @{$thisparser->{errors}};
2317 my $repeating = defined($_[2]) && $_[2];
2318 my $_noactions = defined($_[3]) && $_[3];
2319 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
2320 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
2323 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
2324 $expectation->at($_[1]);
2327 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2331 while (!$_matched && !$commit)
2334 Parse::RecDescent::_trace(q{Trying production: [comment]},
2335 Parse::RecDescent::_tracefirst($_[1]),
2338 if defined $::RD_TRACE;
2339 my $thisprod = $thisrule->{"prods"}[0];
2342 @item = (q{statement});
2343 %item = (__RULE__ => q{statement});
2347 Parse::RecDescent::_trace(q{Trying subrule: [comment]},
2348 Parse::RecDescent::_tracefirst($text),
2351 if defined $::RD_TRACE;
2352 if (1) { no strict qw{refs};
2353 $expectation->is(q{})->at($text);
2354 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::comment($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
2357 Parse::RecDescent::_trace(q{<<Didn't match subrule: [comment]>>},
2358 Parse::RecDescent::_tracefirst($text),
2361 if defined $::RD_TRACE;
2362 $expectation->failed();
2365 Parse::RecDescent::_trace(q{>>Matched subrule: [comment]<< (return value: [}
2368 Parse::RecDescent::_tracefirst($text),
2371 if defined $::RD_TRACE;
2372 $item{q{comment}} = $_tok;
2378 Parse::RecDescent::_trace(q{>>Matched production: [comment]<<},
2379 Parse::RecDescent::_tracefirst($text),
2382 if defined $::RD_TRACE;
2388 while (!$_matched && !$commit)
2391 Parse::RecDescent::_trace(q{Trying production: [create]},
2392 Parse::RecDescent::_tracefirst($_[1]),
2395 if defined $::RD_TRACE;
2396 my $thisprod = $thisrule->{"prods"}[1];
2399 @item = (q{statement});
2400 %item = (__RULE__ => q{statement});
2404 Parse::RecDescent::_trace(q{Trying subrule: [create]},
2405 Parse::RecDescent::_tracefirst($text),
2408 if defined $::RD_TRACE;
2409 if (1) { no strict qw{refs};
2410 $expectation->is(q{})->at($text);
2411 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::create($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
2414 Parse::RecDescent::_trace(q{<<Didn't match subrule: [create]>>},
2415 Parse::RecDescent::_tracefirst($text),
2418 if defined $::RD_TRACE;
2419 $expectation->failed();
2422 Parse::RecDescent::_trace(q{>>Matched subrule: [create]<< (return value: [}
2425 Parse::RecDescent::_tracefirst($text),
2428 if defined $::RD_TRACE;
2429 $item{q{create}} = $_tok;
2435 Parse::RecDescent::_trace(q{>>Matched production: [create]<<},
2436 Parse::RecDescent::_tracefirst($text),
2439 if defined $::RD_TRACE;
2448 Parse::RecDescent::_trace(q{Trying production: [<error...>]},
2449 Parse::RecDescent::_tracefirst($_[1]),
2452 if defined $::RD_TRACE;
2453 my $thisprod = $thisrule->{"prods"}[2];
2456 @item = (q{statement});
2457 %item = (__RULE__ => q{statement});
2463 Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
2464 Parse::RecDescent::_tracefirst($text),
2467 if defined $::RD_TRACE;
2468 $_tok = do { if (1) { do {
2469 my $rule = $item[0];
2471 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
2472 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
2473 } unless $_noactions; undef } else {0} };
2476 Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
2478 Parse::RecDescent::_tracefirst($text))
2479 if defined $::RD_TRACE;
2483 Parse::RecDescent::_trace(q{<<Didn't match directive>>},
2484 Parse::RecDescent::_tracefirst($text))
2485 if defined $::RD_TRACE;
2488 last unless defined $_tok;
2489 push @item, $item{__DIRECTIVE1__}=$_tok;
2493 Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
2494 Parse::RecDescent::_tracefirst($text),
2497 if defined $::RD_TRACE;
2503 unless ( $_matched || defined($return) || defined($score) )
2507 $_[1] = $text; # NOT SURE THIS IS NEEDED
2508 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
2509 Parse::RecDescent::_tracefirst($_[1]),
2512 if defined $::RD_TRACE;
2515 if (!defined($return) && defined($score))
2517 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
2520 if defined $::RD_TRACE;
2521 $return = $score_return;
2523 splice @{$thisparser->{errors}}, $err_at;
2524 $return = $item[$#item] unless defined $return;
2525 if (defined $::RD_TRACE)
2527 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2528 $return . q{])}, "",
2531 Parse::RecDescent::_trace(q{(consumed: [} .
2532 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2533 Parse::RecDescent::_tracefirst($text),
2541 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
2542 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause
2544 my $thisparser = $_[0];
2545 use vars q{$tracelevel};
2546 local $tracelevel = ($tracelevel||0)+1;
2548 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause"};
2550 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause]},
2551 Parse::RecDescent::_tracefirst($_[1]),
2552 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2554 if defined $::RD_TRACE;
2557 my $err_at = @{$thisparser->{errors}};
2567 my $repeating = defined($_[2]) && $_[2];
2568 my $_noactions = defined($_[3]) && $_[3];
2569 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
2570 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
2573 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
2574 $expectation->at($_[1]);
2577 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2581 while (!$_matched && !$commit)
2584 Parse::RecDescent::_trace(q{Trying production: [result_expression]},
2585 Parse::RecDescent::_tracefirst($_[1]),
2586 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2588 if defined $::RD_TRACE;
2589 my $thisprod = $thisrule->{"prods"}[0];
2592 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause});
2593 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause});
2597 Parse::RecDescent::_trace(q{Trying subrule: [result_expression]},
2598 Parse::RecDescent::_tracefirst($text),
2599 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2601 if defined $::RD_TRACE;
2602 if (1) { no strict qw{refs};
2603 $expectation->is(q{})->at($text);
2604 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::result_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
2607 Parse::RecDescent::_trace(q{<<Didn't match subrule: [result_expression]>>},
2608 Parse::RecDescent::_tracefirst($text),
2609 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2611 if defined $::RD_TRACE;
2612 $expectation->failed();
2615 Parse::RecDescent::_trace(q{>>Matched subrule: [result_expression]<< (return value: [}
2618 Parse::RecDescent::_tracefirst($text),
2619 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2621 if defined $::RD_TRACE;
2622 $item{q{result_expression}} = $_tok;
2628 Parse::RecDescent::_trace(q{>>Matched production: [result_expression]<<},
2629 Parse::RecDescent::_tracefirst($text),
2630 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2632 if defined $::RD_TRACE;
2638 while (!$_matched && !$commit)
2641 Parse::RecDescent::_trace(q{Trying production: [/NULL/i]},
2642 Parse::RecDescent::_tracefirst($_[1]),
2643 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2645 if defined $::RD_TRACE;
2646 my $thisprod = $thisrule->{"prods"}[1];
2649 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause});
2650 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause});
2654 Parse::RecDescent::_trace(q{Trying terminal: [/NULL/i]}, Parse::RecDescent::_tracefirst($text),
2655 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2657 if defined $::RD_TRACE;
2659 $expectation->is(q{})->at($text);
2662 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULL)//i)
2665 $expectation->failed();
2666 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
2667 Parse::RecDescent::_tracefirst($text))
2668 if defined $::RD_TRACE;
2672 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
2674 Parse::RecDescent::_tracefirst($text))
2675 if defined $::RD_TRACE;
2676 push @item, $item{__PATTERN1__}=$&;
2680 Parse::RecDescent::_trace(q{>>Matched production: [/NULL/i]<<},
2681 Parse::RecDescent::_tracefirst($text),
2682 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2684 if defined $::RD_TRACE;
2690 unless ( $_matched || defined($return) || defined($score) )
2694 $_[1] = $text; # NOT SURE THIS IS NEEDED
2695 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
2696 Parse::RecDescent::_tracefirst($_[1]),
2697 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2699 if defined $::RD_TRACE;
2702 if (!defined($return) && defined($score))
2704 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
2705 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2707 if defined $::RD_TRACE;
2708 $return = $score_return;
2710 splice @{$thisparser->{errors}}, $err_at;
2711 $return = $item[$#item] unless defined $return;
2712 if (defined $::RD_TRACE)
2714 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2715 $return . q{])}, "",
2716 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2718 Parse::RecDescent::_trace(q{(consumed: [} .
2719 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2720 Parse::RecDescent::_tracefirst($text),
2721 , q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause},
2728 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
2729 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_case_expression
2731 my $thisparser = $_[0];
2732 use vars q{$tracelevel};
2733 local $tracelevel = ($tracelevel||0)+1;
2735 my $thisrule = $thisparser->{"rules"}{"_alternation_2_of_production_1_of_rule_case_expression"};
2737 Parse::RecDescent::_trace(q{Trying rule: [_alternation_2_of_production_1_of_rule_case_expression]},
2738 Parse::RecDescent::_tracefirst($_[1]),
2739 q{_alternation_2_of_production_1_of_rule_case_expression},
2741 if defined $::RD_TRACE;
2744 my $err_at = @{$thisparser->{errors}};
2754 my $repeating = defined($_[2]) && $_[2];
2755 my $_noactions = defined($_[3]) && $_[3];
2756 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
2757 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
2760 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
2761 $expectation->at($_[1]);
2764 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2768 while (!$_matched && !$commit)
2771 Parse::RecDescent::_trace(q{Trying production: [/ELSE\\s+NULL/i]},
2772 Parse::RecDescent::_tracefirst($_[1]),
2773 q{_alternation_2_of_production_1_of_rule_case_expression},
2775 if defined $::RD_TRACE;
2776 my $thisprod = $thisrule->{"prods"}[0];
2779 @item = (q{_alternation_2_of_production_1_of_rule_case_expression});
2780 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_case_expression});
2784 Parse::RecDescent::_trace(q{Trying terminal: [/ELSE\\s+NULL/i]}, Parse::RecDescent::_tracefirst($text),
2785 q{_alternation_2_of_production_1_of_rule_case_expression},
2787 if defined $::RD_TRACE;
2789 $expectation->is(q{})->at($text);
2792 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ELSE\s+NULL)//i)
2795 $expectation->failed();
2796 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
2797 Parse::RecDescent::_tracefirst($text))
2798 if defined $::RD_TRACE;
2802 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
2804 Parse::RecDescent::_tracefirst($text))
2805 if defined $::RD_TRACE;
2806 push @item, $item{__PATTERN1__}=$&;
2810 Parse::RecDescent::_trace(q{>>Matched production: [/ELSE\\s+NULL/i]<<},
2811 Parse::RecDescent::_tracefirst($text),
2812 q{_alternation_2_of_production_1_of_rule_case_expression},
2814 if defined $::RD_TRACE;
2820 while (!$_matched && !$commit)
2823 Parse::RecDescent::_trace(q{Trying production: [/ELSE/i result_expression]},
2824 Parse::RecDescent::_tracefirst($_[1]),
2825 q{_alternation_2_of_production_1_of_rule_case_expression},
2827 if defined $::RD_TRACE;
2828 my $thisprod = $thisrule->{"prods"}[1];
2831 @item = (q{_alternation_2_of_production_1_of_rule_case_expression});
2832 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_case_expression});
2836 Parse::RecDescent::_trace(q{Trying terminal: [/ELSE/i]}, Parse::RecDescent::_tracefirst($text),
2837 q{_alternation_2_of_production_1_of_rule_case_expression},
2839 if defined $::RD_TRACE;
2841 $expectation->is(q{})->at($text);
2844 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ELSE)//i)
2847 $expectation->failed();
2848 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
2849 Parse::RecDescent::_tracefirst($text))
2850 if defined $::RD_TRACE;
2854 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
2856 Parse::RecDescent::_tracefirst($text))
2857 if defined $::RD_TRACE;
2858 push @item, $item{__PATTERN1__}=$&;
2861 Parse::RecDescent::_trace(q{Trying subrule: [result_expression]},
2862 Parse::RecDescent::_tracefirst($text),
2863 q{_alternation_2_of_production_1_of_rule_case_expression},
2865 if defined $::RD_TRACE;
2866 if (1) { no strict qw{refs};
2867 $expectation->is(q{result_expression})->at($text);
2868 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::result_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
2871 Parse::RecDescent::_trace(q{<<Didn't match subrule: [result_expression]>>},
2872 Parse::RecDescent::_tracefirst($text),
2873 q{_alternation_2_of_production_1_of_rule_case_expression},
2875 if defined $::RD_TRACE;
2876 $expectation->failed();
2879 Parse::RecDescent::_trace(q{>>Matched subrule: [result_expression]<< (return value: [}
2882 Parse::RecDescent::_tracefirst($text),
2883 q{_alternation_2_of_production_1_of_rule_case_expression},
2885 if defined $::RD_TRACE;
2886 $item{q{result_expression}} = $_tok;
2892 Parse::RecDescent::_trace(q{>>Matched production: [/ELSE/i result_expression]<<},
2893 Parse::RecDescent::_tracefirst($text),
2894 q{_alternation_2_of_production_1_of_rule_case_expression},
2896 if defined $::RD_TRACE;
2902 unless ( $_matched || defined($return) || defined($score) )
2906 $_[1] = $text; # NOT SURE THIS IS NEEDED
2907 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
2908 Parse::RecDescent::_tracefirst($_[1]),
2909 q{_alternation_2_of_production_1_of_rule_case_expression},
2911 if defined $::RD_TRACE;
2914 if (!defined($return) && defined($score))
2916 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
2917 q{_alternation_2_of_production_1_of_rule_case_expression},
2919 if defined $::RD_TRACE;
2920 $return = $score_return;
2922 splice @{$thisparser->{errors}}, $err_at;
2923 $return = $item[$#item] unless defined $return;
2924 if (defined $::RD_TRACE)
2926 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2927 $return . q{])}, "",
2928 q{_alternation_2_of_production_1_of_rule_case_expression},
2930 Parse::RecDescent::_trace(q{(consumed: [} .
2931 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2932 Parse::RecDescent::_tracefirst($text),
2933 , q{_alternation_2_of_production_1_of_rule_case_expression},
2940 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
2941 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::subject_expression
2943 my $thisparser = $_[0];
2944 use vars q{$tracelevel};
2945 local $tracelevel = ($tracelevel||0)+1;
2947 my $thisrule = $thisparser->{"rules"}{"subject_expression"};
2949 Parse::RecDescent::_trace(q{Trying rule: [subject_expression]},
2950 Parse::RecDescent::_tracefirst($_[1]),
2951 q{subject_expression},
2953 if defined $::RD_TRACE;
2956 my $err_at = @{$thisparser->{errors}};
2966 my $repeating = defined($_[2]) && $_[2];
2967 my $_noactions = defined($_[3]) && $_[3];
2968 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
2969 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
2972 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
2973 $expectation->at($_[1]);
2976 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2980 while (!$_matched && !$commit)
2983 Parse::RecDescent::_trace(q{Trying production: [expression]},
2984 Parse::RecDescent::_tracefirst($_[1]),
2985 q{subject_expression},
2987 if defined $::RD_TRACE;
2988 my $thisprod = $thisrule->{"prods"}[0];
2991 @item = (q{subject_expression});
2992 %item = (__RULE__ => q{subject_expression});
2996 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
2997 Parse::RecDescent::_tracefirst($text),
2998 q{subject_expression},
3000 if defined $::RD_TRACE;
3001 if (1) { no strict qw{refs};
3002 $expectation->is(q{})->at($text);
3003 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
3006 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
3007 Parse::RecDescent::_tracefirst($text),
3008 q{subject_expression},
3010 if defined $::RD_TRACE;
3011 $expectation->failed();
3014 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
3017 Parse::RecDescent::_tracefirst($text),
3018 q{subject_expression},
3020 if defined $::RD_TRACE;
3021 $item{q{expression}} = $_tok;
3026 Parse::RecDescent::_trace(q{Trying action},
3027 Parse::RecDescent::_tracefirst($text),
3028 q{subject_expression},
3030 if defined $::RD_TRACE;
3033 $_tok = ($_noactions) ? 0 : do { # with static result type that is a used-defined struct type
3035 unless (defined $_tok)
3037 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
3038 if defined $::RD_TRACE;
3041 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
3043 Parse::RecDescent::_tracefirst($text))
3044 if defined $::RD_TRACE;
3046 $item{__ACTION1__}=$_tok;
3050 Parse::RecDescent::_trace(q{>>Matched production: [expression]<<},
3051 Parse::RecDescent::_tracefirst($text),
3052 q{subject_expression},
3054 if defined $::RD_TRACE;
3060 unless ( $_matched || defined($return) || defined($score) )
3064 $_[1] = $text; # NOT SURE THIS IS NEEDED
3065 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
3066 Parse::RecDescent::_tracefirst($_[1]),
3067 q{subject_expression},
3069 if defined $::RD_TRACE;
3072 if (!defined($return) && defined($score))
3074 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
3075 q{subject_expression},
3077 if defined $::RD_TRACE;
3078 $return = $score_return;
3080 splice @{$thisparser->{errors}}, $err_at;
3081 $return = $item[$#item] unless defined $return;
3082 if (defined $::RD_TRACE)
3084 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
3085 $return . q{])}, "",
3086 q{subject_expression},
3088 Parse::RecDescent::_trace(q{(consumed: [} .
3089 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
3090 Parse::RecDescent::_tracefirst($text),
3091 , q{subject_expression},
3098 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
3099 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_desc_option
3101 my $thisparser = $_[0];
3102 use vars q{$tracelevel};
3103 local $tracelevel = ($tracelevel||0)+1;
3105 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_desc_option"};
3107 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_desc_option]},
3108 Parse::RecDescent::_tracefirst($_[1]),
3109 q{_alternation_1_of_production_1_of_rule_desc_option},
3111 if defined $::RD_TRACE;
3114 my $err_at = @{$thisparser->{errors}};
3124 my $repeating = defined($_[2]) && $_[2];
3125 my $_noactions = defined($_[3]) && $_[3];
3126 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
3127 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
3130 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
3131 $expectation->at($_[1]);
3134 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
3138 while (!$_matched && !$commit)
3141 Parse::RecDescent::_trace(q{Trying production: [/NULLS\\s+FIRST/i]},
3142 Parse::RecDescent::_tracefirst($_[1]),
3143 q{_alternation_1_of_production_1_of_rule_desc_option},
3145 if defined $::RD_TRACE;
3146 my $thisprod = $thisrule->{"prods"}[0];
3149 @item = (q{_alternation_1_of_production_1_of_rule_desc_option});
3150 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_desc_option});
3154 Parse::RecDescent::_trace(q{Trying terminal: [/NULLS\\s+FIRST/i]}, Parse::RecDescent::_tracefirst($text),
3155 q{_alternation_1_of_production_1_of_rule_desc_option},
3157 if defined $::RD_TRACE;
3159 $expectation->is(q{})->at($text);
3162 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULLS\s+FIRST)//i)
3165 $expectation->failed();
3166 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
3167 Parse::RecDescent::_tracefirst($text))
3168 if defined $::RD_TRACE;
3172 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3174 Parse::RecDescent::_tracefirst($text))
3175 if defined $::RD_TRACE;
3176 push @item, $item{__PATTERN1__}=$&;
3180 Parse::RecDescent::_trace(q{>>Matched production: [/NULLS\\s+FIRST/i]<<},
3181 Parse::RecDescent::_tracefirst($text),
3182 q{_alternation_1_of_production_1_of_rule_desc_option},
3184 if defined $::RD_TRACE;
3190 while (!$_matched && !$commit)
3193 Parse::RecDescent::_trace(q{Trying production: [/NULLS\\s+LAST/i]},
3194 Parse::RecDescent::_tracefirst($_[1]),
3195 q{_alternation_1_of_production_1_of_rule_desc_option},
3197 if defined $::RD_TRACE;
3198 my $thisprod = $thisrule->{"prods"}[1];
3201 @item = (q{_alternation_1_of_production_1_of_rule_desc_option});
3202 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_desc_option});
3206 Parse::RecDescent::_trace(q{Trying terminal: [/NULLS\\s+LAST/i]}, Parse::RecDescent::_tracefirst($text),
3207 q{_alternation_1_of_production_1_of_rule_desc_option},
3209 if defined $::RD_TRACE;
3211 $expectation->is(q{})->at($text);
3214 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULLS\s+LAST)//i)
3217 $expectation->failed();
3218 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
3219 Parse::RecDescent::_tracefirst($text))
3220 if defined $::RD_TRACE;
3224 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3226 Parse::RecDescent::_tracefirst($text))
3227 if defined $::RD_TRACE;
3228 push @item, $item{__PATTERN1__}=$&;
3232 Parse::RecDescent::_trace(q{>>Matched production: [/NULLS\\s+LAST/i]<<},
3233 Parse::RecDescent::_tracefirst($text),
3234 q{_alternation_1_of_production_1_of_rule_desc_option},
3236 if defined $::RD_TRACE;
3242 unless ( $_matched || defined($return) || defined($score) )
3246 $_[1] = $text; # NOT SURE THIS IS NEEDED
3247 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
3248 Parse::RecDescent::_tracefirst($_[1]),
3249 q{_alternation_1_of_production_1_of_rule_desc_option},
3251 if defined $::RD_TRACE;
3254 if (!defined($return) && defined($score))
3256 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
3257 q{_alternation_1_of_production_1_of_rule_desc_option},
3259 if defined $::RD_TRACE;
3260 $return = $score_return;
3262 splice @{$thisparser->{errors}}, $err_at;
3263 $return = $item[$#item] unless defined $return;
3264 if (defined $::RD_TRACE)
3266 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
3267 $return . q{])}, "",
3268 q{_alternation_1_of_production_1_of_rule_desc_option},
3270 Parse::RecDescent::_trace(q{(consumed: [} .
3271 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
3272 Parse::RecDescent::_tracefirst($text),
3273 , q{_alternation_1_of_production_1_of_rule_desc_option},
3280 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
3281 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::view_name
3283 my $thisparser = $_[0];
3284 use vars q{$tracelevel};
3285 local $tracelevel = ($tracelevel||0)+1;
3287 my $thisrule = $thisparser->{"rules"}{"view_name"};
3289 Parse::RecDescent::_trace(q{Trying rule: [view_name]},
3290 Parse::RecDescent::_tracefirst($_[1]),
3293 if defined $::RD_TRACE;
3296 my $err_at = @{$thisparser->{errors}};
3306 my $repeating = defined($_[2]) && $_[2];
3307 my $_noactions = defined($_[3]) && $_[3];
3308 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
3309 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
3312 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
3313 $expectation->at($_[1]);
3316 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
3320 while (!$_matched && !$commit)
3323 Parse::RecDescent::_trace(q{Trying production: [SCHEMA '.' NAME]},
3324 Parse::RecDescent::_tracefirst($_[1]),
3327 if defined $::RD_TRACE;
3328 my $thisprod = $thisrule->{"prods"}[0];
3331 @item = (q{view_name});
3332 %item = (__RULE__ => q{view_name});
3336 Parse::RecDescent::_trace(q{Trying subrule: [SCHEMA]},
3337 Parse::RecDescent::_tracefirst($text),
3340 if defined $::RD_TRACE;
3341 if (1) { no strict qw{refs};
3342 $expectation->is(q{})->at($text);
3343 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::SCHEMA($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
3346 Parse::RecDescent::_trace(q{<<Didn't match subrule: [SCHEMA]>>},
3347 Parse::RecDescent::_tracefirst($text),
3350 if defined $::RD_TRACE;
3351 $expectation->failed();
3354 Parse::RecDescent::_trace(q{>>Matched subrule: [SCHEMA]<< (return value: [}
3357 Parse::RecDescent::_tracefirst($text),
3360 if defined $::RD_TRACE;
3361 $item{q{SCHEMA}} = $_tok;
3366 Parse::RecDescent::_trace(q{Trying terminal: ['.']},
3367 Parse::RecDescent::_tracefirst($text),
3370 if defined $::RD_TRACE;
3372 $expectation->is(q{'.'})->at($text);
3375 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\.//)
3378 $expectation->failed();
3379 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
3380 Parse::RecDescent::_tracefirst($text))
3381 if defined $::RD_TRACE;
3384 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3386 Parse::RecDescent::_tracefirst($text))
3387 if defined $::RD_TRACE;
3388 push @item, $item{__STRING1__}=$&;
3391 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
3392 Parse::RecDescent::_tracefirst($text),
3395 if defined $::RD_TRACE;
3396 if (1) { no strict qw{refs};
3397 $expectation->is(q{NAME})->at($text);
3398 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
3401 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
3402 Parse::RecDescent::_tracefirst($text),
3405 if defined $::RD_TRACE;
3406 $expectation->failed();
3409 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
3412 Parse::RecDescent::_tracefirst($text),
3415 if defined $::RD_TRACE;
3416 $item{q{NAME}} = $_tok;
3421 Parse::RecDescent::_trace(q{Trying action},
3422 Parse::RecDescent::_tracefirst($text),
3425 if defined $::RD_TRACE;
3428 $_tok = ($_noactions) ? 0 : do { $return = { schema => $item[1], name => $item[3] } };
3429 unless (defined $_tok)
3431 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
3432 if defined $::RD_TRACE;
3435 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
3437 Parse::RecDescent::_tracefirst($text))
3438 if defined $::RD_TRACE;
3440 $item{__ACTION1__}=$_tok;
3444 Parse::RecDescent::_trace(q{>>Matched production: [SCHEMA '.' NAME]<<},
3445 Parse::RecDescent::_tracefirst($text),
3448 if defined $::RD_TRACE;
3454 while (!$_matched && !$commit)
3457 Parse::RecDescent::_trace(q{Trying production: [NAME]},
3458 Parse::RecDescent::_tracefirst($_[1]),
3461 if defined $::RD_TRACE;
3462 my $thisprod = $thisrule->{"prods"}[1];
3465 @item = (q{view_name});
3466 %item = (__RULE__ => q{view_name});
3470 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
3471 Parse::RecDescent::_tracefirst($text),
3474 if defined $::RD_TRACE;
3475 if (1) { no strict qw{refs};
3476 $expectation->is(q{})->at($text);
3477 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
3480 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
3481 Parse::RecDescent::_tracefirst($text),
3484 if defined $::RD_TRACE;
3485 $expectation->failed();
3488 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
3491 Parse::RecDescent::_tracefirst($text),
3494 if defined $::RD_TRACE;
3495 $item{q{NAME}} = $_tok;
3500 Parse::RecDescent::_trace(q{Trying action},
3501 Parse::RecDescent::_tracefirst($text),
3504 if defined $::RD_TRACE;
3507 $_tok = ($_noactions) ? 0 : do { $return = { name => $item[1] } };
3508 unless (defined $_tok)
3510 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
3511 if defined $::RD_TRACE;
3514 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
3516 Parse::RecDescent::_tracefirst($text))
3517 if defined $::RD_TRACE;
3519 $item{__ACTION1__}=$_tok;
3523 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
3524 Parse::RecDescent::_tracefirst($text),
3527 if defined $::RD_TRACE;
3533 unless ( $_matched || defined($return) || defined($score) )
3537 $_[1] = $text; # NOT SURE THIS IS NEEDED
3538 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
3539 Parse::RecDescent::_tracefirst($_[1]),
3542 if defined $::RD_TRACE;
3545 if (!defined($return) && defined($score))
3547 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
3550 if defined $::RD_TRACE;
3551 $return = $score_return;
3553 splice @{$thisparser->{errors}}, $err_at;
3554 $return = $item[$#item] unless defined $return;
3555 if (defined $::RD_TRACE)
3557 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
3558 $return . q{])}, "",
3561 Parse::RecDescent::_trace(q{(consumed: [} .
3562 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
3563 Parse::RecDescent::_tracefirst($text),
3571 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
3572 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_cond
3574 my $thisparser = $_[0];
3575 use vars q{$tracelevel};
3576 local $tracelevel = ($tracelevel||0)+1;
3578 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_cond"};
3580 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_cond]},
3581 Parse::RecDescent::_tracefirst($_[1]),
3582 q{_alternation_1_of_production_1_of_rule_cond},
3584 if defined $::RD_TRACE;
3587 my $err_at = @{$thisparser->{errors}};
3597 my $repeating = defined($_[2]) && $_[2];
3598 my $_noactions = defined($_[3]) && $_[3];
3599 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
3600 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
3603 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
3604 $expectation->at($_[1]);
3607 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
3611 while (!$_matched && !$commit)
3614 Parse::RecDescent::_trace(q{Trying production: [/AND/i]},
3615 Parse::RecDescent::_tracefirst($_[1]),
3616 q{_alternation_1_of_production_1_of_rule_cond},
3618 if defined $::RD_TRACE;
3619 my $thisprod = $thisrule->{"prods"}[0];
3622 @item = (q{_alternation_1_of_production_1_of_rule_cond});
3623 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_cond});
3627 Parse::RecDescent::_trace(q{Trying terminal: [/AND/i]}, Parse::RecDescent::_tracefirst($text),
3628 q{_alternation_1_of_production_1_of_rule_cond},
3630 if defined $::RD_TRACE;
3632 $expectation->is(q{})->at($text);
3635 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AND)//i)
3638 $expectation->failed();
3639 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
3640 Parse::RecDescent::_tracefirst($text))
3641 if defined $::RD_TRACE;
3645 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3647 Parse::RecDescent::_tracefirst($text))
3648 if defined $::RD_TRACE;
3649 push @item, $item{__PATTERN1__}=$&;
3653 Parse::RecDescent::_trace(q{>>Matched production: [/AND/i]<<},
3654 Parse::RecDescent::_tracefirst($text),
3655 q{_alternation_1_of_production_1_of_rule_cond},
3657 if defined $::RD_TRACE;
3663 while (!$_matched && !$commit)
3666 Parse::RecDescent::_trace(q{Trying production: [/OR/i]},
3667 Parse::RecDescent::_tracefirst($_[1]),
3668 q{_alternation_1_of_production_1_of_rule_cond},
3670 if defined $::RD_TRACE;
3671 my $thisprod = $thisrule->{"prods"}[1];
3674 @item = (q{_alternation_1_of_production_1_of_rule_cond});
3675 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_cond});
3679 Parse::RecDescent::_trace(q{Trying terminal: [/OR/i]}, Parse::RecDescent::_tracefirst($text),
3680 q{_alternation_1_of_production_1_of_rule_cond},
3682 if defined $::RD_TRACE;
3684 $expectation->is(q{})->at($text);
3687 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:OR)//i)
3690 $expectation->failed();
3691 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
3692 Parse::RecDescent::_tracefirst($text))
3693 if defined $::RD_TRACE;
3697 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3699 Parse::RecDescent::_tracefirst($text))
3700 if defined $::RD_TRACE;
3701 push @item, $item{__PATTERN1__}=$&;
3705 Parse::RecDescent::_trace(q{>>Matched production: [/OR/i]<<},
3706 Parse::RecDescent::_tracefirst($text),
3707 q{_alternation_1_of_production_1_of_rule_cond},
3709 if defined $::RD_TRACE;
3715 unless ( $_matched || defined($return) || defined($score) )
3719 $_[1] = $text; # NOT SURE THIS IS NEEDED
3720 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
3721 Parse::RecDescent::_tracefirst($_[1]),
3722 q{_alternation_1_of_production_1_of_rule_cond},
3724 if defined $::RD_TRACE;
3727 if (!defined($return) && defined($score))
3729 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
3730 q{_alternation_1_of_production_1_of_rule_cond},
3732 if defined $::RD_TRACE;
3733 $return = $score_return;
3735 splice @{$thisparser->{errors}}, $err_at;
3736 $return = $item[$#item] unless defined $return;
3737 if (defined $::RD_TRACE)
3739 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
3740 $return . q{])}, "",
3741 q{_alternation_1_of_production_1_of_rule_cond},
3743 Parse::RecDescent::_trace(q{(consumed: [} .
3744 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
3745 Parse::RecDescent::_tracefirst($text),
3746 , q{_alternation_1_of_production_1_of_rule_cond},
3753 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
3754 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::numbering_function
3756 my $thisparser = $_[0];
3757 use vars q{$tracelevel};
3758 local $tracelevel = ($tracelevel||0)+1;
3760 my $thisrule = $thisparser->{"rules"}{"numbering_function"};
3762 Parse::RecDescent::_trace(q{Trying rule: [numbering_function]},
3763 Parse::RecDescent::_tracefirst($_[1]),
3764 q{numbering_function},
3766 if defined $::RD_TRACE;
3769 my $err_at = @{$thisparser->{errors}};
3779 my $repeating = defined($_[2]) && $_[2];
3780 my $_noactions = defined($_[3]) && $_[3];
3781 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
3782 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
3785 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
3786 $expectation->at($_[1]);
3789 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
3793 while (!$_matched && !$commit)
3796 Parse::RecDescent::_trace(q{Trying production: [/ROW_NUMBER|ROWNUMBER/i '()' /OVER/i '(' window_partition_clause window_order_clause /RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i, or window_aggregation_group_clause ')']},
3797 Parse::RecDescent::_tracefirst($_[1]),
3798 q{numbering_function},
3800 if defined $::RD_TRACE;
3801 my $thisprod = $thisrule->{"prods"}[0];
3804 @item = (q{numbering_function});
3805 %item = (__RULE__ => q{numbering_function});
3809 Parse::RecDescent::_trace(q{Trying terminal: [/ROW_NUMBER|ROWNUMBER/i]}, Parse::RecDescent::_tracefirst($text),
3810 q{numbering_function},
3812 if defined $::RD_TRACE;
3814 $expectation->is(q{})->at($text);
3817 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ROW_NUMBER|ROWNUMBER)//i)
3820 $expectation->failed();
3821 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
3822 Parse::RecDescent::_tracefirst($text))
3823 if defined $::RD_TRACE;
3827 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3829 Parse::RecDescent::_tracefirst($text))
3830 if defined $::RD_TRACE;
3831 push @item, $item{__PATTERN1__}=$&;
3834 Parse::RecDescent::_trace(q{Trying terminal: ['()']},
3835 Parse::RecDescent::_tracefirst($text),
3836 q{numbering_function},
3838 if defined $::RD_TRACE;
3840 $expectation->is(q{'()'})->at($text);
3843 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(\)//)
3846 $expectation->failed();
3847 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
3848 Parse::RecDescent::_tracefirst($text))
3849 if defined $::RD_TRACE;
3852 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3854 Parse::RecDescent::_tracefirst($text))
3855 if defined $::RD_TRACE;
3856 push @item, $item{__STRING1__}=$&;
3859 Parse::RecDescent::_trace(q{Trying terminal: [/OVER/i]}, Parse::RecDescent::_tracefirst($text),
3860 q{numbering_function},
3862 if defined $::RD_TRACE;
3864 $expectation->is(q{/OVER/i})->at($text);
3867 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:OVER)//i)
3870 $expectation->failed();
3871 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
3872 Parse::RecDescent::_tracefirst($text))
3873 if defined $::RD_TRACE;
3877 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3879 Parse::RecDescent::_tracefirst($text))
3880 if defined $::RD_TRACE;
3881 push @item, $item{__PATTERN2__}=$&;
3884 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
3885 Parse::RecDescent::_tracefirst($text),
3886 q{numbering_function},
3888 if defined $::RD_TRACE;
3890 $expectation->is(q{'('})->at($text);
3893 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
3896 $expectation->failed();
3897 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
3898 Parse::RecDescent::_tracefirst($text))
3899 if defined $::RD_TRACE;
3902 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
3904 Parse::RecDescent::_tracefirst($text))
3905 if defined $::RD_TRACE;
3906 push @item, $item{__STRING2__}=$&;
3909 Parse::RecDescent::_trace(q{Trying repeated subrule: [window_partition_clause]},
3910 Parse::RecDescent::_tracefirst($text),
3911 q{numbering_function},
3913 if defined $::RD_TRACE;
3914 $expectation->is(q{window_partition_clause})->at($text);
3916 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_partition_clause, 0, 1, $_noactions,$expectation,undef)))
3918 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [window_partition_clause]>>},
3919 Parse::RecDescent::_tracefirst($text),
3920 q{numbering_function},
3922 if defined $::RD_TRACE;
3925 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [window_partition_clause]<< (}
3926 . @$_tok . q{ times)},
3928 Parse::RecDescent::_tracefirst($text),
3929 q{numbering_function},
3931 if defined $::RD_TRACE;
3932 $item{q{window_partition_clause(?)}} = $_tok;
3937 Parse::RecDescent::_trace(q{Trying repeated subrule: [window_order_clause]},
3938 Parse::RecDescent::_tracefirst($text),
3939 q{numbering_function},
3941 if defined $::RD_TRACE;
3942 $expectation->is(q{window_order_clause})->at($text);
3944 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_numbering_function, 0, 1, $_noactions,$expectation,undef)))
3946 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [window_order_clause]>>},
3947 Parse::RecDescent::_tracefirst($text),
3948 q{numbering_function},
3950 if defined $::RD_TRACE;
3953 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule_numbering_function]<< (}
3954 . @$_tok . q{ times)},
3956 Parse::RecDescent::_tracefirst($text),
3957 q{numbering_function},
3959 if defined $::RD_TRACE;
3960 $item{q{_alternation_1_of_production_1_of_rule_numbering_function(?)}} = $_tok;
3965 Parse::RecDescent::_trace(q{Trying repeated subrule: [/RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i, or window_aggregation_group_clause]},
3966 Parse::RecDescent::_tracefirst($text),
3967 q{numbering_function},
3969 if defined $::RD_TRACE;
3970 $expectation->is(q{/RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i, or window_aggregation_group_clause})->at($text);
3972 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_numbering_function, 0, 1, $_noactions,$expectation,undef)))
3974 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i, or window_aggregation_group_clause]>>},
3975 Parse::RecDescent::_tracefirst($text),
3976 q{numbering_function},
3978 if defined $::RD_TRACE;
3981 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_2_of_production_1_of_rule_numbering_function]<< (}
3982 . @$_tok . q{ times)},
3984 Parse::RecDescent::_tracefirst($text),
3985 q{numbering_function},
3987 if defined $::RD_TRACE;
3988 $item{q{_alternation_2_of_production_1_of_rule_numbering_function(?)}} = $_tok;
3993 Parse::RecDescent::_trace(q{Trying terminal: [')']},
3994 Parse::RecDescent::_tracefirst($text),
3995 q{numbering_function},
3997 if defined $::RD_TRACE;
3999 $expectation->is(q{')'})->at($text);
4002 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
4005 $expectation->failed();
4006 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
4007 Parse::RecDescent::_tracefirst($text))
4008 if defined $::RD_TRACE;
4011 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4013 Parse::RecDescent::_tracefirst($text))
4014 if defined $::RD_TRACE;
4015 push @item, $item{__STRING3__}=$&;
4019 Parse::RecDescent::_trace(q{>>Matched production: [/ROW_NUMBER|ROWNUMBER/i '()' /OVER/i '(' window_partition_clause window_order_clause /RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i, or window_aggregation_group_clause ')']<<},
4020 Parse::RecDescent::_tracefirst($text),
4021 q{numbering_function},
4023 if defined $::RD_TRACE;
4029 unless ( $_matched || defined($return) || defined($score) )
4033 $_[1] = $text; # NOT SURE THIS IS NEEDED
4034 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
4035 Parse::RecDescent::_tracefirst($_[1]),
4036 q{numbering_function},
4038 if defined $::RD_TRACE;
4041 if (!defined($return) && defined($score))
4043 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
4044 q{numbering_function},
4046 if defined $::RD_TRACE;
4047 $return = $score_return;
4049 splice @{$thisparser->{errors}}, $err_at;
4050 $return = $item[$#item] unless defined $return;
4051 if (defined $::RD_TRACE)
4053 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
4054 $return . q{])}, "",
4055 q{numbering_function},
4057 Parse::RecDescent::_trace(q{(consumed: [} .
4058 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
4059 Parse::RecDescent::_tracefirst($text),
4060 , q{numbering_function},
4067 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
4068 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_window_aggregation_group_clause
4070 my $thisparser = $_[0];
4071 use vars q{$tracelevel};
4072 local $tracelevel = ($tracelevel||0)+1;
4074 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_window_aggregation_group_clause"};
4076 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_window_aggregation_group_clause]},
4077 Parse::RecDescent::_tracefirst($_[1]),
4078 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4080 if defined $::RD_TRACE;
4083 my $err_at = @{$thisparser->{errors}};
4093 my $repeating = defined($_[2]) && $_[2];
4094 my $_noactions = defined($_[3]) && $_[3];
4095 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
4096 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
4099 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
4100 $expectation->at($_[1]);
4103 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
4107 while (!$_matched && !$commit)
4110 Parse::RecDescent::_trace(q{Trying production: [/ROWS/i]},
4111 Parse::RecDescent::_tracefirst($_[1]),
4112 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4114 if defined $::RD_TRACE;
4115 my $thisprod = $thisrule->{"prods"}[0];
4118 @item = (q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause});
4119 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause});
4123 Parse::RecDescent::_trace(q{Trying terminal: [/ROWS/i]}, Parse::RecDescent::_tracefirst($text),
4124 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4126 if defined $::RD_TRACE;
4128 $expectation->is(q{})->at($text);
4131 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ROWS)//i)
4134 $expectation->failed();
4135 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4136 Parse::RecDescent::_tracefirst($text))
4137 if defined $::RD_TRACE;
4141 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4143 Parse::RecDescent::_tracefirst($text))
4144 if defined $::RD_TRACE;
4145 push @item, $item{__PATTERN1__}=$&;
4149 Parse::RecDescent::_trace(q{>>Matched production: [/ROWS/i]<<},
4150 Parse::RecDescent::_tracefirst($text),
4151 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4153 if defined $::RD_TRACE;
4159 while (!$_matched && !$commit)
4162 Parse::RecDescent::_trace(q{Trying production: [/RANGE/i]},
4163 Parse::RecDescent::_tracefirst($_[1]),
4164 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4166 if defined $::RD_TRACE;
4167 my $thisprod = $thisrule->{"prods"}[1];
4170 @item = (q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause});
4171 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause});
4175 Parse::RecDescent::_trace(q{Trying terminal: [/RANGE/i]}, Parse::RecDescent::_tracefirst($text),
4176 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4178 if defined $::RD_TRACE;
4180 $expectation->is(q{})->at($text);
4183 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RANGE)//i)
4186 $expectation->failed();
4187 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4188 Parse::RecDescent::_tracefirst($text))
4189 if defined $::RD_TRACE;
4193 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4195 Parse::RecDescent::_tracefirst($text))
4196 if defined $::RD_TRACE;
4197 push @item, $item{__PATTERN1__}=$&;
4201 Parse::RecDescent::_trace(q{>>Matched production: [/RANGE/i]<<},
4202 Parse::RecDescent::_tracefirst($text),
4203 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4205 if defined $::RD_TRACE;
4211 unless ( $_matched || defined($return) || defined($score) )
4215 $_[1] = $text; # NOT SURE THIS IS NEEDED
4216 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
4217 Parse::RecDescent::_tracefirst($_[1]),
4218 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4220 if defined $::RD_TRACE;
4223 if (!defined($return) && defined($score))
4225 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
4226 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4228 if defined $::RD_TRACE;
4229 $return = $score_return;
4231 splice @{$thisparser->{errors}}, $err_at;
4232 $return = $item[$#item] unless defined $return;
4233 if (defined $::RD_TRACE)
4235 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
4236 $return . q{])}, "",
4237 q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4239 Parse::RecDescent::_trace(q{(consumed: [} .
4240 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
4241 Parse::RecDescent::_tracefirst($text),
4242 , q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause},
4249 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
4250 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_bound1
4252 my $thisparser = $_[0];
4253 use vars q{$tracelevel};
4254 local $tracelevel = ($tracelevel||0)+1;
4256 my $thisrule = $thisparser->{"rules"}{"group_bound1"};
4258 Parse::RecDescent::_trace(q{Trying rule: [group_bound1]},
4259 Parse::RecDescent::_tracefirst($_[1]),
4262 if defined $::RD_TRACE;
4265 my $err_at = @{$thisparser->{errors}};
4275 my $repeating = defined($_[2]) && $_[2];
4276 my $_noactions = defined($_[3]) && $_[3];
4277 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
4278 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
4281 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
4282 $expectation->at($_[1]);
4285 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
4289 while (!$_matched && !$commit)
4292 Parse::RecDescent::_trace(q{Trying production: [/UNBOUNDED\\s+PRECEDING/i]},
4293 Parse::RecDescent::_tracefirst($_[1]),
4296 if defined $::RD_TRACE;
4297 my $thisprod = $thisrule->{"prods"}[0];
4300 @item = (q{group_bound1});
4301 %item = (__RULE__ => q{group_bound1});
4305 Parse::RecDescent::_trace(q{Trying terminal: [/UNBOUNDED\\s+PRECEDING/i]}, Parse::RecDescent::_tracefirst($text),
4308 if defined $::RD_TRACE;
4310 $expectation->is(q{})->at($text);
4313 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UNBOUNDED\s+PRECEDING)//i)
4316 $expectation->failed();
4317 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4318 Parse::RecDescent::_tracefirst($text))
4319 if defined $::RD_TRACE;
4323 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4325 Parse::RecDescent::_tracefirst($text))
4326 if defined $::RD_TRACE;
4327 push @item, $item{__PATTERN1__}=$&;
4331 Parse::RecDescent::_trace(q{>>Matched production: [/UNBOUNDED\\s+PRECEDING/i]<<},
4332 Parse::RecDescent::_tracefirst($text),
4335 if defined $::RD_TRACE;
4341 while (!$_matched && !$commit)
4344 Parse::RecDescent::_trace(q{Trying production: [unsigned_constant /PRECEDING/i]},
4345 Parse::RecDescent::_tracefirst($_[1]),
4348 if defined $::RD_TRACE;
4349 my $thisprod = $thisrule->{"prods"}[1];
4352 @item = (q{group_bound1});
4353 %item = (__RULE__ => q{group_bound1});
4357 Parse::RecDescent::_trace(q{Trying subrule: [unsigned_constant]},
4358 Parse::RecDescent::_tracefirst($text),
4361 if defined $::RD_TRACE;
4362 if (1) { no strict qw{refs};
4363 $expectation->is(q{})->at($text);
4364 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::unsigned_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
4367 Parse::RecDescent::_trace(q{<<Didn't match subrule: [unsigned_constant]>>},
4368 Parse::RecDescent::_tracefirst($text),
4371 if defined $::RD_TRACE;
4372 $expectation->failed();
4375 Parse::RecDescent::_trace(q{>>Matched subrule: [unsigned_constant]<< (return value: [}
4378 Parse::RecDescent::_tracefirst($text),
4381 if defined $::RD_TRACE;
4382 $item{q{unsigned_constant}} = $_tok;
4387 Parse::RecDescent::_trace(q{Trying terminal: [/PRECEDING/i]}, Parse::RecDescent::_tracefirst($text),
4390 if defined $::RD_TRACE;
4392 $expectation->is(q{/PRECEDING/i})->at($text);
4395 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:PRECEDING)//i)
4398 $expectation->failed();
4399 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4400 Parse::RecDescent::_tracefirst($text))
4401 if defined $::RD_TRACE;
4405 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4407 Parse::RecDescent::_tracefirst($text))
4408 if defined $::RD_TRACE;
4409 push @item, $item{__PATTERN1__}=$&;
4413 Parse::RecDescent::_trace(q{>>Matched production: [unsigned_constant /PRECEDING/i]<<},
4414 Parse::RecDescent::_tracefirst($text),
4417 if defined $::RD_TRACE;
4423 while (!$_matched && !$commit)
4426 Parse::RecDescent::_trace(q{Trying production: [unsigned_constant /FOLLOWING/i]},
4427 Parse::RecDescent::_tracefirst($_[1]),
4430 if defined $::RD_TRACE;
4431 my $thisprod = $thisrule->{"prods"}[2];
4434 @item = (q{group_bound1});
4435 %item = (__RULE__ => q{group_bound1});
4439 Parse::RecDescent::_trace(q{Trying subrule: [unsigned_constant]},
4440 Parse::RecDescent::_tracefirst($text),
4443 if defined $::RD_TRACE;
4444 if (1) { no strict qw{refs};
4445 $expectation->is(q{})->at($text);
4446 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::unsigned_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
4449 Parse::RecDescent::_trace(q{<<Didn't match subrule: [unsigned_constant]>>},
4450 Parse::RecDescent::_tracefirst($text),
4453 if defined $::RD_TRACE;
4454 $expectation->failed();
4457 Parse::RecDescent::_trace(q{>>Matched subrule: [unsigned_constant]<< (return value: [}
4460 Parse::RecDescent::_tracefirst($text),
4463 if defined $::RD_TRACE;
4464 $item{q{unsigned_constant}} = $_tok;
4469 Parse::RecDescent::_trace(q{Trying terminal: [/FOLLOWING/i]}, Parse::RecDescent::_tracefirst($text),
4472 if defined $::RD_TRACE;
4474 $expectation->is(q{/FOLLOWING/i})->at($text);
4477 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FOLLOWING)//i)
4480 $expectation->failed();
4481 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4482 Parse::RecDescent::_tracefirst($text))
4483 if defined $::RD_TRACE;
4487 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4489 Parse::RecDescent::_tracefirst($text))
4490 if defined $::RD_TRACE;
4491 push @item, $item{__PATTERN1__}=$&;
4495 Parse::RecDescent::_trace(q{>>Matched production: [unsigned_constant /FOLLOWING/i]<<},
4496 Parse::RecDescent::_tracefirst($text),
4499 if defined $::RD_TRACE;
4505 while (!$_matched && !$commit)
4508 Parse::RecDescent::_trace(q{Trying production: [/CURRENT\\s+ROW/i]},
4509 Parse::RecDescent::_tracefirst($_[1]),
4512 if defined $::RD_TRACE;
4513 my $thisprod = $thisrule->{"prods"}[3];
4516 @item = (q{group_bound1});
4517 %item = (__RULE__ => q{group_bound1});
4521 Parse::RecDescent::_trace(q{Trying terminal: [/CURRENT\\s+ROW/i]}, Parse::RecDescent::_tracefirst($text),
4524 if defined $::RD_TRACE;
4526 $expectation->is(q{})->at($text);
4529 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CURRENT\s+ROW)//i)
4532 $expectation->failed();
4533 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4534 Parse::RecDescent::_tracefirst($text))
4535 if defined $::RD_TRACE;
4539 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4541 Parse::RecDescent::_tracefirst($text))
4542 if defined $::RD_TRACE;
4543 push @item, $item{__PATTERN1__}=$&;
4547 Parse::RecDescent::_trace(q{>>Matched production: [/CURRENT\\s+ROW/i]<<},
4548 Parse::RecDescent::_tracefirst($text),
4551 if defined $::RD_TRACE;
4557 unless ( $_matched || defined($return) || defined($score) )
4561 $_[1] = $text; # NOT SURE THIS IS NEEDED
4562 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
4563 Parse::RecDescent::_tracefirst($_[1]),
4566 if defined $::RD_TRACE;
4569 if (!defined($return) && defined($score))
4571 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
4574 if defined $::RD_TRACE;
4575 $return = $score_return;
4577 splice @{$thisparser->{errors}}, $err_at;
4578 $return = $item[$#item] unless defined $return;
4579 if (defined $::RD_TRACE)
4581 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
4582 $return . q{])}, "",
4585 Parse::RecDescent::_trace(q{(consumed: [} .
4586 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
4587 Parse::RecDescent::_tracefirst($text),
4595 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
4596 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::OLAP_function
4598 my $thisparser = $_[0];
4599 use vars q{$tracelevel};
4600 local $tracelevel = ($tracelevel||0)+1;
4602 my $thisrule = $thisparser->{"rules"}{"OLAP_function"};
4604 Parse::RecDescent::_trace(q{Trying rule: [OLAP_function]},
4605 Parse::RecDescent::_tracefirst($_[1]),
4608 if defined $::RD_TRACE;
4611 my $err_at = @{$thisparser->{errors}};
4621 my $repeating = defined($_[2]) && $_[2];
4622 my $_noactions = defined($_[3]) && $_[3];
4623 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
4624 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
4627 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
4628 $expectation->at($_[1]);
4631 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
4635 while (!$_matched && !$commit)
4638 Parse::RecDescent::_trace(q{Trying production: [ranking_function]},
4639 Parse::RecDescent::_tracefirst($_[1]),
4642 if defined $::RD_TRACE;
4643 my $thisprod = $thisrule->{"prods"}[0];
4646 @item = (q{OLAP_function});
4647 %item = (__RULE__ => q{OLAP_function});
4651 Parse::RecDescent::_trace(q{Trying subrule: [ranking_function]},
4652 Parse::RecDescent::_tracefirst($text),
4655 if defined $::RD_TRACE;
4656 if (1) { no strict qw{refs};
4657 $expectation->is(q{})->at($text);
4658 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::ranking_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
4661 Parse::RecDescent::_trace(q{<<Didn't match subrule: [ranking_function]>>},
4662 Parse::RecDescent::_tracefirst($text),
4665 if defined $::RD_TRACE;
4666 $expectation->failed();
4669 Parse::RecDescent::_trace(q{>>Matched subrule: [ranking_function]<< (return value: [}
4672 Parse::RecDescent::_tracefirst($text),
4675 if defined $::RD_TRACE;
4676 $item{q{ranking_function}} = $_tok;
4682 Parse::RecDescent::_trace(q{>>Matched production: [ranking_function]<<},
4683 Parse::RecDescent::_tracefirst($text),
4686 if defined $::RD_TRACE;
4692 while (!$_matched && !$commit)
4695 Parse::RecDescent::_trace(q{Trying production: [numbering_function]},
4696 Parse::RecDescent::_tracefirst($_[1]),
4699 if defined $::RD_TRACE;
4700 my $thisprod = $thisrule->{"prods"}[1];
4703 @item = (q{OLAP_function});
4704 %item = (__RULE__ => q{OLAP_function});
4708 Parse::RecDescent::_trace(q{Trying subrule: [numbering_function]},
4709 Parse::RecDescent::_tracefirst($text),
4712 if defined $::RD_TRACE;
4713 if (1) { no strict qw{refs};
4714 $expectation->is(q{})->at($text);
4715 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::numbering_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
4718 Parse::RecDescent::_trace(q{<<Didn't match subrule: [numbering_function]>>},
4719 Parse::RecDescent::_tracefirst($text),
4722 if defined $::RD_TRACE;
4723 $expectation->failed();
4726 Parse::RecDescent::_trace(q{>>Matched subrule: [numbering_function]<< (return value: [}
4729 Parse::RecDescent::_tracefirst($text),
4732 if defined $::RD_TRACE;
4733 $item{q{numbering_function}} = $_tok;
4739 Parse::RecDescent::_trace(q{>>Matched production: [numbering_function]<<},
4740 Parse::RecDescent::_tracefirst($text),
4743 if defined $::RD_TRACE;
4749 while (!$_matched && !$commit)
4752 Parse::RecDescent::_trace(q{Trying production: [aggregation_function]},
4753 Parse::RecDescent::_tracefirst($_[1]),
4756 if defined $::RD_TRACE;
4757 my $thisprod = $thisrule->{"prods"}[2];
4760 @item = (q{OLAP_function});
4761 %item = (__RULE__ => q{OLAP_function});
4765 Parse::RecDescent::_trace(q{Trying subrule: [aggregation_function]},
4766 Parse::RecDescent::_tracefirst($text),
4769 if defined $::RD_TRACE;
4770 if (1) { no strict qw{refs};
4771 $expectation->is(q{})->at($text);
4772 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::aggregation_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
4775 Parse::RecDescent::_trace(q{<<Didn't match subrule: [aggregation_function]>>},
4776 Parse::RecDescent::_tracefirst($text),
4779 if defined $::RD_TRACE;
4780 $expectation->failed();
4783 Parse::RecDescent::_trace(q{>>Matched subrule: [aggregation_function]<< (return value: [}
4786 Parse::RecDescent::_tracefirst($text),
4789 if defined $::RD_TRACE;
4790 $item{q{aggregation_function}} = $_tok;
4796 Parse::RecDescent::_trace(q{>>Matched production: [aggregation_function]<<},
4797 Parse::RecDescent::_tracefirst($text),
4800 if defined $::RD_TRACE;
4806 unless ( $_matched || defined($return) || defined($score) )
4810 $_[1] = $text; # NOT SURE THIS IS NEEDED
4811 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
4812 Parse::RecDescent::_tracefirst($_[1]),
4815 if defined $::RD_TRACE;
4818 if (!defined($return) && defined($score))
4820 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
4823 if defined $::RD_TRACE;
4824 $return = $score_return;
4826 splice @{$thisparser->{errors}}, $err_at;
4827 $return = $item[$#item] unless defined $return;
4828 if (defined $::RD_TRACE)
4830 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
4831 $return . q{])}, "",
4834 Parse::RecDescent::_trace(q{(consumed: [} .
4835 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
4836 Parse::RecDescent::_tracefirst($text),
4844 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
4845 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_30_of_rule_sysibm_function
4847 my $thisparser = $_[0];
4848 use vars q{$tracelevel};
4849 local $tracelevel = ($tracelevel||0)+1;
4851 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_30_of_rule_sysibm_function"};
4853 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_30_of_rule_sysibm_function]},
4854 Parse::RecDescent::_tracefirst($_[1]),
4855 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4857 if defined $::RD_TRACE;
4860 my $err_at = @{$thisparser->{errors}};
4870 my $repeating = defined($_[2]) && $_[2];
4871 my $_noactions = defined($_[3]) && $_[3];
4872 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
4873 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
4876 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
4877 $expectation->at($_[1]);
4880 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
4884 while (!$_matched && !$commit)
4887 Parse::RecDescent::_trace(q{Trying production: [/DOUBLE/i]},
4888 Parse::RecDescent::_tracefirst($_[1]),
4889 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4891 if defined $::RD_TRACE;
4892 my $thisprod = $thisrule->{"prods"}[0];
4895 @item = (q{_alternation_1_of_production_30_of_rule_sysibm_function});
4896 %item = (__RULE__ => q{_alternation_1_of_production_30_of_rule_sysibm_function});
4900 Parse::RecDescent::_trace(q{Trying terminal: [/DOUBLE/i]}, Parse::RecDescent::_tracefirst($text),
4901 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4903 if defined $::RD_TRACE;
4905 $expectation->is(q{})->at($text);
4908 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DOUBLE)//i)
4911 $expectation->failed();
4912 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4913 Parse::RecDescent::_tracefirst($text))
4914 if defined $::RD_TRACE;
4918 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4920 Parse::RecDescent::_tracefirst($text))
4921 if defined $::RD_TRACE;
4922 push @item, $item{__PATTERN1__}=$&;
4926 Parse::RecDescent::_trace(q{>>Matched production: [/DOUBLE/i]<<},
4927 Parse::RecDescent::_tracefirst($text),
4928 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4930 if defined $::RD_TRACE;
4936 while (!$_matched && !$commit)
4939 Parse::RecDescent::_trace(q{Trying production: [/DOUBLE_PRECISION/i]},
4940 Parse::RecDescent::_tracefirst($_[1]),
4941 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4943 if defined $::RD_TRACE;
4944 my $thisprod = $thisrule->{"prods"}[1];
4947 @item = (q{_alternation_1_of_production_30_of_rule_sysibm_function});
4948 %item = (__RULE__ => q{_alternation_1_of_production_30_of_rule_sysibm_function});
4952 Parse::RecDescent::_trace(q{Trying terminal: [/DOUBLE_PRECISION/i]}, Parse::RecDescent::_tracefirst($text),
4953 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4955 if defined $::RD_TRACE;
4957 $expectation->is(q{})->at($text);
4960 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DOUBLE_PRECISION)//i)
4963 $expectation->failed();
4964 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
4965 Parse::RecDescent::_tracefirst($text))
4966 if defined $::RD_TRACE;
4970 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
4972 Parse::RecDescent::_tracefirst($text))
4973 if defined $::RD_TRACE;
4974 push @item, $item{__PATTERN1__}=$&;
4978 Parse::RecDescent::_trace(q{>>Matched production: [/DOUBLE_PRECISION/i]<<},
4979 Parse::RecDescent::_tracefirst($text),
4980 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4982 if defined $::RD_TRACE;
4988 unless ( $_matched || defined($return) || defined($score) )
4992 $_[1] = $text; # NOT SURE THIS IS NEEDED
4993 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
4994 Parse::RecDescent::_tracefirst($_[1]),
4995 q{_alternation_1_of_production_30_of_rule_sysibm_function},
4997 if defined $::RD_TRACE;
5000 if (!defined($return) && defined($score))
5002 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
5003 q{_alternation_1_of_production_30_of_rule_sysibm_function},
5005 if defined $::RD_TRACE;
5006 $return = $score_return;
5008 splice @{$thisparser->{errors}}, $err_at;
5009 $return = $item[$#item] unless defined $return;
5010 if (defined $::RD_TRACE)
5012 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5013 $return . q{])}, "",
5014 q{_alternation_1_of_production_30_of_rule_sysibm_function},
5016 Parse::RecDescent::_trace(q{(consumed: [} .
5017 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5018 Parse::RecDescent::_tracefirst($text),
5019 , q{_alternation_1_of_production_30_of_rule_sysibm_function},
5026 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
5027 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::FULL
5029 my $thisparser = $_[0];
5030 use vars q{$tracelevel};
5031 local $tracelevel = ($tracelevel||0)+1;
5033 my $thisrule = $thisparser->{"rules"}{"FULL"};
5035 Parse::RecDescent::_trace(q{Trying rule: [FULL]},
5036 Parse::RecDescent::_tracefirst($_[1]),
5039 if defined $::RD_TRACE;
5042 my $err_at = @{$thisparser->{errors}};
5052 my $repeating = defined($_[2]) && $_[2];
5053 my $_noactions = defined($_[3]) && $_[3];
5054 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
5055 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
5058 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
5059 $expectation->at($_[1]);
5062 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5066 while (!$_matched && !$commit)
5069 Parse::RecDescent::_trace(q{Trying production: [/full/i]},
5070 Parse::RecDescent::_tracefirst($_[1]),
5073 if defined $::RD_TRACE;
5074 my $thisprod = $thisrule->{"prods"}[0];
5078 %item = (__RULE__ => q{FULL});
5082 Parse::RecDescent::_trace(q{Trying terminal: [/full/i]}, Parse::RecDescent::_tracefirst($text),
5085 if defined $::RD_TRACE;
5087 $expectation->is(q{})->at($text);
5090 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:full)//i)
5093 $expectation->failed();
5094 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
5095 Parse::RecDescent::_tracefirst($text))
5096 if defined $::RD_TRACE;
5100 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5102 Parse::RecDescent::_tracefirst($text))
5103 if defined $::RD_TRACE;
5104 push @item, $item{__PATTERN1__}=$&;
5108 Parse::RecDescent::_trace(q{>>Matched production: [/full/i]<<},
5109 Parse::RecDescent::_tracefirst($text),
5112 if defined $::RD_TRACE;
5118 unless ( $_matched || defined($return) || defined($score) )
5122 $_[1] = $text; # NOT SURE THIS IS NEEDED
5123 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
5124 Parse::RecDescent::_tracefirst($_[1]),
5127 if defined $::RD_TRACE;
5130 if (!defined($return) && defined($score))
5132 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
5135 if defined $::RD_TRACE;
5136 $return = $score_return;
5138 splice @{$thisparser->{errors}}, $err_at;
5139 $return = $item[$#item] unless defined $return;
5140 if (defined $::RD_TRACE)
5142 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5143 $return . q{])}, "",
5146 Parse::RecDescent::_trace(q{(consumed: [} .
5147 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5148 Parse::RecDescent::_tracefirst($text),
5156 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
5157 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_cast_specification
5159 my $thisparser = $_[0];
5160 use vars q{$tracelevel};
5161 local $tracelevel = ($tracelevel||0)+1;
5163 my $thisrule = $thisparser->{"rules"}{"_alternation_2_of_production_1_of_rule_cast_specification"};
5165 Parse::RecDescent::_trace(q{Trying rule: [_alternation_2_of_production_1_of_rule_cast_specification]},
5166 Parse::RecDescent::_tracefirst($_[1]),
5167 q{_alternation_2_of_production_1_of_rule_cast_specification},
5169 if defined $::RD_TRACE;
5172 my $err_at = @{$thisparser->{errors}};
5182 my $repeating = defined($_[2]) && $_[2];
5183 my $_noactions = defined($_[3]) && $_[3];
5184 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
5185 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
5188 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
5189 $expectation->at($_[1]);
5192 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5196 while (!$_matched && !$commit)
5199 Parse::RecDescent::_trace(q{Trying production: [/SCOPE/ typed_table_name, or typed_view_name]},
5200 Parse::RecDescent::_tracefirst($_[1]),
5201 q{_alternation_2_of_production_1_of_rule_cast_specification},
5203 if defined $::RD_TRACE;
5204 my $thisprod = $thisrule->{"prods"}[0];
5207 @item = (q{_alternation_2_of_production_1_of_rule_cast_specification});
5208 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_cast_specification});
5212 Parse::RecDescent::_trace(q{Trying terminal: [/SCOPE/]}, Parse::RecDescent::_tracefirst($text),
5213 q{_alternation_2_of_production_1_of_rule_cast_specification},
5215 if defined $::RD_TRACE;
5217 $expectation->is(q{})->at($text);
5220 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SCOPE)//)
5223 $expectation->failed();
5224 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
5225 Parse::RecDescent::_tracefirst($text))
5226 if defined $::RD_TRACE;
5230 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5232 Parse::RecDescent::_tracefirst($text))
5233 if defined $::RD_TRACE;
5234 push @item, $item{__PATTERN1__}=$&;
5237 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification]},
5238 Parse::RecDescent::_tracefirst($text),
5239 q{_alternation_2_of_production_1_of_rule_cast_specification},
5241 if defined $::RD_TRACE;
5242 if (1) { no strict qw{refs};
5243 $expectation->is(q{typed_table_name, or typed_view_name})->at($text);
5244 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
5247 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification]>>},
5248 Parse::RecDescent::_tracefirst($text),
5249 q{_alternation_2_of_production_1_of_rule_cast_specification},
5251 if defined $::RD_TRACE;
5252 $expectation->failed();
5255 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification]<< (return value: [}
5258 Parse::RecDescent::_tracefirst($text),
5259 q{_alternation_2_of_production_1_of_rule_cast_specification},
5261 if defined $::RD_TRACE;
5262 $item{q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification}} = $_tok;
5268 Parse::RecDescent::_trace(q{>>Matched production: [/SCOPE/ typed_table_name, or typed_view_name]<<},
5269 Parse::RecDescent::_tracefirst($text),
5270 q{_alternation_2_of_production_1_of_rule_cast_specification},
5272 if defined $::RD_TRACE;
5278 unless ( $_matched || defined($return) || defined($score) )
5282 $_[1] = $text; # NOT SURE THIS IS NEEDED
5283 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
5284 Parse::RecDescent::_tracefirst($_[1]),
5285 q{_alternation_2_of_production_1_of_rule_cast_specification},
5287 if defined $::RD_TRACE;
5290 if (!defined($return) && defined($score))
5292 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
5293 q{_alternation_2_of_production_1_of_rule_cast_specification},
5295 if defined $::RD_TRACE;
5296 $return = $score_return;
5298 splice @{$thisparser->{errors}}, $err_at;
5299 $return = $item[$#item] unless defined $return;
5300 if (defined $::RD_TRACE)
5302 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5303 $return . q{])}, "",
5304 q{_alternation_2_of_production_1_of_rule_cast_specification},
5306 Parse::RecDescent::_trace(q{(consumed: [} .
5307 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5308 Parse::RecDescent::_tracefirst($text),
5309 , q{_alternation_2_of_production_1_of_rule_cast_specification},
5316 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
5317 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::case_expression
5319 my $thisparser = $_[0];
5320 use vars q{$tracelevel};
5321 local $tracelevel = ($tracelevel||0)+1;
5323 my $thisrule = $thisparser->{"rules"}{"case_expression"};
5325 Parse::RecDescent::_trace(q{Trying rule: [case_expression]},
5326 Parse::RecDescent::_tracefirst($_[1]),
5329 if defined $::RD_TRACE;
5332 my $err_at = @{$thisparser->{errors}};
5342 my $repeating = defined($_[2]) && $_[2];
5343 my $_noactions = defined($_[3]) && $_[3];
5344 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
5345 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
5348 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
5349 $expectation->at($_[1]);
5352 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5356 while (!$_matched && !$commit)
5359 Parse::RecDescent::_trace(q{Trying production: [/CASE/i searched_when_clause, or simple_when_clause /ELSE\\s+NULL/i, or /ELSE/i /END/i]},
5360 Parse::RecDescent::_tracefirst($_[1]),
5363 if defined $::RD_TRACE;
5364 my $thisprod = $thisrule->{"prods"}[0];
5367 @item = (q{case_expression});
5368 %item = (__RULE__ => q{case_expression});
5372 Parse::RecDescent::_trace(q{Trying terminal: [/CASE/i]}, Parse::RecDescent::_tracefirst($text),
5375 if defined $::RD_TRACE;
5377 $expectation->is(q{})->at($text);
5380 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CASE)//i)
5383 $expectation->failed();
5384 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
5385 Parse::RecDescent::_tracefirst($text))
5386 if defined $::RD_TRACE;
5390 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5392 Parse::RecDescent::_tracefirst($text))
5393 if defined $::RD_TRACE;
5394 push @item, $item{__PATTERN1__}=$&;
5397 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_case_expression]},
5398 Parse::RecDescent::_tracefirst($text),
5401 if defined $::RD_TRACE;
5402 if (1) { no strict qw{refs};
5403 $expectation->is(q{searched_when_clause, or simple_when_clause})->at($text);
5404 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_case_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
5407 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_case_expression]>>},
5408 Parse::RecDescent::_tracefirst($text),
5411 if defined $::RD_TRACE;
5412 $expectation->failed();
5415 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_case_expression]<< (return value: [}
5418 Parse::RecDescent::_tracefirst($text),
5421 if defined $::RD_TRACE;
5422 $item{q{_alternation_1_of_production_1_of_rule_case_expression}} = $_tok;
5427 Parse::RecDescent::_trace(q{Trying repeated subrule: [/ELSE\\s+NULL/i, or /ELSE/i]},
5428 Parse::RecDescent::_tracefirst($text),
5431 if defined $::RD_TRACE;
5432 $expectation->is(q{/ELSE\\s+NULL/i, or /ELSE/i})->at($text);
5434 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_case_expression, 0, 1, $_noactions,$expectation,undef)))
5436 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/ELSE\\s+NULL/i, or /ELSE/i]>>},
5437 Parse::RecDescent::_tracefirst($text),
5440 if defined $::RD_TRACE;
5443 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_2_of_production_1_of_rule_case_expression]<< (}
5444 . @$_tok . q{ times)},
5446 Parse::RecDescent::_tracefirst($text),
5449 if defined $::RD_TRACE;
5450 $item{q{_alternation_2_of_production_1_of_rule_case_expression(?)}} = $_tok;
5455 Parse::RecDescent::_trace(q{Trying terminal: [/END/i]}, Parse::RecDescent::_tracefirst($text),
5458 if defined $::RD_TRACE;
5460 $expectation->is(q{/END/i})->at($text);
5463 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:END)//i)
5466 $expectation->failed();
5467 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
5468 Parse::RecDescent::_tracefirst($text))
5469 if defined $::RD_TRACE;
5473 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5475 Parse::RecDescent::_tracefirst($text))
5476 if defined $::RD_TRACE;
5477 push @item, $item{__PATTERN2__}=$&;
5481 Parse::RecDescent::_trace(q{>>Matched production: [/CASE/i searched_when_clause, or simple_when_clause /ELSE\\s+NULL/i, or /ELSE/i /END/i]<<},
5482 Parse::RecDescent::_tracefirst($text),
5485 if defined $::RD_TRACE;
5491 unless ( $_matched || defined($return) || defined($score) )
5495 $_[1] = $text; # NOT SURE THIS IS NEEDED
5496 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
5497 Parse::RecDescent::_tracefirst($_[1]),
5500 if defined $::RD_TRACE;
5503 if (!defined($return) && defined($score))
5505 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
5508 if defined $::RD_TRACE;
5509 $return = $score_return;
5511 splice @{$thisparser->{errors}}, $err_at;
5512 $return = $item[$#item] unless defined $return;
5513 if (defined $::RD_TRACE)
5515 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5516 $return . q{])}, "",
5519 Parse::RecDescent::_trace(q{(consumed: [} .
5520 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5521 Parse::RecDescent::_tracefirst($text),
5522 , q{case_expression},
5529 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
5530 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::operator
5532 my $thisparser = $_[0];
5533 use vars q{$tracelevel};
5534 local $tracelevel = ($tracelevel||0)+1;
5536 my $thisrule = $thisparser->{"rules"}{"operator"};
5538 Parse::RecDescent::_trace(q{Trying rule: [operator]},
5539 Parse::RecDescent::_tracefirst($_[1]),
5542 if defined $::RD_TRACE;
5545 my $err_at = @{$thisparser->{errors}};
5555 my $repeating = defined($_[2]) && $_[2];
5556 my $_noactions = defined($_[3]) && $_[3];
5557 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
5558 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
5561 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
5562 $expectation->at($_[1]);
5565 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5569 while (!$_matched && !$commit)
5572 Parse::RecDescent::_trace(q{Trying production: [/CONCAT/i, or '||']},
5573 Parse::RecDescent::_tracefirst($_[1]),
5576 if defined $::RD_TRACE;
5577 my $thisprod = $thisrule->{"prods"}[0];
5580 @item = (q{operator});
5581 %item = (__RULE__ => q{operator});
5585 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_operator]},
5586 Parse::RecDescent::_tracefirst($text),
5589 if defined $::RD_TRACE;
5590 if (1) { no strict qw{refs};
5591 $expectation->is(q{})->at($text);
5592 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_operator($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
5595 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_operator]>>},
5596 Parse::RecDescent::_tracefirst($text),
5599 if defined $::RD_TRACE;
5600 $expectation->failed();
5603 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_operator]<< (return value: [}
5606 Parse::RecDescent::_tracefirst($text),
5609 if defined $::RD_TRACE;
5610 $item{q{_alternation_1_of_production_1_of_rule_operator}} = $_tok;
5616 Parse::RecDescent::_trace(q{>>Matched production: [/CONCAT/i, or '||']<<},
5617 Parse::RecDescent::_tracefirst($text),
5620 if defined $::RD_TRACE;
5626 while (!$_matched && !$commit)
5629 Parse::RecDescent::_trace(q{Trying production: ['/']},
5630 Parse::RecDescent::_tracefirst($_[1]),
5633 if defined $::RD_TRACE;
5634 my $thisprod = $thisrule->{"prods"}[1];
5637 @item = (q{operator});
5638 %item = (__RULE__ => q{operator});
5642 Parse::RecDescent::_trace(q{Trying terminal: ['/']},
5643 Parse::RecDescent::_tracefirst($text),
5646 if defined $::RD_TRACE;
5648 $expectation->is(q{})->at($text);
5651 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\///)
5654 $expectation->failed();
5655 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
5656 Parse::RecDescent::_tracefirst($text))
5657 if defined $::RD_TRACE;
5660 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5662 Parse::RecDescent::_tracefirst($text))
5663 if defined $::RD_TRACE;
5664 push @item, $item{__STRING1__}=$&;
5668 Parse::RecDescent::_trace(q{>>Matched production: ['/']<<},
5669 Parse::RecDescent::_tracefirst($text),
5672 if defined $::RD_TRACE;
5678 while (!$_matched && !$commit)
5681 Parse::RecDescent::_trace(q{Trying production: ['*']},
5682 Parse::RecDescent::_tracefirst($_[1]),
5685 if defined $::RD_TRACE;
5686 my $thisprod = $thisrule->{"prods"}[2];
5689 @item = (q{operator});
5690 %item = (__RULE__ => q{operator});
5694 Parse::RecDescent::_trace(q{Trying terminal: ['*']},
5695 Parse::RecDescent::_tracefirst($text),
5698 if defined $::RD_TRACE;
5700 $expectation->is(q{})->at($text);
5703 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\*//)
5706 $expectation->failed();
5707 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
5708 Parse::RecDescent::_tracefirst($text))
5709 if defined $::RD_TRACE;
5712 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5714 Parse::RecDescent::_tracefirst($text))
5715 if defined $::RD_TRACE;
5716 push @item, $item{__STRING1__}=$&;
5720 Parse::RecDescent::_trace(q{>>Matched production: ['*']<<},
5721 Parse::RecDescent::_tracefirst($text),
5724 if defined $::RD_TRACE;
5730 while (!$_matched && !$commit)
5733 Parse::RecDescent::_trace(q{Trying production: ['+']},
5734 Parse::RecDescent::_tracefirst($_[1]),
5737 if defined $::RD_TRACE;
5738 my $thisprod = $thisrule->{"prods"}[3];
5741 @item = (q{operator});
5742 %item = (__RULE__ => q{operator});
5746 Parse::RecDescent::_trace(q{Trying terminal: ['+']},
5747 Parse::RecDescent::_tracefirst($text),
5750 if defined $::RD_TRACE;
5752 $expectation->is(q{})->at($text);
5755 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\+//)
5758 $expectation->failed();
5759 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
5760 Parse::RecDescent::_tracefirst($text))
5761 if defined $::RD_TRACE;
5764 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5766 Parse::RecDescent::_tracefirst($text))
5767 if defined $::RD_TRACE;
5768 push @item, $item{__STRING1__}=$&;
5772 Parse::RecDescent::_trace(q{>>Matched production: ['+']<<},
5773 Parse::RecDescent::_tracefirst($text),
5776 if defined $::RD_TRACE;
5782 while (!$_matched && !$commit)
5785 Parse::RecDescent::_trace(q{Trying production: ['-']},
5786 Parse::RecDescent::_tracefirst($_[1]),
5789 if defined $::RD_TRACE;
5790 my $thisprod = $thisrule->{"prods"}[4];
5793 @item = (q{operator});
5794 %item = (__RULE__ => q{operator});
5798 Parse::RecDescent::_trace(q{Trying terminal: ['-']},
5799 Parse::RecDescent::_tracefirst($text),
5802 if defined $::RD_TRACE;
5804 $expectation->is(q{})->at($text);
5807 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\-//)
5810 $expectation->failed();
5811 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
5812 Parse::RecDescent::_tracefirst($text))
5813 if defined $::RD_TRACE;
5816 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5818 Parse::RecDescent::_tracefirst($text))
5819 if defined $::RD_TRACE;
5820 push @item, $item{__STRING1__}=$&;
5824 Parse::RecDescent::_trace(q{>>Matched production: ['-']<<},
5825 Parse::RecDescent::_tracefirst($text),
5828 if defined $::RD_TRACE;
5834 unless ( $_matched || defined($return) || defined($score) )
5838 $_[1] = $text; # NOT SURE THIS IS NEEDED
5839 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
5840 Parse::RecDescent::_tracefirst($_[1]),
5843 if defined $::RD_TRACE;
5846 if (!defined($return) && defined($score))
5848 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
5851 if defined $::RD_TRACE;
5852 $return = $score_return;
5854 splice @{$thisparser->{errors}}, $err_at;
5855 $return = $item[$#item] unless defined $return;
5856 if (defined $::RD_TRACE)
5858 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5859 $return . q{])}, "",
5862 Parse::RecDescent::_trace(q{(consumed: [} .
5863 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5864 Parse::RecDescent::_tracefirst($text),
5872 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
5873 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_2_of_rule_type
5875 my $thisparser = $_[0];
5876 use vars q{$tracelevel};
5877 local $tracelevel = ($tracelevel||0)+1;
5879 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_2_of_rule_type"};
5881 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_2_of_rule_type]},
5882 Parse::RecDescent::_tracefirst($_[1]),
5883 q{_alternation_1_of_production_2_of_rule_type},
5885 if defined $::RD_TRACE;
5888 my $err_at = @{$thisparser->{errors}};
5898 my $repeating = defined($_[2]) && $_[2];
5899 my $_noactions = defined($_[3]) && $_[3];
5900 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
5901 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
5904 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
5905 $expectation->at($_[1]);
5908 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5912 while (!$_matched && !$commit)
5915 Parse::RecDescent::_trace(q{Trying production: [/INSERT/i]},
5916 Parse::RecDescent::_tracefirst($_[1]),
5917 q{_alternation_1_of_production_2_of_rule_type},
5919 if defined $::RD_TRACE;
5920 my $thisprod = $thisrule->{"prods"}[0];
5923 @item = (q{_alternation_1_of_production_2_of_rule_type});
5924 %item = (__RULE__ => q{_alternation_1_of_production_2_of_rule_type});
5928 Parse::RecDescent::_trace(q{Trying terminal: [/INSERT/i]}, Parse::RecDescent::_tracefirst($text),
5929 q{_alternation_1_of_production_2_of_rule_type},
5931 if defined $::RD_TRACE;
5933 $expectation->is(q{})->at($text);
5936 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:INSERT)//i)
5939 $expectation->failed();
5940 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
5941 Parse::RecDescent::_tracefirst($text))
5942 if defined $::RD_TRACE;
5946 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
5948 Parse::RecDescent::_tracefirst($text))
5949 if defined $::RD_TRACE;
5950 push @item, $item{__PATTERN1__}=$&;
5954 Parse::RecDescent::_trace(q{>>Matched production: [/INSERT/i]<<},
5955 Parse::RecDescent::_tracefirst($text),
5956 q{_alternation_1_of_production_2_of_rule_type},
5958 if defined $::RD_TRACE;
5964 while (!$_matched && !$commit)
5967 Parse::RecDescent::_trace(q{Trying production: [/DELETE/i]},
5968 Parse::RecDescent::_tracefirst($_[1]),
5969 q{_alternation_1_of_production_2_of_rule_type},
5971 if defined $::RD_TRACE;
5972 my $thisprod = $thisrule->{"prods"}[1];
5975 @item = (q{_alternation_1_of_production_2_of_rule_type});
5976 %item = (__RULE__ => q{_alternation_1_of_production_2_of_rule_type});
5980 Parse::RecDescent::_trace(q{Trying terminal: [/DELETE/i]}, Parse::RecDescent::_tracefirst($text),
5981 q{_alternation_1_of_production_2_of_rule_type},
5983 if defined $::RD_TRACE;
5985 $expectation->is(q{})->at($text);
5988 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DELETE)//i)
5991 $expectation->failed();
5992 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
5993 Parse::RecDescent::_tracefirst($text))
5994 if defined $::RD_TRACE;
5998 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6000 Parse::RecDescent::_tracefirst($text))
6001 if defined $::RD_TRACE;
6002 push @item, $item{__PATTERN1__}=$&;
6006 Parse::RecDescent::_trace(q{>>Matched production: [/DELETE/i]<<},
6007 Parse::RecDescent::_tracefirst($text),
6008 q{_alternation_1_of_production_2_of_rule_type},
6010 if defined $::RD_TRACE;
6016 while (!$_matched && !$commit)
6019 Parse::RecDescent::_trace(q{Trying production: [/UPDATE/i]},
6020 Parse::RecDescent::_tracefirst($_[1]),
6021 q{_alternation_1_of_production_2_of_rule_type},
6023 if defined $::RD_TRACE;
6024 my $thisprod = $thisrule->{"prods"}[2];
6027 @item = (q{_alternation_1_of_production_2_of_rule_type});
6028 %item = (__RULE__ => q{_alternation_1_of_production_2_of_rule_type});
6032 Parse::RecDescent::_trace(q{Trying terminal: [/UPDATE/i]}, Parse::RecDescent::_tracefirst($text),
6033 q{_alternation_1_of_production_2_of_rule_type},
6035 if defined $::RD_TRACE;
6037 $expectation->is(q{})->at($text);
6040 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UPDATE)//i)
6043 $expectation->failed();
6044 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6045 Parse::RecDescent::_tracefirst($text))
6046 if defined $::RD_TRACE;
6050 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6052 Parse::RecDescent::_tracefirst($text))
6053 if defined $::RD_TRACE;
6054 push @item, $item{__PATTERN1__}=$&;
6058 Parse::RecDescent::_trace(q{>>Matched production: [/UPDATE/i]<<},
6059 Parse::RecDescent::_tracefirst($text),
6060 q{_alternation_1_of_production_2_of_rule_type},
6062 if defined $::RD_TRACE;
6068 unless ( $_matched || defined($return) || defined($score) )
6072 $_[1] = $text; # NOT SURE THIS IS NEEDED
6073 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
6074 Parse::RecDescent::_tracefirst($_[1]),
6075 q{_alternation_1_of_production_2_of_rule_type},
6077 if defined $::RD_TRACE;
6080 if (!defined($return) && defined($score))
6082 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
6083 q{_alternation_1_of_production_2_of_rule_type},
6085 if defined $::RD_TRACE;
6086 $return = $score_return;
6088 splice @{$thisparser->{errors}}, $err_at;
6089 $return = $item[$#item] unless defined $return;
6090 if (defined $::RD_TRACE)
6092 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
6093 $return . q{])}, "",
6094 q{_alternation_1_of_production_2_of_rule_type},
6096 Parse::RecDescent::_trace(q{(consumed: [} .
6097 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
6098 Parse::RecDescent::_tracefirst($text),
6099 , q{_alternation_1_of_production_2_of_rule_type},
6106 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
6107 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_8_of_rule_sysibm_function
6109 my $thisparser = $_[0];
6110 use vars q{$tracelevel};
6111 local $tracelevel = ($tracelevel||0)+1;
6113 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_8_of_rule_sysibm_function"};
6115 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_8_of_rule_sysibm_function]},
6116 Parse::RecDescent::_tracefirst($_[1]),
6117 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6119 if defined $::RD_TRACE;
6122 my $err_at = @{$thisparser->{errors}};
6132 my $repeating = defined($_[2]) && $_[2];
6133 my $_noactions = defined($_[3]) && $_[3];
6134 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
6135 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
6138 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
6139 $expectation->at($_[1]);
6142 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
6146 while (!$_matched && !$commit)
6149 Parse::RecDescent::_trace(q{Trying production: [/CONCAT/]},
6150 Parse::RecDescent::_tracefirst($_[1]),
6151 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6153 if defined $::RD_TRACE;
6154 my $thisprod = $thisrule->{"prods"}[0];
6157 @item = (q{_alternation_1_of_production_8_of_rule_sysibm_function});
6158 %item = (__RULE__ => q{_alternation_1_of_production_8_of_rule_sysibm_function});
6162 Parse::RecDescent::_trace(q{Trying terminal: [/CONCAT/]}, Parse::RecDescent::_tracefirst($text),
6163 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6165 if defined $::RD_TRACE;
6167 $expectation->is(q{})->at($text);
6170 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CONCAT)//)
6173 $expectation->failed();
6174 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6175 Parse::RecDescent::_tracefirst($text))
6176 if defined $::RD_TRACE;
6180 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6182 Parse::RecDescent::_tracefirst($text))
6183 if defined $::RD_TRACE;
6184 push @item, $item{__PATTERN1__}=$&;
6188 Parse::RecDescent::_trace(q{>>Matched production: [/CONCAT/]<<},
6189 Parse::RecDescent::_tracefirst($text),
6190 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6192 if defined $::RD_TRACE;
6198 while (!$_matched && !$commit)
6201 Parse::RecDescent::_trace(q{Trying production: ['||']},
6202 Parse::RecDescent::_tracefirst($_[1]),
6203 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6205 if defined $::RD_TRACE;
6206 my $thisprod = $thisrule->{"prods"}[1];
6209 @item = (q{_alternation_1_of_production_8_of_rule_sysibm_function});
6210 %item = (__RULE__ => q{_alternation_1_of_production_8_of_rule_sysibm_function});
6214 Parse::RecDescent::_trace(q{Trying terminal: ['||']},
6215 Parse::RecDescent::_tracefirst($text),
6216 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6218 if defined $::RD_TRACE;
6220 $expectation->is(q{})->at($text);
6223 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\|\|//)
6226 $expectation->failed();
6227 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
6228 Parse::RecDescent::_tracefirst($text))
6229 if defined $::RD_TRACE;
6232 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6234 Parse::RecDescent::_tracefirst($text))
6235 if defined $::RD_TRACE;
6236 push @item, $item{__STRING1__}=$&;
6240 Parse::RecDescent::_trace(q{>>Matched production: ['||']<<},
6241 Parse::RecDescent::_tracefirst($text),
6242 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6244 if defined $::RD_TRACE;
6250 unless ( $_matched || defined($return) || defined($score) )
6254 $_[1] = $text; # NOT SURE THIS IS NEEDED
6255 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
6256 Parse::RecDescent::_tracefirst($_[1]),
6257 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6259 if defined $::RD_TRACE;
6262 if (!defined($return) && defined($score))
6264 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
6265 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6267 if defined $::RD_TRACE;
6268 $return = $score_return;
6270 splice @{$thisparser->{errors}}, $err_at;
6271 $return = $item[$#item] unless defined $return;
6272 if (defined $::RD_TRACE)
6274 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
6275 $return . q{])}, "",
6276 q{_alternation_1_of_production_8_of_rule_sysibm_function},
6278 Parse::RecDescent::_trace(q{(consumed: [} .
6279 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
6280 Parse::RecDescent::_tracefirst($text),
6281 , q{_alternation_1_of_production_8_of_rule_sysibm_function},
6288 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
6289 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sequence_reference
6291 my $thisparser = $_[0];
6292 use vars q{$tracelevel};
6293 local $tracelevel = ($tracelevel||0)+1;
6295 my $thisrule = $thisparser->{"rules"}{"sequence_reference"};
6297 Parse::RecDescent::_trace(q{Trying rule: [sequence_reference]},
6298 Parse::RecDescent::_tracefirst($_[1]),
6299 q{sequence_reference},
6301 if defined $::RD_TRACE;
6304 my $err_at = @{$thisparser->{errors}};
6314 my $repeating = defined($_[2]) && $_[2];
6315 my $_noactions = defined($_[3]) && $_[3];
6316 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
6317 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
6320 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
6321 $expectation->at($_[1]);
6324 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
6328 while (!$_matched && !$commit)
6331 Parse::RecDescent::_trace(q{Trying production: [nextval_expression]},
6332 Parse::RecDescent::_tracefirst($_[1]),
6333 q{sequence_reference},
6335 if defined $::RD_TRACE;
6336 my $thisprod = $thisrule->{"prods"}[0];
6339 @item = (q{sequence_reference});
6340 %item = (__RULE__ => q{sequence_reference});
6344 Parse::RecDescent::_trace(q{Trying subrule: [nextval_expression]},
6345 Parse::RecDescent::_tracefirst($text),
6346 q{sequence_reference},
6348 if defined $::RD_TRACE;
6349 if (1) { no strict qw{refs};
6350 $expectation->is(q{})->at($text);
6351 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::nextval_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
6354 Parse::RecDescent::_trace(q{<<Didn't match subrule: [nextval_expression]>>},
6355 Parse::RecDescent::_tracefirst($text),
6356 q{sequence_reference},
6358 if defined $::RD_TRACE;
6359 $expectation->failed();
6362 Parse::RecDescent::_trace(q{>>Matched subrule: [nextval_expression]<< (return value: [}
6365 Parse::RecDescent::_tracefirst($text),
6366 q{sequence_reference},
6368 if defined $::RD_TRACE;
6369 $item{q{nextval_expression}} = $_tok;
6375 Parse::RecDescent::_trace(q{>>Matched production: [nextval_expression]<<},
6376 Parse::RecDescent::_tracefirst($text),
6377 q{sequence_reference},
6379 if defined $::RD_TRACE;
6385 while (!$_matched && !$commit)
6388 Parse::RecDescent::_trace(q{Trying production: [prevval_expression]},
6389 Parse::RecDescent::_tracefirst($_[1]),
6390 q{sequence_reference},
6392 if defined $::RD_TRACE;
6393 my $thisprod = $thisrule->{"prods"}[1];
6396 @item = (q{sequence_reference});
6397 %item = (__RULE__ => q{sequence_reference});
6401 Parse::RecDescent::_trace(q{Trying subrule: [prevval_expression]},
6402 Parse::RecDescent::_tracefirst($text),
6403 q{sequence_reference},
6405 if defined $::RD_TRACE;
6406 if (1) { no strict qw{refs};
6407 $expectation->is(q{})->at($text);
6408 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::prevval_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
6411 Parse::RecDescent::_trace(q{<<Didn't match subrule: [prevval_expression]>>},
6412 Parse::RecDescent::_tracefirst($text),
6413 q{sequence_reference},
6415 if defined $::RD_TRACE;
6416 $expectation->failed();
6419 Parse::RecDescent::_trace(q{>>Matched subrule: [prevval_expression]<< (return value: [}
6422 Parse::RecDescent::_tracefirst($text),
6423 q{sequence_reference},
6425 if defined $::RD_TRACE;
6426 $item{q{prevval_expression}} = $_tok;
6432 Parse::RecDescent::_trace(q{>>Matched production: [prevval_expression]<<},
6433 Parse::RecDescent::_tracefirst($text),
6434 q{sequence_reference},
6436 if defined $::RD_TRACE;
6442 unless ( $_matched || defined($return) || defined($score) )
6446 $_[1] = $text; # NOT SURE THIS IS NEEDED
6447 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
6448 Parse::RecDescent::_tracefirst($_[1]),
6449 q{sequence_reference},
6451 if defined $::RD_TRACE;
6454 if (!defined($return) && defined($score))
6456 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
6457 q{sequence_reference},
6459 if defined $::RD_TRACE;
6460 $return = $score_return;
6462 splice @{$thisparser->{errors}}, $err_at;
6463 $return = $item[$#item] unless defined $return;
6464 if (defined $::RD_TRACE)
6466 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
6467 $return . q{])}, "",
6468 q{sequence_reference},
6470 Parse::RecDescent::_trace(q{(consumed: [} .
6471 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
6472 Parse::RecDescent::_tracefirst($text),
6473 , q{sequence_reference},
6480 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
6481 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sysibm_function
6483 my $thisparser = $_[0];
6484 use vars q{$tracelevel};
6485 local $tracelevel = ($tracelevel||0)+1;
6487 my $thisrule = $thisparser->{"rules"}{"sysibm_function"};
6489 Parse::RecDescent::_trace(q{Trying rule: [sysibm_function]},
6490 Parse::RecDescent::_tracefirst($_[1]),
6493 if defined $::RD_TRACE;
6496 my $err_at = @{$thisparser->{errors}};
6506 my $repeating = defined($_[2]) && $_[2];
6507 my $_noactions = defined($_[3]) && $_[3];
6508 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
6509 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
6512 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
6513 $expectation->at($_[1]);
6516 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
6520 while (!$_matched && !$commit)
6523 Parse::RecDescent::_trace(q{Trying production: [/ABS/i, or /ABSVAL/i]},
6524 Parse::RecDescent::_tracefirst($_[1]),
6527 if defined $::RD_TRACE;
6528 my $thisprod = $thisrule->{"prods"}[0];
6531 @item = (q{sysibm_function});
6532 %item = (__RULE__ => q{sysibm_function});
6536 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_sysibm_function]},
6537 Parse::RecDescent::_tracefirst($text),
6540 if defined $::RD_TRACE;
6541 if (1) { no strict qw{refs};
6542 $expectation->is(q{})->at($text);
6543 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
6546 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_sysibm_function]>>},
6547 Parse::RecDescent::_tracefirst($text),
6550 if defined $::RD_TRACE;
6551 $expectation->failed();
6554 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_sysibm_function]<< (return value: [}
6557 Parse::RecDescent::_tracefirst($text),
6560 if defined $::RD_TRACE;
6561 $item{q{_alternation_1_of_production_1_of_rule_sysibm_function}} = $_tok;
6567 Parse::RecDescent::_trace(q{>>Matched production: [/ABS/i, or /ABSVAL/i]<<},
6568 Parse::RecDescent::_tracefirst($text),
6571 if defined $::RD_TRACE;
6577 while (!$_matched && !$commit)
6580 Parse::RecDescent::_trace(q{Trying production: [/AVG/i]},
6581 Parse::RecDescent::_tracefirst($_[1]),
6584 if defined $::RD_TRACE;
6585 my $thisprod = $thisrule->{"prods"}[1];
6588 @item = (q{sysibm_function});
6589 %item = (__RULE__ => q{sysibm_function});
6593 Parse::RecDescent::_trace(q{Trying terminal: [/AVG/i]}, Parse::RecDescent::_tracefirst($text),
6596 if defined $::RD_TRACE;
6598 $expectation->is(q{})->at($text);
6601 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AVG)//i)
6604 $expectation->failed();
6605 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6606 Parse::RecDescent::_tracefirst($text))
6607 if defined $::RD_TRACE;
6611 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6613 Parse::RecDescent::_tracefirst($text))
6614 if defined $::RD_TRACE;
6615 push @item, $item{__PATTERN1__}=$&;
6619 Parse::RecDescent::_trace(q{>>Matched production: [/AVG/i]<<},
6620 Parse::RecDescent::_tracefirst($text),
6623 if defined $::RD_TRACE;
6629 while (!$_matched && !$commit)
6632 Parse::RecDescent::_trace(q{Trying production: [/BIGINT/i]},
6633 Parse::RecDescent::_tracefirst($_[1]),
6636 if defined $::RD_TRACE;
6637 my $thisprod = $thisrule->{"prods"}[2];
6640 @item = (q{sysibm_function});
6641 %item = (__RULE__ => q{sysibm_function});
6645 Parse::RecDescent::_trace(q{Trying terminal: [/BIGINT/i]}, Parse::RecDescent::_tracefirst($text),
6648 if defined $::RD_TRACE;
6650 $expectation->is(q{})->at($text);
6653 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:BIGINT)//i)
6656 $expectation->failed();
6657 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6658 Parse::RecDescent::_tracefirst($text))
6659 if defined $::RD_TRACE;
6663 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6665 Parse::RecDescent::_tracefirst($text))
6666 if defined $::RD_TRACE;
6667 push @item, $item{__PATTERN1__}=$&;
6671 Parse::RecDescent::_trace(q{>>Matched production: [/BIGINT/i]<<},
6672 Parse::RecDescent::_tracefirst($text),
6675 if defined $::RD_TRACE;
6681 while (!$_matched && !$commit)
6684 Parse::RecDescent::_trace(q{Trying production: [/BLOB/i]},
6685 Parse::RecDescent::_tracefirst($_[1]),
6688 if defined $::RD_TRACE;
6689 my $thisprod = $thisrule->{"prods"}[3];
6692 @item = (q{sysibm_function});
6693 %item = (__RULE__ => q{sysibm_function});
6697 Parse::RecDescent::_trace(q{Trying terminal: [/BLOB/i]}, Parse::RecDescent::_tracefirst($text),
6700 if defined $::RD_TRACE;
6702 $expectation->is(q{})->at($text);
6705 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:BLOB)//i)
6708 $expectation->failed();
6709 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6710 Parse::RecDescent::_tracefirst($text))
6711 if defined $::RD_TRACE;
6715 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6717 Parse::RecDescent::_tracefirst($text))
6718 if defined $::RD_TRACE;
6719 push @item, $item{__PATTERN1__}=$&;
6723 Parse::RecDescent::_trace(q{>>Matched production: [/BLOB/i]<<},
6724 Parse::RecDescent::_tracefirst($text),
6727 if defined $::RD_TRACE;
6733 while (!$_matched && !$commit)
6736 Parse::RecDescent::_trace(q{Trying production: [/CHAR/i]},
6737 Parse::RecDescent::_tracefirst($_[1]),
6740 if defined $::RD_TRACE;
6741 my $thisprod = $thisrule->{"prods"}[4];
6744 @item = (q{sysibm_function});
6745 %item = (__RULE__ => q{sysibm_function});
6749 Parse::RecDescent::_trace(q{Trying terminal: [/CHAR/i]}, Parse::RecDescent::_tracefirst($text),
6752 if defined $::RD_TRACE;
6754 $expectation->is(q{})->at($text);
6757 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CHAR)//i)
6760 $expectation->failed();
6761 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6762 Parse::RecDescent::_tracefirst($text))
6763 if defined $::RD_TRACE;
6767 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6769 Parse::RecDescent::_tracefirst($text))
6770 if defined $::RD_TRACE;
6771 push @item, $item{__PATTERN1__}=$&;
6775 Parse::RecDescent::_trace(q{>>Matched production: [/CHAR/i]<<},
6776 Parse::RecDescent::_tracefirst($text),
6779 if defined $::RD_TRACE;
6785 while (!$_matched && !$commit)
6788 Parse::RecDescent::_trace(q{Trying production: [/CLOB/i]},
6789 Parse::RecDescent::_tracefirst($_[1]),
6792 if defined $::RD_TRACE;
6793 my $thisprod = $thisrule->{"prods"}[5];
6796 @item = (q{sysibm_function});
6797 %item = (__RULE__ => q{sysibm_function});
6801 Parse::RecDescent::_trace(q{Trying terminal: [/CLOB/i]}, Parse::RecDescent::_tracefirst($text),
6804 if defined $::RD_TRACE;
6806 $expectation->is(q{})->at($text);
6809 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CLOB)//i)
6812 $expectation->failed();
6813 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6814 Parse::RecDescent::_tracefirst($text))
6815 if defined $::RD_TRACE;
6819 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6821 Parse::RecDescent::_tracefirst($text))
6822 if defined $::RD_TRACE;
6823 push @item, $item{__PATTERN1__}=$&;
6827 Parse::RecDescent::_trace(q{>>Matched production: [/CLOB/i]<<},
6828 Parse::RecDescent::_tracefirst($text),
6831 if defined $::RD_TRACE;
6837 while (!$_matched && !$commit)
6840 Parse::RecDescent::_trace(q{Trying production: [/COALESCE/i]},
6841 Parse::RecDescent::_tracefirst($_[1]),
6844 if defined $::RD_TRACE;
6845 my $thisprod = $thisrule->{"prods"}[6];
6848 @item = (q{sysibm_function});
6849 %item = (__RULE__ => q{sysibm_function});
6853 Parse::RecDescent::_trace(q{Trying terminal: [/COALESCE/i]}, Parse::RecDescent::_tracefirst($text),
6856 if defined $::RD_TRACE;
6858 $expectation->is(q{})->at($text);
6861 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:COALESCE)//i)
6864 $expectation->failed();
6865 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
6866 Parse::RecDescent::_tracefirst($text))
6867 if defined $::RD_TRACE;
6871 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
6873 Parse::RecDescent::_tracefirst($text))
6874 if defined $::RD_TRACE;
6875 push @item, $item{__PATTERN1__}=$&;
6879 Parse::RecDescent::_trace(q{>>Matched production: [/COALESCE/i]<<},
6880 Parse::RecDescent::_tracefirst($text),
6883 if defined $::RD_TRACE;
6889 while (!$_matched && !$commit)
6892 Parse::RecDescent::_trace(q{Trying production: [/CONCAT/, or '||']},
6893 Parse::RecDescent::_tracefirst($_[1]),
6896 if defined $::RD_TRACE;
6897 my $thisprod = $thisrule->{"prods"}[7];
6900 @item = (q{sysibm_function});
6901 %item = (__RULE__ => q{sysibm_function});
6905 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_8_of_rule_sysibm_function]},
6906 Parse::RecDescent::_tracefirst($text),
6909 if defined $::RD_TRACE;
6910 if (1) { no strict qw{refs};
6911 $expectation->is(q{})->at($text);
6912 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_8_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
6915 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_8_of_rule_sysibm_function]>>},
6916 Parse::RecDescent::_tracefirst($text),
6919 if defined $::RD_TRACE;
6920 $expectation->failed();
6923 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_8_of_rule_sysibm_function]<< (return value: [}
6926 Parse::RecDescent::_tracefirst($text),
6929 if defined $::RD_TRACE;
6930 $item{q{_alternation_1_of_production_8_of_rule_sysibm_function}} = $_tok;
6936 Parse::RecDescent::_trace(q{>>Matched production: [/CONCAT/, or '||']<<},
6937 Parse::RecDescent::_tracefirst($text),
6940 if defined $::RD_TRACE;
6946 while (!$_matched && !$commit)
6949 Parse::RecDescent::_trace(q{Trying production: [/CORRELATION/i, or /CORR/]},
6950 Parse::RecDescent::_tracefirst($_[1]),
6953 if defined $::RD_TRACE;
6954 my $thisprod = $thisrule->{"prods"}[8];
6957 @item = (q{sysibm_function});
6958 %item = (__RULE__ => q{sysibm_function});
6962 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_9_of_rule_sysibm_function]},
6963 Parse::RecDescent::_tracefirst($text),
6966 if defined $::RD_TRACE;
6967 if (1) { no strict qw{refs};
6968 $expectation->is(q{})->at($text);
6969 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_9_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
6972 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_9_of_rule_sysibm_function]>>},
6973 Parse::RecDescent::_tracefirst($text),
6976 if defined $::RD_TRACE;
6977 $expectation->failed();
6980 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_9_of_rule_sysibm_function]<< (return value: [}
6983 Parse::RecDescent::_tracefirst($text),
6986 if defined $::RD_TRACE;
6987 $item{q{_alternation_1_of_production_9_of_rule_sysibm_function}} = $_tok;
6993 Parse::RecDescent::_trace(q{>>Matched production: [/CORRELATION/i, or /CORR/]<<},
6994 Parse::RecDescent::_tracefirst($text),
6997 if defined $::RD_TRACE;
7003 while (!$_matched && !$commit)
7006 Parse::RecDescent::_trace(q{Trying production: [/COUNT/i]},
7007 Parse::RecDescent::_tracefirst($_[1]),
7010 if defined $::RD_TRACE;
7011 my $thisprod = $thisrule->{"prods"}[9];
7014 @item = (q{sysibm_function});
7015 %item = (__RULE__ => q{sysibm_function});
7019 Parse::RecDescent::_trace(q{Trying terminal: [/COUNT/i]}, Parse::RecDescent::_tracefirst($text),
7022 if defined $::RD_TRACE;
7024 $expectation->is(q{})->at($text);
7027 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:COUNT)//i)
7030 $expectation->failed();
7031 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7032 Parse::RecDescent::_tracefirst($text))
7033 if defined $::RD_TRACE;
7037 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7039 Parse::RecDescent::_tracefirst($text))
7040 if defined $::RD_TRACE;
7041 push @item, $item{__PATTERN1__}=$&;
7045 Parse::RecDescent::_trace(q{>>Matched production: [/COUNT/i]<<},
7046 Parse::RecDescent::_tracefirst($text),
7049 if defined $::RD_TRACE;
7055 while (!$_matched && !$commit)
7058 Parse::RecDescent::_trace(q{Trying production: [/COUNT_BIG/i]},
7059 Parse::RecDescent::_tracefirst($_[1]),
7062 if defined $::RD_TRACE;
7063 my $thisprod = $thisrule->{"prods"}[10];
7066 @item = (q{sysibm_function});
7067 %item = (__RULE__ => q{sysibm_function});
7071 Parse::RecDescent::_trace(q{Trying terminal: [/COUNT_BIG/i]}, Parse::RecDescent::_tracefirst($text),
7074 if defined $::RD_TRACE;
7076 $expectation->is(q{})->at($text);
7079 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:COUNT_BIG)//i)
7082 $expectation->failed();
7083 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7084 Parse::RecDescent::_tracefirst($text))
7085 if defined $::RD_TRACE;
7089 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7091 Parse::RecDescent::_tracefirst($text))
7092 if defined $::RD_TRACE;
7093 push @item, $item{__PATTERN1__}=$&;
7097 Parse::RecDescent::_trace(q{>>Matched production: [/COUNT_BIG/i]<<},
7098 Parse::RecDescent::_tracefirst($text),
7101 if defined $::RD_TRACE;
7107 while (!$_matched && !$commit)
7110 Parse::RecDescent::_trace(q{Trying production: [/COVARIANCE/i, or /COVAR/i]},
7111 Parse::RecDescent::_tracefirst($_[1]),
7114 if defined $::RD_TRACE;
7115 my $thisprod = $thisrule->{"prods"}[11];
7118 @item = (q{sysibm_function});
7119 %item = (__RULE__ => q{sysibm_function});
7123 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_12_of_rule_sysibm_function]},
7124 Parse::RecDescent::_tracefirst($text),
7127 if defined $::RD_TRACE;
7128 if (1) { no strict qw{refs};
7129 $expectation->is(q{})->at($text);
7130 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_12_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
7133 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_12_of_rule_sysibm_function]>>},
7134 Parse::RecDescent::_tracefirst($text),
7137 if defined $::RD_TRACE;
7138 $expectation->failed();
7141 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_12_of_rule_sysibm_function]<< (return value: [}
7144 Parse::RecDescent::_tracefirst($text),
7147 if defined $::RD_TRACE;
7148 $item{q{_alternation_1_of_production_12_of_rule_sysibm_function}} = $_tok;
7154 Parse::RecDescent::_trace(q{>>Matched production: [/COVARIANCE/i, or /COVAR/i]<<},
7155 Parse::RecDescent::_tracefirst($text),
7158 if defined $::RD_TRACE;
7164 while (!$_matched && !$commit)
7167 Parse::RecDescent::_trace(q{Trying production: [/DATE/i]},
7168 Parse::RecDescent::_tracefirst($_[1]),
7171 if defined $::RD_TRACE;
7172 my $thisprod = $thisrule->{"prods"}[12];
7175 @item = (q{sysibm_function});
7176 %item = (__RULE__ => q{sysibm_function});
7180 Parse::RecDescent::_trace(q{Trying terminal: [/DATE/i]}, Parse::RecDescent::_tracefirst($text),
7183 if defined $::RD_TRACE;
7185 $expectation->is(q{})->at($text);
7188 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DATE)//i)
7191 $expectation->failed();
7192 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7193 Parse::RecDescent::_tracefirst($text))
7194 if defined $::RD_TRACE;
7198 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7200 Parse::RecDescent::_tracefirst($text))
7201 if defined $::RD_TRACE;
7202 push @item, $item{__PATTERN1__}=$&;
7206 Parse::RecDescent::_trace(q{>>Matched production: [/DATE/i]<<},
7207 Parse::RecDescent::_tracefirst($text),
7210 if defined $::RD_TRACE;
7216 while (!$_matched && !$commit)
7219 Parse::RecDescent::_trace(q{Trying production: [/DAY/i]},
7220 Parse::RecDescent::_tracefirst($_[1]),
7223 if defined $::RD_TRACE;
7224 my $thisprod = $thisrule->{"prods"}[13];
7227 @item = (q{sysibm_function});
7228 %item = (__RULE__ => q{sysibm_function});
7232 Parse::RecDescent::_trace(q{Trying terminal: [/DAY/i]}, Parse::RecDescent::_tracefirst($text),
7235 if defined $::RD_TRACE;
7237 $expectation->is(q{})->at($text);
7240 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DAY)//i)
7243 $expectation->failed();
7244 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7245 Parse::RecDescent::_tracefirst($text))
7246 if defined $::RD_TRACE;
7250 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7252 Parse::RecDescent::_tracefirst($text))
7253 if defined $::RD_TRACE;
7254 push @item, $item{__PATTERN1__}=$&;
7258 Parse::RecDescent::_trace(q{>>Matched production: [/DAY/i]<<},
7259 Parse::RecDescent::_tracefirst($text),
7262 if defined $::RD_TRACE;
7268 while (!$_matched && !$commit)
7271 Parse::RecDescent::_trace(q{Trying production: [/DAYS/i]},
7272 Parse::RecDescent::_tracefirst($_[1]),
7275 if defined $::RD_TRACE;
7276 my $thisprod = $thisrule->{"prods"}[14];
7279 @item = (q{sysibm_function});
7280 %item = (__RULE__ => q{sysibm_function});
7284 Parse::RecDescent::_trace(q{Trying terminal: [/DAYS/i]}, Parse::RecDescent::_tracefirst($text),
7287 if defined $::RD_TRACE;
7289 $expectation->is(q{})->at($text);
7292 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DAYS)//i)
7295 $expectation->failed();
7296 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7297 Parse::RecDescent::_tracefirst($text))
7298 if defined $::RD_TRACE;
7302 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7304 Parse::RecDescent::_tracefirst($text))
7305 if defined $::RD_TRACE;
7306 push @item, $item{__PATTERN1__}=$&;
7310 Parse::RecDescent::_trace(q{>>Matched production: [/DAYS/i]<<},
7311 Parse::RecDescent::_tracefirst($text),
7314 if defined $::RD_TRACE;
7320 while (!$_matched && !$commit)
7323 Parse::RecDescent::_trace(q{Trying production: [/DBCLOB/i]},
7324 Parse::RecDescent::_tracefirst($_[1]),
7327 if defined $::RD_TRACE;
7328 my $thisprod = $thisrule->{"prods"}[15];
7331 @item = (q{sysibm_function});
7332 %item = (__RULE__ => q{sysibm_function});
7336 Parse::RecDescent::_trace(q{Trying terminal: [/DBCLOB/i]}, Parse::RecDescent::_tracefirst($text),
7339 if defined $::RD_TRACE;
7341 $expectation->is(q{})->at($text);
7344 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DBCLOB)//i)
7347 $expectation->failed();
7348 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7349 Parse::RecDescent::_tracefirst($text))
7350 if defined $::RD_TRACE;
7354 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7356 Parse::RecDescent::_tracefirst($text))
7357 if defined $::RD_TRACE;
7358 push @item, $item{__PATTERN1__}=$&;
7362 Parse::RecDescent::_trace(q{>>Matched production: [/DBCLOB/i]<<},
7363 Parse::RecDescent::_tracefirst($text),
7366 if defined $::RD_TRACE;
7372 while (!$_matched && !$commit)
7375 Parse::RecDescent::_trace(q{Trying production: [/DECIMAL/i, or /DEC/i]},
7376 Parse::RecDescent::_tracefirst($_[1]),
7379 if defined $::RD_TRACE;
7380 my $thisprod = $thisrule->{"prods"}[16];
7383 @item = (q{sysibm_function});
7384 %item = (__RULE__ => q{sysibm_function});
7388 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_17_of_rule_sysibm_function]},
7389 Parse::RecDescent::_tracefirst($text),
7392 if defined $::RD_TRACE;
7393 if (1) { no strict qw{refs};
7394 $expectation->is(q{})->at($text);
7395 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_17_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
7398 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_17_of_rule_sysibm_function]>>},
7399 Parse::RecDescent::_tracefirst($text),
7402 if defined $::RD_TRACE;
7403 $expectation->failed();
7406 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_17_of_rule_sysibm_function]<< (return value: [}
7409 Parse::RecDescent::_tracefirst($text),
7412 if defined $::RD_TRACE;
7413 $item{q{_alternation_1_of_production_17_of_rule_sysibm_function}} = $_tok;
7419 Parse::RecDescent::_trace(q{>>Matched production: [/DECIMAL/i, or /DEC/i]<<},
7420 Parse::RecDescent::_tracefirst($text),
7423 if defined $::RD_TRACE;
7429 while (!$_matched && !$commit)
7432 Parse::RecDescent::_trace(q{Trying production: [/DECRYPT_BIN/i]},
7433 Parse::RecDescent::_tracefirst($_[1]),
7436 if defined $::RD_TRACE;
7437 my $thisprod = $thisrule->{"prods"}[17];
7440 @item = (q{sysibm_function});
7441 %item = (__RULE__ => q{sysibm_function});
7445 Parse::RecDescent::_trace(q{Trying terminal: [/DECRYPT_BIN/i]}, Parse::RecDescent::_tracefirst($text),
7448 if defined $::RD_TRACE;
7450 $expectation->is(q{})->at($text);
7453 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DECRYPT_BIN)//i)
7456 $expectation->failed();
7457 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7458 Parse::RecDescent::_tracefirst($text))
7459 if defined $::RD_TRACE;
7463 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7465 Parse::RecDescent::_tracefirst($text))
7466 if defined $::RD_TRACE;
7467 push @item, $item{__PATTERN1__}=$&;
7471 Parse::RecDescent::_trace(q{>>Matched production: [/DECRYPT_BIN/i]<<},
7472 Parse::RecDescent::_tracefirst($text),
7475 if defined $::RD_TRACE;
7481 while (!$_matched && !$commit)
7484 Parse::RecDescent::_trace(q{Trying production: [/DECRYPT_CHAR/i]},
7485 Parse::RecDescent::_tracefirst($_[1]),
7488 if defined $::RD_TRACE;
7489 my $thisprod = $thisrule->{"prods"}[18];
7492 @item = (q{sysibm_function});
7493 %item = (__RULE__ => q{sysibm_function});
7497 Parse::RecDescent::_trace(q{Trying terminal: [/DECRYPT_CHAR/i]}, Parse::RecDescent::_tracefirst($text),
7500 if defined $::RD_TRACE;
7502 $expectation->is(q{})->at($text);
7505 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DECRYPT_CHAR)//i)
7508 $expectation->failed();
7509 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7510 Parse::RecDescent::_tracefirst($text))
7511 if defined $::RD_TRACE;
7515 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7517 Parse::RecDescent::_tracefirst($text))
7518 if defined $::RD_TRACE;
7519 push @item, $item{__PATTERN1__}=$&;
7523 Parse::RecDescent::_trace(q{>>Matched production: [/DECRYPT_CHAR/i]<<},
7524 Parse::RecDescent::_tracefirst($text),
7527 if defined $::RD_TRACE;
7533 while (!$_matched && !$commit)
7536 Parse::RecDescent::_trace(q{Trying production: [/DEREF/i]},
7537 Parse::RecDescent::_tracefirst($_[1]),
7540 if defined $::RD_TRACE;
7541 my $thisprod = $thisrule->{"prods"}[19];
7544 @item = (q{sysibm_function});
7545 %item = (__RULE__ => q{sysibm_function});
7549 Parse::RecDescent::_trace(q{Trying terminal: [/DEREF/i]}, Parse::RecDescent::_tracefirst($text),
7552 if defined $::RD_TRACE;
7554 $expectation->is(q{})->at($text);
7557 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DEREF)//i)
7560 $expectation->failed();
7561 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7562 Parse::RecDescent::_tracefirst($text))
7563 if defined $::RD_TRACE;
7567 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7569 Parse::RecDescent::_tracefirst($text))
7570 if defined $::RD_TRACE;
7571 push @item, $item{__PATTERN1__}=$&;
7575 Parse::RecDescent::_trace(q{>>Matched production: [/DEREF/i]<<},
7576 Parse::RecDescent::_tracefirst($text),
7579 if defined $::RD_TRACE;
7585 while (!$_matched && !$commit)
7588 Parse::RecDescent::_trace(q{Trying production: [/DIGITS/i]},
7589 Parse::RecDescent::_tracefirst($_[1]),
7592 if defined $::RD_TRACE;
7593 my $thisprod = $thisrule->{"prods"}[20];
7596 @item = (q{sysibm_function});
7597 %item = (__RULE__ => q{sysibm_function});
7601 Parse::RecDescent::_trace(q{Trying terminal: [/DIGITS/i]}, Parse::RecDescent::_tracefirst($text),
7604 if defined $::RD_TRACE;
7606 $expectation->is(q{})->at($text);
7609 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DIGITS)//i)
7612 $expectation->failed();
7613 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7614 Parse::RecDescent::_tracefirst($text))
7615 if defined $::RD_TRACE;
7619 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7621 Parse::RecDescent::_tracefirst($text))
7622 if defined $::RD_TRACE;
7623 push @item, $item{__PATTERN1__}=$&;
7627 Parse::RecDescent::_trace(q{>>Matched production: [/DIGITS/i]<<},
7628 Parse::RecDescent::_tracefirst($text),
7631 if defined $::RD_TRACE;
7637 while (!$_matched && !$commit)
7640 Parse::RecDescent::_trace(q{Trying production: [/DLCOMMENT/i]},
7641 Parse::RecDescent::_tracefirst($_[1]),
7644 if defined $::RD_TRACE;
7645 my $thisprod = $thisrule->{"prods"}[21];
7648 @item = (q{sysibm_function});
7649 %item = (__RULE__ => q{sysibm_function});
7653 Parse::RecDescent::_trace(q{Trying terminal: [/DLCOMMENT/i]}, Parse::RecDescent::_tracefirst($text),
7656 if defined $::RD_TRACE;
7658 $expectation->is(q{})->at($text);
7661 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLCOMMENT)//i)
7664 $expectation->failed();
7665 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7666 Parse::RecDescent::_tracefirst($text))
7667 if defined $::RD_TRACE;
7671 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7673 Parse::RecDescent::_tracefirst($text))
7674 if defined $::RD_TRACE;
7675 push @item, $item{__PATTERN1__}=$&;
7679 Parse::RecDescent::_trace(q{>>Matched production: [/DLCOMMENT/i]<<},
7680 Parse::RecDescent::_tracefirst($text),
7683 if defined $::RD_TRACE;
7689 while (!$_matched && !$commit)
7692 Parse::RecDescent::_trace(q{Trying production: [/DLLINKTYPE/i]},
7693 Parse::RecDescent::_tracefirst($_[1]),
7696 if defined $::RD_TRACE;
7697 my $thisprod = $thisrule->{"prods"}[22];
7700 @item = (q{sysibm_function});
7701 %item = (__RULE__ => q{sysibm_function});
7705 Parse::RecDescent::_trace(q{Trying terminal: [/DLLINKTYPE/i]}, Parse::RecDescent::_tracefirst($text),
7708 if defined $::RD_TRACE;
7710 $expectation->is(q{})->at($text);
7713 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLLINKTYPE)//i)
7716 $expectation->failed();
7717 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7718 Parse::RecDescent::_tracefirst($text))
7719 if defined $::RD_TRACE;
7723 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7725 Parse::RecDescent::_tracefirst($text))
7726 if defined $::RD_TRACE;
7727 push @item, $item{__PATTERN1__}=$&;
7731 Parse::RecDescent::_trace(q{>>Matched production: [/DLLINKTYPE/i]<<},
7732 Parse::RecDescent::_tracefirst($text),
7735 if defined $::RD_TRACE;
7741 while (!$_matched && !$commit)
7744 Parse::RecDescent::_trace(q{Trying production: [/DLURLCOMPLETE/i]},
7745 Parse::RecDescent::_tracefirst($_[1]),
7748 if defined $::RD_TRACE;
7749 my $thisprod = $thisrule->{"prods"}[23];
7752 @item = (q{sysibm_function});
7753 %item = (__RULE__ => q{sysibm_function});
7757 Parse::RecDescent::_trace(q{Trying terminal: [/DLURLCOMPLETE/i]}, Parse::RecDescent::_tracefirst($text),
7760 if defined $::RD_TRACE;
7762 $expectation->is(q{})->at($text);
7765 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLURLCOMPLETE)//i)
7768 $expectation->failed();
7769 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7770 Parse::RecDescent::_tracefirst($text))
7771 if defined $::RD_TRACE;
7775 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7777 Parse::RecDescent::_tracefirst($text))
7778 if defined $::RD_TRACE;
7779 push @item, $item{__PATTERN1__}=$&;
7783 Parse::RecDescent::_trace(q{>>Matched production: [/DLURLCOMPLETE/i]<<},
7784 Parse::RecDescent::_tracefirst($text),
7787 if defined $::RD_TRACE;
7793 while (!$_matched && !$commit)
7796 Parse::RecDescent::_trace(q{Trying production: [/DLURLPATH/i]},
7797 Parse::RecDescent::_tracefirst($_[1]),
7800 if defined $::RD_TRACE;
7801 my $thisprod = $thisrule->{"prods"}[24];
7804 @item = (q{sysibm_function});
7805 %item = (__RULE__ => q{sysibm_function});
7809 Parse::RecDescent::_trace(q{Trying terminal: [/DLURLPATH/i]}, Parse::RecDescent::_tracefirst($text),
7812 if defined $::RD_TRACE;
7814 $expectation->is(q{})->at($text);
7817 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLURLPATH)//i)
7820 $expectation->failed();
7821 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7822 Parse::RecDescent::_tracefirst($text))
7823 if defined $::RD_TRACE;
7827 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7829 Parse::RecDescent::_tracefirst($text))
7830 if defined $::RD_TRACE;
7831 push @item, $item{__PATTERN1__}=$&;
7835 Parse::RecDescent::_trace(q{>>Matched production: [/DLURLPATH/i]<<},
7836 Parse::RecDescent::_tracefirst($text),
7839 if defined $::RD_TRACE;
7845 while (!$_matched && !$commit)
7848 Parse::RecDescent::_trace(q{Trying production: [/DLURLPATHONLY/i]},
7849 Parse::RecDescent::_tracefirst($_[1]),
7852 if defined $::RD_TRACE;
7853 my $thisprod = $thisrule->{"prods"}[25];
7856 @item = (q{sysibm_function});
7857 %item = (__RULE__ => q{sysibm_function});
7861 Parse::RecDescent::_trace(q{Trying terminal: [/DLURLPATHONLY/i]}, Parse::RecDescent::_tracefirst($text),
7864 if defined $::RD_TRACE;
7866 $expectation->is(q{})->at($text);
7869 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLURLPATHONLY)//i)
7872 $expectation->failed();
7873 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7874 Parse::RecDescent::_tracefirst($text))
7875 if defined $::RD_TRACE;
7879 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7881 Parse::RecDescent::_tracefirst($text))
7882 if defined $::RD_TRACE;
7883 push @item, $item{__PATTERN1__}=$&;
7887 Parse::RecDescent::_trace(q{>>Matched production: [/DLURLPATHONLY/i]<<},
7888 Parse::RecDescent::_tracefirst($text),
7891 if defined $::RD_TRACE;
7897 while (!$_matched && !$commit)
7900 Parse::RecDescent::_trace(q{Trying production: [/DLURLSCHEME/i]},
7901 Parse::RecDescent::_tracefirst($_[1]),
7904 if defined $::RD_TRACE;
7905 my $thisprod = $thisrule->{"prods"}[26];
7908 @item = (q{sysibm_function});
7909 %item = (__RULE__ => q{sysibm_function});
7913 Parse::RecDescent::_trace(q{Trying terminal: [/DLURLSCHEME/i]}, Parse::RecDescent::_tracefirst($text),
7916 if defined $::RD_TRACE;
7918 $expectation->is(q{})->at($text);
7921 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLURLSCHEME)//i)
7924 $expectation->failed();
7925 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7926 Parse::RecDescent::_tracefirst($text))
7927 if defined $::RD_TRACE;
7931 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7933 Parse::RecDescent::_tracefirst($text))
7934 if defined $::RD_TRACE;
7935 push @item, $item{__PATTERN1__}=$&;
7939 Parse::RecDescent::_trace(q{>>Matched production: [/DLURLSCHEME/i]<<},
7940 Parse::RecDescent::_tracefirst($text),
7943 if defined $::RD_TRACE;
7949 while (!$_matched && !$commit)
7952 Parse::RecDescent::_trace(q{Trying production: [/DLURLSERVER/i]},
7953 Parse::RecDescent::_tracefirst($_[1]),
7956 if defined $::RD_TRACE;
7957 my $thisprod = $thisrule->{"prods"}[27];
7960 @item = (q{sysibm_function});
7961 %item = (__RULE__ => q{sysibm_function});
7965 Parse::RecDescent::_trace(q{Trying terminal: [/DLURLSERVER/i]}, Parse::RecDescent::_tracefirst($text),
7968 if defined $::RD_TRACE;
7970 $expectation->is(q{})->at($text);
7973 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLURLSERVER)//i)
7976 $expectation->failed();
7977 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
7978 Parse::RecDescent::_tracefirst($text))
7979 if defined $::RD_TRACE;
7983 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
7985 Parse::RecDescent::_tracefirst($text))
7986 if defined $::RD_TRACE;
7987 push @item, $item{__PATTERN1__}=$&;
7991 Parse::RecDescent::_trace(q{>>Matched production: [/DLURLSERVER/i]<<},
7992 Parse::RecDescent::_tracefirst($text),
7995 if defined $::RD_TRACE;
8001 while (!$_matched && !$commit)
8004 Parse::RecDescent::_trace(q{Trying production: [/DLVALUE/i]},
8005 Parse::RecDescent::_tracefirst($_[1]),
8008 if defined $::RD_TRACE;
8009 my $thisprod = $thisrule->{"prods"}[28];
8012 @item = (q{sysibm_function});
8013 %item = (__RULE__ => q{sysibm_function});
8017 Parse::RecDescent::_trace(q{Trying terminal: [/DLVALUE/i]}, Parse::RecDescent::_tracefirst($text),
8020 if defined $::RD_TRACE;
8022 $expectation->is(q{})->at($text);
8025 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DLVALUE)//i)
8028 $expectation->failed();
8029 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8030 Parse::RecDescent::_tracefirst($text))
8031 if defined $::RD_TRACE;
8035 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8037 Parse::RecDescent::_tracefirst($text))
8038 if defined $::RD_TRACE;
8039 push @item, $item{__PATTERN1__}=$&;
8043 Parse::RecDescent::_trace(q{>>Matched production: [/DLVALUE/i]<<},
8044 Parse::RecDescent::_tracefirst($text),
8047 if defined $::RD_TRACE;
8053 while (!$_matched && !$commit)
8056 Parse::RecDescent::_trace(q{Trying production: [/DOUBLE/i, or /DOUBLE_PRECISION/i]},
8057 Parse::RecDescent::_tracefirst($_[1]),
8060 if defined $::RD_TRACE;
8061 my $thisprod = $thisrule->{"prods"}[29];
8064 @item = (q{sysibm_function});
8065 %item = (__RULE__ => q{sysibm_function});
8069 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_30_of_rule_sysibm_function]},
8070 Parse::RecDescent::_tracefirst($text),
8073 if defined $::RD_TRACE;
8074 if (1) { no strict qw{refs};
8075 $expectation->is(q{})->at($text);
8076 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_30_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
8079 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_30_of_rule_sysibm_function]>>},
8080 Parse::RecDescent::_tracefirst($text),
8083 if defined $::RD_TRACE;
8084 $expectation->failed();
8087 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_30_of_rule_sysibm_function]<< (return value: [}
8090 Parse::RecDescent::_tracefirst($text),
8093 if defined $::RD_TRACE;
8094 $item{q{_alternation_1_of_production_30_of_rule_sysibm_function}} = $_tok;
8100 Parse::RecDescent::_trace(q{>>Matched production: [/DOUBLE/i, or /DOUBLE_PRECISION/i]<<},
8101 Parse::RecDescent::_tracefirst($text),
8104 if defined $::RD_TRACE;
8110 while (!$_matched && !$commit)
8113 Parse::RecDescent::_trace(q{Trying production: [/ENCRYPT/i]},
8114 Parse::RecDescent::_tracefirst($_[1]),
8117 if defined $::RD_TRACE;
8118 my $thisprod = $thisrule->{"prods"}[30];
8121 @item = (q{sysibm_function});
8122 %item = (__RULE__ => q{sysibm_function});
8126 Parse::RecDescent::_trace(q{Trying terminal: [/ENCRYPT/i]}, Parse::RecDescent::_tracefirst($text),
8129 if defined $::RD_TRACE;
8131 $expectation->is(q{})->at($text);
8134 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ENCRYPT)//i)
8137 $expectation->failed();
8138 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8139 Parse::RecDescent::_tracefirst($text))
8140 if defined $::RD_TRACE;
8144 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8146 Parse::RecDescent::_tracefirst($text))
8147 if defined $::RD_TRACE;
8148 push @item, $item{__PATTERN1__}=$&;
8152 Parse::RecDescent::_trace(q{>>Matched production: [/ENCRYPT/i]<<},
8153 Parse::RecDescent::_tracefirst($text),
8156 if defined $::RD_TRACE;
8162 while (!$_matched && !$commit)
8165 Parse::RecDescent::_trace(q{Trying production: [/EVENT_MON_STATE/i]},
8166 Parse::RecDescent::_tracefirst($_[1]),
8169 if defined $::RD_TRACE;
8170 my $thisprod = $thisrule->{"prods"}[31];
8173 @item = (q{sysibm_function});
8174 %item = (__RULE__ => q{sysibm_function});
8178 Parse::RecDescent::_trace(q{Trying terminal: [/EVENT_MON_STATE/i]}, Parse::RecDescent::_tracefirst($text),
8181 if defined $::RD_TRACE;
8183 $expectation->is(q{})->at($text);
8186 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:EVENT_MON_STATE)//i)
8189 $expectation->failed();
8190 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8191 Parse::RecDescent::_tracefirst($text))
8192 if defined $::RD_TRACE;
8196 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8198 Parse::RecDescent::_tracefirst($text))
8199 if defined $::RD_TRACE;
8200 push @item, $item{__PATTERN1__}=$&;
8204 Parse::RecDescent::_trace(q{>>Matched production: [/EVENT_MON_STATE/i]<<},
8205 Parse::RecDescent::_tracefirst($text),
8208 if defined $::RD_TRACE;
8214 while (!$_matched && !$commit)
8217 Parse::RecDescent::_trace(q{Trying production: [/FLOAT/i]},
8218 Parse::RecDescent::_tracefirst($_[1]),
8221 if defined $::RD_TRACE;
8222 my $thisprod = $thisrule->{"prods"}[32];
8225 @item = (q{sysibm_function});
8226 %item = (__RULE__ => q{sysibm_function});
8230 Parse::RecDescent::_trace(q{Trying terminal: [/FLOAT/i]}, Parse::RecDescent::_tracefirst($text),
8233 if defined $::RD_TRACE;
8235 $expectation->is(q{})->at($text);
8238 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FLOAT)//i)
8241 $expectation->failed();
8242 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8243 Parse::RecDescent::_tracefirst($text))
8244 if defined $::RD_TRACE;
8248 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8250 Parse::RecDescent::_tracefirst($text))
8251 if defined $::RD_TRACE;
8252 push @item, $item{__PATTERN1__}=$&;
8256 Parse::RecDescent::_trace(q{>>Matched production: [/FLOAT/i]<<},
8257 Parse::RecDescent::_tracefirst($text),
8260 if defined $::RD_TRACE;
8266 while (!$_matched && !$commit)
8269 Parse::RecDescent::_trace(q{Trying production: [/GETHINT/i]},
8270 Parse::RecDescent::_tracefirst($_[1]),
8273 if defined $::RD_TRACE;
8274 my $thisprod = $thisrule->{"prods"}[33];
8277 @item = (q{sysibm_function});
8278 %item = (__RULE__ => q{sysibm_function});
8282 Parse::RecDescent::_trace(q{Trying terminal: [/GETHINT/i]}, Parse::RecDescent::_tracefirst($text),
8285 if defined $::RD_TRACE;
8287 $expectation->is(q{})->at($text);
8290 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:GETHINT)//i)
8293 $expectation->failed();
8294 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8295 Parse::RecDescent::_tracefirst($text))
8296 if defined $::RD_TRACE;
8300 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8302 Parse::RecDescent::_tracefirst($text))
8303 if defined $::RD_TRACE;
8304 push @item, $item{__PATTERN1__}=$&;
8308 Parse::RecDescent::_trace(q{>>Matched production: [/GETHINT/i]<<},
8309 Parse::RecDescent::_tracefirst($text),
8312 if defined $::RD_TRACE;
8318 while (!$_matched && !$commit)
8321 Parse::RecDescent::_trace(q{Trying production: [/GENERATE_UNIQUE/i]},
8322 Parse::RecDescent::_tracefirst($_[1]),
8325 if defined $::RD_TRACE;
8326 my $thisprod = $thisrule->{"prods"}[34];
8329 @item = (q{sysibm_function});
8330 %item = (__RULE__ => q{sysibm_function});
8334 Parse::RecDescent::_trace(q{Trying terminal: [/GENERATE_UNIQUE/i]}, Parse::RecDescent::_tracefirst($text),
8337 if defined $::RD_TRACE;
8339 $expectation->is(q{})->at($text);
8342 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:GENERATE_UNIQUE)//i)
8345 $expectation->failed();
8346 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8347 Parse::RecDescent::_tracefirst($text))
8348 if defined $::RD_TRACE;
8352 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8354 Parse::RecDescent::_tracefirst($text))
8355 if defined $::RD_TRACE;
8356 push @item, $item{__PATTERN1__}=$&;
8360 Parse::RecDescent::_trace(q{>>Matched production: [/GENERATE_UNIQUE/i]<<},
8361 Parse::RecDescent::_tracefirst($text),
8364 if defined $::RD_TRACE;
8370 while (!$_matched && !$commit)
8373 Parse::RecDescent::_trace(q{Trying production: [/GRAPHIC/i]},
8374 Parse::RecDescent::_tracefirst($_[1]),
8377 if defined $::RD_TRACE;
8378 my $thisprod = $thisrule->{"prods"}[35];
8381 @item = (q{sysibm_function});
8382 %item = (__RULE__ => q{sysibm_function});
8386 Parse::RecDescent::_trace(q{Trying terminal: [/GRAPHIC/i]}, Parse::RecDescent::_tracefirst($text),
8389 if defined $::RD_TRACE;
8391 $expectation->is(q{})->at($text);
8394 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:GRAPHIC)//i)
8397 $expectation->failed();
8398 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8399 Parse::RecDescent::_tracefirst($text))
8400 if defined $::RD_TRACE;
8404 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8406 Parse::RecDescent::_tracefirst($text))
8407 if defined $::RD_TRACE;
8408 push @item, $item{__PATTERN1__}=$&;
8412 Parse::RecDescent::_trace(q{>>Matched production: [/GRAPHIC/i]<<},
8413 Parse::RecDescent::_tracefirst($text),
8416 if defined $::RD_TRACE;
8422 while (!$_matched && !$commit)
8425 Parse::RecDescent::_trace(q{Trying production: [/GROUPING/i]},
8426 Parse::RecDescent::_tracefirst($_[1]),
8429 if defined $::RD_TRACE;
8430 my $thisprod = $thisrule->{"prods"}[36];
8433 @item = (q{sysibm_function});
8434 %item = (__RULE__ => q{sysibm_function});
8438 Parse::RecDescent::_trace(q{Trying terminal: [/GROUPING/i]}, Parse::RecDescent::_tracefirst($text),
8441 if defined $::RD_TRACE;
8443 $expectation->is(q{})->at($text);
8446 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:GROUPING)//i)
8449 $expectation->failed();
8450 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8451 Parse::RecDescent::_tracefirst($text))
8452 if defined $::RD_TRACE;
8456 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8458 Parse::RecDescent::_tracefirst($text))
8459 if defined $::RD_TRACE;
8460 push @item, $item{__PATTERN1__}=$&;
8464 Parse::RecDescent::_trace(q{>>Matched production: [/GROUPING/i]<<},
8465 Parse::RecDescent::_tracefirst($text),
8468 if defined $::RD_TRACE;
8474 while (!$_matched && !$commit)
8477 Parse::RecDescent::_trace(q{Trying production: [/HEX/i]},
8478 Parse::RecDescent::_tracefirst($_[1]),
8481 if defined $::RD_TRACE;
8482 my $thisprod = $thisrule->{"prods"}[37];
8485 @item = (q{sysibm_function});
8486 %item = (__RULE__ => q{sysibm_function});
8490 Parse::RecDescent::_trace(q{Trying terminal: [/HEX/i]}, Parse::RecDescent::_tracefirst($text),
8493 if defined $::RD_TRACE;
8495 $expectation->is(q{})->at($text);
8498 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:HEX)//i)
8501 $expectation->failed();
8502 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8503 Parse::RecDescent::_tracefirst($text))
8504 if defined $::RD_TRACE;
8508 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8510 Parse::RecDescent::_tracefirst($text))
8511 if defined $::RD_TRACE;
8512 push @item, $item{__PATTERN1__}=$&;
8516 Parse::RecDescent::_trace(q{>>Matched production: [/HEX/i]<<},
8517 Parse::RecDescent::_tracefirst($text),
8520 if defined $::RD_TRACE;
8526 while (!$_matched && !$commit)
8529 Parse::RecDescent::_trace(q{Trying production: [/HOUR/i]},
8530 Parse::RecDescent::_tracefirst($_[1]),
8533 if defined $::RD_TRACE;
8534 my $thisprod = $thisrule->{"prods"}[38];
8537 @item = (q{sysibm_function});
8538 %item = (__RULE__ => q{sysibm_function});
8542 Parse::RecDescent::_trace(q{Trying terminal: [/HOUR/i]}, Parse::RecDescent::_tracefirst($text),
8545 if defined $::RD_TRACE;
8547 $expectation->is(q{})->at($text);
8550 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:HOUR)//i)
8553 $expectation->failed();
8554 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8555 Parse::RecDescent::_tracefirst($text))
8556 if defined $::RD_TRACE;
8560 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8562 Parse::RecDescent::_tracefirst($text))
8563 if defined $::RD_TRACE;
8564 push @item, $item{__PATTERN1__}=$&;
8568 Parse::RecDescent::_trace(q{>>Matched production: [/HOUR/i]<<},
8569 Parse::RecDescent::_tracefirst($text),
8572 if defined $::RD_TRACE;
8578 while (!$_matched && !$commit)
8581 Parse::RecDescent::_trace(q{Trying production: [/IDENTITY_VAL_LOCAL/i]},
8582 Parse::RecDescent::_tracefirst($_[1]),
8585 if defined $::RD_TRACE;
8586 my $thisprod = $thisrule->{"prods"}[39];
8589 @item = (q{sysibm_function});
8590 %item = (__RULE__ => q{sysibm_function});
8594 Parse::RecDescent::_trace(q{Trying terminal: [/IDENTITY_VAL_LOCAL/i]}, Parse::RecDescent::_tracefirst($text),
8597 if defined $::RD_TRACE;
8599 $expectation->is(q{})->at($text);
8602 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:IDENTITY_VAL_LOCAL)//i)
8605 $expectation->failed();
8606 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8607 Parse::RecDescent::_tracefirst($text))
8608 if defined $::RD_TRACE;
8612 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8614 Parse::RecDescent::_tracefirst($text))
8615 if defined $::RD_TRACE;
8616 push @item, $item{__PATTERN1__}=$&;
8620 Parse::RecDescent::_trace(q{>>Matched production: [/IDENTITY_VAL_LOCAL/i]<<},
8621 Parse::RecDescent::_tracefirst($text),
8624 if defined $::RD_TRACE;
8630 while (!$_matched && !$commit)
8633 Parse::RecDescent::_trace(q{Trying production: [/INTEGER/i, or /INT/]},
8634 Parse::RecDescent::_tracefirst($_[1]),
8637 if defined $::RD_TRACE;
8638 my $thisprod = $thisrule->{"prods"}[40];
8641 @item = (q{sysibm_function});
8642 %item = (__RULE__ => q{sysibm_function});
8646 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_41_of_rule_sysibm_function]},
8647 Parse::RecDescent::_tracefirst($text),
8650 if defined $::RD_TRACE;
8651 if (1) { no strict qw{refs};
8652 $expectation->is(q{})->at($text);
8653 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_41_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
8656 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_41_of_rule_sysibm_function]>>},
8657 Parse::RecDescent::_tracefirst($text),
8660 if defined $::RD_TRACE;
8661 $expectation->failed();
8664 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_41_of_rule_sysibm_function]<< (return value: [}
8667 Parse::RecDescent::_tracefirst($text),
8670 if defined $::RD_TRACE;
8671 $item{q{_alternation_1_of_production_41_of_rule_sysibm_function}} = $_tok;
8677 Parse::RecDescent::_trace(q{>>Matched production: [/INTEGER/i, or /INT/]<<},
8678 Parse::RecDescent::_tracefirst($text),
8681 if defined $::RD_TRACE;
8687 while (!$_matched && !$commit)
8690 Parse::RecDescent::_trace(q{Trying production: [/LCASE/i, or /LOWER/]},
8691 Parse::RecDescent::_tracefirst($_[1]),
8694 if defined $::RD_TRACE;
8695 my $thisprod = $thisrule->{"prods"}[41];
8698 @item = (q{sysibm_function});
8699 %item = (__RULE__ => q{sysibm_function});
8703 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_42_of_rule_sysibm_function]},
8704 Parse::RecDescent::_tracefirst($text),
8707 if defined $::RD_TRACE;
8708 if (1) { no strict qw{refs};
8709 $expectation->is(q{})->at($text);
8710 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_42_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
8713 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_42_of_rule_sysibm_function]>>},
8714 Parse::RecDescent::_tracefirst($text),
8717 if defined $::RD_TRACE;
8718 $expectation->failed();
8721 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_42_of_rule_sysibm_function]<< (return value: [}
8724 Parse::RecDescent::_tracefirst($text),
8727 if defined $::RD_TRACE;
8728 $item{q{_alternation_1_of_production_42_of_rule_sysibm_function}} = $_tok;
8734 Parse::RecDescent::_trace(q{>>Matched production: [/LCASE/i, or /LOWER/]<<},
8735 Parse::RecDescent::_tracefirst($text),
8738 if defined $::RD_TRACE;
8744 while (!$_matched && !$commit)
8747 Parse::RecDescent::_trace(q{Trying production: [/LENGTH/i]},
8748 Parse::RecDescent::_tracefirst($_[1]),
8751 if defined $::RD_TRACE;
8752 my $thisprod = $thisrule->{"prods"}[42];
8755 @item = (q{sysibm_function});
8756 %item = (__RULE__ => q{sysibm_function});
8760 Parse::RecDescent::_trace(q{Trying terminal: [/LENGTH/i]}, Parse::RecDescent::_tracefirst($text),
8763 if defined $::RD_TRACE;
8765 $expectation->is(q{})->at($text);
8768 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LENGTH)//i)
8771 $expectation->failed();
8772 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8773 Parse::RecDescent::_tracefirst($text))
8774 if defined $::RD_TRACE;
8778 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8780 Parse::RecDescent::_tracefirst($text))
8781 if defined $::RD_TRACE;
8782 push @item, $item{__PATTERN1__}=$&;
8786 Parse::RecDescent::_trace(q{>>Matched production: [/LENGTH/i]<<},
8787 Parse::RecDescent::_tracefirst($text),
8790 if defined $::RD_TRACE;
8796 while (!$_matched && !$commit)
8799 Parse::RecDescent::_trace(q{Trying production: [/LONG_VARCHAR/i]},
8800 Parse::RecDescent::_tracefirst($_[1]),
8803 if defined $::RD_TRACE;
8804 my $thisprod = $thisrule->{"prods"}[43];
8807 @item = (q{sysibm_function});
8808 %item = (__RULE__ => q{sysibm_function});
8812 Parse::RecDescent::_trace(q{Trying terminal: [/LONG_VARCHAR/i]}, Parse::RecDescent::_tracefirst($text),
8815 if defined $::RD_TRACE;
8817 $expectation->is(q{})->at($text);
8820 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LONG_VARCHAR)//i)
8823 $expectation->failed();
8824 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8825 Parse::RecDescent::_tracefirst($text))
8826 if defined $::RD_TRACE;
8830 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8832 Parse::RecDescent::_tracefirst($text))
8833 if defined $::RD_TRACE;
8834 push @item, $item{__PATTERN1__}=$&;
8838 Parse::RecDescent::_trace(q{>>Matched production: [/LONG_VARCHAR/i]<<},
8839 Parse::RecDescent::_tracefirst($text),
8842 if defined $::RD_TRACE;
8848 while (!$_matched && !$commit)
8851 Parse::RecDescent::_trace(q{Trying production: [/LONG_VARGRAPHIC/i]},
8852 Parse::RecDescent::_tracefirst($_[1]),
8855 if defined $::RD_TRACE;
8856 my $thisprod = $thisrule->{"prods"}[44];
8859 @item = (q{sysibm_function});
8860 %item = (__RULE__ => q{sysibm_function});
8864 Parse::RecDescent::_trace(q{Trying terminal: [/LONG_VARGRAPHIC/i]}, Parse::RecDescent::_tracefirst($text),
8867 if defined $::RD_TRACE;
8869 $expectation->is(q{})->at($text);
8872 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LONG_VARGRAPHIC)//i)
8875 $expectation->failed();
8876 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8877 Parse::RecDescent::_tracefirst($text))
8878 if defined $::RD_TRACE;
8882 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8884 Parse::RecDescent::_tracefirst($text))
8885 if defined $::RD_TRACE;
8886 push @item, $item{__PATTERN1__}=$&;
8890 Parse::RecDescent::_trace(q{>>Matched production: [/LONG_VARGRAPHIC/i]<<},
8891 Parse::RecDescent::_tracefirst($text),
8894 if defined $::RD_TRACE;
8900 while (!$_matched && !$commit)
8903 Parse::RecDescent::_trace(q{Trying production: [/LTRIM/i]},
8904 Parse::RecDescent::_tracefirst($_[1]),
8907 if defined $::RD_TRACE;
8908 my $thisprod = $thisrule->{"prods"}[45];
8911 @item = (q{sysibm_function});
8912 %item = (__RULE__ => q{sysibm_function});
8916 Parse::RecDescent::_trace(q{Trying terminal: [/LTRIM/i]}, Parse::RecDescent::_tracefirst($text),
8919 if defined $::RD_TRACE;
8921 $expectation->is(q{})->at($text);
8924 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LTRIM)//i)
8927 $expectation->failed();
8928 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8929 Parse::RecDescent::_tracefirst($text))
8930 if defined $::RD_TRACE;
8934 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8936 Parse::RecDescent::_tracefirst($text))
8937 if defined $::RD_TRACE;
8938 push @item, $item{__PATTERN1__}=$&;
8942 Parse::RecDescent::_trace(q{>>Matched production: [/LTRIM/i]<<},
8943 Parse::RecDescent::_tracefirst($text),
8946 if defined $::RD_TRACE;
8952 while (!$_matched && !$commit)
8955 Parse::RecDescent::_trace(q{Trying production: [/MAX/i]},
8956 Parse::RecDescent::_tracefirst($_[1]),
8959 if defined $::RD_TRACE;
8960 my $thisprod = $thisrule->{"prods"}[46];
8963 @item = (q{sysibm_function});
8964 %item = (__RULE__ => q{sysibm_function});
8968 Parse::RecDescent::_trace(q{Trying terminal: [/MAX/i]}, Parse::RecDescent::_tracefirst($text),
8971 if defined $::RD_TRACE;
8973 $expectation->is(q{})->at($text);
8976 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MAX)//i)
8979 $expectation->failed();
8980 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
8981 Parse::RecDescent::_tracefirst($text))
8982 if defined $::RD_TRACE;
8986 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
8988 Parse::RecDescent::_tracefirst($text))
8989 if defined $::RD_TRACE;
8990 push @item, $item{__PATTERN1__}=$&;
8994 Parse::RecDescent::_trace(q{>>Matched production: [/MAX/i]<<},
8995 Parse::RecDescent::_tracefirst($text),
8998 if defined $::RD_TRACE;
9004 while (!$_matched && !$commit)
9007 Parse::RecDescent::_trace(q{Trying production: [/MICROSECOND/i]},
9008 Parse::RecDescent::_tracefirst($_[1]),
9011 if defined $::RD_TRACE;
9012 my $thisprod = $thisrule->{"prods"}[47];
9015 @item = (q{sysibm_function});
9016 %item = (__RULE__ => q{sysibm_function});
9020 Parse::RecDescent::_trace(q{Trying terminal: [/MICROSECOND/i]}, Parse::RecDescent::_tracefirst($text),
9023 if defined $::RD_TRACE;
9025 $expectation->is(q{})->at($text);
9028 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MICROSECOND)//i)
9031 $expectation->failed();
9032 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9033 Parse::RecDescent::_tracefirst($text))
9034 if defined $::RD_TRACE;
9038 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9040 Parse::RecDescent::_tracefirst($text))
9041 if defined $::RD_TRACE;
9042 push @item, $item{__PATTERN1__}=$&;
9046 Parse::RecDescent::_trace(q{>>Matched production: [/MICROSECOND/i]<<},
9047 Parse::RecDescent::_tracefirst($text),
9050 if defined $::RD_TRACE;
9056 while (!$_matched && !$commit)
9059 Parse::RecDescent::_trace(q{Trying production: [/MIN/i]},
9060 Parse::RecDescent::_tracefirst($_[1]),
9063 if defined $::RD_TRACE;
9064 my $thisprod = $thisrule->{"prods"}[48];
9067 @item = (q{sysibm_function});
9068 %item = (__RULE__ => q{sysibm_function});
9072 Parse::RecDescent::_trace(q{Trying terminal: [/MIN/i]}, Parse::RecDescent::_tracefirst($text),
9075 if defined $::RD_TRACE;
9077 $expectation->is(q{})->at($text);
9080 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MIN)//i)
9083 $expectation->failed();
9084 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9085 Parse::RecDescent::_tracefirst($text))
9086 if defined $::RD_TRACE;
9090 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9092 Parse::RecDescent::_tracefirst($text))
9093 if defined $::RD_TRACE;
9094 push @item, $item{__PATTERN1__}=$&;
9098 Parse::RecDescent::_trace(q{>>Matched production: [/MIN/i]<<},
9099 Parse::RecDescent::_tracefirst($text),
9102 if defined $::RD_TRACE;
9108 while (!$_matched && !$commit)
9111 Parse::RecDescent::_trace(q{Trying production: [/MINUTE/i]},
9112 Parse::RecDescent::_tracefirst($_[1]),
9115 if defined $::RD_TRACE;
9116 my $thisprod = $thisrule->{"prods"}[49];
9119 @item = (q{sysibm_function});
9120 %item = (__RULE__ => q{sysibm_function});
9124 Parse::RecDescent::_trace(q{Trying terminal: [/MINUTE/i]}, Parse::RecDescent::_tracefirst($text),
9127 if defined $::RD_TRACE;
9129 $expectation->is(q{})->at($text);
9132 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MINUTE)//i)
9135 $expectation->failed();
9136 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9137 Parse::RecDescent::_tracefirst($text))
9138 if defined $::RD_TRACE;
9142 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9144 Parse::RecDescent::_tracefirst($text))
9145 if defined $::RD_TRACE;
9146 push @item, $item{__PATTERN1__}=$&;
9150 Parse::RecDescent::_trace(q{>>Matched production: [/MINUTE/i]<<},
9151 Parse::RecDescent::_tracefirst($text),
9154 if defined $::RD_TRACE;
9160 while (!$_matched && !$commit)
9163 Parse::RecDescent::_trace(q{Trying production: [/MONTH/i]},
9164 Parse::RecDescent::_tracefirst($_[1]),
9167 if defined $::RD_TRACE;
9168 my $thisprod = $thisrule->{"prods"}[50];
9171 @item = (q{sysibm_function});
9172 %item = (__RULE__ => q{sysibm_function});
9176 Parse::RecDescent::_trace(q{Trying terminal: [/MONTH/i]}, Parse::RecDescent::_tracefirst($text),
9179 if defined $::RD_TRACE;
9181 $expectation->is(q{})->at($text);
9184 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MONTH)//i)
9187 $expectation->failed();
9188 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9189 Parse::RecDescent::_tracefirst($text))
9190 if defined $::RD_TRACE;
9194 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9196 Parse::RecDescent::_tracefirst($text))
9197 if defined $::RD_TRACE;
9198 push @item, $item{__PATTERN1__}=$&;
9202 Parse::RecDescent::_trace(q{>>Matched production: [/MONTH/i]<<},
9203 Parse::RecDescent::_tracefirst($text),
9206 if defined $::RD_TRACE;
9212 while (!$_matched && !$commit)
9215 Parse::RecDescent::_trace(q{Trying production: [/MULTIPLY_ACT/i]},
9216 Parse::RecDescent::_tracefirst($_[1]),
9219 if defined $::RD_TRACE;
9220 my $thisprod = $thisrule->{"prods"}[51];
9223 @item = (q{sysibm_function});
9224 %item = (__RULE__ => q{sysibm_function});
9228 Parse::RecDescent::_trace(q{Trying terminal: [/MULTIPLY_ACT/i]}, Parse::RecDescent::_tracefirst($text),
9231 if defined $::RD_TRACE;
9233 $expectation->is(q{})->at($text);
9236 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MULTIPLY_ACT)//i)
9239 $expectation->failed();
9240 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9241 Parse::RecDescent::_tracefirst($text))
9242 if defined $::RD_TRACE;
9246 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9248 Parse::RecDescent::_tracefirst($text))
9249 if defined $::RD_TRACE;
9250 push @item, $item{__PATTERN1__}=$&;
9254 Parse::RecDescent::_trace(q{>>Matched production: [/MULTIPLY_ACT/i]<<},
9255 Parse::RecDescent::_tracefirst($text),
9258 if defined $::RD_TRACE;
9264 while (!$_matched && !$commit)
9267 Parse::RecDescent::_trace(q{Trying production: [/NODENUMBER/i]},
9268 Parse::RecDescent::_tracefirst($_[1]),
9271 if defined $::RD_TRACE;
9272 my $thisprod = $thisrule->{"prods"}[52];
9275 @item = (q{sysibm_function});
9276 %item = (__RULE__ => q{sysibm_function});
9280 Parse::RecDescent::_trace(q{Trying terminal: [/NODENUMBER/i]}, Parse::RecDescent::_tracefirst($text),
9283 if defined $::RD_TRACE;
9285 $expectation->is(q{})->at($text);
9288 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NODENUMBER)//i)
9291 $expectation->failed();
9292 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9293 Parse::RecDescent::_tracefirst($text))
9294 if defined $::RD_TRACE;
9298 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9300 Parse::RecDescent::_tracefirst($text))
9301 if defined $::RD_TRACE;
9302 push @item, $item{__PATTERN1__}=$&;
9306 Parse::RecDescent::_trace(q{>>Matched production: [/NODENUMBER/i]<<},
9307 Parse::RecDescent::_tracefirst($text),
9310 if defined $::RD_TRACE;
9316 while (!$_matched && !$commit)
9319 Parse::RecDescent::_trace(q{Trying production: [/NULLIF/i]},
9320 Parse::RecDescent::_tracefirst($_[1]),
9323 if defined $::RD_TRACE;
9324 my $thisprod = $thisrule->{"prods"}[53];
9327 @item = (q{sysibm_function});
9328 %item = (__RULE__ => q{sysibm_function});
9332 Parse::RecDescent::_trace(q{Trying terminal: [/NULLIF/i]}, Parse::RecDescent::_tracefirst($text),
9335 if defined $::RD_TRACE;
9337 $expectation->is(q{})->at($text);
9340 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULLIF)//i)
9343 $expectation->failed();
9344 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9345 Parse::RecDescent::_tracefirst($text))
9346 if defined $::RD_TRACE;
9350 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9352 Parse::RecDescent::_tracefirst($text))
9353 if defined $::RD_TRACE;
9354 push @item, $item{__PATTERN1__}=$&;
9358 Parse::RecDescent::_trace(q{>>Matched production: [/NULLIF/i]<<},
9359 Parse::RecDescent::_tracefirst($text),
9362 if defined $::RD_TRACE;
9368 while (!$_matched && !$commit)
9371 Parse::RecDescent::_trace(q{Trying production: [/PARTITON/i]},
9372 Parse::RecDescent::_tracefirst($_[1]),
9375 if defined $::RD_TRACE;
9376 my $thisprod = $thisrule->{"prods"}[54];
9379 @item = (q{sysibm_function});
9380 %item = (__RULE__ => q{sysibm_function});
9384 Parse::RecDescent::_trace(q{Trying terminal: [/PARTITON/i]}, Parse::RecDescent::_tracefirst($text),
9387 if defined $::RD_TRACE;
9389 $expectation->is(q{})->at($text);
9392 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:PARTITON)//i)
9395 $expectation->failed();
9396 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9397 Parse::RecDescent::_tracefirst($text))
9398 if defined $::RD_TRACE;
9402 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9404 Parse::RecDescent::_tracefirst($text))
9405 if defined $::RD_TRACE;
9406 push @item, $item{__PATTERN1__}=$&;
9410 Parse::RecDescent::_trace(q{>>Matched production: [/PARTITON/i]<<},
9411 Parse::RecDescent::_tracefirst($text),
9414 if defined $::RD_TRACE;
9420 while (!$_matched && !$commit)
9423 Parse::RecDescent::_trace(q{Trying production: [/POSSTR/i]},
9424 Parse::RecDescent::_tracefirst($_[1]),
9427 if defined $::RD_TRACE;
9428 my $thisprod = $thisrule->{"prods"}[55];
9431 @item = (q{sysibm_function});
9432 %item = (__RULE__ => q{sysibm_function});
9436 Parse::RecDescent::_trace(q{Trying terminal: [/POSSTR/i]}, Parse::RecDescent::_tracefirst($text),
9439 if defined $::RD_TRACE;
9441 $expectation->is(q{})->at($text);
9444 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:POSSTR)//i)
9447 $expectation->failed();
9448 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9449 Parse::RecDescent::_tracefirst($text))
9450 if defined $::RD_TRACE;
9454 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9456 Parse::RecDescent::_tracefirst($text))
9457 if defined $::RD_TRACE;
9458 push @item, $item{__PATTERN1__}=$&;
9462 Parse::RecDescent::_trace(q{>>Matched production: [/POSSTR/i]<<},
9463 Parse::RecDescent::_tracefirst($text),
9466 if defined $::RD_TRACE;
9472 while (!$_matched && !$commit)
9475 Parse::RecDescent::_trace(q{Trying production: [/RAISE_ERROR/i]},
9476 Parse::RecDescent::_tracefirst($_[1]),
9479 if defined $::RD_TRACE;
9480 my $thisprod = $thisrule->{"prods"}[56];
9483 @item = (q{sysibm_function});
9484 %item = (__RULE__ => q{sysibm_function});
9488 Parse::RecDescent::_trace(q{Trying terminal: [/RAISE_ERROR/i]}, Parse::RecDescent::_tracefirst($text),
9491 if defined $::RD_TRACE;
9493 $expectation->is(q{})->at($text);
9496 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RAISE_ERROR)//i)
9499 $expectation->failed();
9500 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9501 Parse::RecDescent::_tracefirst($text))
9502 if defined $::RD_TRACE;
9506 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9508 Parse::RecDescent::_tracefirst($text))
9509 if defined $::RD_TRACE;
9510 push @item, $item{__PATTERN1__}=$&;
9514 Parse::RecDescent::_trace(q{>>Matched production: [/RAISE_ERROR/i]<<},
9515 Parse::RecDescent::_tracefirst($text),
9518 if defined $::RD_TRACE;
9524 while (!$_matched && !$commit)
9527 Parse::RecDescent::_trace(q{Trying production: [/REAL/i]},
9528 Parse::RecDescent::_tracefirst($_[1]),
9531 if defined $::RD_TRACE;
9532 my $thisprod = $thisrule->{"prods"}[57];
9535 @item = (q{sysibm_function});
9536 %item = (__RULE__ => q{sysibm_function});
9540 Parse::RecDescent::_trace(q{Trying terminal: [/REAL/i]}, Parse::RecDescent::_tracefirst($text),
9543 if defined $::RD_TRACE;
9545 $expectation->is(q{})->at($text);
9548 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REAL)//i)
9551 $expectation->failed();
9552 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9553 Parse::RecDescent::_tracefirst($text))
9554 if defined $::RD_TRACE;
9558 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9560 Parse::RecDescent::_tracefirst($text))
9561 if defined $::RD_TRACE;
9562 push @item, $item{__PATTERN1__}=$&;
9566 Parse::RecDescent::_trace(q{>>Matched production: [/REAL/i]<<},
9567 Parse::RecDescent::_tracefirst($text),
9570 if defined $::RD_TRACE;
9576 while (!$_matched && !$commit)
9579 Parse::RecDescent::_trace(q{Trying production: [/REC2XML/i]},
9580 Parse::RecDescent::_tracefirst($_[1]),
9583 if defined $::RD_TRACE;
9584 my $thisprod = $thisrule->{"prods"}[58];
9587 @item = (q{sysibm_function});
9588 %item = (__RULE__ => q{sysibm_function});
9592 Parse::RecDescent::_trace(q{Trying terminal: [/REC2XML/i]}, Parse::RecDescent::_tracefirst($text),
9595 if defined $::RD_TRACE;
9597 $expectation->is(q{})->at($text);
9600 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REC2XML)//i)
9603 $expectation->failed();
9604 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9605 Parse::RecDescent::_tracefirst($text))
9606 if defined $::RD_TRACE;
9610 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9612 Parse::RecDescent::_tracefirst($text))
9613 if defined $::RD_TRACE;
9614 push @item, $item{__PATTERN1__}=$&;
9618 Parse::RecDescent::_trace(q{>>Matched production: [/REC2XML/i]<<},
9619 Parse::RecDescent::_tracefirst($text),
9622 if defined $::RD_TRACE;
9628 while (!$_matched && !$commit)
9631 Parse::RecDescent::_trace(q{Trying production: [/REGR_AVGX/i]},
9632 Parse::RecDescent::_tracefirst($_[1]),
9635 if defined $::RD_TRACE;
9636 my $thisprod = $thisrule->{"prods"}[59];
9639 @item = (q{sysibm_function});
9640 %item = (__RULE__ => q{sysibm_function});
9644 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_AVGX/i]}, Parse::RecDescent::_tracefirst($text),
9647 if defined $::RD_TRACE;
9649 $expectation->is(q{})->at($text);
9652 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_AVGX)//i)
9655 $expectation->failed();
9656 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9657 Parse::RecDescent::_tracefirst($text))
9658 if defined $::RD_TRACE;
9662 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9664 Parse::RecDescent::_tracefirst($text))
9665 if defined $::RD_TRACE;
9666 push @item, $item{__PATTERN1__}=$&;
9670 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_AVGX/i]<<},
9671 Parse::RecDescent::_tracefirst($text),
9674 if defined $::RD_TRACE;
9680 while (!$_matched && !$commit)
9683 Parse::RecDescent::_trace(q{Trying production: [/REGR_AVGY/i]},
9684 Parse::RecDescent::_tracefirst($_[1]),
9687 if defined $::RD_TRACE;
9688 my $thisprod = $thisrule->{"prods"}[60];
9691 @item = (q{sysibm_function});
9692 %item = (__RULE__ => q{sysibm_function});
9696 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_AVGY/i]}, Parse::RecDescent::_tracefirst($text),
9699 if defined $::RD_TRACE;
9701 $expectation->is(q{})->at($text);
9704 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_AVGY)//i)
9707 $expectation->failed();
9708 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9709 Parse::RecDescent::_tracefirst($text))
9710 if defined $::RD_TRACE;
9714 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9716 Parse::RecDescent::_tracefirst($text))
9717 if defined $::RD_TRACE;
9718 push @item, $item{__PATTERN1__}=$&;
9722 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_AVGY/i]<<},
9723 Parse::RecDescent::_tracefirst($text),
9726 if defined $::RD_TRACE;
9732 while (!$_matched && !$commit)
9735 Parse::RecDescent::_trace(q{Trying production: [/REGR_COUNT/i]},
9736 Parse::RecDescent::_tracefirst($_[1]),
9739 if defined $::RD_TRACE;
9740 my $thisprod = $thisrule->{"prods"}[61];
9743 @item = (q{sysibm_function});
9744 %item = (__RULE__ => q{sysibm_function});
9748 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_COUNT/i]}, Parse::RecDescent::_tracefirst($text),
9751 if defined $::RD_TRACE;
9753 $expectation->is(q{})->at($text);
9756 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_COUNT)//i)
9759 $expectation->failed();
9760 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9761 Parse::RecDescent::_tracefirst($text))
9762 if defined $::RD_TRACE;
9766 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9768 Parse::RecDescent::_tracefirst($text))
9769 if defined $::RD_TRACE;
9770 push @item, $item{__PATTERN1__}=$&;
9774 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_COUNT/i]<<},
9775 Parse::RecDescent::_tracefirst($text),
9778 if defined $::RD_TRACE;
9784 while (!$_matched && !$commit)
9787 Parse::RecDescent::_trace(q{Trying production: [/REGR_INTERCEPT/i, or /REGR_ICPT/i]},
9788 Parse::RecDescent::_tracefirst($_[1]),
9791 if defined $::RD_TRACE;
9792 my $thisprod = $thisrule->{"prods"}[62];
9795 @item = (q{sysibm_function});
9796 %item = (__RULE__ => q{sysibm_function});
9800 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_63_of_rule_sysibm_function]},
9801 Parse::RecDescent::_tracefirst($text),
9804 if defined $::RD_TRACE;
9805 if (1) { no strict qw{refs};
9806 $expectation->is(q{})->at($text);
9807 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_63_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
9810 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_63_of_rule_sysibm_function]>>},
9811 Parse::RecDescent::_tracefirst($text),
9814 if defined $::RD_TRACE;
9815 $expectation->failed();
9818 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_63_of_rule_sysibm_function]<< (return value: [}
9821 Parse::RecDescent::_tracefirst($text),
9824 if defined $::RD_TRACE;
9825 $item{q{_alternation_1_of_production_63_of_rule_sysibm_function}} = $_tok;
9831 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_INTERCEPT/i, or /REGR_ICPT/i]<<},
9832 Parse::RecDescent::_tracefirst($text),
9835 if defined $::RD_TRACE;
9841 while (!$_matched && !$commit)
9844 Parse::RecDescent::_trace(q{Trying production: [/REGR_R2/i]},
9845 Parse::RecDescent::_tracefirst($_[1]),
9848 if defined $::RD_TRACE;
9849 my $thisprod = $thisrule->{"prods"}[63];
9852 @item = (q{sysibm_function});
9853 %item = (__RULE__ => q{sysibm_function});
9857 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_R2/i]}, Parse::RecDescent::_tracefirst($text),
9860 if defined $::RD_TRACE;
9862 $expectation->is(q{})->at($text);
9865 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_R2)//i)
9868 $expectation->failed();
9869 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9870 Parse::RecDescent::_tracefirst($text))
9871 if defined $::RD_TRACE;
9875 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9877 Parse::RecDescent::_tracefirst($text))
9878 if defined $::RD_TRACE;
9879 push @item, $item{__PATTERN1__}=$&;
9883 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_R2/i]<<},
9884 Parse::RecDescent::_tracefirst($text),
9887 if defined $::RD_TRACE;
9893 while (!$_matched && !$commit)
9896 Parse::RecDescent::_trace(q{Trying production: [/REGR_SLOPE/i]},
9897 Parse::RecDescent::_tracefirst($_[1]),
9900 if defined $::RD_TRACE;
9901 my $thisprod = $thisrule->{"prods"}[64];
9904 @item = (q{sysibm_function});
9905 %item = (__RULE__ => q{sysibm_function});
9909 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_SLOPE/i]}, Parse::RecDescent::_tracefirst($text),
9912 if defined $::RD_TRACE;
9914 $expectation->is(q{})->at($text);
9917 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_SLOPE)//i)
9920 $expectation->failed();
9921 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9922 Parse::RecDescent::_tracefirst($text))
9923 if defined $::RD_TRACE;
9927 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9929 Parse::RecDescent::_tracefirst($text))
9930 if defined $::RD_TRACE;
9931 push @item, $item{__PATTERN1__}=$&;
9935 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_SLOPE/i]<<},
9936 Parse::RecDescent::_tracefirst($text),
9939 if defined $::RD_TRACE;
9945 while (!$_matched && !$commit)
9948 Parse::RecDescent::_trace(q{Trying production: [/REGR_SXX/i]},
9949 Parse::RecDescent::_tracefirst($_[1]),
9952 if defined $::RD_TRACE;
9953 my $thisprod = $thisrule->{"prods"}[65];
9956 @item = (q{sysibm_function});
9957 %item = (__RULE__ => q{sysibm_function});
9961 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_SXX/i]}, Parse::RecDescent::_tracefirst($text),
9964 if defined $::RD_TRACE;
9966 $expectation->is(q{})->at($text);
9969 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_SXX)//i)
9972 $expectation->failed();
9973 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
9974 Parse::RecDescent::_tracefirst($text))
9975 if defined $::RD_TRACE;
9979 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
9981 Parse::RecDescent::_tracefirst($text))
9982 if defined $::RD_TRACE;
9983 push @item, $item{__PATTERN1__}=$&;
9987 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_SXX/i]<<},
9988 Parse::RecDescent::_tracefirst($text),
9991 if defined $::RD_TRACE;
9997 while (!$_matched && !$commit)
10000 Parse::RecDescent::_trace(q{Trying production: [/REGR_SXY/i]},
10001 Parse::RecDescent::_tracefirst($_[1]),
10002 q{sysibm_function},
10004 if defined $::RD_TRACE;
10005 my $thisprod = $thisrule->{"prods"}[66];
10008 @item = (q{sysibm_function});
10009 %item = (__RULE__ => q{sysibm_function});
10013 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_SXY/i]}, Parse::RecDescent::_tracefirst($text),
10014 q{sysibm_function},
10016 if defined $::RD_TRACE;
10018 $expectation->is(q{})->at($text);
10021 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_SXY)//i)
10024 $expectation->failed();
10025 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10026 Parse::RecDescent::_tracefirst($text))
10027 if defined $::RD_TRACE;
10031 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10033 Parse::RecDescent::_tracefirst($text))
10034 if defined $::RD_TRACE;
10035 push @item, $item{__PATTERN1__}=$&;
10039 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_SXY/i]<<},
10040 Parse::RecDescent::_tracefirst($text),
10041 q{sysibm_function},
10043 if defined $::RD_TRACE;
10049 while (!$_matched && !$commit)
10052 Parse::RecDescent::_trace(q{Trying production: [/REGR_SYY/i]},
10053 Parse::RecDescent::_tracefirst($_[1]),
10054 q{sysibm_function},
10056 if defined $::RD_TRACE;
10057 my $thisprod = $thisrule->{"prods"}[67];
10060 @item = (q{sysibm_function});
10061 %item = (__RULE__ => q{sysibm_function});
10065 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_SYY/i]}, Parse::RecDescent::_tracefirst($text),
10066 q{sysibm_function},
10068 if defined $::RD_TRACE;
10070 $expectation->is(q{})->at($text);
10073 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_SYY)//i)
10076 $expectation->failed();
10077 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10078 Parse::RecDescent::_tracefirst($text))
10079 if defined $::RD_TRACE;
10083 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10085 Parse::RecDescent::_tracefirst($text))
10086 if defined $::RD_TRACE;
10087 push @item, $item{__PATTERN1__}=$&;
10091 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_SYY/i]<<},
10092 Parse::RecDescent::_tracefirst($text),
10093 q{sysibm_function},
10095 if defined $::RD_TRACE;
10101 while (!$_matched && !$commit)
10104 Parse::RecDescent::_trace(q{Trying production: [/RTRIM/i]},
10105 Parse::RecDescent::_tracefirst($_[1]),
10106 q{sysibm_function},
10108 if defined $::RD_TRACE;
10109 my $thisprod = $thisrule->{"prods"}[68];
10112 @item = (q{sysibm_function});
10113 %item = (__RULE__ => q{sysibm_function});
10117 Parse::RecDescent::_trace(q{Trying terminal: [/RTRIM/i]}, Parse::RecDescent::_tracefirst($text),
10118 q{sysibm_function},
10120 if defined $::RD_TRACE;
10122 $expectation->is(q{})->at($text);
10125 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RTRIM)//i)
10128 $expectation->failed();
10129 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10130 Parse::RecDescent::_tracefirst($text))
10131 if defined $::RD_TRACE;
10135 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10137 Parse::RecDescent::_tracefirst($text))
10138 if defined $::RD_TRACE;
10139 push @item, $item{__PATTERN1__}=$&;
10143 Parse::RecDescent::_trace(q{>>Matched production: [/RTRIM/i]<<},
10144 Parse::RecDescent::_tracefirst($text),
10145 q{sysibm_function},
10147 if defined $::RD_TRACE;
10153 while (!$_matched && !$commit)
10156 Parse::RecDescent::_trace(q{Trying production: [/SECOND/i]},
10157 Parse::RecDescent::_tracefirst($_[1]),
10158 q{sysibm_function},
10160 if defined $::RD_TRACE;
10161 my $thisprod = $thisrule->{"prods"}[69];
10164 @item = (q{sysibm_function});
10165 %item = (__RULE__ => q{sysibm_function});
10169 Parse::RecDescent::_trace(q{Trying terminal: [/SECOND/i]}, Parse::RecDescent::_tracefirst($text),
10170 q{sysibm_function},
10172 if defined $::RD_TRACE;
10174 $expectation->is(q{})->at($text);
10177 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SECOND)//i)
10180 $expectation->failed();
10181 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10182 Parse::RecDescent::_tracefirst($text))
10183 if defined $::RD_TRACE;
10187 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10189 Parse::RecDescent::_tracefirst($text))
10190 if defined $::RD_TRACE;
10191 push @item, $item{__PATTERN1__}=$&;
10195 Parse::RecDescent::_trace(q{>>Matched production: [/SECOND/i]<<},
10196 Parse::RecDescent::_tracefirst($text),
10197 q{sysibm_function},
10199 if defined $::RD_TRACE;
10205 while (!$_matched && !$commit)
10208 Parse::RecDescent::_trace(q{Trying production: [/SMALLINT/i]},
10209 Parse::RecDescent::_tracefirst($_[1]),
10210 q{sysibm_function},
10212 if defined $::RD_TRACE;
10213 my $thisprod = $thisrule->{"prods"}[70];
10216 @item = (q{sysibm_function});
10217 %item = (__RULE__ => q{sysibm_function});
10221 Parse::RecDescent::_trace(q{Trying terminal: [/SMALLINT/i]}, Parse::RecDescent::_tracefirst($text),
10222 q{sysibm_function},
10224 if defined $::RD_TRACE;
10226 $expectation->is(q{})->at($text);
10229 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SMALLINT)//i)
10232 $expectation->failed();
10233 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10234 Parse::RecDescent::_tracefirst($text))
10235 if defined $::RD_TRACE;
10239 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10241 Parse::RecDescent::_tracefirst($text))
10242 if defined $::RD_TRACE;
10243 push @item, $item{__PATTERN1__}=$&;
10247 Parse::RecDescent::_trace(q{>>Matched production: [/SMALLINT/i]<<},
10248 Parse::RecDescent::_tracefirst($text),
10249 q{sysibm_function},
10251 if defined $::RD_TRACE;
10257 while (!$_matched && !$commit)
10260 Parse::RecDescent::_trace(q{Trying production: [/STDDEV/i]},
10261 Parse::RecDescent::_tracefirst($_[1]),
10262 q{sysibm_function},
10264 if defined $::RD_TRACE;
10265 my $thisprod = $thisrule->{"prods"}[71];
10268 @item = (q{sysibm_function});
10269 %item = (__RULE__ => q{sysibm_function});
10273 Parse::RecDescent::_trace(q{Trying terminal: [/STDDEV/i]}, Parse::RecDescent::_tracefirst($text),
10274 q{sysibm_function},
10276 if defined $::RD_TRACE;
10278 $expectation->is(q{})->at($text);
10281 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:STDDEV)//i)
10284 $expectation->failed();
10285 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10286 Parse::RecDescent::_tracefirst($text))
10287 if defined $::RD_TRACE;
10291 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10293 Parse::RecDescent::_tracefirst($text))
10294 if defined $::RD_TRACE;
10295 push @item, $item{__PATTERN1__}=$&;
10299 Parse::RecDescent::_trace(q{>>Matched production: [/STDDEV/i]<<},
10300 Parse::RecDescent::_tracefirst($text),
10301 q{sysibm_function},
10303 if defined $::RD_TRACE;
10309 while (!$_matched && !$commit)
10312 Parse::RecDescent::_trace(q{Trying production: [/SUBSTR/i]},
10313 Parse::RecDescent::_tracefirst($_[1]),
10314 q{sysibm_function},
10316 if defined $::RD_TRACE;
10317 my $thisprod = $thisrule->{"prods"}[72];
10320 @item = (q{sysibm_function});
10321 %item = (__RULE__ => q{sysibm_function});
10325 Parse::RecDescent::_trace(q{Trying terminal: [/SUBSTR/i]}, Parse::RecDescent::_tracefirst($text),
10326 q{sysibm_function},
10328 if defined $::RD_TRACE;
10330 $expectation->is(q{})->at($text);
10333 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SUBSTR)//i)
10336 $expectation->failed();
10337 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10338 Parse::RecDescent::_tracefirst($text))
10339 if defined $::RD_TRACE;
10343 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10345 Parse::RecDescent::_tracefirst($text))
10346 if defined $::RD_TRACE;
10347 push @item, $item{__PATTERN1__}=$&;
10351 Parse::RecDescent::_trace(q{>>Matched production: [/SUBSTR/i]<<},
10352 Parse::RecDescent::_tracefirst($text),
10353 q{sysibm_function},
10355 if defined $::RD_TRACE;
10361 while (!$_matched && !$commit)
10364 Parse::RecDescent::_trace(q{Trying production: [/SUM/i]},
10365 Parse::RecDescent::_tracefirst($_[1]),
10366 q{sysibm_function},
10368 if defined $::RD_TRACE;
10369 my $thisprod = $thisrule->{"prods"}[73];
10372 @item = (q{sysibm_function});
10373 %item = (__RULE__ => q{sysibm_function});
10377 Parse::RecDescent::_trace(q{Trying terminal: [/SUM/i]}, Parse::RecDescent::_tracefirst($text),
10378 q{sysibm_function},
10380 if defined $::RD_TRACE;
10382 $expectation->is(q{})->at($text);
10385 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SUM)//i)
10388 $expectation->failed();
10389 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10390 Parse::RecDescent::_tracefirst($text))
10391 if defined $::RD_TRACE;
10395 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10397 Parse::RecDescent::_tracefirst($text))
10398 if defined $::RD_TRACE;
10399 push @item, $item{__PATTERN1__}=$&;
10403 Parse::RecDescent::_trace(q{>>Matched production: [/SUM/i]<<},
10404 Parse::RecDescent::_tracefirst($text),
10405 q{sysibm_function},
10407 if defined $::RD_TRACE;
10413 while (!$_matched && !$commit)
10416 Parse::RecDescent::_trace(q{Trying production: [/TABLE_NAME/i]},
10417 Parse::RecDescent::_tracefirst($_[1]),
10418 q{sysibm_function},
10420 if defined $::RD_TRACE;
10421 my $thisprod = $thisrule->{"prods"}[74];
10424 @item = (q{sysibm_function});
10425 %item = (__RULE__ => q{sysibm_function});
10429 Parse::RecDescent::_trace(q{Trying terminal: [/TABLE_NAME/i]}, Parse::RecDescent::_tracefirst($text),
10430 q{sysibm_function},
10432 if defined $::RD_TRACE;
10434 $expectation->is(q{})->at($text);
10437 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TABLE_NAME)//i)
10440 $expectation->failed();
10441 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10442 Parse::RecDescent::_tracefirst($text))
10443 if defined $::RD_TRACE;
10447 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10449 Parse::RecDescent::_tracefirst($text))
10450 if defined $::RD_TRACE;
10451 push @item, $item{__PATTERN1__}=$&;
10455 Parse::RecDescent::_trace(q{>>Matched production: [/TABLE_NAME/i]<<},
10456 Parse::RecDescent::_tracefirst($text),
10457 q{sysibm_function},
10459 if defined $::RD_TRACE;
10465 while (!$_matched && !$commit)
10468 Parse::RecDescent::_trace(q{Trying production: [/TABLE_SCHEMA/i]},
10469 Parse::RecDescent::_tracefirst($_[1]),
10470 q{sysibm_function},
10472 if defined $::RD_TRACE;
10473 my $thisprod = $thisrule->{"prods"}[75];
10476 @item = (q{sysibm_function});
10477 %item = (__RULE__ => q{sysibm_function});
10481 Parse::RecDescent::_trace(q{Trying terminal: [/TABLE_SCHEMA/i]}, Parse::RecDescent::_tracefirst($text),
10482 q{sysibm_function},
10484 if defined $::RD_TRACE;
10486 $expectation->is(q{})->at($text);
10489 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TABLE_SCHEMA)//i)
10492 $expectation->failed();
10493 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10494 Parse::RecDescent::_tracefirst($text))
10495 if defined $::RD_TRACE;
10499 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10501 Parse::RecDescent::_tracefirst($text))
10502 if defined $::RD_TRACE;
10503 push @item, $item{__PATTERN1__}=$&;
10507 Parse::RecDescent::_trace(q{>>Matched production: [/TABLE_SCHEMA/i]<<},
10508 Parse::RecDescent::_tracefirst($text),
10509 q{sysibm_function},
10511 if defined $::RD_TRACE;
10517 while (!$_matched && !$commit)
10520 Parse::RecDescent::_trace(q{Trying production: [/TIME/i]},
10521 Parse::RecDescent::_tracefirst($_[1]),
10522 q{sysibm_function},
10524 if defined $::RD_TRACE;
10525 my $thisprod = $thisrule->{"prods"}[76];
10528 @item = (q{sysibm_function});
10529 %item = (__RULE__ => q{sysibm_function});
10533 Parse::RecDescent::_trace(q{Trying terminal: [/TIME/i]}, Parse::RecDescent::_tracefirst($text),
10534 q{sysibm_function},
10536 if defined $::RD_TRACE;
10538 $expectation->is(q{})->at($text);
10541 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TIME)//i)
10544 $expectation->failed();
10545 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10546 Parse::RecDescent::_tracefirst($text))
10547 if defined $::RD_TRACE;
10551 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10553 Parse::RecDescent::_tracefirst($text))
10554 if defined $::RD_TRACE;
10555 push @item, $item{__PATTERN1__}=$&;
10559 Parse::RecDescent::_trace(q{>>Matched production: [/TIME/i]<<},
10560 Parse::RecDescent::_tracefirst($text),
10561 q{sysibm_function},
10563 if defined $::RD_TRACE;
10569 while (!$_matched && !$commit)
10572 Parse::RecDescent::_trace(q{Trying production: [/TIMESTAMP/i]},
10573 Parse::RecDescent::_tracefirst($_[1]),
10574 q{sysibm_function},
10576 if defined $::RD_TRACE;
10577 my $thisprod = $thisrule->{"prods"}[77];
10580 @item = (q{sysibm_function});
10581 %item = (__RULE__ => q{sysibm_function});
10585 Parse::RecDescent::_trace(q{Trying terminal: [/TIMESTAMP/i]}, Parse::RecDescent::_tracefirst($text),
10586 q{sysibm_function},
10588 if defined $::RD_TRACE;
10590 $expectation->is(q{})->at($text);
10593 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TIMESTAMP)//i)
10596 $expectation->failed();
10597 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10598 Parse::RecDescent::_tracefirst($text))
10599 if defined $::RD_TRACE;
10603 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10605 Parse::RecDescent::_tracefirst($text))
10606 if defined $::RD_TRACE;
10607 push @item, $item{__PATTERN1__}=$&;
10611 Parse::RecDescent::_trace(q{>>Matched production: [/TIMESTAMP/i]<<},
10612 Parse::RecDescent::_tracefirst($text),
10613 q{sysibm_function},
10615 if defined $::RD_TRACE;
10621 while (!$_matched && !$commit)
10624 Parse::RecDescent::_trace(q{Trying production: [/TRANSLATE/i]},
10625 Parse::RecDescent::_tracefirst($_[1]),
10626 q{sysibm_function},
10628 if defined $::RD_TRACE;
10629 my $thisprod = $thisrule->{"prods"}[78];
10632 @item = (q{sysibm_function});
10633 %item = (__RULE__ => q{sysibm_function});
10637 Parse::RecDescent::_trace(q{Trying terminal: [/TRANSLATE/i]}, Parse::RecDescent::_tracefirst($text),
10638 q{sysibm_function},
10640 if defined $::RD_TRACE;
10642 $expectation->is(q{})->at($text);
10645 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TRANSLATE)//i)
10648 $expectation->failed();
10649 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10650 Parse::RecDescent::_tracefirst($text))
10651 if defined $::RD_TRACE;
10655 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10657 Parse::RecDescent::_tracefirst($text))
10658 if defined $::RD_TRACE;
10659 push @item, $item{__PATTERN1__}=$&;
10663 Parse::RecDescent::_trace(q{>>Matched production: [/TRANSLATE/i]<<},
10664 Parse::RecDescent::_tracefirst($text),
10665 q{sysibm_function},
10667 if defined $::RD_TRACE;
10673 while (!$_matched && !$commit)
10676 Parse::RecDescent::_trace(q{Trying production: [/TYPE_ID/i]},
10677 Parse::RecDescent::_tracefirst($_[1]),
10678 q{sysibm_function},
10680 if defined $::RD_TRACE;
10681 my $thisprod = $thisrule->{"prods"}[79];
10684 @item = (q{sysibm_function});
10685 %item = (__RULE__ => q{sysibm_function});
10689 Parse::RecDescent::_trace(q{Trying terminal: [/TYPE_ID/i]}, Parse::RecDescent::_tracefirst($text),
10690 q{sysibm_function},
10692 if defined $::RD_TRACE;
10694 $expectation->is(q{})->at($text);
10697 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TYPE_ID)//i)
10700 $expectation->failed();
10701 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10702 Parse::RecDescent::_tracefirst($text))
10703 if defined $::RD_TRACE;
10707 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10709 Parse::RecDescent::_tracefirst($text))
10710 if defined $::RD_TRACE;
10711 push @item, $item{__PATTERN1__}=$&;
10715 Parse::RecDescent::_trace(q{>>Matched production: [/TYPE_ID/i]<<},
10716 Parse::RecDescent::_tracefirst($text),
10717 q{sysibm_function},
10719 if defined $::RD_TRACE;
10725 while (!$_matched && !$commit)
10728 Parse::RecDescent::_trace(q{Trying production: [/TYPE_NAME/i]},
10729 Parse::RecDescent::_tracefirst($_[1]),
10730 q{sysibm_function},
10732 if defined $::RD_TRACE;
10733 my $thisprod = $thisrule->{"prods"}[80];
10736 @item = (q{sysibm_function});
10737 %item = (__RULE__ => q{sysibm_function});
10741 Parse::RecDescent::_trace(q{Trying terminal: [/TYPE_NAME/i]}, Parse::RecDescent::_tracefirst($text),
10742 q{sysibm_function},
10744 if defined $::RD_TRACE;
10746 $expectation->is(q{})->at($text);
10749 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TYPE_NAME)//i)
10752 $expectation->failed();
10753 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10754 Parse::RecDescent::_tracefirst($text))
10755 if defined $::RD_TRACE;
10759 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10761 Parse::RecDescent::_tracefirst($text))
10762 if defined $::RD_TRACE;
10763 push @item, $item{__PATTERN1__}=$&;
10767 Parse::RecDescent::_trace(q{>>Matched production: [/TYPE_NAME/i]<<},
10768 Parse::RecDescent::_tracefirst($text),
10769 q{sysibm_function},
10771 if defined $::RD_TRACE;
10777 while (!$_matched && !$commit)
10780 Parse::RecDescent::_trace(q{Trying production: [/TYPE_SCHEMA/i]},
10781 Parse::RecDescent::_tracefirst($_[1]),
10782 q{sysibm_function},
10784 if defined $::RD_TRACE;
10785 my $thisprod = $thisrule->{"prods"}[81];
10788 @item = (q{sysibm_function});
10789 %item = (__RULE__ => q{sysibm_function});
10793 Parse::RecDescent::_trace(q{Trying terminal: [/TYPE_SCHEMA/i]}, Parse::RecDescent::_tracefirst($text),
10794 q{sysibm_function},
10796 if defined $::RD_TRACE;
10798 $expectation->is(q{})->at($text);
10801 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TYPE_SCHEMA)//i)
10804 $expectation->failed();
10805 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10806 Parse::RecDescent::_tracefirst($text))
10807 if defined $::RD_TRACE;
10811 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10813 Parse::RecDescent::_tracefirst($text))
10814 if defined $::RD_TRACE;
10815 push @item, $item{__PATTERN1__}=$&;
10819 Parse::RecDescent::_trace(q{>>Matched production: [/TYPE_SCHEMA/i]<<},
10820 Parse::RecDescent::_tracefirst($text),
10821 q{sysibm_function},
10823 if defined $::RD_TRACE;
10829 while (!$_matched && !$commit)
10832 Parse::RecDescent::_trace(q{Trying production: [/UCASE/i, or /UPPER/i]},
10833 Parse::RecDescent::_tracefirst($_[1]),
10834 q{sysibm_function},
10836 if defined $::RD_TRACE;
10837 my $thisprod = $thisrule->{"prods"}[82];
10840 @item = (q{sysibm_function});
10841 %item = (__RULE__ => q{sysibm_function});
10845 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_83_of_rule_sysibm_function]},
10846 Parse::RecDescent::_tracefirst($text),
10847 q{sysibm_function},
10849 if defined $::RD_TRACE;
10850 if (1) { no strict qw{refs};
10851 $expectation->is(q{})->at($text);
10852 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_83_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
10855 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_83_of_rule_sysibm_function]>>},
10856 Parse::RecDescent::_tracefirst($text),
10857 q{sysibm_function},
10859 if defined $::RD_TRACE;
10860 $expectation->failed();
10863 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_83_of_rule_sysibm_function]<< (return value: [}
10866 Parse::RecDescent::_tracefirst($text),
10867 q{sysibm_function},
10869 if defined $::RD_TRACE;
10870 $item{q{_alternation_1_of_production_83_of_rule_sysibm_function}} = $_tok;
10876 Parse::RecDescent::_trace(q{>>Matched production: [/UCASE/i, or /UPPER/i]<<},
10877 Parse::RecDescent::_tracefirst($text),
10878 q{sysibm_function},
10880 if defined $::RD_TRACE;
10886 while (!$_matched && !$commit)
10889 Parse::RecDescent::_trace(q{Trying production: [/VALUE/i]},
10890 Parse::RecDescent::_tracefirst($_[1]),
10891 q{sysibm_function},
10893 if defined $::RD_TRACE;
10894 my $thisprod = $thisrule->{"prods"}[83];
10897 @item = (q{sysibm_function});
10898 %item = (__RULE__ => q{sysibm_function});
10902 Parse::RecDescent::_trace(q{Trying terminal: [/VALUE/i]}, Parse::RecDescent::_tracefirst($text),
10903 q{sysibm_function},
10905 if defined $::RD_TRACE;
10907 $expectation->is(q{})->at($text);
10910 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:VALUE)//i)
10913 $expectation->failed();
10914 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10915 Parse::RecDescent::_tracefirst($text))
10916 if defined $::RD_TRACE;
10920 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10922 Parse::RecDescent::_tracefirst($text))
10923 if defined $::RD_TRACE;
10924 push @item, $item{__PATTERN1__}=$&;
10928 Parse::RecDescent::_trace(q{>>Matched production: [/VALUE/i]<<},
10929 Parse::RecDescent::_tracefirst($text),
10930 q{sysibm_function},
10932 if defined $::RD_TRACE;
10938 while (!$_matched && !$commit)
10941 Parse::RecDescent::_trace(q{Trying production: [/VARCHAR/i]},
10942 Parse::RecDescent::_tracefirst($_[1]),
10943 q{sysibm_function},
10945 if defined $::RD_TRACE;
10946 my $thisprod = $thisrule->{"prods"}[84];
10949 @item = (q{sysibm_function});
10950 %item = (__RULE__ => q{sysibm_function});
10954 Parse::RecDescent::_trace(q{Trying terminal: [/VARCHAR/i]}, Parse::RecDescent::_tracefirst($text),
10955 q{sysibm_function},
10957 if defined $::RD_TRACE;
10959 $expectation->is(q{})->at($text);
10962 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:VARCHAR)//i)
10965 $expectation->failed();
10966 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
10967 Parse::RecDescent::_tracefirst($text))
10968 if defined $::RD_TRACE;
10972 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
10974 Parse::RecDescent::_tracefirst($text))
10975 if defined $::RD_TRACE;
10976 push @item, $item{__PATTERN1__}=$&;
10980 Parse::RecDescent::_trace(q{>>Matched production: [/VARCHAR/i]<<},
10981 Parse::RecDescent::_tracefirst($text),
10982 q{sysibm_function},
10984 if defined $::RD_TRACE;
10990 while (!$_matched && !$commit)
10993 Parse::RecDescent::_trace(q{Trying production: [/VARGRAPHIC/i]},
10994 Parse::RecDescent::_tracefirst($_[1]),
10995 q{sysibm_function},
10997 if defined $::RD_TRACE;
10998 my $thisprod = $thisrule->{"prods"}[85];
11001 @item = (q{sysibm_function});
11002 %item = (__RULE__ => q{sysibm_function});
11006 Parse::RecDescent::_trace(q{Trying terminal: [/VARGRAPHIC/i]}, Parse::RecDescent::_tracefirst($text),
11007 q{sysibm_function},
11009 if defined $::RD_TRACE;
11011 $expectation->is(q{})->at($text);
11014 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:VARGRAPHIC)//i)
11017 $expectation->failed();
11018 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11019 Parse::RecDescent::_tracefirst($text))
11020 if defined $::RD_TRACE;
11024 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11026 Parse::RecDescent::_tracefirst($text))
11027 if defined $::RD_TRACE;
11028 push @item, $item{__PATTERN1__}=$&;
11032 Parse::RecDescent::_trace(q{>>Matched production: [/VARGRAPHIC/i]<<},
11033 Parse::RecDescent::_tracefirst($text),
11034 q{sysibm_function},
11036 if defined $::RD_TRACE;
11042 while (!$_matched && !$commit)
11045 Parse::RecDescent::_trace(q{Trying production: [/VARIANCE/i, or /VAR/i]},
11046 Parse::RecDescent::_tracefirst($_[1]),
11047 q{sysibm_function},
11049 if defined $::RD_TRACE;
11050 my $thisprod = $thisrule->{"prods"}[86];
11053 @item = (q{sysibm_function});
11054 %item = (__RULE__ => q{sysibm_function});
11058 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_87_of_rule_sysibm_function]},
11059 Parse::RecDescent::_tracefirst($text),
11060 q{sysibm_function},
11062 if defined $::RD_TRACE;
11063 if (1) { no strict qw{refs};
11064 $expectation->is(q{})->at($text);
11065 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_87_of_rule_sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
11068 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_87_of_rule_sysibm_function]>>},
11069 Parse::RecDescent::_tracefirst($text),
11070 q{sysibm_function},
11072 if defined $::RD_TRACE;
11073 $expectation->failed();
11076 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_87_of_rule_sysibm_function]<< (return value: [}
11079 Parse::RecDescent::_tracefirst($text),
11080 q{sysibm_function},
11082 if defined $::RD_TRACE;
11083 $item{q{_alternation_1_of_production_87_of_rule_sysibm_function}} = $_tok;
11089 Parse::RecDescent::_trace(q{>>Matched production: [/VARIANCE/i, or /VAR/i]<<},
11090 Parse::RecDescent::_tracefirst($text),
11091 q{sysibm_function},
11093 if defined $::RD_TRACE;
11099 while (!$_matched && !$commit)
11102 Parse::RecDescent::_trace(q{Trying production: [/YEAR/i]},
11103 Parse::RecDescent::_tracefirst($_[1]),
11104 q{sysibm_function},
11106 if defined $::RD_TRACE;
11107 my $thisprod = $thisrule->{"prods"}[87];
11110 @item = (q{sysibm_function});
11111 %item = (__RULE__ => q{sysibm_function});
11115 Parse::RecDescent::_trace(q{Trying terminal: [/YEAR/i]}, Parse::RecDescent::_tracefirst($text),
11116 q{sysibm_function},
11118 if defined $::RD_TRACE;
11120 $expectation->is(q{})->at($text);
11123 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:YEAR)//i)
11126 $expectation->failed();
11127 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11128 Parse::RecDescent::_tracefirst($text))
11129 if defined $::RD_TRACE;
11133 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11135 Parse::RecDescent::_tracefirst($text))
11136 if defined $::RD_TRACE;
11137 push @item, $item{__PATTERN1__}=$&;
11141 Parse::RecDescent::_trace(q{>>Matched production: [/YEAR/i]<<},
11142 Parse::RecDescent::_tracefirst($text),
11143 q{sysibm_function},
11145 if defined $::RD_TRACE;
11151 unless ( $_matched || defined($return) || defined($score) )
11155 $_[1] = $text; # NOT SURE THIS IS NEEDED
11156 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
11157 Parse::RecDescent::_tracefirst($_[1]),
11158 q{sysibm_function},
11160 if defined $::RD_TRACE;
11163 if (!defined($return) && defined($score))
11165 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
11166 q{sysibm_function},
11168 if defined $::RD_TRACE;
11169 $return = $score_return;
11171 splice @{$thisparser->{errors}}, $err_at;
11172 $return = $item[$#item] unless defined $return;
11173 if (defined $::RD_TRACE)
11175 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11176 $return . q{])}, "",
11177 q{sysibm_function},
11179 Parse::RecDescent::_trace(q{(consumed: [} .
11180 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11181 Parse::RecDescent::_tracefirst($text),
11182 , q{sysibm_function},
11189 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
11190 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_partition_clause
11192 my $thisparser = $_[0];
11193 use vars q{$tracelevel};
11194 local $tracelevel = ($tracelevel||0)+1;
11196 my $thisrule = $thisparser->{"rules"}{"window_partition_clause"};
11198 Parse::RecDescent::_trace(q{Trying rule: [window_partition_clause]},
11199 Parse::RecDescent::_tracefirst($_[1]),
11200 q{window_partition_clause},
11202 if defined $::RD_TRACE;
11205 my $err_at = @{$thisparser->{errors}};
11210 my $return = undef;
11215 my $repeating = defined($_[2]) && $_[2];
11216 my $_noactions = defined($_[3]) && $_[3];
11217 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
11218 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
11221 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
11222 $expectation->at($_[1]);
11225 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11229 while (!$_matched && !$commit)
11232 Parse::RecDescent::_trace(q{Trying production: [/PARTITION\\s+BY/i <leftop: partitioning_expression /,/ partitioning_expression>]},
11233 Parse::RecDescent::_tracefirst($_[1]),
11234 q{window_partition_clause},
11236 if defined $::RD_TRACE;
11237 my $thisprod = $thisrule->{"prods"}[0];
11240 @item = (q{window_partition_clause});
11241 %item = (__RULE__ => q{window_partition_clause});
11245 Parse::RecDescent::_trace(q{Trying terminal: [/PARTITION\\s+BY/i]}, Parse::RecDescent::_tracefirst($text),
11246 q{window_partition_clause},
11248 if defined $::RD_TRACE;
11250 $expectation->is(q{})->at($text);
11253 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:PARTITION\s+BY)//i)
11256 $expectation->failed();
11257 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11258 Parse::RecDescent::_tracefirst($text))
11259 if defined $::RD_TRACE;
11263 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11265 Parse::RecDescent::_tracefirst($text))
11266 if defined $::RD_TRACE;
11267 push @item, $item{__PATTERN1__}=$&;
11270 Parse::RecDescent::_trace(q{Trying operator: [<leftop: partitioning_expression /,/ partitioning_expression>]},
11271 Parse::RecDescent::_tracefirst($text),
11272 q{window_partition_clause},
11274 if defined $::RD_TRACE;
11275 $expectation->is(q{<leftop: partitioning_expression /,/ partitioning_expression>})->at($text);
11285 Parse::RecDescent::_trace(q{Trying subrule: [partitioning_expression]},
11286 Parse::RecDescent::_tracefirst($text),
11287 q{window_partition_clause},
11289 if defined $::RD_TRACE;
11290 if (1) { no strict qw{refs};
11291 $expectation->is(q{partitioning_expression})->at($text);
11292 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::partitioning_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
11295 Parse::RecDescent::_trace(q{<<Didn't match subrule: [partitioning_expression]>>},
11296 Parse::RecDescent::_tracefirst($text),
11297 q{window_partition_clause},
11299 if defined $::RD_TRACE;
11300 $expectation->failed();
11303 Parse::RecDescent::_trace(q{>>Matched subrule: [partitioning_expression]<< (return value: [}
11306 Parse::RecDescent::_tracefirst($text),
11307 q{window_partition_clause},
11309 if defined $::RD_TRACE;
11310 $item{q{partitioning_expression}} = $_tok;
11318 my $savetext = $text;
11321 # MATCH (OP RIGHTARG)(s)
11322 while ($repcount < 100000000)
11326 Parse::RecDescent::_trace(q{Trying terminal: [/,/]}, Parse::RecDescent::_tracefirst($text),
11327 q{window_partition_clause},
11329 if defined $::RD_TRACE;
11331 $expectation->is(q{/,/})->at($text);
11334 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:,)//)
11337 $expectation->failed();
11338 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11339 Parse::RecDescent::_tracefirst($text))
11340 if defined $::RD_TRACE;
11344 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11346 Parse::RecDescent::_tracefirst($text))
11347 if defined $::RD_TRACE;
11348 push @item, $item{__PATTERN2__}=$&;
11352 if (defined $1) {push @item, $item{'partitioning_expression(s)'}=$1; $backtrack=1;}
11354 Parse::RecDescent::_trace(q{Trying subrule: [partitioning_expression]},
11355 Parse::RecDescent::_tracefirst($text),
11356 q{window_partition_clause},
11358 if defined $::RD_TRACE;
11359 if (1) { no strict qw{refs};
11360 $expectation->is(q{partitioning_expression})->at($text);
11361 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::partitioning_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
11364 Parse::RecDescent::_trace(q{<<Didn't match subrule: [partitioning_expression]>>},
11365 Parse::RecDescent::_tracefirst($text),
11366 q{window_partition_clause},
11368 if defined $::RD_TRACE;
11369 $expectation->failed();
11372 Parse::RecDescent::_trace(q{>>Matched subrule: [partitioning_expression]<< (return value: [}
11375 Parse::RecDescent::_tracefirst($text),
11376 q{window_partition_clause},
11378 if defined $::RD_TRACE;
11379 $item{q{partitioning_expression}} = $_tok;
11388 pop @item if $backtrack;
11390 unless (@item) { undef $_tok; last }
11395 unless ($repcount>=1)
11397 Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: partitioning_expression /,/ partitioning_expression>]>>},
11398 Parse::RecDescent::_tracefirst($text),
11399 q{window_partition_clause},
11401 if defined $::RD_TRACE;
11402 $expectation->failed();
11405 Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: partitioning_expression /,/ partitioning_expression>]<< (return value: [}
11406 . qq{@{$_tok||[]}} . q{]},
11407 Parse::RecDescent::_tracefirst($text),
11408 q{window_partition_clause},
11410 if defined $::RD_TRACE;
11412 push @item, $item{'partitioning_expression(s)'}=$_tok||[];
11416 Parse::RecDescent::_trace(q{>>Matched production: [/PARTITION\\s+BY/i <leftop: partitioning_expression /,/ partitioning_expression>]<<},
11417 Parse::RecDescent::_tracefirst($text),
11418 q{window_partition_clause},
11420 if defined $::RD_TRACE;
11426 unless ( $_matched || defined($return) || defined($score) )
11430 $_[1] = $text; # NOT SURE THIS IS NEEDED
11431 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
11432 Parse::RecDescent::_tracefirst($_[1]),
11433 q{window_partition_clause},
11435 if defined $::RD_TRACE;
11438 if (!defined($return) && defined($score))
11440 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
11441 q{window_partition_clause},
11443 if defined $::RD_TRACE;
11444 $return = $score_return;
11446 splice @{$thisparser->{errors}}, $err_at;
11447 $return = $item[$#item] unless defined $return;
11448 if (defined $::RD_TRACE)
11450 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11451 $return . q{])}, "",
11452 q{window_partition_clause},
11454 Parse::RecDescent::_trace(q{(consumed: [} .
11455 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11456 Parse::RecDescent::_tracefirst($text),
11457 , q{window_partition_clause},
11464 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
11465 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::WHERE
11467 my $thisparser = $_[0];
11468 use vars q{$tracelevel};
11469 local $tracelevel = ($tracelevel||0)+1;
11471 my $thisrule = $thisparser->{"rules"}{"WHERE"};
11473 Parse::RecDescent::_trace(q{Trying rule: [WHERE]},
11474 Parse::RecDescent::_tracefirst($_[1]),
11477 if defined $::RD_TRACE;
11480 my $err_at = @{$thisparser->{errors}};
11485 my $return = undef;
11490 my $repeating = defined($_[2]) && $_[2];
11491 my $_noactions = defined($_[3]) && $_[3];
11492 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
11493 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
11496 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
11497 $expectation->at($_[1]);
11500 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11504 while (!$_matched && !$commit)
11507 Parse::RecDescent::_trace(q{Trying production: [/where/i]},
11508 Parse::RecDescent::_tracefirst($_[1]),
11511 if defined $::RD_TRACE;
11512 my $thisprod = $thisrule->{"prods"}[0];
11515 @item = (q{WHERE});
11516 %item = (__RULE__ => q{WHERE});
11520 Parse::RecDescent::_trace(q{Trying terminal: [/where/i]}, Parse::RecDescent::_tracefirst($text),
11523 if defined $::RD_TRACE;
11525 $expectation->is(q{})->at($text);
11528 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:where)//i)
11531 $expectation->failed();
11532 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11533 Parse::RecDescent::_tracefirst($text))
11534 if defined $::RD_TRACE;
11538 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11540 Parse::RecDescent::_tracefirst($text))
11541 if defined $::RD_TRACE;
11542 push @item, $item{__PATTERN1__}=$&;
11546 Parse::RecDescent::_trace(q{>>Matched production: [/where/i]<<},
11547 Parse::RecDescent::_tracefirst($text),
11550 if defined $::RD_TRACE;
11556 unless ( $_matched || defined($return) || defined($score) )
11560 $_[1] = $text; # NOT SURE THIS IS NEEDED
11561 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
11562 Parse::RecDescent::_tracefirst($_[1]),
11565 if defined $::RD_TRACE;
11568 if (!defined($return) && defined($score))
11570 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
11573 if defined $::RD_TRACE;
11574 $return = $score_return;
11576 splice @{$thisparser->{errors}}, $err_at;
11577 $return = $item[$#item] unless defined $return;
11578 if (defined $::RD_TRACE)
11580 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11581 $return . q{])}, "",
11584 Parse::RecDescent::_trace(q{(consumed: [} .
11585 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11586 Parse::RecDescent::_tracefirst($text),
11594 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
11595 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::CREATE
11597 my $thisparser = $_[0];
11598 use vars q{$tracelevel};
11599 local $tracelevel = ($tracelevel||0)+1;
11601 my $thisrule = $thisparser->{"rules"}{"CREATE"};
11603 Parse::RecDescent::_trace(q{Trying rule: [CREATE]},
11604 Parse::RecDescent::_tracefirst($_[1]),
11607 if defined $::RD_TRACE;
11610 my $err_at = @{$thisparser->{errors}};
11615 my $return = undef;
11620 my $repeating = defined($_[2]) && $_[2];
11621 my $_noactions = defined($_[3]) && $_[3];
11622 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
11623 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
11626 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
11627 $expectation->at($_[1]);
11630 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11634 while (!$_matched && !$commit)
11637 Parse::RecDescent::_trace(q{Trying production: [/create/i]},
11638 Parse::RecDescent::_tracefirst($_[1]),
11641 if defined $::RD_TRACE;
11642 my $thisprod = $thisrule->{"prods"}[0];
11645 @item = (q{CREATE});
11646 %item = (__RULE__ => q{CREATE});
11650 Parse::RecDescent::_trace(q{Trying terminal: [/create/i]}, Parse::RecDescent::_tracefirst($text),
11653 if defined $::RD_TRACE;
11655 $expectation->is(q{})->at($text);
11658 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:create)//i)
11661 $expectation->failed();
11662 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11663 Parse::RecDescent::_tracefirst($text))
11664 if defined $::RD_TRACE;
11668 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11670 Parse::RecDescent::_tracefirst($text))
11671 if defined $::RD_TRACE;
11672 push @item, $item{__PATTERN1__}=$&;
11676 Parse::RecDescent::_trace(q{>>Matched production: [/create/i]<<},
11677 Parse::RecDescent::_tracefirst($text),
11680 if defined $::RD_TRACE;
11686 unless ( $_matched || defined($return) || defined($score) )
11690 $_[1] = $text; # NOT SURE THIS IS NEEDED
11691 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
11692 Parse::RecDescent::_tracefirst($_[1]),
11695 if defined $::RD_TRACE;
11698 if (!defined($return) && defined($score))
11700 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
11703 if defined $::RD_TRACE;
11704 $return = $score_return;
11706 splice @{$thisparser->{errors}}, $err_at;
11707 $return = $item[$#item] unless defined $return;
11708 if (defined $::RD_TRACE)
11710 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11711 $return . q{])}, "",
11714 Parse::RecDescent::_trace(q{(consumed: [} .
11715 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11716 Parse::RecDescent::_tracefirst($text),
11724 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
11725 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_sysfun
11727 my $thisparser = $_[0];
11728 use vars q{$tracelevel};
11729 local $tracelevel = ($tracelevel||0)+1;
11731 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_sysfun"};
11733 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_sysfun]},
11734 Parse::RecDescent::_tracefirst($_[1]),
11735 q{_alternation_1_of_production_1_of_rule_sysfun},
11737 if defined $::RD_TRACE;
11740 my $err_at = @{$thisparser->{errors}};
11745 my $return = undef;
11750 my $repeating = defined($_[2]) && $_[2];
11751 my $_noactions = defined($_[3]) && $_[3];
11752 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
11753 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
11756 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
11757 $expectation->at($_[1]);
11760 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11764 while (!$_matched && !$commit)
11767 Parse::RecDescent::_trace(q{Trying production: [/ABS/i]},
11768 Parse::RecDescent::_tracefirst($_[1]),
11769 q{_alternation_1_of_production_1_of_rule_sysfun},
11771 if defined $::RD_TRACE;
11772 my $thisprod = $thisrule->{"prods"}[0];
11775 @item = (q{_alternation_1_of_production_1_of_rule_sysfun});
11776 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_sysfun});
11780 Parse::RecDescent::_trace(q{Trying terminal: [/ABS/i]}, Parse::RecDescent::_tracefirst($text),
11781 q{_alternation_1_of_production_1_of_rule_sysfun},
11783 if defined $::RD_TRACE;
11785 $expectation->is(q{})->at($text);
11788 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ABS)//i)
11791 $expectation->failed();
11792 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11793 Parse::RecDescent::_tracefirst($text))
11794 if defined $::RD_TRACE;
11798 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11800 Parse::RecDescent::_tracefirst($text))
11801 if defined $::RD_TRACE;
11802 push @item, $item{__PATTERN1__}=$&;
11806 Parse::RecDescent::_trace(q{>>Matched production: [/ABS/i]<<},
11807 Parse::RecDescent::_tracefirst($text),
11808 q{_alternation_1_of_production_1_of_rule_sysfun},
11810 if defined $::RD_TRACE;
11816 while (!$_matched && !$commit)
11819 Parse::RecDescent::_trace(q{Trying production: [/ABSVAL/i]},
11820 Parse::RecDescent::_tracefirst($_[1]),
11821 q{_alternation_1_of_production_1_of_rule_sysfun},
11823 if defined $::RD_TRACE;
11824 my $thisprod = $thisrule->{"prods"}[1];
11827 @item = (q{_alternation_1_of_production_1_of_rule_sysfun});
11828 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_sysfun});
11832 Parse::RecDescent::_trace(q{Trying terminal: [/ABSVAL/i]}, Parse::RecDescent::_tracefirst($text),
11833 q{_alternation_1_of_production_1_of_rule_sysfun},
11835 if defined $::RD_TRACE;
11837 $expectation->is(q{})->at($text);
11840 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ABSVAL)//i)
11843 $expectation->failed();
11844 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11845 Parse::RecDescent::_tracefirst($text))
11846 if defined $::RD_TRACE;
11850 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11852 Parse::RecDescent::_tracefirst($text))
11853 if defined $::RD_TRACE;
11854 push @item, $item{__PATTERN1__}=$&;
11858 Parse::RecDescent::_trace(q{>>Matched production: [/ABSVAL/i]<<},
11859 Parse::RecDescent::_tracefirst($text),
11860 q{_alternation_1_of_production_1_of_rule_sysfun},
11862 if defined $::RD_TRACE;
11868 unless ( $_matched || defined($return) || defined($score) )
11872 $_[1] = $text; # NOT SURE THIS IS NEEDED
11873 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
11874 Parse::RecDescent::_tracefirst($_[1]),
11875 q{_alternation_1_of_production_1_of_rule_sysfun},
11877 if defined $::RD_TRACE;
11880 if (!defined($return) && defined($score))
11882 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
11883 q{_alternation_1_of_production_1_of_rule_sysfun},
11885 if defined $::RD_TRACE;
11886 $return = $score_return;
11888 splice @{$thisparser->{errors}}, $err_at;
11889 $return = $item[$#item] unless defined $return;
11890 if (defined $::RD_TRACE)
11892 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11893 $return . q{])}, "",
11894 q{_alternation_1_of_production_1_of_rule_sysfun},
11896 Parse::RecDescent::_trace(q{(consumed: [} .
11897 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11898 Parse::RecDescent::_tracefirst($text),
11899 , q{_alternation_1_of_production_1_of_rule_sysfun},
11906 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
11907 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_function
11909 my $thisparser = $_[0];
11910 use vars q{$tracelevel};
11911 local $tracelevel = ($tracelevel||0)+1;
11913 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_function"};
11915 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_function]},
11916 Parse::RecDescent::_tracefirst($_[1]),
11917 q{_alternation_1_of_production_1_of_rule_function},
11919 if defined $::RD_TRACE;
11922 my $err_at = @{$thisparser->{errors}};
11927 my $return = undef;
11932 my $repeating = defined($_[2]) && $_[2];
11933 my $_noactions = defined($_[3]) && $_[3];
11934 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
11935 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
11938 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
11939 $expectation->at($_[1]);
11942 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11946 while (!$_matched && !$commit)
11949 Parse::RecDescent::_trace(q{Trying production: [/SYSIBM\\.|/i sysibm_function]},
11950 Parse::RecDescent::_tracefirst($_[1]),
11951 q{_alternation_1_of_production_1_of_rule_function},
11953 if defined $::RD_TRACE;
11954 my $thisprod = $thisrule->{"prods"}[0];
11957 @item = (q{_alternation_1_of_production_1_of_rule_function});
11958 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_function});
11962 Parse::RecDescent::_trace(q{Trying terminal: [/SYSIBM\\.|/i]}, Parse::RecDescent::_tracefirst($text),
11963 q{_alternation_1_of_production_1_of_rule_function},
11965 if defined $::RD_TRACE;
11967 $expectation->is(q{})->at($text);
11970 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SYSIBM\.|)//i)
11973 $expectation->failed();
11974 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
11975 Parse::RecDescent::_tracefirst($text))
11976 if defined $::RD_TRACE;
11980 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
11982 Parse::RecDescent::_tracefirst($text))
11983 if defined $::RD_TRACE;
11984 push @item, $item{__PATTERN1__}=$&;
11987 Parse::RecDescent::_trace(q{Trying subrule: [sysibm_function]},
11988 Parse::RecDescent::_tracefirst($text),
11989 q{_alternation_1_of_production_1_of_rule_function},
11991 if defined $::RD_TRACE;
11992 if (1) { no strict qw{refs};
11993 $expectation->is(q{sysibm_function})->at($text);
11994 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sysibm_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
11997 Parse::RecDescent::_trace(q{<<Didn't match subrule: [sysibm_function]>>},
11998 Parse::RecDescent::_tracefirst($text),
11999 q{_alternation_1_of_production_1_of_rule_function},
12001 if defined $::RD_TRACE;
12002 $expectation->failed();
12005 Parse::RecDescent::_trace(q{>>Matched subrule: [sysibm_function]<< (return value: [}
12008 Parse::RecDescent::_tracefirst($text),
12009 q{_alternation_1_of_production_1_of_rule_function},
12011 if defined $::RD_TRACE;
12012 $item{q{sysibm_function}} = $_tok;
12018 Parse::RecDescent::_trace(q{>>Matched production: [/SYSIBM\\.|/i sysibm_function]<<},
12019 Parse::RecDescent::_tracefirst($text),
12020 q{_alternation_1_of_production_1_of_rule_function},
12022 if defined $::RD_TRACE;
12028 while (!$_matched && !$commit)
12031 Parse::RecDescent::_trace(q{Trying production: [/SYSFUN\\.|/i sysfun_function]},
12032 Parse::RecDescent::_tracefirst($_[1]),
12033 q{_alternation_1_of_production_1_of_rule_function},
12035 if defined $::RD_TRACE;
12036 my $thisprod = $thisrule->{"prods"}[1];
12039 @item = (q{_alternation_1_of_production_1_of_rule_function});
12040 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_function});
12044 Parse::RecDescent::_trace(q{Trying terminal: [/SYSFUN\\.|/i]}, Parse::RecDescent::_tracefirst($text),
12045 q{_alternation_1_of_production_1_of_rule_function},
12047 if defined $::RD_TRACE;
12049 $expectation->is(q{})->at($text);
12052 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SYSFUN\.|)//i)
12055 $expectation->failed();
12056 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
12057 Parse::RecDescent::_tracefirst($text))
12058 if defined $::RD_TRACE;
12062 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
12064 Parse::RecDescent::_tracefirst($text))
12065 if defined $::RD_TRACE;
12066 push @item, $item{__PATTERN1__}=$&;
12069 Parse::RecDescent::_trace(q{Trying subrule: [sysfun_function]},
12070 Parse::RecDescent::_tracefirst($text),
12071 q{_alternation_1_of_production_1_of_rule_function},
12073 if defined $::RD_TRACE;
12074 if (1) { no strict qw{refs};
12075 $expectation->is(q{sysfun_function})->at($text);
12076 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sysfun_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12079 Parse::RecDescent::_trace(q{<<Didn't match subrule: [sysfun_function]>>},
12080 Parse::RecDescent::_tracefirst($text),
12081 q{_alternation_1_of_production_1_of_rule_function},
12083 if defined $::RD_TRACE;
12084 $expectation->failed();
12087 Parse::RecDescent::_trace(q{>>Matched subrule: [sysfun_function]<< (return value: [}
12090 Parse::RecDescent::_tracefirst($text),
12091 q{_alternation_1_of_production_1_of_rule_function},
12093 if defined $::RD_TRACE;
12094 $item{q{sysfun_function}} = $_tok;
12100 Parse::RecDescent::_trace(q{>>Matched production: [/SYSFUN\\.|/i sysfun_function]<<},
12101 Parse::RecDescent::_tracefirst($text),
12102 q{_alternation_1_of_production_1_of_rule_function},
12104 if defined $::RD_TRACE;
12110 while (!$_matched && !$commit)
12113 Parse::RecDescent::_trace(q{Trying production: [userdefined_function]},
12114 Parse::RecDescent::_tracefirst($_[1]),
12115 q{_alternation_1_of_production_1_of_rule_function},
12117 if defined $::RD_TRACE;
12118 my $thisprod = $thisrule->{"prods"}[2];
12121 @item = (q{_alternation_1_of_production_1_of_rule_function});
12122 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_function});
12126 Parse::RecDescent::_trace(q{Trying subrule: [userdefined_function]},
12127 Parse::RecDescent::_tracefirst($text),
12128 q{_alternation_1_of_production_1_of_rule_function},
12130 if defined $::RD_TRACE;
12131 if (1) { no strict qw{refs};
12132 $expectation->is(q{})->at($text);
12133 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::userdefined_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12136 Parse::RecDescent::_trace(q{<<Didn't match subrule: [userdefined_function]>>},
12137 Parse::RecDescent::_tracefirst($text),
12138 q{_alternation_1_of_production_1_of_rule_function},
12140 if defined $::RD_TRACE;
12141 $expectation->failed();
12144 Parse::RecDescent::_trace(q{>>Matched subrule: [userdefined_function]<< (return value: [}
12147 Parse::RecDescent::_tracefirst($text),
12148 q{_alternation_1_of_production_1_of_rule_function},
12150 if defined $::RD_TRACE;
12151 $item{q{userdefined_function}} = $_tok;
12157 Parse::RecDescent::_trace(q{>>Matched production: [userdefined_function]<<},
12158 Parse::RecDescent::_tracefirst($text),
12159 q{_alternation_1_of_production_1_of_rule_function},
12161 if defined $::RD_TRACE;
12167 unless ( $_matched || defined($return) || defined($score) )
12171 $_[1] = $text; # NOT SURE THIS IS NEEDED
12172 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
12173 Parse::RecDescent::_tracefirst($_[1]),
12174 q{_alternation_1_of_production_1_of_rule_function},
12176 if defined $::RD_TRACE;
12179 if (!defined($return) && defined($score))
12181 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
12182 q{_alternation_1_of_production_1_of_rule_function},
12184 if defined $::RD_TRACE;
12185 $return = $score_return;
12187 splice @{$thisparser->{errors}}, $err_at;
12188 $return = $item[$#item] unless defined $return;
12189 if (defined $::RD_TRACE)
12191 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12192 $return . q{])}, "",
12193 q{_alternation_1_of_production_1_of_rule_function},
12195 Parse::RecDescent::_trace(q{(consumed: [} .
12196 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12197 Parse::RecDescent::_tracefirst($text),
12198 , q{_alternation_1_of_production_1_of_rule_function},
12205 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
12206 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::identifier
12208 my $thisparser = $_[0];
12209 use vars q{$tracelevel};
12210 local $tracelevel = ($tracelevel||0)+1;
12212 my $thisrule = $thisparser->{"rules"}{"identifier"};
12214 Parse::RecDescent::_trace(q{Trying rule: [identifier]},
12215 Parse::RecDescent::_tracefirst($_[1]),
12218 if defined $::RD_TRACE;
12221 my $err_at = @{$thisparser->{errors}};
12226 my $return = undef;
12231 my $repeating = defined($_[2]) && $_[2];
12232 my $_noactions = defined($_[3]) && $_[3];
12233 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
12234 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
12237 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
12238 $expectation->at($_[1]);
12241 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12245 while (!$_matched && !$commit)
12248 Parse::RecDescent::_trace(q{Trying production: [NAME]},
12249 Parse::RecDescent::_tracefirst($_[1]),
12252 if defined $::RD_TRACE;
12253 my $thisprod = $thisrule->{"prods"}[0];
12256 @item = (q{identifier});
12257 %item = (__RULE__ => q{identifier});
12261 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
12262 Parse::RecDescent::_tracefirst($text),
12265 if defined $::RD_TRACE;
12266 if (1) { no strict qw{refs};
12267 $expectation->is(q{})->at($text);
12268 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12271 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
12272 Parse::RecDescent::_tracefirst($text),
12275 if defined $::RD_TRACE;
12276 $expectation->failed();
12279 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
12282 Parse::RecDescent::_tracefirst($text),
12285 if defined $::RD_TRACE;
12286 $item{q{NAME}} = $_tok;
12292 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
12293 Parse::RecDescent::_tracefirst($text),
12296 if defined $::RD_TRACE;
12302 unless ( $_matched || defined($return) || defined($score) )
12306 $_[1] = $text; # NOT SURE THIS IS NEEDED
12307 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
12308 Parse::RecDescent::_tracefirst($_[1]),
12311 if defined $::RD_TRACE;
12314 if (!defined($return) && defined($score))
12316 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
12319 if defined $::RD_TRACE;
12320 $return = $score_return;
12322 splice @{$thisparser->{errors}}, $err_at;
12323 $return = $item[$#item] unless defined $return;
12324 if (defined $::RD_TRACE)
12326 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12327 $return . q{])}, "",
12330 Parse::RecDescent::_trace(q{(consumed: [} .
12331 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12332 Parse::RecDescent::_tracefirst($text),
12340 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
12341 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause
12343 my $thisparser = $_[0];
12344 use vars q{$tracelevel};
12345 local $tracelevel = ($tracelevel||0)+1;
12347 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause"};
12349 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause]},
12350 Parse::RecDescent::_tracefirst($_[1]),
12351 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12353 if defined $::RD_TRACE;
12356 my $err_at = @{$thisparser->{errors}};
12361 my $return = undef;
12366 my $repeating = defined($_[2]) && $_[2];
12367 my $_noactions = defined($_[3]) && $_[3];
12368 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
12369 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
12372 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
12373 $expectation->at($_[1]);
12376 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12380 while (!$_matched && !$commit)
12383 Parse::RecDescent::_trace(q{Trying production: [asc_option]},
12384 Parse::RecDescent::_tracefirst($_[1]),
12385 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12387 if defined $::RD_TRACE;
12388 my $thisprod = $thisrule->{"prods"}[0];
12391 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause});
12392 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause});
12396 Parse::RecDescent::_trace(q{Trying subrule: [asc_option]},
12397 Parse::RecDescent::_tracefirst($text),
12398 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12400 if defined $::RD_TRACE;
12401 if (1) { no strict qw{refs};
12402 $expectation->is(q{})->at($text);
12403 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::asc_option($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12406 Parse::RecDescent::_trace(q{<<Didn't match subrule: [asc_option]>>},
12407 Parse::RecDescent::_tracefirst($text),
12408 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12410 if defined $::RD_TRACE;
12411 $expectation->failed();
12414 Parse::RecDescent::_trace(q{>>Matched subrule: [asc_option]<< (return value: [}
12417 Parse::RecDescent::_tracefirst($text),
12418 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12420 if defined $::RD_TRACE;
12421 $item{q{asc_option}} = $_tok;
12427 Parse::RecDescent::_trace(q{>>Matched production: [asc_option]<<},
12428 Parse::RecDescent::_tracefirst($text),
12429 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12431 if defined $::RD_TRACE;
12437 while (!$_matched && !$commit)
12440 Parse::RecDescent::_trace(q{Trying production: [desc_option]},
12441 Parse::RecDescent::_tracefirst($_[1]),
12442 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12444 if defined $::RD_TRACE;
12445 my $thisprod = $thisrule->{"prods"}[1];
12448 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause});
12449 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause});
12453 Parse::RecDescent::_trace(q{Trying subrule: [desc_option]},
12454 Parse::RecDescent::_tracefirst($text),
12455 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12457 if defined $::RD_TRACE;
12458 if (1) { no strict qw{refs};
12459 $expectation->is(q{})->at($text);
12460 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::desc_option($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12463 Parse::RecDescent::_trace(q{<<Didn't match subrule: [desc_option]>>},
12464 Parse::RecDescent::_tracefirst($text),
12465 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12467 if defined $::RD_TRACE;
12468 $expectation->failed();
12471 Parse::RecDescent::_trace(q{>>Matched subrule: [desc_option]<< (return value: [}
12474 Parse::RecDescent::_tracefirst($text),
12475 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12477 if defined $::RD_TRACE;
12478 $item{q{desc_option}} = $_tok;
12484 Parse::RecDescent::_trace(q{>>Matched production: [desc_option]<<},
12485 Parse::RecDescent::_tracefirst($text),
12486 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12488 if defined $::RD_TRACE;
12494 unless ( $_matched || defined($return) || defined($score) )
12498 $_[1] = $text; # NOT SURE THIS IS NEEDED
12499 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
12500 Parse::RecDescent::_tracefirst($_[1]),
12501 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12503 if defined $::RD_TRACE;
12506 if (!defined($return) && defined($score))
12508 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
12509 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12511 if defined $::RD_TRACE;
12512 $return = $score_return;
12514 splice @{$thisparser->{errors}}, $err_at;
12515 $return = $item[$#item] unless defined $return;
12516 if (defined $::RD_TRACE)
12518 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12519 $return . q{])}, "",
12520 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12522 Parse::RecDescent::_trace(q{(consumed: [} .
12523 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12524 Parse::RecDescent::_tracefirst($text),
12525 , q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause},
12532 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
12533 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::result_expression
12535 my $thisparser = $_[0];
12536 use vars q{$tracelevel};
12537 local $tracelevel = ($tracelevel||0)+1;
12539 my $thisrule = $thisparser->{"rules"}{"result_expression"};
12541 Parse::RecDescent::_trace(q{Trying rule: [result_expression]},
12542 Parse::RecDescent::_tracefirst($_[1]),
12543 q{result_expression},
12545 if defined $::RD_TRACE;
12548 my $err_at = @{$thisparser->{errors}};
12553 my $return = undef;
12558 my $repeating = defined($_[2]) && $_[2];
12559 my $_noactions = defined($_[3]) && $_[3];
12560 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
12561 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
12564 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
12565 $expectation->at($_[1]);
12568 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12572 while (!$_matched && !$commit)
12575 Parse::RecDescent::_trace(q{Trying production: [expression]},
12576 Parse::RecDescent::_tracefirst($_[1]),
12577 q{result_expression},
12579 if defined $::RD_TRACE;
12580 my $thisprod = $thisrule->{"prods"}[0];
12583 @item = (q{result_expression});
12584 %item = (__RULE__ => q{result_expression});
12588 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
12589 Parse::RecDescent::_tracefirst($text),
12590 q{result_expression},
12592 if defined $::RD_TRACE;
12593 if (1) { no strict qw{refs};
12594 $expectation->is(q{})->at($text);
12595 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12598 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
12599 Parse::RecDescent::_tracefirst($text),
12600 q{result_expression},
12602 if defined $::RD_TRACE;
12603 $expectation->failed();
12606 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
12609 Parse::RecDescent::_tracefirst($text),
12610 q{result_expression},
12612 if defined $::RD_TRACE;
12613 $item{q{expression}} = $_tok;
12619 Parse::RecDescent::_trace(q{>>Matched production: [expression]<<},
12620 Parse::RecDescent::_tracefirst($text),
12621 q{result_expression},
12623 if defined $::RD_TRACE;
12629 unless ( $_matched || defined($return) || defined($score) )
12633 $_[1] = $text; # NOT SURE THIS IS NEEDED
12634 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
12635 Parse::RecDescent::_tracefirst($_[1]),
12636 q{result_expression},
12638 if defined $::RD_TRACE;
12641 if (!defined($return) && defined($score))
12643 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
12644 q{result_expression},
12646 if defined $::RD_TRACE;
12647 $return = $score_return;
12649 splice @{$thisparser->{errors}}, $err_at;
12650 $return = $item[$#item] unless defined $return;
12651 if (defined $::RD_TRACE)
12653 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12654 $return . q{])}, "",
12655 q{result_expression},
12657 Parse::RecDescent::_trace(q{(consumed: [} .
12658 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12659 Parse::RecDescent::_tracefirst($text),
12660 , q{result_expression},
12667 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
12668 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::scoped_reference_expression
12670 my $thisparser = $_[0];
12671 use vars q{$tracelevel};
12672 local $tracelevel = ($tracelevel||0)+1;
12674 my $thisrule = $thisparser->{"rules"}{"scoped_reference_expression"};
12676 Parse::RecDescent::_trace(q{Trying rule: [scoped_reference_expression]},
12677 Parse::RecDescent::_tracefirst($_[1]),
12678 q{scoped_reference_expression},
12680 if defined $::RD_TRACE;
12683 my $err_at = @{$thisparser->{errors}};
12688 my $return = undef;
12693 my $repeating = defined($_[2]) && $_[2];
12694 my $_noactions = defined($_[3]) && $_[3];
12695 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
12696 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
12699 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
12700 $expectation->at($_[1]);
12703 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12707 while (!$_matched && !$commit)
12710 Parse::RecDescent::_trace(q{Trying production: [expression]},
12711 Parse::RecDescent::_tracefirst($_[1]),
12712 q{scoped_reference_expression},
12714 if defined $::RD_TRACE;
12715 my $thisprod = $thisrule->{"prods"}[0];
12718 @item = (q{scoped_reference_expression});
12719 %item = (__RULE__ => q{scoped_reference_expression});
12723 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
12724 Parse::RecDescent::_tracefirst($text),
12725 q{scoped_reference_expression},
12727 if defined $::RD_TRACE;
12728 if (1) { no strict qw{refs};
12729 $expectation->is(q{})->at($text);
12730 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12733 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
12734 Parse::RecDescent::_tracefirst($text),
12735 q{scoped_reference_expression},
12737 if defined $::RD_TRACE;
12738 $expectation->failed();
12741 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
12744 Parse::RecDescent::_tracefirst($text),
12745 q{scoped_reference_expression},
12747 if defined $::RD_TRACE;
12748 $item{q{expression}} = $_tok;
12753 Parse::RecDescent::_trace(q{Trying action},
12754 Parse::RecDescent::_tracefirst($text),
12755 q{scoped_reference_expression},
12757 if defined $::RD_TRACE;
12760 $_tok = ($_noactions) ? 0 : do { # scoped, reference
12762 unless (defined $_tok)
12764 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
12765 if defined $::RD_TRACE;
12768 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
12770 Parse::RecDescent::_tracefirst($text))
12771 if defined $::RD_TRACE;
12773 $item{__ACTION1__}=$_tok;
12777 Parse::RecDescent::_trace(q{>>Matched production: [expression]<<},
12778 Parse::RecDescent::_tracefirst($text),
12779 q{scoped_reference_expression},
12781 if defined $::RD_TRACE;
12787 unless ( $_matched || defined($return) || defined($score) )
12791 $_[1] = $text; # NOT SURE THIS IS NEEDED
12792 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
12793 Parse::RecDescent::_tracefirst($_[1]),
12794 q{scoped_reference_expression},
12796 if defined $::RD_TRACE;
12799 if (!defined($return) && defined($score))
12801 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
12802 q{scoped_reference_expression},
12804 if defined $::RD_TRACE;
12805 $return = $score_return;
12807 splice @{$thisparser->{errors}}, $err_at;
12808 $return = $item[$#item] unless defined $return;
12809 if (defined $::RD_TRACE)
12811 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12812 $return . q{])}, "",
12813 q{scoped_reference_expression},
12815 Parse::RecDescent::_trace(q{(consumed: [} .
12816 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12817 Parse::RecDescent::_tracefirst($text),
12818 , q{scoped_reference_expression},
12825 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
12826 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification
12828 my $thisparser = $_[0];
12829 use vars q{$tracelevel};
12830 local $tracelevel = ($tracelevel||0)+1;
12832 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification"};
12834 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification]},
12835 Parse::RecDescent::_tracefirst($_[1]),
12836 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12838 if defined $::RD_TRACE;
12841 my $err_at = @{$thisparser->{errors}};
12846 my $return = undef;
12851 my $repeating = defined($_[2]) && $_[2];
12852 my $_noactions = defined($_[3]) && $_[3];
12853 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
12854 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
12857 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
12858 $expectation->at($_[1]);
12861 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12865 while (!$_matched && !$commit)
12868 Parse::RecDescent::_trace(q{Trying production: [typed_table_name]},
12869 Parse::RecDescent::_tracefirst($_[1]),
12870 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12872 if defined $::RD_TRACE;
12873 my $thisprod = $thisrule->{"prods"}[0];
12876 @item = (q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification});
12877 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification});
12881 Parse::RecDescent::_trace(q{Trying subrule: [typed_table_name]},
12882 Parse::RecDescent::_tracefirst($text),
12883 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12885 if defined $::RD_TRACE;
12886 if (1) { no strict qw{refs};
12887 $expectation->is(q{})->at($text);
12888 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::typed_table_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12891 Parse::RecDescent::_trace(q{<<Didn't match subrule: [typed_table_name]>>},
12892 Parse::RecDescent::_tracefirst($text),
12893 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12895 if defined $::RD_TRACE;
12896 $expectation->failed();
12899 Parse::RecDescent::_trace(q{>>Matched subrule: [typed_table_name]<< (return value: [}
12902 Parse::RecDescent::_tracefirst($text),
12903 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12905 if defined $::RD_TRACE;
12906 $item{q{typed_table_name}} = $_tok;
12912 Parse::RecDescent::_trace(q{>>Matched production: [typed_table_name]<<},
12913 Parse::RecDescent::_tracefirst($text),
12914 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12916 if defined $::RD_TRACE;
12922 while (!$_matched && !$commit)
12925 Parse::RecDescent::_trace(q{Trying production: [typed_view_name]},
12926 Parse::RecDescent::_tracefirst($_[1]),
12927 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12929 if defined $::RD_TRACE;
12930 my $thisprod = $thisrule->{"prods"}[1];
12933 @item = (q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification});
12934 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification});
12938 Parse::RecDescent::_trace(q{Trying subrule: [typed_view_name]},
12939 Parse::RecDescent::_tracefirst($text),
12940 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12942 if defined $::RD_TRACE;
12943 if (1) { no strict qw{refs};
12944 $expectation->is(q{})->at($text);
12945 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::typed_view_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
12948 Parse::RecDescent::_trace(q{<<Didn't match subrule: [typed_view_name]>>},
12949 Parse::RecDescent::_tracefirst($text),
12950 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12952 if defined $::RD_TRACE;
12953 $expectation->failed();
12956 Parse::RecDescent::_trace(q{>>Matched subrule: [typed_view_name]<< (return value: [}
12959 Parse::RecDescent::_tracefirst($text),
12960 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12962 if defined $::RD_TRACE;
12963 $item{q{typed_view_name}} = $_tok;
12969 Parse::RecDescent::_trace(q{>>Matched production: [typed_view_name]<<},
12970 Parse::RecDescent::_tracefirst($text),
12971 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12973 if defined $::RD_TRACE;
12979 unless ( $_matched || defined($return) || defined($score) )
12983 $_[1] = $text; # NOT SURE THIS IS NEEDED
12984 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
12985 Parse::RecDescent::_tracefirst($_[1]),
12986 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12988 if defined $::RD_TRACE;
12991 if (!defined($return) && defined($score))
12993 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
12994 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
12996 if defined $::RD_TRACE;
12997 $return = $score_return;
12999 splice @{$thisparser->{errors}}, $err_at;
13000 $return = $item[$#item] unless defined $return;
13001 if (defined $::RD_TRACE)
13003 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13004 $return . q{])}, "",
13005 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
13007 Parse::RecDescent::_trace(q{(consumed: [} .
13008 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13009 Parse::RecDescent::_tracefirst($text),
13010 , q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification},
13017 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
13018 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::when_clause
13020 my $thisparser = $_[0];
13021 use vars q{$tracelevel};
13022 local $tracelevel = ($tracelevel||0)+1;
13024 my $thisrule = $thisparser->{"rules"}{"when_clause"};
13026 Parse::RecDescent::_trace(q{Trying rule: [when_clause]},
13027 Parse::RecDescent::_tracefirst($_[1]),
13030 if defined $::RD_TRACE;
13033 my $err_at = @{$thisparser->{errors}};
13038 my $return = undef;
13043 my $repeating = defined($_[2]) && $_[2];
13044 my $_noactions = defined($_[3]) && $_[3];
13045 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
13046 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
13049 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
13050 $expectation->at($_[1]);
13053 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13057 while (!$_matched && !$commit)
13060 Parse::RecDescent::_trace(q{Trying production: [/WHEN/i '(' search_condition ')']},
13061 Parse::RecDescent::_tracefirst($_[1]),
13064 if defined $::RD_TRACE;
13065 my $thisprod = $thisrule->{"prods"}[0];
13068 @item = (q{when_clause});
13069 %item = (__RULE__ => q{when_clause});
13073 Parse::RecDescent::_trace(q{Trying terminal: [/WHEN/i]}, Parse::RecDescent::_tracefirst($text),
13076 if defined $::RD_TRACE;
13078 $expectation->is(q{})->at($text);
13081 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:WHEN)//i)
13084 $expectation->failed();
13085 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13086 Parse::RecDescent::_tracefirst($text))
13087 if defined $::RD_TRACE;
13091 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13093 Parse::RecDescent::_tracefirst($text))
13094 if defined $::RD_TRACE;
13095 push @item, $item{__PATTERN1__}=$&;
13098 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
13099 Parse::RecDescent::_tracefirst($text),
13102 if defined $::RD_TRACE;
13104 $expectation->is(q{'('})->at($text);
13107 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
13110 $expectation->failed();
13111 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
13112 Parse::RecDescent::_tracefirst($text))
13113 if defined $::RD_TRACE;
13116 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13118 Parse::RecDescent::_tracefirst($text))
13119 if defined $::RD_TRACE;
13120 push @item, $item{__STRING1__}=$&;
13123 Parse::RecDescent::_trace(q{Trying subrule: [search_condition]},
13124 Parse::RecDescent::_tracefirst($text),
13127 if defined $::RD_TRACE;
13128 if (1) { no strict qw{refs};
13129 $expectation->is(q{search_condition})->at($text);
13130 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::search_condition($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
13133 Parse::RecDescent::_trace(q{<<Didn't match subrule: [search_condition]>>},
13134 Parse::RecDescent::_tracefirst($text),
13137 if defined $::RD_TRACE;
13138 $expectation->failed();
13141 Parse::RecDescent::_trace(q{>>Matched subrule: [search_condition]<< (return value: [}
13144 Parse::RecDescent::_tracefirst($text),
13147 if defined $::RD_TRACE;
13148 $item{q{search_condition}} = $_tok;
13153 Parse::RecDescent::_trace(q{Trying terminal: [')']},
13154 Parse::RecDescent::_tracefirst($text),
13157 if defined $::RD_TRACE;
13159 $expectation->is(q{')'})->at($text);
13162 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
13165 $expectation->failed();
13166 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
13167 Parse::RecDescent::_tracefirst($text))
13168 if defined $::RD_TRACE;
13171 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13173 Parse::RecDescent::_tracefirst($text))
13174 if defined $::RD_TRACE;
13175 push @item, $item{__STRING2__}=$&;
13178 Parse::RecDescent::_trace(q{Trying action},
13179 Parse::RecDescent::_tracefirst($text),
13182 if defined $::RD_TRACE;
13185 $_tok = ($_noactions) ? 0 : do {$return = $item[3]};
13186 unless (defined $_tok)
13188 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
13189 if defined $::RD_TRACE;
13192 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
13194 Parse::RecDescent::_tracefirst($text))
13195 if defined $::RD_TRACE;
13197 $item{__ACTION1__}=$_tok;
13201 Parse::RecDescent::_trace(q{>>Matched production: [/WHEN/i '(' search_condition ')']<<},
13202 Parse::RecDescent::_tracefirst($text),
13205 if defined $::RD_TRACE;
13211 unless ( $_matched || defined($return) || defined($score) )
13215 $_[1] = $text; # NOT SURE THIS IS NEEDED
13216 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
13217 Parse::RecDescent::_tracefirst($_[1]),
13220 if defined $::RD_TRACE;
13223 if (!defined($return) && defined($score))
13225 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
13228 if defined $::RD_TRACE;
13229 $return = $score_return;
13231 splice @{$thisparser->{errors}}, $err_at;
13232 $return = $item[$#item] unless defined $return;
13233 if (defined $::RD_TRACE)
13235 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13236 $return . q{])}, "",
13239 Parse::RecDescent::_trace(q{(consumed: [} .
13240 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13241 Parse::RecDescent::_tracefirst($text),
13249 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
13250 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_asc_option
13252 my $thisparser = $_[0];
13253 use vars q{$tracelevel};
13254 local $tracelevel = ($tracelevel||0)+1;
13256 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_asc_option"};
13258 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_asc_option]},
13259 Parse::RecDescent::_tracefirst($_[1]),
13260 q{_alternation_1_of_production_1_of_rule_asc_option},
13262 if defined $::RD_TRACE;
13265 my $err_at = @{$thisparser->{errors}};
13270 my $return = undef;
13275 my $repeating = defined($_[2]) && $_[2];
13276 my $_noactions = defined($_[3]) && $_[3];
13277 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
13278 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
13281 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
13282 $expectation->at($_[1]);
13285 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13289 while (!$_matched && !$commit)
13292 Parse::RecDescent::_trace(q{Trying production: [/NULLS\\s+FIRST/i]},
13293 Parse::RecDescent::_tracefirst($_[1]),
13294 q{_alternation_1_of_production_1_of_rule_asc_option},
13296 if defined $::RD_TRACE;
13297 my $thisprod = $thisrule->{"prods"}[0];
13300 @item = (q{_alternation_1_of_production_1_of_rule_asc_option});
13301 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_asc_option});
13305 Parse::RecDescent::_trace(q{Trying terminal: [/NULLS\\s+FIRST/i]}, Parse::RecDescent::_tracefirst($text),
13306 q{_alternation_1_of_production_1_of_rule_asc_option},
13308 if defined $::RD_TRACE;
13310 $expectation->is(q{})->at($text);
13313 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULLS\s+FIRST)//i)
13316 $expectation->failed();
13317 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13318 Parse::RecDescent::_tracefirst($text))
13319 if defined $::RD_TRACE;
13323 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13325 Parse::RecDescent::_tracefirst($text))
13326 if defined $::RD_TRACE;
13327 push @item, $item{__PATTERN1__}=$&;
13331 Parse::RecDescent::_trace(q{>>Matched production: [/NULLS\\s+FIRST/i]<<},
13332 Parse::RecDescent::_tracefirst($text),
13333 q{_alternation_1_of_production_1_of_rule_asc_option},
13335 if defined $::RD_TRACE;
13341 while (!$_matched && !$commit)
13344 Parse::RecDescent::_trace(q{Trying production: [/NULLS\\s+LAST/i]},
13345 Parse::RecDescent::_tracefirst($_[1]),
13346 q{_alternation_1_of_production_1_of_rule_asc_option},
13348 if defined $::RD_TRACE;
13349 my $thisprod = $thisrule->{"prods"}[1];
13352 @item = (q{_alternation_1_of_production_1_of_rule_asc_option});
13353 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_asc_option});
13357 Parse::RecDescent::_trace(q{Trying terminal: [/NULLS\\s+LAST/i]}, Parse::RecDescent::_tracefirst($text),
13358 q{_alternation_1_of_production_1_of_rule_asc_option},
13360 if defined $::RD_TRACE;
13362 $expectation->is(q{})->at($text);
13365 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULLS\s+LAST)//i)
13368 $expectation->failed();
13369 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13370 Parse::RecDescent::_tracefirst($text))
13371 if defined $::RD_TRACE;
13375 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13377 Parse::RecDescent::_tracefirst($text))
13378 if defined $::RD_TRACE;
13379 push @item, $item{__PATTERN1__}=$&;
13383 Parse::RecDescent::_trace(q{>>Matched production: [/NULLS\\s+LAST/i]<<},
13384 Parse::RecDescent::_tracefirst($text),
13385 q{_alternation_1_of_production_1_of_rule_asc_option},
13387 if defined $::RD_TRACE;
13393 unless ( $_matched || defined($return) || defined($score) )
13397 $_[1] = $text; # NOT SURE THIS IS NEEDED
13398 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
13399 Parse::RecDescent::_tracefirst($_[1]),
13400 q{_alternation_1_of_production_1_of_rule_asc_option},
13402 if defined $::RD_TRACE;
13405 if (!defined($return) && defined($score))
13407 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
13408 q{_alternation_1_of_production_1_of_rule_asc_option},
13410 if defined $::RD_TRACE;
13411 $return = $score_return;
13413 splice @{$thisparser->{errors}}, $err_at;
13414 $return = $item[$#item] unless defined $return;
13415 if (defined $::RD_TRACE)
13417 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13418 $return . q{])}, "",
13419 q{_alternation_1_of_production_1_of_rule_asc_option},
13421 Parse::RecDescent::_trace(q{(consumed: [} .
13422 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13423 Parse::RecDescent::_tracefirst($text),
13424 , q{_alternation_1_of_production_1_of_rule_asc_option},
13431 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
13432 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sequence_name
13434 my $thisparser = $_[0];
13435 use vars q{$tracelevel};
13436 local $tracelevel = ($tracelevel||0)+1;
13438 my $thisrule = $thisparser->{"rules"}{"sequence_name"};
13440 Parse::RecDescent::_trace(q{Trying rule: [sequence_name]},
13441 Parse::RecDescent::_tracefirst($_[1]),
13444 if defined $::RD_TRACE;
13447 my $err_at = @{$thisparser->{errors}};
13452 my $return = undef;
13457 my $repeating = defined($_[2]) && $_[2];
13458 my $_noactions = defined($_[3]) && $_[3];
13459 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
13460 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
13463 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
13464 $expectation->at($_[1]);
13467 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13471 while (!$_matched && !$commit)
13474 Parse::RecDescent::_trace(q{Trying production: [NAME]},
13475 Parse::RecDescent::_tracefirst($_[1]),
13478 if defined $::RD_TRACE;
13479 my $thisprod = $thisrule->{"prods"}[0];
13482 @item = (q{sequence_name});
13483 %item = (__RULE__ => q{sequence_name});
13487 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
13488 Parse::RecDescent::_tracefirst($text),
13491 if defined $::RD_TRACE;
13492 if (1) { no strict qw{refs};
13493 $expectation->is(q{})->at($text);
13494 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
13497 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
13498 Parse::RecDescent::_tracefirst($text),
13501 if defined $::RD_TRACE;
13502 $expectation->failed();
13505 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
13508 Parse::RecDescent::_tracefirst($text),
13511 if defined $::RD_TRACE;
13512 $item{q{NAME}} = $_tok;
13518 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
13519 Parse::RecDescent::_tracefirst($text),
13522 if defined $::RD_TRACE;
13528 unless ( $_matched || defined($return) || defined($score) )
13532 $_[1] = $text; # NOT SURE THIS IS NEEDED
13533 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
13534 Parse::RecDescent::_tracefirst($_[1]),
13537 if defined $::RD_TRACE;
13540 if (!defined($return) && defined($score))
13542 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
13545 if defined $::RD_TRACE;
13546 $return = $score_return;
13548 splice @{$thisparser->{errors}}, $err_at;
13549 $return = $item[$#item] unless defined $return;
13550 if (defined $::RD_TRACE)
13552 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13553 $return . q{])}, "",
13556 Parse::RecDescent::_trace(q{(consumed: [} .
13557 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13558 Parse::RecDescent::_tracefirst($text),
13559 , q{sequence_name},
13566 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
13567 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::ld_duration
13569 my $thisparser = $_[0];
13570 use vars q{$tracelevel};
13571 local $tracelevel = ($tracelevel||0)+1;
13573 my $thisrule = $thisparser->{"rules"}{"ld_duration"};
13575 Parse::RecDescent::_trace(q{Trying rule: [ld_duration]},
13576 Parse::RecDescent::_tracefirst($_[1]),
13579 if defined $::RD_TRACE;
13582 my $err_at = @{$thisparser->{errors}};
13587 my $return = undef;
13592 my $repeating = defined($_[2]) && $_[2];
13593 my $_noactions = defined($_[3]) && $_[3];
13594 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
13595 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
13598 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
13599 $expectation->at($_[1]);
13602 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13606 while (!$_matched && !$commit)
13609 Parse::RecDescent::_trace(q{Trying production: [/YEARS?/i]},
13610 Parse::RecDescent::_tracefirst($_[1]),
13613 if defined $::RD_TRACE;
13614 my $thisprod = $thisrule->{"prods"}[0];
13617 @item = (q{ld_duration});
13618 %item = (__RULE__ => q{ld_duration});
13622 Parse::RecDescent::_trace(q{Trying terminal: [/YEARS?/i]}, Parse::RecDescent::_tracefirst($text),
13625 if defined $::RD_TRACE;
13627 $expectation->is(q{})->at($text);
13630 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:YEARS?)//i)
13633 $expectation->failed();
13634 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13635 Parse::RecDescent::_tracefirst($text))
13636 if defined $::RD_TRACE;
13640 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13642 Parse::RecDescent::_tracefirst($text))
13643 if defined $::RD_TRACE;
13644 push @item, $item{__PATTERN1__}=$&;
13648 Parse::RecDescent::_trace(q{>>Matched production: [/YEARS?/i]<<},
13649 Parse::RecDescent::_tracefirst($text),
13652 if defined $::RD_TRACE;
13658 while (!$_matched && !$commit)
13661 Parse::RecDescent::_trace(q{Trying production: [/MONTHS?/i]},
13662 Parse::RecDescent::_tracefirst($_[1]),
13665 if defined $::RD_TRACE;
13666 my $thisprod = $thisrule->{"prods"}[1];
13669 @item = (q{ld_duration});
13670 %item = (__RULE__ => q{ld_duration});
13674 Parse::RecDescent::_trace(q{Trying terminal: [/MONTHS?/i]}, Parse::RecDescent::_tracefirst($text),
13677 if defined $::RD_TRACE;
13679 $expectation->is(q{})->at($text);
13682 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MONTHS?)//i)
13685 $expectation->failed();
13686 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13687 Parse::RecDescent::_tracefirst($text))
13688 if defined $::RD_TRACE;
13692 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13694 Parse::RecDescent::_tracefirst($text))
13695 if defined $::RD_TRACE;
13696 push @item, $item{__PATTERN1__}=$&;
13700 Parse::RecDescent::_trace(q{>>Matched production: [/MONTHS?/i]<<},
13701 Parse::RecDescent::_tracefirst($text),
13704 if defined $::RD_TRACE;
13710 while (!$_matched && !$commit)
13713 Parse::RecDescent::_trace(q{Trying production: [/DAYS?/i]},
13714 Parse::RecDescent::_tracefirst($_[1]),
13717 if defined $::RD_TRACE;
13718 my $thisprod = $thisrule->{"prods"}[2];
13721 @item = (q{ld_duration});
13722 %item = (__RULE__ => q{ld_duration});
13726 Parse::RecDescent::_trace(q{Trying terminal: [/DAYS?/i]}, Parse::RecDescent::_tracefirst($text),
13729 if defined $::RD_TRACE;
13731 $expectation->is(q{})->at($text);
13734 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DAYS?)//i)
13737 $expectation->failed();
13738 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13739 Parse::RecDescent::_tracefirst($text))
13740 if defined $::RD_TRACE;
13744 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13746 Parse::RecDescent::_tracefirst($text))
13747 if defined $::RD_TRACE;
13748 push @item, $item{__PATTERN1__}=$&;
13752 Parse::RecDescent::_trace(q{>>Matched production: [/DAYS?/i]<<},
13753 Parse::RecDescent::_tracefirst($text),
13756 if defined $::RD_TRACE;
13762 while (!$_matched && !$commit)
13765 Parse::RecDescent::_trace(q{Trying production: [/HOURS?/i]},
13766 Parse::RecDescent::_tracefirst($_[1]),
13769 if defined $::RD_TRACE;
13770 my $thisprod = $thisrule->{"prods"}[3];
13773 @item = (q{ld_duration});
13774 %item = (__RULE__ => q{ld_duration});
13778 Parse::RecDescent::_trace(q{Trying terminal: [/HOURS?/i]}, Parse::RecDescent::_tracefirst($text),
13781 if defined $::RD_TRACE;
13783 $expectation->is(q{})->at($text);
13786 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:HOURS?)//i)
13789 $expectation->failed();
13790 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13791 Parse::RecDescent::_tracefirst($text))
13792 if defined $::RD_TRACE;
13796 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13798 Parse::RecDescent::_tracefirst($text))
13799 if defined $::RD_TRACE;
13800 push @item, $item{__PATTERN1__}=$&;
13804 Parse::RecDescent::_trace(q{>>Matched production: [/HOURS?/i]<<},
13805 Parse::RecDescent::_tracefirst($text),
13808 if defined $::RD_TRACE;
13814 while (!$_matched && !$commit)
13817 Parse::RecDescent::_trace(q{Trying production: [/MINUTES?/i]},
13818 Parse::RecDescent::_tracefirst($_[1]),
13821 if defined $::RD_TRACE;
13822 my $thisprod = $thisrule->{"prods"}[4];
13825 @item = (q{ld_duration});
13826 %item = (__RULE__ => q{ld_duration});
13830 Parse::RecDescent::_trace(q{Trying terminal: [/MINUTES?/i]}, Parse::RecDescent::_tracefirst($text),
13833 if defined $::RD_TRACE;
13835 $expectation->is(q{})->at($text);
13838 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MINUTES?)//i)
13841 $expectation->failed();
13842 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13843 Parse::RecDescent::_tracefirst($text))
13844 if defined $::RD_TRACE;
13848 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13850 Parse::RecDescent::_tracefirst($text))
13851 if defined $::RD_TRACE;
13852 push @item, $item{__PATTERN1__}=$&;
13856 Parse::RecDescent::_trace(q{>>Matched production: [/MINUTES?/i]<<},
13857 Parse::RecDescent::_tracefirst($text),
13860 if defined $::RD_TRACE;
13866 while (!$_matched && !$commit)
13869 Parse::RecDescent::_trace(q{Trying production: [/SECONDS?/i]},
13870 Parse::RecDescent::_tracefirst($_[1]),
13873 if defined $::RD_TRACE;
13874 my $thisprod = $thisrule->{"prods"}[5];
13877 @item = (q{ld_duration});
13878 %item = (__RULE__ => q{ld_duration});
13882 Parse::RecDescent::_trace(q{Trying terminal: [/SECONDS?/i]}, Parse::RecDescent::_tracefirst($text),
13885 if defined $::RD_TRACE;
13887 $expectation->is(q{})->at($text);
13890 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SECONDS?)//i)
13893 $expectation->failed();
13894 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13895 Parse::RecDescent::_tracefirst($text))
13896 if defined $::RD_TRACE;
13900 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13902 Parse::RecDescent::_tracefirst($text))
13903 if defined $::RD_TRACE;
13904 push @item, $item{__PATTERN1__}=$&;
13908 Parse::RecDescent::_trace(q{>>Matched production: [/SECONDS?/i]<<},
13909 Parse::RecDescent::_tracefirst($text),
13912 if defined $::RD_TRACE;
13918 while (!$_matched && !$commit)
13921 Parse::RecDescent::_trace(q{Trying production: [/MICROSECONDS?/i]},
13922 Parse::RecDescent::_tracefirst($_[1]),
13925 if defined $::RD_TRACE;
13926 my $thisprod = $thisrule->{"prods"}[6];
13929 @item = (q{ld_duration});
13930 %item = (__RULE__ => q{ld_duration});
13934 Parse::RecDescent::_trace(q{Trying terminal: [/MICROSECONDS?/i]}, Parse::RecDescent::_tracefirst($text),
13937 if defined $::RD_TRACE;
13939 $expectation->is(q{})->at($text);
13942 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MICROSECONDS?)//i)
13945 $expectation->failed();
13946 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
13947 Parse::RecDescent::_tracefirst($text))
13948 if defined $::RD_TRACE;
13952 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
13954 Parse::RecDescent::_tracefirst($text))
13955 if defined $::RD_TRACE;
13956 push @item, $item{__PATTERN1__}=$&;
13960 Parse::RecDescent::_trace(q{>>Matched production: [/MICROSECONDS?/i]<<},
13961 Parse::RecDescent::_tracefirst($text),
13964 if defined $::RD_TRACE;
13970 unless ( $_matched || defined($return) || defined($score) )
13974 $_[1] = $text; # NOT SURE THIS IS NEEDED
13975 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
13976 Parse::RecDescent::_tracefirst($_[1]),
13979 if defined $::RD_TRACE;
13982 if (!defined($return) && defined($score))
13984 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
13987 if defined $::RD_TRACE;
13988 $return = $score_return;
13990 splice @{$thisparser->{errors}}, $err_at;
13991 $return = $item[$#item] unless defined $return;
13992 if (defined $::RD_TRACE)
13994 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13995 $return . q{])}, "",
13998 Parse::RecDescent::_trace(q{(consumed: [} .
13999 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14000 Parse::RecDescent::_tracefirst($text),
14008 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
14009 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::reference_a
14011 my $thisparser = $_[0];
14012 use vars q{$tracelevel};
14013 local $tracelevel = ($tracelevel||0)+1;
14015 my $thisrule = $thisparser->{"rules"}{"reference_a"};
14017 Parse::RecDescent::_trace(q{Trying rule: [reference_a]},
14018 Parse::RecDescent::_tracefirst($_[1]),
14021 if defined $::RD_TRACE;
14024 my $err_at = @{$thisparser->{errors}};
14029 my $return = undef;
14034 my $repeating = defined($_[2]) && $_[2];
14035 my $_noactions = defined($_[3]) && $_[3];
14036 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
14037 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
14040 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
14041 $expectation->at($_[1]);
14044 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14048 while (!$_matched && !$commit)
14051 Parse::RecDescent::_trace(q{Trying production: [/REFERENCING/i old_new_corr old_new_table]},
14052 Parse::RecDescent::_tracefirst($_[1]),
14055 if defined $::RD_TRACE;
14056 my $thisprod = $thisrule->{"prods"}[0];
14059 @item = (q{reference_a});
14060 %item = (__RULE__ => q{reference_a});
14064 Parse::RecDescent::_trace(q{Trying terminal: [/REFERENCING/i]}, Parse::RecDescent::_tracefirst($text),
14067 if defined $::RD_TRACE;
14069 $expectation->is(q{})->at($text);
14072 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REFERENCING)//i)
14075 $expectation->failed();
14076 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
14077 Parse::RecDescent::_tracefirst($text))
14078 if defined $::RD_TRACE;
14082 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14084 Parse::RecDescent::_tracefirst($text))
14085 if defined $::RD_TRACE;
14086 push @item, $item{__PATTERN1__}=$&;
14089 Parse::RecDescent::_trace(q{Trying repeated subrule: [old_new_corr]},
14090 Parse::RecDescent::_tracefirst($text),
14093 if defined $::RD_TRACE;
14094 $expectation->is(q{old_new_corr})->at($text);
14096 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::old_new_corr, 0, 2, $_noactions,$expectation,undef)))
14098 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [old_new_corr]>>},
14099 Parse::RecDescent::_tracefirst($text),
14102 if defined $::RD_TRACE;
14105 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [old_new_corr]<< (}
14106 . @$_tok . q{ times)},
14108 Parse::RecDescent::_tracefirst($text),
14111 if defined $::RD_TRACE;
14112 $item{q{old_new_corr(0..2)}} = $_tok;
14117 Parse::RecDescent::_trace(q{Trying repeated subrule: [old_new_table]},
14118 Parse::RecDescent::_tracefirst($text),
14121 if defined $::RD_TRACE;
14122 $expectation->is(q{old_new_table})->at($text);
14124 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::old_new_table, 0, 2, $_noactions,$expectation,undef)))
14126 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [old_new_table]>>},
14127 Parse::RecDescent::_tracefirst($text),
14130 if defined $::RD_TRACE;
14133 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [old_new_table]<< (}
14134 . @$_tok . q{ times)},
14136 Parse::RecDescent::_tracefirst($text),
14139 if defined $::RD_TRACE;
14140 $item{q{old_new_table(0..2)}} = $_tok;
14145 Parse::RecDescent::_trace(q{Trying action},
14146 Parse::RecDescent::_tracefirst($text),
14149 if defined $::RD_TRACE;
14152 $_tok = ($_noactions) ? 0 : do { $return = join(' ', $item[1], join(' ', @{$item[2]}), join(' ', @{$item[3]}) ) };
14153 unless (defined $_tok)
14155 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
14156 if defined $::RD_TRACE;
14159 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
14161 Parse::RecDescent::_tracefirst($text))
14162 if defined $::RD_TRACE;
14164 $item{__ACTION1__}=$_tok;
14168 Parse::RecDescent::_trace(q{>>Matched production: [/REFERENCING/i old_new_corr old_new_table]<<},
14169 Parse::RecDescent::_tracefirst($text),
14172 if defined $::RD_TRACE;
14178 unless ( $_matched || defined($return) || defined($score) )
14182 $_[1] = $text; # NOT SURE THIS IS NEEDED
14183 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
14184 Parse::RecDescent::_tracefirst($_[1]),
14187 if defined $::RD_TRACE;
14190 if (!defined($return) && defined($score))
14192 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
14195 if defined $::RD_TRACE;
14196 $return = $score_return;
14198 splice @{$thisparser->{errors}}, $err_at;
14199 $return = $item[$#item] unless defined $return;
14200 if (defined $::RD_TRACE)
14202 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
14203 $return . q{])}, "",
14206 Parse::RecDescent::_trace(q{(consumed: [} .
14207 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14208 Parse::RecDescent::_tracefirst($text),
14216 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
14217 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::cast_specification
14219 my $thisparser = $_[0];
14220 use vars q{$tracelevel};
14221 local $tracelevel = ($tracelevel||0)+1;
14223 my $thisrule = $thisparser->{"rules"}{"cast_specification"};
14225 Parse::RecDescent::_trace(q{Trying rule: [cast_specification]},
14226 Parse::RecDescent::_tracefirst($_[1]),
14227 q{cast_specification},
14229 if defined $::RD_TRACE;
14232 my $err_at = @{$thisparser->{errors}};
14237 my $return = undef;
14242 my $repeating = defined($_[2]) && $_[2];
14243 my $_noactions = defined($_[3]) && $_[3];
14244 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
14245 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
14248 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
14249 $expectation->at($_[1]);
14252 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14256 while (!$_matched && !$commit)
14259 Parse::RecDescent::_trace(q{Trying production: [/CAST/i '(' expression, or /NULL/i, or parameter_marker /AS/i data_type /SCOPE/ ')']},
14260 Parse::RecDescent::_tracefirst($_[1]),
14261 q{cast_specification},
14263 if defined $::RD_TRACE;
14264 my $thisprod = $thisrule->{"prods"}[0];
14267 @item = (q{cast_specification});
14268 %item = (__RULE__ => q{cast_specification});
14272 Parse::RecDescent::_trace(q{Trying terminal: [/CAST/i]}, Parse::RecDescent::_tracefirst($text),
14273 q{cast_specification},
14275 if defined $::RD_TRACE;
14277 $expectation->is(q{})->at($text);
14280 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CAST)//i)
14283 $expectation->failed();
14284 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
14285 Parse::RecDescent::_tracefirst($text))
14286 if defined $::RD_TRACE;
14290 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14292 Parse::RecDescent::_tracefirst($text))
14293 if defined $::RD_TRACE;
14294 push @item, $item{__PATTERN1__}=$&;
14297 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
14298 Parse::RecDescent::_tracefirst($text),
14299 q{cast_specification},
14301 if defined $::RD_TRACE;
14303 $expectation->is(q{'('})->at($text);
14306 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
14309 $expectation->failed();
14310 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
14311 Parse::RecDescent::_tracefirst($text))
14312 if defined $::RD_TRACE;
14315 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14317 Parse::RecDescent::_tracefirst($text))
14318 if defined $::RD_TRACE;
14319 push @item, $item{__STRING1__}=$&;
14322 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_cast_specification]},
14323 Parse::RecDescent::_tracefirst($text),
14324 q{cast_specification},
14326 if defined $::RD_TRACE;
14327 if (1) { no strict qw{refs};
14328 $expectation->is(q{expression, or /NULL/i, or parameter_marker})->at($text);
14329 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_cast_specification($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
14332 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_cast_specification]>>},
14333 Parse::RecDescent::_tracefirst($text),
14334 q{cast_specification},
14336 if defined $::RD_TRACE;
14337 $expectation->failed();
14340 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_cast_specification]<< (return value: [}
14343 Parse::RecDescent::_tracefirst($text),
14344 q{cast_specification},
14346 if defined $::RD_TRACE;
14347 $item{q{_alternation_1_of_production_1_of_rule_cast_specification}} = $_tok;
14352 Parse::RecDescent::_trace(q{Trying terminal: [/AS/i]}, Parse::RecDescent::_tracefirst($text),
14353 q{cast_specification},
14355 if defined $::RD_TRACE;
14357 $expectation->is(q{/AS/i})->at($text);
14360 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AS)//i)
14363 $expectation->failed();
14364 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
14365 Parse::RecDescent::_tracefirst($text))
14366 if defined $::RD_TRACE;
14370 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14372 Parse::RecDescent::_tracefirst($text))
14373 if defined $::RD_TRACE;
14374 push @item, $item{__PATTERN2__}=$&;
14377 Parse::RecDescent::_trace(q{Trying subrule: [data_type]},
14378 Parse::RecDescent::_tracefirst($text),
14379 q{cast_specification},
14381 if defined $::RD_TRACE;
14382 if (1) { no strict qw{refs};
14383 $expectation->is(q{data_type})->at($text);
14384 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::data_type($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
14387 Parse::RecDescent::_trace(q{<<Didn't match subrule: [data_type]>>},
14388 Parse::RecDescent::_tracefirst($text),
14389 q{cast_specification},
14391 if defined $::RD_TRACE;
14392 $expectation->failed();
14395 Parse::RecDescent::_trace(q{>>Matched subrule: [data_type]<< (return value: [}
14398 Parse::RecDescent::_tracefirst($text),
14399 q{cast_specification},
14401 if defined $::RD_TRACE;
14402 $item{q{data_type}} = $_tok;
14407 Parse::RecDescent::_trace(q{Trying repeated subrule: [/SCOPE/]},
14408 Parse::RecDescent::_tracefirst($text),
14409 q{cast_specification},
14411 if defined $::RD_TRACE;
14412 $expectation->is(q{/SCOPE/})->at($text);
14414 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_cast_specification, 0, 1, $_noactions,$expectation,undef)))
14416 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/SCOPE/]>>},
14417 Parse::RecDescent::_tracefirst($text),
14418 q{cast_specification},
14420 if defined $::RD_TRACE;
14423 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_2_of_production_1_of_rule_cast_specification]<< (}
14424 . @$_tok . q{ times)},
14426 Parse::RecDescent::_tracefirst($text),
14427 q{cast_specification},
14429 if defined $::RD_TRACE;
14430 $item{q{_alternation_2_of_production_1_of_rule_cast_specification(?)}} = $_tok;
14435 Parse::RecDescent::_trace(q{Trying terminal: [')']},
14436 Parse::RecDescent::_tracefirst($text),
14437 q{cast_specification},
14439 if defined $::RD_TRACE;
14441 $expectation->is(q{')'})->at($text);
14444 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
14447 $expectation->failed();
14448 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
14449 Parse::RecDescent::_tracefirst($text))
14450 if defined $::RD_TRACE;
14453 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14455 Parse::RecDescent::_tracefirst($text))
14456 if defined $::RD_TRACE;
14457 push @item, $item{__STRING2__}=$&;
14461 Parse::RecDescent::_trace(q{>>Matched production: [/CAST/i '(' expression, or /NULL/i, or parameter_marker /AS/i data_type /SCOPE/ ')']<<},
14462 Parse::RecDescent::_tracefirst($text),
14463 q{cast_specification},
14465 if defined $::RD_TRACE;
14471 unless ( $_matched || defined($return) || defined($score) )
14475 $_[1] = $text; # NOT SURE THIS IS NEEDED
14476 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
14477 Parse::RecDescent::_tracefirst($_[1]),
14478 q{cast_specification},
14480 if defined $::RD_TRACE;
14483 if (!defined($return) && defined($score))
14485 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
14486 q{cast_specification},
14488 if defined $::RD_TRACE;
14489 $return = $score_return;
14491 splice @{$thisparser->{errors}}, $err_at;
14492 $return = $item[$#item] unless defined $return;
14493 if (defined $::RD_TRACE)
14495 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
14496 $return . q{])}, "",
14497 q{cast_specification},
14499 Parse::RecDescent::_trace(q{(consumed: [} .
14500 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14501 Parse::RecDescent::_tracefirst($text),
14502 , q{cast_specification},
14509 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
14510 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::type
14512 my $thisparser = $_[0];
14513 use vars q{$tracelevel};
14514 local $tracelevel = ($tracelevel||0)+1;
14516 my $thisrule = $thisparser->{"rules"}{"type"};
14518 Parse::RecDescent::_trace(q{Trying rule: [type]},
14519 Parse::RecDescent::_tracefirst($_[1]),
14522 if defined $::RD_TRACE;
14525 my $err_at = @{$thisparser->{errors}};
14530 my $return = undef;
14535 my $repeating = defined($_[2]) && $_[2];
14536 my $_noactions = defined($_[3]) && $_[3];
14537 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
14538 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
14541 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
14542 $expectation->at($_[1]);
14545 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14549 while (!$_matched && !$commit)
14552 Parse::RecDescent::_trace(q{Trying production: [/UPDATE/i /OF/i <leftop: column_name /,/ column_name>]},
14553 Parse::RecDescent::_tracefirst($_[1]),
14556 if defined $::RD_TRACE;
14557 my $thisprod = $thisrule->{"prods"}[0];
14561 %item = (__RULE__ => q{type});
14565 Parse::RecDescent::_trace(q{Trying terminal: [/UPDATE/i]}, Parse::RecDescent::_tracefirst($text),
14568 if defined $::RD_TRACE;
14570 $expectation->is(q{})->at($text);
14573 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UPDATE)//i)
14576 $expectation->failed();
14577 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
14578 Parse::RecDescent::_tracefirst($text))
14579 if defined $::RD_TRACE;
14583 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14585 Parse::RecDescent::_tracefirst($text))
14586 if defined $::RD_TRACE;
14587 push @item, $item{__PATTERN1__}=$&;
14590 Parse::RecDescent::_trace(q{Trying terminal: [/OF/i]}, Parse::RecDescent::_tracefirst($text),
14593 if defined $::RD_TRACE;
14595 $expectation->is(q{/OF/i})->at($text);
14598 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:OF)//i)
14601 $expectation->failed();
14602 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
14603 Parse::RecDescent::_tracefirst($text))
14604 if defined $::RD_TRACE;
14608 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14610 Parse::RecDescent::_tracefirst($text))
14611 if defined $::RD_TRACE;
14612 push @item, $item{__PATTERN2__}=$&;
14615 Parse::RecDescent::_trace(q{Trying operator: [<leftop: column_name /,/ column_name>]},
14616 Parse::RecDescent::_tracefirst($text),
14619 if defined $::RD_TRACE;
14620 $expectation->is(q{<leftop: column_name /,/ column_name>})->at($text);
14630 Parse::RecDescent::_trace(q{Trying subrule: [column_name]},
14631 Parse::RecDescent::_tracefirst($text),
14634 if defined $::RD_TRACE;
14635 if (1) { no strict qw{refs};
14636 $expectation->is(q{column_name})->at($text);
14637 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
14640 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_name]>>},
14641 Parse::RecDescent::_tracefirst($text),
14644 if defined $::RD_TRACE;
14645 $expectation->failed();
14648 Parse::RecDescent::_trace(q{>>Matched subrule: [column_name]<< (return value: [}
14651 Parse::RecDescent::_tracefirst($text),
14654 if defined $::RD_TRACE;
14655 $item{q{column_name}} = $_tok;
14663 my $savetext = $text;
14666 # MATCH (OP RIGHTARG)(s)
14667 while ($repcount < 100000000)
14671 Parse::RecDescent::_trace(q{Trying terminal: [/,/]}, Parse::RecDescent::_tracefirst($text),
14674 if defined $::RD_TRACE;
14676 $expectation->is(q{/,/})->at($text);
14679 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:,)//)
14682 $expectation->failed();
14683 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
14684 Parse::RecDescent::_tracefirst($text))
14685 if defined $::RD_TRACE;
14689 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14691 Parse::RecDescent::_tracefirst($text))
14692 if defined $::RD_TRACE;
14693 push @item, $item{__PATTERN3__}=$&;
14697 if (defined $1) {push @item, $item{'column_name(s)'}=$1; $backtrack=1;}
14699 Parse::RecDescent::_trace(q{Trying subrule: [column_name]},
14700 Parse::RecDescent::_tracefirst($text),
14703 if defined $::RD_TRACE;
14704 if (1) { no strict qw{refs};
14705 $expectation->is(q{column_name})->at($text);
14706 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
14709 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_name]>>},
14710 Parse::RecDescent::_tracefirst($text),
14713 if defined $::RD_TRACE;
14714 $expectation->failed();
14717 Parse::RecDescent::_trace(q{>>Matched subrule: [column_name]<< (return value: [}
14720 Parse::RecDescent::_tracefirst($text),
14723 if defined $::RD_TRACE;
14724 $item{q{column_name}} = $_tok;
14733 pop @item if $backtrack;
14735 unless (@item) { undef $_tok; last }
14740 unless ($repcount>=1)
14742 Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: column_name /,/ column_name>]>>},
14743 Parse::RecDescent::_tracefirst($text),
14746 if defined $::RD_TRACE;
14747 $expectation->failed();
14750 Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: column_name /,/ column_name>]<< (return value: [}
14751 . qq{@{$_tok||[]}} . q{]},
14752 Parse::RecDescent::_tracefirst($text),
14755 if defined $::RD_TRACE;
14757 push @item, $item{'column_name(s)'}=$_tok||[];
14760 Parse::RecDescent::_trace(q{Trying action},
14761 Parse::RecDescent::_tracefirst($text),
14764 if defined $::RD_TRACE;
14767 $_tok = ($_noactions) ? 0 : do { $return = { event => 'update_on',
14768 fields => $item[3] }
14770 unless (defined $_tok)
14772 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
14773 if defined $::RD_TRACE;
14776 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
14778 Parse::RecDescent::_tracefirst($text))
14779 if defined $::RD_TRACE;
14781 $item{__ACTION1__}=$_tok;
14785 Parse::RecDescent::_trace(q{>>Matched production: [/UPDATE/i /OF/i <leftop: column_name /,/ column_name>]<<},
14786 Parse::RecDescent::_tracefirst($text),
14789 if defined $::RD_TRACE;
14795 while (!$_matched && !$commit)
14798 Parse::RecDescent::_trace(q{Trying production: [/INSERT/i, or /DELETE/i, or /UPDATE/i]},
14799 Parse::RecDescent::_tracefirst($_[1]),
14802 if defined $::RD_TRACE;
14803 my $thisprod = $thisrule->{"prods"}[1];
14807 %item = (__RULE__ => q{type});
14811 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_2_of_rule_type]},
14812 Parse::RecDescent::_tracefirst($text),
14815 if defined $::RD_TRACE;
14816 if (1) { no strict qw{refs};
14817 $expectation->is(q{})->at($text);
14818 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_2_of_rule_type($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
14821 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_2_of_rule_type]>>},
14822 Parse::RecDescent::_tracefirst($text),
14825 if defined $::RD_TRACE;
14826 $expectation->failed();
14829 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_2_of_rule_type]<< (return value: [}
14832 Parse::RecDescent::_tracefirst($text),
14835 if defined $::RD_TRACE;
14836 $item{q{_alternation_1_of_production_2_of_rule_type}} = $_tok;
14841 Parse::RecDescent::_trace(q{Trying action},
14842 Parse::RecDescent::_tracefirst($text),
14845 if defined $::RD_TRACE;
14848 $_tok = ($_noactions) ? 0 : do { $return = { event => $item[1] } };
14849 unless (defined $_tok)
14851 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
14852 if defined $::RD_TRACE;
14855 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
14857 Parse::RecDescent::_tracefirst($text))
14858 if defined $::RD_TRACE;
14860 $item{__ACTION1__}=$_tok;
14864 Parse::RecDescent::_trace(q{>>Matched production: [/INSERT/i, or /DELETE/i, or /UPDATE/i]<<},
14865 Parse::RecDescent::_tracefirst($text),
14868 if defined $::RD_TRACE;
14874 unless ( $_matched || defined($return) || defined($score) )
14878 $_[1] = $text; # NOT SURE THIS IS NEEDED
14879 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
14880 Parse::RecDescent::_tracefirst($_[1]),
14883 if defined $::RD_TRACE;
14886 if (!defined($return) && defined($score))
14888 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
14891 if defined $::RD_TRACE;
14892 $return = $score_return;
14894 splice @{$thisparser->{errors}}, $err_at;
14895 $return = $item[$#item] unless defined $return;
14896 if (defined $::RD_TRACE)
14898 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
14899 $return . q{])}, "",
14902 Parse::RecDescent::_trace(q{(consumed: [} .
14903 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14904 Parse::RecDescent::_tracefirst($text),
14912 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
14913 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_12_of_rule_sysibm_function
14915 my $thisparser = $_[0];
14916 use vars q{$tracelevel};
14917 local $tracelevel = ($tracelevel||0)+1;
14919 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_12_of_rule_sysibm_function"};
14921 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_12_of_rule_sysibm_function]},
14922 Parse::RecDescent::_tracefirst($_[1]),
14923 q{_alternation_1_of_production_12_of_rule_sysibm_function},
14925 if defined $::RD_TRACE;
14928 my $err_at = @{$thisparser->{errors}};
14933 my $return = undef;
14938 my $repeating = defined($_[2]) && $_[2];
14939 my $_noactions = defined($_[3]) && $_[3];
14940 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
14941 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
14944 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
14945 $expectation->at($_[1]);
14948 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14952 while (!$_matched && !$commit)
14955 Parse::RecDescent::_trace(q{Trying production: [/COVARIANCE/i]},
14956 Parse::RecDescent::_tracefirst($_[1]),
14957 q{_alternation_1_of_production_12_of_rule_sysibm_function},
14959 if defined $::RD_TRACE;
14960 my $thisprod = $thisrule->{"prods"}[0];
14963 @item = (q{_alternation_1_of_production_12_of_rule_sysibm_function});
14964 %item = (__RULE__ => q{_alternation_1_of_production_12_of_rule_sysibm_function});
14968 Parse::RecDescent::_trace(q{Trying terminal: [/COVARIANCE/i]}, Parse::RecDescent::_tracefirst($text),
14969 q{_alternation_1_of_production_12_of_rule_sysibm_function},
14971 if defined $::RD_TRACE;
14973 $expectation->is(q{})->at($text);
14976 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:COVARIANCE)//i)
14979 $expectation->failed();
14980 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
14981 Parse::RecDescent::_tracefirst($text))
14982 if defined $::RD_TRACE;
14986 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
14988 Parse::RecDescent::_tracefirst($text))
14989 if defined $::RD_TRACE;
14990 push @item, $item{__PATTERN1__}=$&;
14994 Parse::RecDescent::_trace(q{>>Matched production: [/COVARIANCE/i]<<},
14995 Parse::RecDescent::_tracefirst($text),
14996 q{_alternation_1_of_production_12_of_rule_sysibm_function},
14998 if defined $::RD_TRACE;
15004 while (!$_matched && !$commit)
15007 Parse::RecDescent::_trace(q{Trying production: [/COVAR/i]},
15008 Parse::RecDescent::_tracefirst($_[1]),
15009 q{_alternation_1_of_production_12_of_rule_sysibm_function},
15011 if defined $::RD_TRACE;
15012 my $thisprod = $thisrule->{"prods"}[1];
15015 @item = (q{_alternation_1_of_production_12_of_rule_sysibm_function});
15016 %item = (__RULE__ => q{_alternation_1_of_production_12_of_rule_sysibm_function});
15020 Parse::RecDescent::_trace(q{Trying terminal: [/COVAR/i]}, Parse::RecDescent::_tracefirst($text),
15021 q{_alternation_1_of_production_12_of_rule_sysibm_function},
15023 if defined $::RD_TRACE;
15025 $expectation->is(q{})->at($text);
15028 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:COVAR)//i)
15031 $expectation->failed();
15032 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
15033 Parse::RecDescent::_tracefirst($text))
15034 if defined $::RD_TRACE;
15038 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
15040 Parse::RecDescent::_tracefirst($text))
15041 if defined $::RD_TRACE;
15042 push @item, $item{__PATTERN1__}=$&;
15046 Parse::RecDescent::_trace(q{>>Matched production: [/COVAR/i]<<},
15047 Parse::RecDescent::_tracefirst($text),
15048 q{_alternation_1_of_production_12_of_rule_sysibm_function},
15050 if defined $::RD_TRACE;
15056 unless ( $_matched || defined($return) || defined($score) )
15060 $_[1] = $text; # NOT SURE THIS IS NEEDED
15061 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
15062 Parse::RecDescent::_tracefirst($_[1]),
15063 q{_alternation_1_of_production_12_of_rule_sysibm_function},
15065 if defined $::RD_TRACE;
15068 if (!defined($return) && defined($score))
15070 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
15071 q{_alternation_1_of_production_12_of_rule_sysibm_function},
15073 if defined $::RD_TRACE;
15074 $return = $score_return;
15076 splice @{$thisparser->{errors}}, $err_at;
15077 $return = $item[$#item] unless defined $return;
15078 if (defined $::RD_TRACE)
15080 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15081 $return . q{])}, "",
15082 q{_alternation_1_of_production_12_of_rule_sysibm_function},
15084 Parse::RecDescent::_trace(q{(consumed: [} .
15085 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15086 Parse::RecDescent::_tracefirst($text),
15087 , q{_alternation_1_of_production_12_of_rule_sysibm_function},
15094 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
15095 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::scalar_fullselect
15097 my $thisparser = $_[0];
15098 use vars q{$tracelevel};
15099 local $tracelevel = ($tracelevel||0)+1;
15101 my $thisrule = $thisparser->{"rules"}{"scalar_fullselect"};
15103 Parse::RecDescent::_trace(q{Trying rule: [scalar_fullselect]},
15104 Parse::RecDescent::_tracefirst($_[1]),
15105 q{scalar_fullselect},
15107 if defined $::RD_TRACE;
15110 my $err_at = @{$thisparser->{errors}};
15115 my $return = undef;
15120 my $repeating = defined($_[2]) && $_[2];
15121 my $_noactions = defined($_[3]) && $_[3];
15122 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
15123 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
15126 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
15127 $expectation->at($_[1]);
15130 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15134 while (!$_matched && !$commit)
15137 Parse::RecDescent::_trace(q{Trying production: ['(' fullselect ')']},
15138 Parse::RecDescent::_tracefirst($_[1]),
15139 q{scalar_fullselect},
15141 if defined $::RD_TRACE;
15142 my $thisprod = $thisrule->{"prods"}[0];
15145 @item = (q{scalar_fullselect});
15146 %item = (__RULE__ => q{scalar_fullselect});
15150 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
15151 Parse::RecDescent::_tracefirst($text),
15152 q{scalar_fullselect},
15154 if defined $::RD_TRACE;
15156 $expectation->is(q{})->at($text);
15159 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
15162 $expectation->failed();
15163 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
15164 Parse::RecDescent::_tracefirst($text))
15165 if defined $::RD_TRACE;
15168 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
15170 Parse::RecDescent::_tracefirst($text))
15171 if defined $::RD_TRACE;
15172 push @item, $item{__STRING1__}=$&;
15175 Parse::RecDescent::_trace(q{Trying subrule: [fullselect]},
15176 Parse::RecDescent::_tracefirst($text),
15177 q{scalar_fullselect},
15179 if defined $::RD_TRACE;
15180 if (1) { no strict qw{refs};
15181 $expectation->is(q{fullselect})->at($text);
15182 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::fullselect($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
15185 Parse::RecDescent::_trace(q{<<Didn't match subrule: [fullselect]>>},
15186 Parse::RecDescent::_tracefirst($text),
15187 q{scalar_fullselect},
15189 if defined $::RD_TRACE;
15190 $expectation->failed();
15193 Parse::RecDescent::_trace(q{>>Matched subrule: [fullselect]<< (return value: [}
15196 Parse::RecDescent::_tracefirst($text),
15197 q{scalar_fullselect},
15199 if defined $::RD_TRACE;
15200 $item{q{fullselect}} = $_tok;
15205 Parse::RecDescent::_trace(q{Trying terminal: [')']},
15206 Parse::RecDescent::_tracefirst($text),
15207 q{scalar_fullselect},
15209 if defined $::RD_TRACE;
15211 $expectation->is(q{')'})->at($text);
15214 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
15217 $expectation->failed();
15218 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
15219 Parse::RecDescent::_tracefirst($text))
15220 if defined $::RD_TRACE;
15223 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
15225 Parse::RecDescent::_tracefirst($text))
15226 if defined $::RD_TRACE;
15227 push @item, $item{__STRING2__}=$&;
15231 Parse::RecDescent::_trace(q{>>Matched production: ['(' fullselect ')']<<},
15232 Parse::RecDescent::_tracefirst($text),
15233 q{scalar_fullselect},
15235 if defined $::RD_TRACE;
15241 unless ( $_matched || defined($return) || defined($score) )
15245 $_[1] = $text; # NOT SURE THIS IS NEEDED
15246 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
15247 Parse::RecDescent::_tracefirst($_[1]),
15248 q{scalar_fullselect},
15250 if defined $::RD_TRACE;
15253 if (!defined($return) && defined($score))
15255 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
15256 q{scalar_fullselect},
15258 if defined $::RD_TRACE;
15259 $return = $score_return;
15261 splice @{$thisparser->{errors}}, $err_at;
15262 $return = $item[$#item] unless defined $return;
15263 if (defined $::RD_TRACE)
15265 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15266 $return . q{])}, "",
15267 q{scalar_fullselect},
15269 Parse::RecDescent::_trace(q{(consumed: [} .
15270 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15271 Parse::RecDescent::_tracefirst($text),
15272 , q{scalar_fullselect},
15279 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
15280 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_options
15282 my $thisparser = $_[0];
15283 use vars q{$tracelevel};
15284 local $tracelevel = ($tracelevel||0)+1;
15286 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_options"};
15288 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_options]},
15289 Parse::RecDescent::_tracefirst($_[1]),
15290 q{_alternation_1_of_production_1_of_rule_options},
15292 if defined $::RD_TRACE;
15295 my $err_at = @{$thisparser->{errors}};
15300 my $return = undef;
15305 my $repeating = defined($_[2]) && $_[2];
15306 my $_noactions = defined($_[3]) && $_[3];
15307 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
15308 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
15311 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
15312 $expectation->at($_[1]);
15315 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15319 while (!$_matched && !$commit)
15322 Parse::RecDescent::_trace(q{Trying production: [/CASCADED/i]},
15323 Parse::RecDescent::_tracefirst($_[1]),
15324 q{_alternation_1_of_production_1_of_rule_options},
15326 if defined $::RD_TRACE;
15327 my $thisprod = $thisrule->{"prods"}[0];
15330 @item = (q{_alternation_1_of_production_1_of_rule_options});
15331 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_options});
15335 Parse::RecDescent::_trace(q{Trying terminal: [/CASCADED/i]}, Parse::RecDescent::_tracefirst($text),
15336 q{_alternation_1_of_production_1_of_rule_options},
15338 if defined $::RD_TRACE;
15340 $expectation->is(q{})->at($text);
15343 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CASCADED)//i)
15346 $expectation->failed();
15347 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
15348 Parse::RecDescent::_tracefirst($text))
15349 if defined $::RD_TRACE;
15353 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
15355 Parse::RecDescent::_tracefirst($text))
15356 if defined $::RD_TRACE;
15357 push @item, $item{__PATTERN1__}=$&;
15361 Parse::RecDescent::_trace(q{>>Matched production: [/CASCADED/i]<<},
15362 Parse::RecDescent::_tracefirst($text),
15363 q{_alternation_1_of_production_1_of_rule_options},
15365 if defined $::RD_TRACE;
15371 while (!$_matched && !$commit)
15374 Parse::RecDescent::_trace(q{Trying production: [/LOCAL/i]},
15375 Parse::RecDescent::_tracefirst($_[1]),
15376 q{_alternation_1_of_production_1_of_rule_options},
15378 if defined $::RD_TRACE;
15379 my $thisprod = $thisrule->{"prods"}[1];
15382 @item = (q{_alternation_1_of_production_1_of_rule_options});
15383 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_options});
15387 Parse::RecDescent::_trace(q{Trying terminal: [/LOCAL/i]}, Parse::RecDescent::_tracefirst($text),
15388 q{_alternation_1_of_production_1_of_rule_options},
15390 if defined $::RD_TRACE;
15392 $expectation->is(q{})->at($text);
15395 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LOCAL)//i)
15398 $expectation->failed();
15399 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
15400 Parse::RecDescent::_tracefirst($text))
15401 if defined $::RD_TRACE;
15405 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
15407 Parse::RecDescent::_tracefirst($text))
15408 if defined $::RD_TRACE;
15409 push @item, $item{__PATTERN1__}=$&;
15413 Parse::RecDescent::_trace(q{>>Matched production: [/LOCAL/i]<<},
15414 Parse::RecDescent::_tracefirst($text),
15415 q{_alternation_1_of_production_1_of_rule_options},
15417 if defined $::RD_TRACE;
15423 unless ( $_matched || defined($return) || defined($score) )
15427 $_[1] = $text; # NOT SURE THIS IS NEEDED
15428 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
15429 Parse::RecDescent::_tracefirst($_[1]),
15430 q{_alternation_1_of_production_1_of_rule_options},
15432 if defined $::RD_TRACE;
15435 if (!defined($return) && defined($score))
15437 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
15438 q{_alternation_1_of_production_1_of_rule_options},
15440 if defined $::RD_TRACE;
15441 $return = $score_return;
15443 splice @{$thisparser->{errors}}, $err_at;
15444 $return = $item[$#item] unless defined $return;
15445 if (defined $::RD_TRACE)
15447 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15448 $return . q{])}, "",
15449 q{_alternation_1_of_production_1_of_rule_options},
15451 Parse::RecDescent::_trace(q{(consumed: [} .
15452 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15453 Parse::RecDescent::_tracefirst($text),
15454 , q{_alternation_1_of_production_1_of_rule_options},
15461 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
15462 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::func_args
15464 my $thisparser = $_[0];
15465 use vars q{$tracelevel};
15466 local $tracelevel = ($tracelevel||0)+1;
15468 my $thisrule = $thisparser->{"rules"}{"func_args"};
15470 Parse::RecDescent::_trace(q{Trying rule: [func_args]},
15471 Parse::RecDescent::_tracefirst($_[1]),
15474 if defined $::RD_TRACE;
15477 my $err_at = @{$thisparser->{errors}};
15482 my $return = undef;
15487 my $repeating = defined($_[2]) && $_[2];
15488 my $_noactions = defined($_[3]) && $_[3];
15489 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
15490 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
15493 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
15494 $expectation->at($_[1]);
15497 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15501 while (!$_matched && !$commit)
15504 Parse::RecDescent::_trace(q{Trying production: [expression]},
15505 Parse::RecDescent::_tracefirst($_[1]),
15508 if defined $::RD_TRACE;
15509 my $thisprod = $thisrule->{"prods"}[0];
15512 @item = (q{func_args});
15513 %item = (__RULE__ => q{func_args});
15517 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
15518 Parse::RecDescent::_tracefirst($text),
15521 if defined $::RD_TRACE;
15522 if (1) { no strict qw{refs};
15523 $expectation->is(q{})->at($text);
15524 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
15527 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
15528 Parse::RecDescent::_tracefirst($text),
15531 if defined $::RD_TRACE;
15532 $expectation->failed();
15535 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
15538 Parse::RecDescent::_tracefirst($text),
15541 if defined $::RD_TRACE;
15542 $item{q{expression}} = $_tok;
15548 Parse::RecDescent::_trace(q{>>Matched production: [expression]<<},
15549 Parse::RecDescent::_tracefirst($text),
15552 if defined $::RD_TRACE;
15558 unless ( $_matched || defined($return) || defined($score) )
15562 $_[1] = $text; # NOT SURE THIS IS NEEDED
15563 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
15564 Parse::RecDescent::_tracefirst($_[1]),
15567 if defined $::RD_TRACE;
15570 if (!defined($return) && defined($score))
15572 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
15575 if defined $::RD_TRACE;
15576 $return = $score_return;
15578 splice @{$thisparser->{errors}}, $err_at;
15579 $return = $item[$#item] unless defined $return;
15580 if (defined $::RD_TRACE)
15582 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15583 $return . q{])}, "",
15586 Parse::RecDescent::_trace(q{(consumed: [} .
15587 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15588 Parse::RecDescent::_tracefirst($text),
15596 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
15597 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::trigger_name
15599 my $thisparser = $_[0];
15600 use vars q{$tracelevel};
15601 local $tracelevel = ($tracelevel||0)+1;
15603 my $thisrule = $thisparser->{"rules"}{"trigger_name"};
15605 Parse::RecDescent::_trace(q{Trying rule: [trigger_name]},
15606 Parse::RecDescent::_tracefirst($_[1]),
15609 if defined $::RD_TRACE;
15612 my $err_at = @{$thisparser->{errors}};
15617 my $return = undef;
15622 my $repeating = defined($_[2]) && $_[2];
15623 my $_noactions = defined($_[3]) && $_[3];
15624 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
15625 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
15628 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
15629 $expectation->at($_[1]);
15632 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15636 while (!$_matched && !$commit)
15639 Parse::RecDescent::_trace(q{Trying production: [SCHEMA '.' NAME]},
15640 Parse::RecDescent::_tracefirst($_[1]),
15643 if defined $::RD_TRACE;
15644 my $thisprod = $thisrule->{"prods"}[0];
15647 @item = (q{trigger_name});
15648 %item = (__RULE__ => q{trigger_name});
15652 Parse::RecDescent::_trace(q{Trying subrule: [SCHEMA]},
15653 Parse::RecDescent::_tracefirst($text),
15656 if defined $::RD_TRACE;
15657 if (1) { no strict qw{refs};
15658 $expectation->is(q{})->at($text);
15659 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::SCHEMA($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
15662 Parse::RecDescent::_trace(q{<<Didn't match subrule: [SCHEMA]>>},
15663 Parse::RecDescent::_tracefirst($text),
15666 if defined $::RD_TRACE;
15667 $expectation->failed();
15670 Parse::RecDescent::_trace(q{>>Matched subrule: [SCHEMA]<< (return value: [}
15673 Parse::RecDescent::_tracefirst($text),
15676 if defined $::RD_TRACE;
15677 $item{q{SCHEMA}} = $_tok;
15682 Parse::RecDescent::_trace(q{Trying terminal: ['.']},
15683 Parse::RecDescent::_tracefirst($text),
15686 if defined $::RD_TRACE;
15688 $expectation->is(q{'.'})->at($text);
15691 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\.//)
15694 $expectation->failed();
15695 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
15696 Parse::RecDescent::_tracefirst($text))
15697 if defined $::RD_TRACE;
15700 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
15702 Parse::RecDescent::_tracefirst($text))
15703 if defined $::RD_TRACE;
15704 push @item, $item{__STRING1__}=$&;
15707 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
15708 Parse::RecDescent::_tracefirst($text),
15711 if defined $::RD_TRACE;
15712 if (1) { no strict qw{refs};
15713 $expectation->is(q{NAME})->at($text);
15714 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
15717 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
15718 Parse::RecDescent::_tracefirst($text),
15721 if defined $::RD_TRACE;
15722 $expectation->failed();
15725 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
15728 Parse::RecDescent::_tracefirst($text),
15731 if defined $::RD_TRACE;
15732 $item{q{NAME}} = $_tok;
15737 Parse::RecDescent::_trace(q{Trying action},
15738 Parse::RecDescent::_tracefirst($text),
15741 if defined $::RD_TRACE;
15744 $_tok = ($_noactions) ? 0 : do { $return = { schema => $item[1], name => $item[3] } };
15745 unless (defined $_tok)
15747 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
15748 if defined $::RD_TRACE;
15751 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
15753 Parse::RecDescent::_tracefirst($text))
15754 if defined $::RD_TRACE;
15756 $item{__ACTION1__}=$_tok;
15760 Parse::RecDescent::_trace(q{>>Matched production: [SCHEMA '.' NAME]<<},
15761 Parse::RecDescent::_tracefirst($text),
15764 if defined $::RD_TRACE;
15770 while (!$_matched && !$commit)
15773 Parse::RecDescent::_trace(q{Trying production: [NAME]},
15774 Parse::RecDescent::_tracefirst($_[1]),
15777 if defined $::RD_TRACE;
15778 my $thisprod = $thisrule->{"prods"}[1];
15781 @item = (q{trigger_name});
15782 %item = (__RULE__ => q{trigger_name});
15786 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
15787 Parse::RecDescent::_tracefirst($text),
15790 if defined $::RD_TRACE;
15791 if (1) { no strict qw{refs};
15792 $expectation->is(q{})->at($text);
15793 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
15796 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
15797 Parse::RecDescent::_tracefirst($text),
15800 if defined $::RD_TRACE;
15801 $expectation->failed();
15804 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
15807 Parse::RecDescent::_tracefirst($text),
15810 if defined $::RD_TRACE;
15811 $item{q{NAME}} = $_tok;
15816 Parse::RecDescent::_trace(q{Trying action},
15817 Parse::RecDescent::_tracefirst($text),
15820 if defined $::RD_TRACE;
15823 $_tok = ($_noactions) ? 0 : do { $return = { name => $item[1] } };
15824 unless (defined $_tok)
15826 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
15827 if defined $::RD_TRACE;
15830 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
15832 Parse::RecDescent::_tracefirst($text))
15833 if defined $::RD_TRACE;
15835 $item{__ACTION1__}=$_tok;
15839 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
15840 Parse::RecDescent::_tracefirst($text),
15843 if defined $::RD_TRACE;
15849 unless ( $_matched || defined($return) || defined($score) )
15853 $_[1] = $text; # NOT SURE THIS IS NEEDED
15854 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
15855 Parse::RecDescent::_tracefirst($_[1]),
15858 if defined $::RD_TRACE;
15861 if (!defined($return) && defined($score))
15863 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
15866 if defined $::RD_TRACE;
15867 $return = $score_return;
15869 splice @{$thisparser->{errors}}, $err_at;
15870 $return = $item[$#item] unless defined $return;
15871 if (defined $::RD_TRACE)
15873 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15874 $return . q{])}, "",
15877 Parse::RecDescent::_trace(q{(consumed: [} .
15878 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15879 Parse::RecDescent::_tracefirst($text),
15887 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
15888 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_numbering_function
15890 my $thisparser = $_[0];
15891 use vars q{$tracelevel};
15892 local $tracelevel = ($tracelevel||0)+1;
15894 my $thisrule = $thisparser->{"rules"}{"_alternation_2_of_production_1_of_rule_numbering_function"};
15896 Parse::RecDescent::_trace(q{Trying rule: [_alternation_2_of_production_1_of_rule_numbering_function]},
15897 Parse::RecDescent::_tracefirst($_[1]),
15898 q{_alternation_2_of_production_1_of_rule_numbering_function},
15900 if defined $::RD_TRACE;
15903 my $err_at = @{$thisparser->{errors}};
15908 my $return = undef;
15913 my $repeating = defined($_[2]) && $_[2];
15914 my $_noactions = defined($_[3]) && $_[3];
15915 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
15916 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
15919 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
15920 $expectation->at($_[1]);
15923 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15927 while (!$_matched && !$commit)
15930 Parse::RecDescent::_trace(q{Trying production: [/RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i]},
15931 Parse::RecDescent::_tracefirst($_[1]),
15932 q{_alternation_2_of_production_1_of_rule_numbering_function},
15934 if defined $::RD_TRACE;
15935 my $thisprod = $thisrule->{"prods"}[0];
15938 @item = (q{_alternation_2_of_production_1_of_rule_numbering_function});
15939 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_numbering_function});
15943 Parse::RecDescent::_trace(q{Trying terminal: [/RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i]}, Parse::RecDescent::_tracefirst($text),
15944 q{_alternation_2_of_production_1_of_rule_numbering_function},
15946 if defined $::RD_TRACE;
15948 $expectation->is(q{})->at($text);
15951 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RANGE\s+BETWEEN\s+UNBOUNDED\s+PRECEDING\s+AND\s+UNBBOUNDED\s+FOLLOWING)//i)
15954 $expectation->failed();
15955 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
15956 Parse::RecDescent::_tracefirst($text))
15957 if defined $::RD_TRACE;
15961 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
15963 Parse::RecDescent::_tracefirst($text))
15964 if defined $::RD_TRACE;
15965 push @item, $item{__PATTERN1__}=$&;
15969 Parse::RecDescent::_trace(q{>>Matched production: [/RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING/i]<<},
15970 Parse::RecDescent::_tracefirst($text),
15971 q{_alternation_2_of_production_1_of_rule_numbering_function},
15973 if defined $::RD_TRACE;
15979 while (!$_matched && !$commit)
15982 Parse::RecDescent::_trace(q{Trying production: [window_aggregation_group_clause]},
15983 Parse::RecDescent::_tracefirst($_[1]),
15984 q{_alternation_2_of_production_1_of_rule_numbering_function},
15986 if defined $::RD_TRACE;
15987 my $thisprod = $thisrule->{"prods"}[1];
15990 @item = (q{_alternation_2_of_production_1_of_rule_numbering_function});
15991 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_numbering_function});
15995 Parse::RecDescent::_trace(q{Trying subrule: [window_aggregation_group_clause]},
15996 Parse::RecDescent::_tracefirst($text),
15997 q{_alternation_2_of_production_1_of_rule_numbering_function},
15999 if defined $::RD_TRACE;
16000 if (1) { no strict qw{refs};
16001 $expectation->is(q{})->at($text);
16002 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_aggregation_group_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16005 Parse::RecDescent::_trace(q{<<Didn't match subrule: [window_aggregation_group_clause]>>},
16006 Parse::RecDescent::_tracefirst($text),
16007 q{_alternation_2_of_production_1_of_rule_numbering_function},
16009 if defined $::RD_TRACE;
16010 $expectation->failed();
16013 Parse::RecDescent::_trace(q{>>Matched subrule: [window_aggregation_group_clause]<< (return value: [}
16016 Parse::RecDescent::_tracefirst($text),
16017 q{_alternation_2_of_production_1_of_rule_numbering_function},
16019 if defined $::RD_TRACE;
16020 $item{q{window_aggregation_group_clause}} = $_tok;
16026 Parse::RecDescent::_trace(q{>>Matched production: [window_aggregation_group_clause]<<},
16027 Parse::RecDescent::_tracefirst($text),
16028 q{_alternation_2_of_production_1_of_rule_numbering_function},
16030 if defined $::RD_TRACE;
16036 unless ( $_matched || defined($return) || defined($score) )
16040 $_[1] = $text; # NOT SURE THIS IS NEEDED
16041 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
16042 Parse::RecDescent::_tracefirst($_[1]),
16043 q{_alternation_2_of_production_1_of_rule_numbering_function},
16045 if defined $::RD_TRACE;
16048 if (!defined($return) && defined($score))
16050 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
16051 q{_alternation_2_of_production_1_of_rule_numbering_function},
16053 if defined $::RD_TRACE;
16054 $return = $score_return;
16056 splice @{$thisparser->{errors}}, $err_at;
16057 $return = $item[$#item] unless defined $return;
16058 if (defined $::RD_TRACE)
16060 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
16061 $return . q{])}, "",
16062 q{_alternation_2_of_production_1_of_rule_numbering_function},
16064 Parse::RecDescent::_trace(q{(consumed: [} .
16065 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
16066 Parse::RecDescent::_tracefirst($text),
16067 , q{_alternation_2_of_production_1_of_rule_numbering_function},
16074 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
16075 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::method_name
16077 my $thisparser = $_[0];
16078 use vars q{$tracelevel};
16079 local $tracelevel = ($tracelevel||0)+1;
16081 my $thisrule = $thisparser->{"rules"}{"method_name"};
16083 Parse::RecDescent::_trace(q{Trying rule: [method_name]},
16084 Parse::RecDescent::_tracefirst($_[1]),
16087 if defined $::RD_TRACE;
16090 my $err_at = @{$thisparser->{errors}};
16095 my $return = undef;
16100 my $repeating = defined($_[2]) && $_[2];
16101 my $_noactions = defined($_[3]) && $_[3];
16102 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
16103 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
16106 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
16107 $expectation->at($_[1]);
16110 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
16114 while (!$_matched && !$commit)
16117 Parse::RecDescent::_trace(q{Trying production: [NAME]},
16118 Parse::RecDescent::_tracefirst($_[1]),
16121 if defined $::RD_TRACE;
16122 my $thisprod = $thisrule->{"prods"}[0];
16125 @item = (q{method_name});
16126 %item = (__RULE__ => q{method_name});
16130 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
16131 Parse::RecDescent::_tracefirst($text),
16134 if defined $::RD_TRACE;
16135 if (1) { no strict qw{refs};
16136 $expectation->is(q{})->at($text);
16137 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16140 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
16141 Parse::RecDescent::_tracefirst($text),
16144 if defined $::RD_TRACE;
16145 $expectation->failed();
16148 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
16151 Parse::RecDescent::_tracefirst($text),
16154 if defined $::RD_TRACE;
16155 $item{q{NAME}} = $_tok;
16160 Parse::RecDescent::_trace(q{Trying action},
16161 Parse::RecDescent::_tracefirst($text),
16164 if defined $::RD_TRACE;
16167 $_tok = ($_noactions) ? 0 : do { # must be a method of subject_expression
16169 unless (defined $_tok)
16171 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
16172 if defined $::RD_TRACE;
16175 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
16177 Parse::RecDescent::_tracefirst($text))
16178 if defined $::RD_TRACE;
16180 $item{__ACTION1__}=$_tok;
16184 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
16185 Parse::RecDescent::_tracefirst($text),
16188 if defined $::RD_TRACE;
16194 unless ( $_matched || defined($return) || defined($score) )
16198 $_[1] = $text; # NOT SURE THIS IS NEEDED
16199 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
16200 Parse::RecDescent::_tracefirst($_[1]),
16203 if defined $::RD_TRACE;
16206 if (!defined($return) && defined($score))
16208 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
16211 if defined $::RD_TRACE;
16212 $return = $score_return;
16214 splice @{$thisparser->{errors}}, $err_at;
16215 $return = $item[$#item] unless defined $return;
16216 if (defined $::RD_TRACE)
16218 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
16219 $return . q{])}, "",
16222 Parse::RecDescent::_trace(q{(consumed: [} .
16223 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
16224 Parse::RecDescent::_tracefirst($text),
16232 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
16233 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::quantified_p
16235 my $thisparser = $_[0];
16236 use vars q{$tracelevel};
16237 local $tracelevel = ($tracelevel||0)+1;
16239 my $thisrule = $thisparser->{"rules"}{"quantified_p"};
16241 Parse::RecDescent::_trace(q{Trying rule: [quantified_p]},
16242 Parse::RecDescent::_tracefirst($_[1]),
16245 if defined $::RD_TRACE;
16248 my $err_at = @{$thisparser->{errors}};
16253 my $return = undef;
16258 my $repeating = defined($_[2]) && $_[2];
16259 my $_noactions = defined($_[3]) && $_[3];
16260 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
16261 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
16264 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
16265 $expectation->at($_[1]);
16268 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
16272 while (!$_matched && !$commit)
16275 Parse::RecDescent::_trace(q{Trying production: [expression1 /(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/ /SOME|ANY|ALL/i '(' fullselect ')']},
16276 Parse::RecDescent::_tracefirst($_[1]),
16279 if defined $::RD_TRACE;
16280 my $thisprod = $thisrule->{"prods"}[0];
16283 @item = (q{quantified_p});
16284 %item = (__RULE__ => q{quantified_p});
16288 Parse::RecDescent::_trace(q{Trying subrule: [expression1]},
16289 Parse::RecDescent::_tracefirst($text),
16292 if defined $::RD_TRACE;
16293 if (1) { no strict qw{refs};
16294 $expectation->is(q{})->at($text);
16295 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression1($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16298 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression1]>>},
16299 Parse::RecDescent::_tracefirst($text),
16302 if defined $::RD_TRACE;
16303 $expectation->failed();
16306 Parse::RecDescent::_trace(q{>>Matched subrule: [expression1]<< (return value: [}
16309 Parse::RecDescent::_tracefirst($text),
16312 if defined $::RD_TRACE;
16313 $item{q{expression1}} = $_tok;
16318 Parse::RecDescent::_trace(q{Trying terminal: [/(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/]}, Parse::RecDescent::_tracefirst($text),
16321 if defined $::RD_TRACE;
16323 $expectation->is(q{/(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/})->at($text);
16326 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:(=|<>|<|>|<=|=>|\^=|\^<|\^>|\!=))//)
16329 $expectation->failed();
16330 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
16331 Parse::RecDescent::_tracefirst($text))
16332 if defined $::RD_TRACE;
16336 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16338 Parse::RecDescent::_tracefirst($text))
16339 if defined $::RD_TRACE;
16340 push @item, $item{__PATTERN1__}=$&;
16343 Parse::RecDescent::_trace(q{Trying terminal: [/SOME|ANY|ALL/i]}, Parse::RecDescent::_tracefirst($text),
16346 if defined $::RD_TRACE;
16348 $expectation->is(q{/SOME|ANY|ALL/i})->at($text);
16351 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SOME|ANY|ALL)//i)
16354 $expectation->failed();
16355 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
16356 Parse::RecDescent::_tracefirst($text))
16357 if defined $::RD_TRACE;
16361 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16363 Parse::RecDescent::_tracefirst($text))
16364 if defined $::RD_TRACE;
16365 push @item, $item{__PATTERN2__}=$&;
16368 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
16369 Parse::RecDescent::_tracefirst($text),
16372 if defined $::RD_TRACE;
16374 $expectation->is(q{'('})->at($text);
16377 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
16380 $expectation->failed();
16381 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
16382 Parse::RecDescent::_tracefirst($text))
16383 if defined $::RD_TRACE;
16386 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16388 Parse::RecDescent::_tracefirst($text))
16389 if defined $::RD_TRACE;
16390 push @item, $item{__STRING1__}=$&;
16393 Parse::RecDescent::_trace(q{Trying subrule: [fullselect]},
16394 Parse::RecDescent::_tracefirst($text),
16397 if defined $::RD_TRACE;
16398 if (1) { no strict qw{refs};
16399 $expectation->is(q{fullselect})->at($text);
16400 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::fullselect($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16403 Parse::RecDescent::_trace(q{<<Didn't match subrule: [fullselect]>>},
16404 Parse::RecDescent::_tracefirst($text),
16407 if defined $::RD_TRACE;
16408 $expectation->failed();
16411 Parse::RecDescent::_trace(q{>>Matched subrule: [fullselect]<< (return value: [}
16414 Parse::RecDescent::_tracefirst($text),
16417 if defined $::RD_TRACE;
16418 $item{q{fullselect}} = $_tok;
16423 Parse::RecDescent::_trace(q{Trying terminal: [')']},
16424 Parse::RecDescent::_tracefirst($text),
16427 if defined $::RD_TRACE;
16429 $expectation->is(q{')'})->at($text);
16432 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
16435 $expectation->failed();
16436 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
16437 Parse::RecDescent::_tracefirst($text))
16438 if defined $::RD_TRACE;
16441 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16443 Parse::RecDescent::_tracefirst($text))
16444 if defined $::RD_TRACE;
16445 push @item, $item{__STRING2__}=$&;
16449 Parse::RecDescent::_trace(q{>>Matched production: [expression1 /(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/ /SOME|ANY|ALL/i '(' fullselect ')']<<},
16450 Parse::RecDescent::_tracefirst($text),
16453 if defined $::RD_TRACE;
16459 unless ( $_matched || defined($return) || defined($score) )
16463 $_[1] = $text; # NOT SURE THIS IS NEEDED
16464 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
16465 Parse::RecDescent::_tracefirst($_[1]),
16468 if defined $::RD_TRACE;
16471 if (!defined($return) && defined($score))
16473 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
16476 if defined $::RD_TRACE;
16477 $return = $score_return;
16479 splice @{$thisparser->{errors}}, $err_at;
16480 $return = $item[$#item] unless defined $return;
16481 if (defined $::RD_TRACE)
16483 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
16484 $return . q{])}, "",
16487 Parse::RecDescent::_trace(q{(consumed: [} .
16488 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
16489 Parse::RecDescent::_tracefirst($text),
16497 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
16498 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::common_table_expression
16500 my $thisparser = $_[0];
16501 use vars q{$tracelevel};
16502 local $tracelevel = ($tracelevel||0)+1;
16504 my $thisrule = $thisparser->{"rules"}{"common_table_expression"};
16506 Parse::RecDescent::_trace(q{Trying rule: [common_table_expression]},
16507 Parse::RecDescent::_tracefirst($_[1]),
16508 q{common_table_expression},
16510 if defined $::RD_TRACE;
16513 my $err_at = @{$thisparser->{errors}};
16518 my $return = undef;
16523 my $repeating = defined($_[2]) && $_[2];
16524 my $_noactions = defined($_[3]) && $_[3];
16525 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
16526 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
16529 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
16530 $expectation->at($_[1]);
16533 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
16537 while (!$_matched && !$commit)
16540 Parse::RecDescent::_trace(q{Trying production: [table_name column_list /AS/i get_bracketed]},
16541 Parse::RecDescent::_tracefirst($_[1]),
16542 q{common_table_expression},
16544 if defined $::RD_TRACE;
16545 my $thisprod = $thisrule->{"prods"}[0];
16548 @item = (q{common_table_expression});
16549 %item = (__RULE__ => q{common_table_expression});
16553 Parse::RecDescent::_trace(q{Trying subrule: [table_name]},
16554 Parse::RecDescent::_tracefirst($text),
16555 q{common_table_expression},
16557 if defined $::RD_TRACE;
16558 if (1) { no strict qw{refs};
16559 $expectation->is(q{})->at($text);
16560 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::table_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16563 Parse::RecDescent::_trace(q{<<Didn't match subrule: [table_name]>>},
16564 Parse::RecDescent::_tracefirst($text),
16565 q{common_table_expression},
16567 if defined $::RD_TRACE;
16568 $expectation->failed();
16571 Parse::RecDescent::_trace(q{>>Matched subrule: [table_name]<< (return value: [}
16574 Parse::RecDescent::_tracefirst($text),
16575 q{common_table_expression},
16577 if defined $::RD_TRACE;
16578 $item{q{table_name}} = $_tok;
16583 Parse::RecDescent::_trace(q{Trying subrule: [column_list]},
16584 Parse::RecDescent::_tracefirst($text),
16585 q{common_table_expression},
16587 if defined $::RD_TRACE;
16588 if (1) { no strict qw{refs};
16589 $expectation->is(q{column_list})->at($text);
16590 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_list($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16593 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_list]>>},
16594 Parse::RecDescent::_tracefirst($text),
16595 q{common_table_expression},
16597 if defined $::RD_TRACE;
16598 $expectation->failed();
16601 Parse::RecDescent::_trace(q{>>Matched subrule: [column_list]<< (return value: [}
16604 Parse::RecDescent::_tracefirst($text),
16605 q{common_table_expression},
16607 if defined $::RD_TRACE;
16608 $item{q{column_list}} = $_tok;
16613 Parse::RecDescent::_trace(q{Trying terminal: [/AS/i]}, Parse::RecDescent::_tracefirst($text),
16614 q{common_table_expression},
16616 if defined $::RD_TRACE;
16618 $expectation->is(q{/AS/i})->at($text);
16621 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AS)//i)
16624 $expectation->failed();
16625 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
16626 Parse::RecDescent::_tracefirst($text))
16627 if defined $::RD_TRACE;
16631 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16633 Parse::RecDescent::_tracefirst($text))
16634 if defined $::RD_TRACE;
16635 push @item, $item{__PATTERN1__}=$&;
16638 Parse::RecDescent::_trace(q{Trying subrule: [get_bracketed]},
16639 Parse::RecDescent::_tracefirst($text),
16640 q{common_table_expression},
16642 if defined $::RD_TRACE;
16643 if (1) { no strict qw{refs};
16644 $expectation->is(q{get_bracketed})->at($text);
16645 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::get_bracketed($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16648 Parse::RecDescent::_trace(q{<<Didn't match subrule: [get_bracketed]>>},
16649 Parse::RecDescent::_tracefirst($text),
16650 q{common_table_expression},
16652 if defined $::RD_TRACE;
16653 $expectation->failed();
16656 Parse::RecDescent::_trace(q{>>Matched subrule: [get_bracketed]<< (return value: [}
16659 Parse::RecDescent::_tracefirst($text),
16660 q{common_table_expression},
16662 if defined $::RD_TRACE;
16663 $item{q{get_bracketed}} = $_tok;
16668 Parse::RecDescent::_trace(q{Trying action},
16669 Parse::RecDescent::_tracefirst($text),
16670 q{common_table_expression},
16672 if defined $::RD_TRACE;
16675 $_tok = ($_noactions) ? 0 : do {
16676 $return = { name => $item{table_name}{name},
16680 unless (defined $_tok)
16682 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
16683 if defined $::RD_TRACE;
16686 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
16688 Parse::RecDescent::_tracefirst($text))
16689 if defined $::RD_TRACE;
16691 $item{__ACTION1__}=$_tok;
16695 Parse::RecDescent::_trace(q{>>Matched production: [table_name column_list /AS/i get_bracketed]<<},
16696 Parse::RecDescent::_tracefirst($text),
16697 q{common_table_expression},
16699 if defined $::RD_TRACE;
16705 while (!$_matched && !$commit)
16708 Parse::RecDescent::_trace(q{Trying production: [table_name column_list /AS/i '(' fullselect ')']},
16709 Parse::RecDescent::_tracefirst($_[1]),
16710 q{common_table_expression},
16712 if defined $::RD_TRACE;
16713 my $thisprod = $thisrule->{"prods"}[1];
16716 @item = (q{common_table_expression});
16717 %item = (__RULE__ => q{common_table_expression});
16721 Parse::RecDescent::_trace(q{Trying subrule: [table_name]},
16722 Parse::RecDescent::_tracefirst($text),
16723 q{common_table_expression},
16725 if defined $::RD_TRACE;
16726 if (1) { no strict qw{refs};
16727 $expectation->is(q{})->at($text);
16728 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::table_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16731 Parse::RecDescent::_trace(q{<<Didn't match subrule: [table_name]>>},
16732 Parse::RecDescent::_tracefirst($text),
16733 q{common_table_expression},
16735 if defined $::RD_TRACE;
16736 $expectation->failed();
16739 Parse::RecDescent::_trace(q{>>Matched subrule: [table_name]<< (return value: [}
16742 Parse::RecDescent::_tracefirst($text),
16743 q{common_table_expression},
16745 if defined $::RD_TRACE;
16746 $item{q{table_name}} = $_tok;
16751 Parse::RecDescent::_trace(q{Trying subrule: [column_list]},
16752 Parse::RecDescent::_tracefirst($text),
16753 q{common_table_expression},
16755 if defined $::RD_TRACE;
16756 if (1) { no strict qw{refs};
16757 $expectation->is(q{column_list})->at($text);
16758 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_list($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16761 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_list]>>},
16762 Parse::RecDescent::_tracefirst($text),
16763 q{common_table_expression},
16765 if defined $::RD_TRACE;
16766 $expectation->failed();
16769 Parse::RecDescent::_trace(q{>>Matched subrule: [column_list]<< (return value: [}
16772 Parse::RecDescent::_tracefirst($text),
16773 q{common_table_expression},
16775 if defined $::RD_TRACE;
16776 $item{q{column_list}} = $_tok;
16781 Parse::RecDescent::_trace(q{Trying terminal: [/AS/i]}, Parse::RecDescent::_tracefirst($text),
16782 q{common_table_expression},
16784 if defined $::RD_TRACE;
16786 $expectation->is(q{/AS/i})->at($text);
16789 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AS)//i)
16792 $expectation->failed();
16793 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
16794 Parse::RecDescent::_tracefirst($text))
16795 if defined $::RD_TRACE;
16799 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16801 Parse::RecDescent::_tracefirst($text))
16802 if defined $::RD_TRACE;
16803 push @item, $item{__PATTERN1__}=$&;
16806 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
16807 Parse::RecDescent::_tracefirst($text),
16808 q{common_table_expression},
16810 if defined $::RD_TRACE;
16812 $expectation->is(q{'('})->at($text);
16815 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
16818 $expectation->failed();
16819 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
16820 Parse::RecDescent::_tracefirst($text))
16821 if defined $::RD_TRACE;
16824 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16826 Parse::RecDescent::_tracefirst($text))
16827 if defined $::RD_TRACE;
16828 push @item, $item{__STRING1__}=$&;
16831 Parse::RecDescent::_trace(q{Trying subrule: [fullselect]},
16832 Parse::RecDescent::_tracefirst($text),
16833 q{common_table_expression},
16835 if defined $::RD_TRACE;
16836 if (1) { no strict qw{refs};
16837 $expectation->is(q{fullselect})->at($text);
16838 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::fullselect($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
16841 Parse::RecDescent::_trace(q{<<Didn't match subrule: [fullselect]>>},
16842 Parse::RecDescent::_tracefirst($text),
16843 q{common_table_expression},
16845 if defined $::RD_TRACE;
16846 $expectation->failed();
16849 Parse::RecDescent::_trace(q{>>Matched subrule: [fullselect]<< (return value: [}
16852 Parse::RecDescent::_tracefirst($text),
16853 q{common_table_expression},
16855 if defined $::RD_TRACE;
16856 $item{q{fullselect}} = $_tok;
16861 Parse::RecDescent::_trace(q{Trying terminal: [')']},
16862 Parse::RecDescent::_tracefirst($text),
16863 q{common_table_expression},
16865 if defined $::RD_TRACE;
16867 $expectation->is(q{')'})->at($text);
16870 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
16873 $expectation->failed();
16874 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
16875 Parse::RecDescent::_tracefirst($text))
16876 if defined $::RD_TRACE;
16879 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
16881 Parse::RecDescent::_tracefirst($text))
16882 if defined $::RD_TRACE;
16883 push @item, $item{__STRING2__}=$&;
16887 Parse::RecDescent::_trace(q{>>Matched production: [table_name column_list /AS/i '(' fullselect ')']<<},
16888 Parse::RecDescent::_tracefirst($text),
16889 q{common_table_expression},
16891 if defined $::RD_TRACE;
16897 unless ( $_matched || defined($return) || defined($score) )
16901 $_[1] = $text; # NOT SURE THIS IS NEEDED
16902 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
16903 Parse::RecDescent::_tracefirst($_[1]),
16904 q{common_table_expression},
16906 if defined $::RD_TRACE;
16909 if (!defined($return) && defined($score))
16911 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
16912 q{common_table_expression},
16914 if defined $::RD_TRACE;
16915 $return = $score_return;
16917 splice @{$thisparser->{errors}}, $err_at;
16918 $return = $item[$#item] unless defined $return;
16919 if (defined $::RD_TRACE)
16921 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
16922 $return . q{])}, "",
16923 q{common_table_expression},
16925 Parse::RecDescent::_trace(q{(consumed: [} .
16926 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
16927 Parse::RecDescent::_tracefirst($text),
16928 , q{common_table_expression},
16935 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
16936 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::after
16938 my $thisparser = $_[0];
16939 use vars q{$tracelevel};
16940 local $tracelevel = ($tracelevel||0)+1;
16942 my $thisrule = $thisparser->{"rules"}{"after"};
16944 Parse::RecDescent::_trace(q{Trying rule: [after]},
16945 Parse::RecDescent::_tracefirst($_[1]),
16948 if defined $::RD_TRACE;
16951 my $err_at = @{$thisparser->{errors}};
16956 my $return = undef;
16961 my $repeating = defined($_[2]) && $_[2];
16962 my $_noactions = defined($_[3]) && $_[3];
16963 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
16964 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
16967 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
16968 $expectation->at($_[1]);
16971 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
16975 while (!$_matched && !$commit)
16978 Parse::RecDescent::_trace(q{Trying production: [/AFTER/i]},
16979 Parse::RecDescent::_tracefirst($_[1]),
16982 if defined $::RD_TRACE;
16983 my $thisprod = $thisrule->{"prods"}[0];
16986 @item = (q{after});
16987 %item = (__RULE__ => q{after});
16991 Parse::RecDescent::_trace(q{Trying terminal: [/AFTER/i]}, Parse::RecDescent::_tracefirst($text),
16994 if defined $::RD_TRACE;
16996 $expectation->is(q{})->at($text);
16999 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AFTER)//i)
17002 $expectation->failed();
17003 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
17004 Parse::RecDescent::_tracefirst($text))
17005 if defined $::RD_TRACE;
17009 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
17011 Parse::RecDescent::_tracefirst($text))
17012 if defined $::RD_TRACE;
17013 push @item, $item{__PATTERN1__}=$&;
17017 Parse::RecDescent::_trace(q{>>Matched production: [/AFTER/i]<<},
17018 Parse::RecDescent::_tracefirst($text),
17021 if defined $::RD_TRACE;
17027 unless ( $_matched || defined($return) || defined($score) )
17031 $_[1] = $text; # NOT SURE THIS IS NEEDED
17032 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
17033 Parse::RecDescent::_tracefirst($_[1]),
17036 if defined $::RD_TRACE;
17039 if (!defined($return) && defined($score))
17041 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
17044 if defined $::RD_TRACE;
17045 $return = $score_return;
17047 splice @{$thisparser->{errors}}, $err_at;
17048 $return = $item[$#item] unless defined $return;
17049 if (defined $::RD_TRACE)
17051 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
17052 $return . q{])}, "",
17055 Parse::RecDescent::_trace(q{(consumed: [} .
17056 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
17057 Parse::RecDescent::_tracefirst($text),
17065 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
17066 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::predicate
17068 my $thisparser = $_[0];
17069 use vars q{$tracelevel};
17070 local $tracelevel = ($tracelevel||0)+1;
17072 my $thisrule = $thisparser->{"rules"}{"predicate"};
17074 Parse::RecDescent::_trace(q{Trying rule: [predicate]},
17075 Parse::RecDescent::_tracefirst($_[1]),
17078 if defined $::RD_TRACE;
17081 my $err_at = @{$thisparser->{errors}};
17086 my $return = undef;
17091 my $repeating = defined($_[2]) && $_[2];
17092 my $_noactions = defined($_[3]) && $_[3];
17093 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
17094 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
17097 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
17098 $expectation->at($_[1]);
17101 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
17105 while (!$_matched && !$commit)
17108 Parse::RecDescent::_trace(q{Trying production: [basic_p]},
17109 Parse::RecDescent::_tracefirst($_[1]),
17112 if defined $::RD_TRACE;
17113 my $thisprod = $thisrule->{"prods"}[0];
17116 @item = (q{predicate});
17117 %item = (__RULE__ => q{predicate});
17121 Parse::RecDescent::_trace(q{Trying subrule: [basic_p]},
17122 Parse::RecDescent::_tracefirst($text),
17125 if defined $::RD_TRACE;
17126 if (1) { no strict qw{refs};
17127 $expectation->is(q{})->at($text);
17128 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::basic_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17131 Parse::RecDescent::_trace(q{<<Didn't match subrule: [basic_p]>>},
17132 Parse::RecDescent::_tracefirst($text),
17135 if defined $::RD_TRACE;
17136 $expectation->failed();
17139 Parse::RecDescent::_trace(q{>>Matched subrule: [basic_p]<< (return value: [}
17142 Parse::RecDescent::_tracefirst($text),
17145 if defined $::RD_TRACE;
17146 $item{q{basic_p}} = $_tok;
17152 Parse::RecDescent::_trace(q{>>Matched production: [basic_p]<<},
17153 Parse::RecDescent::_tracefirst($text),
17156 if defined $::RD_TRACE;
17162 while (!$_matched && !$commit)
17165 Parse::RecDescent::_trace(q{Trying production: [quantified_p]},
17166 Parse::RecDescent::_tracefirst($_[1]),
17169 if defined $::RD_TRACE;
17170 my $thisprod = $thisrule->{"prods"}[1];
17173 @item = (q{predicate});
17174 %item = (__RULE__ => q{predicate});
17178 Parse::RecDescent::_trace(q{Trying subrule: [quantified_p]},
17179 Parse::RecDescent::_tracefirst($text),
17182 if defined $::RD_TRACE;
17183 if (1) { no strict qw{refs};
17184 $expectation->is(q{})->at($text);
17185 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::quantified_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17188 Parse::RecDescent::_trace(q{<<Didn't match subrule: [quantified_p]>>},
17189 Parse::RecDescent::_tracefirst($text),
17192 if defined $::RD_TRACE;
17193 $expectation->failed();
17196 Parse::RecDescent::_trace(q{>>Matched subrule: [quantified_p]<< (return value: [}
17199 Parse::RecDescent::_tracefirst($text),
17202 if defined $::RD_TRACE;
17203 $item{q{quantified_p}} = $_tok;
17209 Parse::RecDescent::_trace(q{>>Matched production: [quantified_p]<<},
17210 Parse::RecDescent::_tracefirst($text),
17213 if defined $::RD_TRACE;
17219 while (!$_matched && !$commit)
17222 Parse::RecDescent::_trace(q{Trying production: [between_p]},
17223 Parse::RecDescent::_tracefirst($_[1]),
17226 if defined $::RD_TRACE;
17227 my $thisprod = $thisrule->{"prods"}[2];
17230 @item = (q{predicate});
17231 %item = (__RULE__ => q{predicate});
17235 Parse::RecDescent::_trace(q{Trying subrule: [between_p]},
17236 Parse::RecDescent::_tracefirst($text),
17239 if defined $::RD_TRACE;
17240 if (1) { no strict qw{refs};
17241 $expectation->is(q{})->at($text);
17242 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::between_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17245 Parse::RecDescent::_trace(q{<<Didn't match subrule: [between_p]>>},
17246 Parse::RecDescent::_tracefirst($text),
17249 if defined $::RD_TRACE;
17250 $expectation->failed();
17253 Parse::RecDescent::_trace(q{>>Matched subrule: [between_p]<< (return value: [}
17256 Parse::RecDescent::_tracefirst($text),
17259 if defined $::RD_TRACE;
17260 $item{q{between_p}} = $_tok;
17266 Parse::RecDescent::_trace(q{>>Matched production: [between_p]<<},
17267 Parse::RecDescent::_tracefirst($text),
17270 if defined $::RD_TRACE;
17276 while (!$_matched && !$commit)
17279 Parse::RecDescent::_trace(q{Trying production: [exists_p]},
17280 Parse::RecDescent::_tracefirst($_[1]),
17283 if defined $::RD_TRACE;
17284 my $thisprod = $thisrule->{"prods"}[3];
17287 @item = (q{predicate});
17288 %item = (__RULE__ => q{predicate});
17292 Parse::RecDescent::_trace(q{Trying subrule: [exists_p]},
17293 Parse::RecDescent::_tracefirst($text),
17296 if defined $::RD_TRACE;
17297 if (1) { no strict qw{refs};
17298 $expectation->is(q{})->at($text);
17299 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::exists_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17302 Parse::RecDescent::_trace(q{<<Didn't match subrule: [exists_p]>>},
17303 Parse::RecDescent::_tracefirst($text),
17306 if defined $::RD_TRACE;
17307 $expectation->failed();
17310 Parse::RecDescent::_trace(q{>>Matched subrule: [exists_p]<< (return value: [}
17313 Parse::RecDescent::_tracefirst($text),
17316 if defined $::RD_TRACE;
17317 $item{q{exists_p}} = $_tok;
17323 Parse::RecDescent::_trace(q{>>Matched production: [exists_p]<<},
17324 Parse::RecDescent::_tracefirst($text),
17327 if defined $::RD_TRACE;
17333 while (!$_matched && !$commit)
17336 Parse::RecDescent::_trace(q{Trying production: [in_p]},
17337 Parse::RecDescent::_tracefirst($_[1]),
17340 if defined $::RD_TRACE;
17341 my $thisprod = $thisrule->{"prods"}[4];
17344 @item = (q{predicate});
17345 %item = (__RULE__ => q{predicate});
17349 Parse::RecDescent::_trace(q{Trying subrule: [in_p]},
17350 Parse::RecDescent::_tracefirst($text),
17353 if defined $::RD_TRACE;
17354 if (1) { no strict qw{refs};
17355 $expectation->is(q{})->at($text);
17356 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::in_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17359 Parse::RecDescent::_trace(q{<<Didn't match subrule: [in_p]>>},
17360 Parse::RecDescent::_tracefirst($text),
17363 if defined $::RD_TRACE;
17364 $expectation->failed();
17367 Parse::RecDescent::_trace(q{>>Matched subrule: [in_p]<< (return value: [}
17370 Parse::RecDescent::_tracefirst($text),
17373 if defined $::RD_TRACE;
17374 $item{q{in_p}} = $_tok;
17380 Parse::RecDescent::_trace(q{>>Matched production: [in_p]<<},
17381 Parse::RecDescent::_tracefirst($text),
17384 if defined $::RD_TRACE;
17390 while (!$_matched && !$commit)
17393 Parse::RecDescent::_trace(q{Trying production: [like_p]},
17394 Parse::RecDescent::_tracefirst($_[1]),
17397 if defined $::RD_TRACE;
17398 my $thisprod = $thisrule->{"prods"}[5];
17401 @item = (q{predicate});
17402 %item = (__RULE__ => q{predicate});
17406 Parse::RecDescent::_trace(q{Trying subrule: [like_p]},
17407 Parse::RecDescent::_tracefirst($text),
17410 if defined $::RD_TRACE;
17411 if (1) { no strict qw{refs};
17412 $expectation->is(q{})->at($text);
17413 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::like_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17416 Parse::RecDescent::_trace(q{<<Didn't match subrule: [like_p]>>},
17417 Parse::RecDescent::_tracefirst($text),
17420 if defined $::RD_TRACE;
17421 $expectation->failed();
17424 Parse::RecDescent::_trace(q{>>Matched subrule: [like_p]<< (return value: [}
17427 Parse::RecDescent::_tracefirst($text),
17430 if defined $::RD_TRACE;
17431 $item{q{like_p}} = $_tok;
17437 Parse::RecDescent::_trace(q{>>Matched production: [like_p]<<},
17438 Parse::RecDescent::_tracefirst($text),
17441 if defined $::RD_TRACE;
17447 while (!$_matched && !$commit)
17450 Parse::RecDescent::_trace(q{Trying production: [null_p]},
17451 Parse::RecDescent::_tracefirst($_[1]),
17454 if defined $::RD_TRACE;
17455 my $thisprod = $thisrule->{"prods"}[6];
17458 @item = (q{predicate});
17459 %item = (__RULE__ => q{predicate});
17463 Parse::RecDescent::_trace(q{Trying subrule: [null_p]},
17464 Parse::RecDescent::_tracefirst($text),
17467 if defined $::RD_TRACE;
17468 if (1) { no strict qw{refs};
17469 $expectation->is(q{})->at($text);
17470 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::null_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17473 Parse::RecDescent::_trace(q{<<Didn't match subrule: [null_p]>>},
17474 Parse::RecDescent::_tracefirst($text),
17477 if defined $::RD_TRACE;
17478 $expectation->failed();
17481 Parse::RecDescent::_trace(q{>>Matched subrule: [null_p]<< (return value: [}
17484 Parse::RecDescent::_tracefirst($text),
17487 if defined $::RD_TRACE;
17488 $item{q{null_p}} = $_tok;
17494 Parse::RecDescent::_trace(q{>>Matched production: [null_p]<<},
17495 Parse::RecDescent::_tracefirst($text),
17498 if defined $::RD_TRACE;
17504 while (!$_matched && !$commit)
17507 Parse::RecDescent::_trace(q{Trying production: [type_p]},
17508 Parse::RecDescent::_tracefirst($_[1]),
17511 if defined $::RD_TRACE;
17512 my $thisprod = $thisrule->{"prods"}[7];
17515 @item = (q{predicate});
17516 %item = (__RULE__ => q{predicate});
17520 Parse::RecDescent::_trace(q{Trying subrule: [type_p]},
17521 Parse::RecDescent::_tracefirst($text),
17524 if defined $::RD_TRACE;
17525 if (1) { no strict qw{refs};
17526 $expectation->is(q{})->at($text);
17527 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::type_p($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17530 Parse::RecDescent::_trace(q{<<Didn't match subrule: [type_p]>>},
17531 Parse::RecDescent::_tracefirst($text),
17534 if defined $::RD_TRACE;
17535 $expectation->failed();
17538 Parse::RecDescent::_trace(q{>>Matched subrule: [type_p]<< (return value: [}
17541 Parse::RecDescent::_tracefirst($text),
17544 if defined $::RD_TRACE;
17545 $item{q{type_p}} = $_tok;
17551 Parse::RecDescent::_trace(q{>>Matched production: [type_p]<<},
17552 Parse::RecDescent::_tracefirst($text),
17555 if defined $::RD_TRACE;
17561 unless ( $_matched || defined($return) || defined($score) )
17565 $_[1] = $text; # NOT SURE THIS IS NEEDED
17566 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
17567 Parse::RecDescent::_tracefirst($_[1]),
17570 if defined $::RD_TRACE;
17573 if (!defined($return) && defined($score))
17575 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
17578 if defined $::RD_TRACE;
17579 $return = $score_return;
17581 splice @{$thisparser->{errors}}, $err_at;
17582 $return = $item[$#item] unless defined $return;
17583 if (defined $::RD_TRACE)
17585 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
17586 $return . q{])}, "",
17589 Parse::RecDescent::_trace(q{(consumed: [} .
17590 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
17591 Parse::RecDescent::_tracefirst($text),
17599 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
17600 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_name
17602 my $thisparser = $_[0];
17603 use vars q{$tracelevel};
17604 local $tracelevel = ($tracelevel||0)+1;
17606 my $thisrule = $thisparser->{"rules"}{"column_name"};
17608 Parse::RecDescent::_trace(q{Trying rule: [column_name]},
17609 Parse::RecDescent::_tracefirst($_[1]),
17612 if defined $::RD_TRACE;
17615 my $err_at = @{$thisparser->{errors}};
17620 my $return = undef;
17625 my $repeating = defined($_[2]) && $_[2];
17626 my $_noactions = defined($_[3]) && $_[3];
17627 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
17628 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
17631 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
17632 $expectation->at($_[1]);
17635 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
17639 while (!$_matched && !$commit)
17642 Parse::RecDescent::_trace(q{Trying production: [NAME]},
17643 Parse::RecDescent::_tracefirst($_[1]),
17646 if defined $::RD_TRACE;
17647 my $thisprod = $thisrule->{"prods"}[0];
17650 @item = (q{column_name});
17651 %item = (__RULE__ => q{column_name});
17655 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
17656 Parse::RecDescent::_tracefirst($text),
17659 if defined $::RD_TRACE;
17660 if (1) { no strict qw{refs};
17661 $expectation->is(q{})->at($text);
17662 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17665 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
17666 Parse::RecDescent::_tracefirst($text),
17669 if defined $::RD_TRACE;
17670 $expectation->failed();
17673 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
17676 Parse::RecDescent::_tracefirst($text),
17679 if defined $::RD_TRACE;
17680 $item{q{NAME}} = $_tok;
17686 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
17687 Parse::RecDescent::_tracefirst($text),
17690 if defined $::RD_TRACE;
17696 unless ( $_matched || defined($return) || defined($score) )
17700 $_[1] = $text; # NOT SURE THIS IS NEEDED
17701 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
17702 Parse::RecDescent::_tracefirst($_[1]),
17705 if defined $::RD_TRACE;
17708 if (!defined($return) && defined($score))
17710 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
17713 if defined $::RD_TRACE;
17714 $return = $score_return;
17716 splice @{$thisparser->{errors}}, $err_at;
17717 $return = $item[$#item] unless defined $return;
17718 if (defined $::RD_TRACE)
17720 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
17721 $return . q{])}, "",
17724 Parse::RecDescent::_trace(q{(consumed: [} .
17725 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
17726 Parse::RecDescent::_tracefirst($text),
17734 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
17735 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::method_invocation
17737 my $thisparser = $_[0];
17738 use vars q{$tracelevel};
17739 local $tracelevel = ($tracelevel||0)+1;
17741 my $thisrule = $thisparser->{"rules"}{"method_invocation"};
17743 Parse::RecDescent::_trace(q{Trying rule: [method_invocation]},
17744 Parse::RecDescent::_tracefirst($_[1]),
17745 q{method_invocation},
17747 if defined $::RD_TRACE;
17750 my $err_at = @{$thisparser->{errors}};
17755 my $return = undef;
17760 my $repeating = defined($_[2]) && $_[2];
17761 my $_noactions = defined($_[3]) && $_[3];
17762 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
17763 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
17766 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
17767 $expectation->at($_[1]);
17770 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
17774 while (!$_matched && !$commit)
17777 Parse::RecDescent::_trace(q{Trying production: [subject_expression '..' method_name '(']},
17778 Parse::RecDescent::_tracefirst($_[1]),
17779 q{method_invocation},
17781 if defined $::RD_TRACE;
17782 my $thisprod = $thisrule->{"prods"}[0];
17785 @item = (q{method_invocation});
17786 %item = (__RULE__ => q{method_invocation});
17790 Parse::RecDescent::_trace(q{Trying subrule: [subject_expression]},
17791 Parse::RecDescent::_tracefirst($text),
17792 q{method_invocation},
17794 if defined $::RD_TRACE;
17795 if (1) { no strict qw{refs};
17796 $expectation->is(q{})->at($text);
17797 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::subject_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17800 Parse::RecDescent::_trace(q{<<Didn't match subrule: [subject_expression]>>},
17801 Parse::RecDescent::_tracefirst($text),
17802 q{method_invocation},
17804 if defined $::RD_TRACE;
17805 $expectation->failed();
17808 Parse::RecDescent::_trace(q{>>Matched subrule: [subject_expression]<< (return value: [}
17811 Parse::RecDescent::_tracefirst($text),
17812 q{method_invocation},
17814 if defined $::RD_TRACE;
17815 $item{q{subject_expression}} = $_tok;
17820 Parse::RecDescent::_trace(q{Trying terminal: ['..']},
17821 Parse::RecDescent::_tracefirst($text),
17822 q{method_invocation},
17824 if defined $::RD_TRACE;
17826 $expectation->is(q{'..'})->at($text);
17829 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\.\.//)
17832 $expectation->failed();
17833 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
17834 Parse::RecDescent::_tracefirst($text))
17835 if defined $::RD_TRACE;
17838 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
17840 Parse::RecDescent::_tracefirst($text))
17841 if defined $::RD_TRACE;
17842 push @item, $item{__STRING1__}=$&;
17845 Parse::RecDescent::_trace(q{Trying subrule: [method_name]},
17846 Parse::RecDescent::_tracefirst($text),
17847 q{method_invocation},
17849 if defined $::RD_TRACE;
17850 if (1) { no strict qw{refs};
17851 $expectation->is(q{method_name})->at($text);
17852 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::method_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
17855 Parse::RecDescent::_trace(q{<<Didn't match subrule: [method_name]>>},
17856 Parse::RecDescent::_tracefirst($text),
17857 q{method_invocation},
17859 if defined $::RD_TRACE;
17860 $expectation->failed();
17863 Parse::RecDescent::_trace(q{>>Matched subrule: [method_name]<< (return value: [}
17866 Parse::RecDescent::_tracefirst($text),
17867 q{method_invocation},
17869 if defined $::RD_TRACE;
17870 $item{q{method_name}} = $_tok;
17875 Parse::RecDescent::_trace(q{Trying repeated subrule: ['(']},
17876 Parse::RecDescent::_tracefirst($text),
17877 q{method_invocation},
17879 if defined $::RD_TRACE;
17880 $expectation->is(q{'('})->at($text);
17882 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_method_invocation, 0, 1, $_noactions,$expectation,undef)))
17884 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: ['(']>>},
17885 Parse::RecDescent::_tracefirst($text),
17886 q{method_invocation},
17888 if defined $::RD_TRACE;
17891 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule_method_invocation]<< (}
17892 . @$_tok . q{ times)},
17894 Parse::RecDescent::_tracefirst($text),
17895 q{method_invocation},
17897 if defined $::RD_TRACE;
17898 $item{q{_alternation_1_of_production_1_of_rule_method_invocation(?)}} = $_tok;
17904 Parse::RecDescent::_trace(q{>>Matched production: [subject_expression '..' method_name '(']<<},
17905 Parse::RecDescent::_tracefirst($text),
17906 q{method_invocation},
17908 if defined $::RD_TRACE;
17914 unless ( $_matched || defined($return) || defined($score) )
17918 $_[1] = $text; # NOT SURE THIS IS NEEDED
17919 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
17920 Parse::RecDescent::_tracefirst($_[1]),
17921 q{method_invocation},
17923 if defined $::RD_TRACE;
17926 if (!defined($return) && defined($score))
17928 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
17929 q{method_invocation},
17931 if defined $::RD_TRACE;
17932 $return = $score_return;
17934 splice @{$thisparser->{errors}}, $err_at;
17935 $return = $item[$#item] unless defined $return;
17936 if (defined $::RD_TRACE)
17938 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
17939 $return . q{])}, "",
17940 q{method_invocation},
17942 Parse::RecDescent::_trace(q{(consumed: [} .
17943 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
17944 Parse::RecDescent::_tracefirst($text),
17945 , q{method_invocation},
17952 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
17953 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_dereference_operation
17955 my $thisparser = $_[0];
17956 use vars q{$tracelevel};
17957 local $tracelevel = ($tracelevel||0)+1;
17959 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_dereference_operation"};
17961 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_dereference_operation]},
17962 Parse::RecDescent::_tracefirst($_[1]),
17963 q{_alternation_1_of_production_1_of_rule_dereference_operation},
17965 if defined $::RD_TRACE;
17968 my $err_at = @{$thisparser->{errors}};
17973 my $return = undef;
17978 my $repeating = defined($_[2]) && $_[2];
17979 my $_noactions = defined($_[3]) && $_[3];
17980 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
17981 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
17984 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
17985 $expectation->at($_[1]);
17988 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
17992 while (!$_matched && !$commit)
17995 Parse::RecDescent::_trace(q{Trying production: ['(' expression ')']},
17996 Parse::RecDescent::_tracefirst($_[1]),
17997 q{_alternation_1_of_production_1_of_rule_dereference_operation},
17999 if defined $::RD_TRACE;
18000 my $thisprod = $thisrule->{"prods"}[0];
18003 @item = (q{_alternation_1_of_production_1_of_rule_dereference_operation});
18004 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_dereference_operation});
18008 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
18009 Parse::RecDescent::_tracefirst($text),
18010 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18012 if defined $::RD_TRACE;
18014 $expectation->is(q{})->at($text);
18017 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
18020 $expectation->failed();
18021 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
18022 Parse::RecDescent::_tracefirst($text))
18023 if defined $::RD_TRACE;
18026 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18028 Parse::RecDescent::_tracefirst($text))
18029 if defined $::RD_TRACE;
18030 push @item, $item{__STRING1__}=$&;
18033 Parse::RecDescent::_trace(q{Trying repeated subrule: [expression]},
18034 Parse::RecDescent::_tracefirst($text),
18035 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18037 if defined $::RD_TRACE;
18038 $expectation->is(q{expression})->at($text);
18040 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression, 1, 100000000, $_noactions,$expectation,undef)))
18042 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [expression]>>},
18043 Parse::RecDescent::_tracefirst($text),
18044 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18046 if defined $::RD_TRACE;
18049 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [expression]<< (}
18050 . @$_tok . q{ times)},
18052 Parse::RecDescent::_tracefirst($text),
18053 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18055 if defined $::RD_TRACE;
18056 $item{q{expression(s)}} = $_tok;
18061 Parse::RecDescent::_trace(q{Trying terminal: [')']},
18062 Parse::RecDescent::_tracefirst($text),
18063 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18065 if defined $::RD_TRACE;
18067 $expectation->is(q{')'})->at($text);
18070 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
18073 $expectation->failed();
18074 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
18075 Parse::RecDescent::_tracefirst($text))
18076 if defined $::RD_TRACE;
18079 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18081 Parse::RecDescent::_tracefirst($text))
18082 if defined $::RD_TRACE;
18083 push @item, $item{__STRING2__}=$&;
18087 Parse::RecDescent::_trace(q{>>Matched production: ['(' expression ')']<<},
18088 Parse::RecDescent::_tracefirst($text),
18089 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18091 if defined $::RD_TRACE;
18097 unless ( $_matched || defined($return) || defined($score) )
18101 $_[1] = $text; # NOT SURE THIS IS NEEDED
18102 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
18103 Parse::RecDescent::_tracefirst($_[1]),
18104 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18106 if defined $::RD_TRACE;
18109 if (!defined($return) && defined($score))
18111 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
18112 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18114 if defined $::RD_TRACE;
18115 $return = $score_return;
18117 splice @{$thisparser->{errors}}, $err_at;
18118 $return = $item[$#item] unless defined $return;
18119 if (defined $::RD_TRACE)
18121 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
18122 $return . q{])}, "",
18123 q{_alternation_1_of_production_1_of_rule_dereference_operation},
18125 Parse::RecDescent::_trace(q{(consumed: [} .
18126 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
18127 Parse::RecDescent::_tracefirst($text),
18128 , q{_alternation_1_of_production_1_of_rule_dereference_operation},
18135 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
18136 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_searched_when_clause
18138 my $thisparser = $_[0];
18139 use vars q{$tracelevel};
18140 local $tracelevel = ($tracelevel||0)+1;
18142 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_searched_when_clause"};
18144 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_searched_when_clause]},
18145 Parse::RecDescent::_tracefirst($_[1]),
18146 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18148 if defined $::RD_TRACE;
18151 my $err_at = @{$thisparser->{errors}};
18156 my $return = undef;
18161 my $repeating = defined($_[2]) && $_[2];
18162 my $_noactions = defined($_[3]) && $_[3];
18163 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
18164 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
18167 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
18168 $expectation->at($_[1]);
18171 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
18175 while (!$_matched && !$commit)
18178 Parse::RecDescent::_trace(q{Trying production: [/WHEN/i search_condition /THEN/i result_expression, or /NULL/i]},
18179 Parse::RecDescent::_tracefirst($_[1]),
18180 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18182 if defined $::RD_TRACE;
18183 my $thisprod = $thisrule->{"prods"}[0];
18186 @item = (q{_alternation_1_of_production_1_of_rule_searched_when_clause});
18187 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_searched_when_clause});
18191 Parse::RecDescent::_trace(q{Trying terminal: [/WHEN/i]}, Parse::RecDescent::_tracefirst($text),
18192 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18194 if defined $::RD_TRACE;
18196 $expectation->is(q{})->at($text);
18199 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:WHEN)//i)
18202 $expectation->failed();
18203 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
18204 Parse::RecDescent::_tracefirst($text))
18205 if defined $::RD_TRACE;
18209 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18211 Parse::RecDescent::_tracefirst($text))
18212 if defined $::RD_TRACE;
18213 push @item, $item{__PATTERN1__}=$&;
18216 Parse::RecDescent::_trace(q{Trying subrule: [search_condition]},
18217 Parse::RecDescent::_tracefirst($text),
18218 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18220 if defined $::RD_TRACE;
18221 if (1) { no strict qw{refs};
18222 $expectation->is(q{search_condition})->at($text);
18223 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::search_condition($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
18226 Parse::RecDescent::_trace(q{<<Didn't match subrule: [search_condition]>>},
18227 Parse::RecDescent::_tracefirst($text),
18228 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18230 if defined $::RD_TRACE;
18231 $expectation->failed();
18234 Parse::RecDescent::_trace(q{>>Matched subrule: [search_condition]<< (return value: [}
18237 Parse::RecDescent::_tracefirst($text),
18238 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18240 if defined $::RD_TRACE;
18241 $item{q{search_condition}} = $_tok;
18246 Parse::RecDescent::_trace(q{Trying terminal: [/THEN/i]}, Parse::RecDescent::_tracefirst($text),
18247 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18249 if defined $::RD_TRACE;
18251 $expectation->is(q{/THEN/i})->at($text);
18254 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:THEN)//i)
18257 $expectation->failed();
18258 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
18259 Parse::RecDescent::_tracefirst($text))
18260 if defined $::RD_TRACE;
18264 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18266 Parse::RecDescent::_tracefirst($text))
18267 if defined $::RD_TRACE;
18268 push @item, $item{__PATTERN2__}=$&;
18271 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause]},
18272 Parse::RecDescent::_tracefirst($text),
18273 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18275 if defined $::RD_TRACE;
18276 if (1) { no strict qw{refs};
18277 $expectation->is(q{result_expression, or /NULL/i})->at($text);
18278 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
18281 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause]>>},
18282 Parse::RecDescent::_tracefirst($text),
18283 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18285 if defined $::RD_TRACE;
18286 $expectation->failed();
18289 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause]<< (return value: [}
18292 Parse::RecDescent::_tracefirst($text),
18293 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18295 if defined $::RD_TRACE;
18296 $item{q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause}} = $_tok;
18302 Parse::RecDescent::_trace(q{>>Matched production: [/WHEN/i search_condition /THEN/i result_expression, or /NULL/i]<<},
18303 Parse::RecDescent::_tracefirst($text),
18304 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18306 if defined $::RD_TRACE;
18312 unless ( $_matched || defined($return) || defined($score) )
18316 $_[1] = $text; # NOT SURE THIS IS NEEDED
18317 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
18318 Parse::RecDescent::_tracefirst($_[1]),
18319 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18321 if defined $::RD_TRACE;
18324 if (!defined($return) && defined($score))
18326 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
18327 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18329 if defined $::RD_TRACE;
18330 $return = $score_return;
18332 splice @{$thisparser->{errors}}, $err_at;
18333 $return = $item[$#item] unless defined $return;
18334 if (defined $::RD_TRACE)
18336 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
18337 $return . q{])}, "",
18338 q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18340 Parse::RecDescent::_trace(q{(consumed: [} .
18341 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
18342 Parse::RecDescent::_tracefirst($text),
18343 , q{_alternation_1_of_production_1_of_rule_searched_when_clause},
18350 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
18351 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_bound2
18353 my $thisparser = $_[0];
18354 use vars q{$tracelevel};
18355 local $tracelevel = ($tracelevel||0)+1;
18357 my $thisrule = $thisparser->{"rules"}{"group_bound2"};
18359 Parse::RecDescent::_trace(q{Trying rule: [group_bound2]},
18360 Parse::RecDescent::_tracefirst($_[1]),
18363 if defined $::RD_TRACE;
18366 my $err_at = @{$thisparser->{errors}};
18371 my $return = undef;
18376 my $repeating = defined($_[2]) && $_[2];
18377 my $_noactions = defined($_[3]) && $_[3];
18378 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
18379 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
18382 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
18383 $expectation->at($_[1]);
18386 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
18390 while (!$_matched && !$commit)
18393 Parse::RecDescent::_trace(q{Trying production: [/UNBOUNDED\\s+PRECEDING/i]},
18394 Parse::RecDescent::_tracefirst($_[1]),
18397 if defined $::RD_TRACE;
18398 my $thisprod = $thisrule->{"prods"}[0];
18401 @item = (q{group_bound2});
18402 %item = (__RULE__ => q{group_bound2});
18406 Parse::RecDescent::_trace(q{Trying terminal: [/UNBOUNDED\\s+PRECEDING/i]}, Parse::RecDescent::_tracefirst($text),
18409 if defined $::RD_TRACE;
18411 $expectation->is(q{})->at($text);
18414 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UNBOUNDED\s+PRECEDING)//i)
18417 $expectation->failed();
18418 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
18419 Parse::RecDescent::_tracefirst($text))
18420 if defined $::RD_TRACE;
18424 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18426 Parse::RecDescent::_tracefirst($text))
18427 if defined $::RD_TRACE;
18428 push @item, $item{__PATTERN1__}=$&;
18432 Parse::RecDescent::_trace(q{>>Matched production: [/UNBOUNDED\\s+PRECEDING/i]<<},
18433 Parse::RecDescent::_tracefirst($text),
18436 if defined $::RD_TRACE;
18442 while (!$_matched && !$commit)
18445 Parse::RecDescent::_trace(q{Trying production: [unsigned_constant /PRECEDING/i]},
18446 Parse::RecDescent::_tracefirst($_[1]),
18449 if defined $::RD_TRACE;
18450 my $thisprod = $thisrule->{"prods"}[1];
18453 @item = (q{group_bound2});
18454 %item = (__RULE__ => q{group_bound2});
18458 Parse::RecDescent::_trace(q{Trying subrule: [unsigned_constant]},
18459 Parse::RecDescent::_tracefirst($text),
18462 if defined $::RD_TRACE;
18463 if (1) { no strict qw{refs};
18464 $expectation->is(q{})->at($text);
18465 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::unsigned_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
18468 Parse::RecDescent::_trace(q{<<Didn't match subrule: [unsigned_constant]>>},
18469 Parse::RecDescent::_tracefirst($text),
18472 if defined $::RD_TRACE;
18473 $expectation->failed();
18476 Parse::RecDescent::_trace(q{>>Matched subrule: [unsigned_constant]<< (return value: [}
18479 Parse::RecDescent::_tracefirst($text),
18482 if defined $::RD_TRACE;
18483 $item{q{unsigned_constant}} = $_tok;
18488 Parse::RecDescent::_trace(q{Trying terminal: [/PRECEDING/i]}, Parse::RecDescent::_tracefirst($text),
18491 if defined $::RD_TRACE;
18493 $expectation->is(q{/PRECEDING/i})->at($text);
18496 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:PRECEDING)//i)
18499 $expectation->failed();
18500 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
18501 Parse::RecDescent::_tracefirst($text))
18502 if defined $::RD_TRACE;
18506 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18508 Parse::RecDescent::_tracefirst($text))
18509 if defined $::RD_TRACE;
18510 push @item, $item{__PATTERN1__}=$&;
18514 Parse::RecDescent::_trace(q{>>Matched production: [unsigned_constant /PRECEDING/i]<<},
18515 Parse::RecDescent::_tracefirst($text),
18518 if defined $::RD_TRACE;
18524 while (!$_matched && !$commit)
18527 Parse::RecDescent::_trace(q{Trying production: [unsigned_constant /FOLLOWING/i]},
18528 Parse::RecDescent::_tracefirst($_[1]),
18531 if defined $::RD_TRACE;
18532 my $thisprod = $thisrule->{"prods"}[2];
18535 @item = (q{group_bound2});
18536 %item = (__RULE__ => q{group_bound2});
18540 Parse::RecDescent::_trace(q{Trying subrule: [unsigned_constant]},
18541 Parse::RecDescent::_tracefirst($text),
18544 if defined $::RD_TRACE;
18545 if (1) { no strict qw{refs};
18546 $expectation->is(q{})->at($text);
18547 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::unsigned_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
18550 Parse::RecDescent::_trace(q{<<Didn't match subrule: [unsigned_constant]>>},
18551 Parse::RecDescent::_tracefirst($text),
18554 if defined $::RD_TRACE;
18555 $expectation->failed();
18558 Parse::RecDescent::_trace(q{>>Matched subrule: [unsigned_constant]<< (return value: [}
18561 Parse::RecDescent::_tracefirst($text),
18564 if defined $::RD_TRACE;
18565 $item{q{unsigned_constant}} = $_tok;
18570 Parse::RecDescent::_trace(q{Trying terminal: [/FOLLOWING/i]}, Parse::RecDescent::_tracefirst($text),
18573 if defined $::RD_TRACE;
18575 $expectation->is(q{/FOLLOWING/i})->at($text);
18578 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FOLLOWING)//i)
18581 $expectation->failed();
18582 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
18583 Parse::RecDescent::_tracefirst($text))
18584 if defined $::RD_TRACE;
18588 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18590 Parse::RecDescent::_tracefirst($text))
18591 if defined $::RD_TRACE;
18592 push @item, $item{__PATTERN1__}=$&;
18596 Parse::RecDescent::_trace(q{>>Matched production: [unsigned_constant /FOLLOWING/i]<<},
18597 Parse::RecDescent::_tracefirst($text),
18600 if defined $::RD_TRACE;
18606 while (!$_matched && !$commit)
18609 Parse::RecDescent::_trace(q{Trying production: [/CURRENT\\s+ROW/i]},
18610 Parse::RecDescent::_tracefirst($_[1]),
18613 if defined $::RD_TRACE;
18614 my $thisprod = $thisrule->{"prods"}[3];
18617 @item = (q{group_bound2});
18618 %item = (__RULE__ => q{group_bound2});
18622 Parse::RecDescent::_trace(q{Trying terminal: [/CURRENT\\s+ROW/i]}, Parse::RecDescent::_tracefirst($text),
18625 if defined $::RD_TRACE;
18627 $expectation->is(q{})->at($text);
18630 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CURRENT\s+ROW)//i)
18633 $expectation->failed();
18634 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
18635 Parse::RecDescent::_tracefirst($text))
18636 if defined $::RD_TRACE;
18640 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18642 Parse::RecDescent::_tracefirst($text))
18643 if defined $::RD_TRACE;
18644 push @item, $item{__PATTERN1__}=$&;
18648 Parse::RecDescent::_trace(q{>>Matched production: [/CURRENT\\s+ROW/i]<<},
18649 Parse::RecDescent::_tracefirst($text),
18652 if defined $::RD_TRACE;
18658 unless ( $_matched || defined($return) || defined($score) )
18662 $_[1] = $text; # NOT SURE THIS IS NEEDED
18663 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
18664 Parse::RecDescent::_tracefirst($_[1]),
18667 if defined $::RD_TRACE;
18670 if (!defined($return) && defined($score))
18672 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
18675 if defined $::RD_TRACE;
18676 $return = $score_return;
18678 splice @{$thisparser->{errors}}, $err_at;
18679 $return = $item[$#item] unless defined $return;
18680 if (defined $::RD_TRACE)
18682 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
18683 $return . q{])}, "",
18686 Parse::RecDescent::_trace(q{(consumed: [} .
18687 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
18688 Parse::RecDescent::_tracefirst($text),
18696 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
18697 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::searched_when_clause
18699 my $thisparser = $_[0];
18700 use vars q{$tracelevel};
18701 local $tracelevel = ($tracelevel||0)+1;
18703 my $thisrule = $thisparser->{"rules"}{"searched_when_clause"};
18705 Parse::RecDescent::_trace(q{Trying rule: [searched_when_clause]},
18706 Parse::RecDescent::_tracefirst($_[1]),
18707 q{searched_when_clause},
18709 if defined $::RD_TRACE;
18712 my $err_at = @{$thisparser->{errors}};
18717 my $return = undef;
18722 my $repeating = defined($_[2]) && $_[2];
18723 my $_noactions = defined($_[3]) && $_[3];
18724 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
18725 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
18728 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
18729 $expectation->at($_[1]);
18732 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
18736 while (!$_matched && !$commit)
18739 Parse::RecDescent::_trace(q{Trying production: [/WHEN/i]},
18740 Parse::RecDescent::_tracefirst($_[1]),
18741 q{searched_when_clause},
18743 if defined $::RD_TRACE;
18744 my $thisprod = $thisrule->{"prods"}[0];
18747 @item = (q{searched_when_clause});
18748 %item = (__RULE__ => q{searched_when_clause});
18752 Parse::RecDescent::_trace(q{Trying repeated subrule: [/WHEN/i]},
18753 Parse::RecDescent::_tracefirst($text),
18754 q{searched_when_clause},
18756 if defined $::RD_TRACE;
18757 $expectation->is(q{})->at($text);
18759 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_searched_when_clause, 1, 100000000, $_noactions,$expectation,undef)))
18761 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/WHEN/i]>>},
18762 Parse::RecDescent::_tracefirst($text),
18763 q{searched_when_clause},
18765 if defined $::RD_TRACE;
18768 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule_searched_when_clause]<< (}
18769 . @$_tok . q{ times)},
18771 Parse::RecDescent::_tracefirst($text),
18772 q{searched_when_clause},
18774 if defined $::RD_TRACE;
18775 $item{q{_alternation_1_of_production_1_of_rule_searched_when_clause(s)}} = $_tok;
18781 Parse::RecDescent::_trace(q{>>Matched production: [/WHEN/i]<<},
18782 Parse::RecDescent::_tracefirst($text),
18783 q{searched_when_clause},
18785 if defined $::RD_TRACE;
18791 unless ( $_matched || defined($return) || defined($score) )
18795 $_[1] = $text; # NOT SURE THIS IS NEEDED
18796 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
18797 Parse::RecDescent::_tracefirst($_[1]),
18798 q{searched_when_clause},
18800 if defined $::RD_TRACE;
18803 if (!defined($return) && defined($score))
18805 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
18806 q{searched_when_clause},
18808 if defined $::RD_TRACE;
18809 $return = $score_return;
18811 splice @{$thisparser->{errors}}, $err_at;
18812 $return = $item[$#item] unless defined $return;
18813 if (defined $::RD_TRACE)
18815 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
18816 $return . q{])}, "",
18817 q{searched_when_clause},
18819 Parse::RecDescent::_trace(q{(consumed: [} .
18820 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
18821 Parse::RecDescent::_tracefirst($text),
18822 , q{searched_when_clause},
18829 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
18830 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::basic_p
18832 my $thisparser = $_[0];
18833 use vars q{$tracelevel};
18834 local $tracelevel = ($tracelevel||0)+1;
18836 my $thisrule = $thisparser->{"rules"}{"basic_p"};
18838 Parse::RecDescent::_trace(q{Trying rule: [basic_p]},
18839 Parse::RecDescent::_tracefirst($_[1]),
18842 if defined $::RD_TRACE;
18845 my $err_at = @{$thisparser->{errors}};
18850 my $return = undef;
18855 my $repeating = defined($_[2]) && $_[2];
18856 my $_noactions = defined($_[3]) && $_[3];
18857 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
18858 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
18861 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
18862 $expectation->at($_[1]);
18865 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
18869 while (!$_matched && !$commit)
18872 Parse::RecDescent::_trace(q{Trying production: [expression /(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/ expression]},
18873 Parse::RecDescent::_tracefirst($_[1]),
18876 if defined $::RD_TRACE;
18877 my $thisprod = $thisrule->{"prods"}[0];
18880 @item = (q{basic_p});
18881 %item = (__RULE__ => q{basic_p});
18885 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
18886 Parse::RecDescent::_tracefirst($text),
18889 if defined $::RD_TRACE;
18890 if (1) { no strict qw{refs};
18891 $expectation->is(q{})->at($text);
18892 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
18895 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
18896 Parse::RecDescent::_tracefirst($text),
18899 if defined $::RD_TRACE;
18900 $expectation->failed();
18903 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
18906 Parse::RecDescent::_tracefirst($text),
18909 if defined $::RD_TRACE;
18910 $item{q{expression}} = $_tok;
18915 Parse::RecDescent::_trace(q{Trying terminal: [/(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/]}, Parse::RecDescent::_tracefirst($text),
18918 if defined $::RD_TRACE;
18920 $expectation->is(q{/(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/})->at($text);
18923 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:(=|<>|<|>|<=|=>|\^=|\^<|\^>|\!=))//)
18926 $expectation->failed();
18927 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
18928 Parse::RecDescent::_tracefirst($text))
18929 if defined $::RD_TRACE;
18933 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
18935 Parse::RecDescent::_tracefirst($text))
18936 if defined $::RD_TRACE;
18937 push @item, $item{__PATTERN1__}=$&;
18940 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
18941 Parse::RecDescent::_tracefirst($text),
18944 if defined $::RD_TRACE;
18945 if (1) { no strict qw{refs};
18946 $expectation->is(q{expression})->at($text);
18947 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
18950 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
18951 Parse::RecDescent::_tracefirst($text),
18954 if defined $::RD_TRACE;
18955 $expectation->failed();
18958 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
18961 Parse::RecDescent::_tracefirst($text),
18964 if defined $::RD_TRACE;
18965 $item{q{expression}} = $_tok;
18971 Parse::RecDescent::_trace(q{>>Matched production: [expression /(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)/ expression]<<},
18972 Parse::RecDescent::_tracefirst($text),
18975 if defined $::RD_TRACE;
18981 unless ( $_matched || defined($return) || defined($score) )
18985 $_[1] = $text; # NOT SURE THIS IS NEEDED
18986 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
18987 Parse::RecDescent::_tracefirst($_[1]),
18990 if defined $::RD_TRACE;
18993 if (!defined($return) && defined($score))
18995 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
18998 if defined $::RD_TRACE;
18999 $return = $score_return;
19001 splice @{$thisparser->{errors}}, $err_at;
19002 $return = $item[$#item] unless defined $return;
19003 if (defined $::RD_TRACE)
19005 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
19006 $return . q{])}, "",
19009 Parse::RecDescent::_trace(q{(consumed: [} .
19010 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
19011 Parse::RecDescent::_tracefirst($text),
19019 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
19020 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::asc_option
19022 my $thisparser = $_[0];
19023 use vars q{$tracelevel};
19024 local $tracelevel = ($tracelevel||0)+1;
19026 my $thisrule = $thisparser->{"rules"}{"asc_option"};
19028 Parse::RecDescent::_trace(q{Trying rule: [asc_option]},
19029 Parse::RecDescent::_tracefirst($_[1]),
19032 if defined $::RD_TRACE;
19035 my $err_at = @{$thisparser->{errors}};
19040 my $return = undef;
19045 my $repeating = defined($_[2]) && $_[2];
19046 my $_noactions = defined($_[3]) && $_[3];
19047 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
19048 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
19051 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
19052 $expectation->at($_[1]);
19055 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
19059 while (!$_matched && !$commit)
19062 Parse::RecDescent::_trace(q{Trying production: [/ASC/i /NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]},
19063 Parse::RecDescent::_tracefirst($_[1]),
19066 if defined $::RD_TRACE;
19067 my $thisprod = $thisrule->{"prods"}[0];
19070 @item = (q{asc_option});
19071 %item = (__RULE__ => q{asc_option});
19075 Parse::RecDescent::_trace(q{Trying terminal: [/ASC/i]}, Parse::RecDescent::_tracefirst($text),
19078 if defined $::RD_TRACE;
19080 $expectation->is(q{})->at($text);
19083 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ASC)//i)
19086 $expectation->failed();
19087 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
19088 Parse::RecDescent::_tracefirst($text))
19089 if defined $::RD_TRACE;
19093 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
19095 Parse::RecDescent::_tracefirst($text))
19096 if defined $::RD_TRACE;
19097 push @item, $item{__PATTERN1__}=$&;
19100 Parse::RecDescent::_trace(q{Trying repeated subrule: [/NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]},
19101 Parse::RecDescent::_tracefirst($text),
19104 if defined $::RD_TRACE;
19105 $expectation->is(q{/NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i})->at($text);
19107 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_asc_option, 0, 1, $_noactions,$expectation,undef)))
19109 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]>>},
19110 Parse::RecDescent::_tracefirst($text),
19113 if defined $::RD_TRACE;
19116 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule_asc_option]<< (}
19117 . @$_tok . q{ times)},
19119 Parse::RecDescent::_tracefirst($text),
19122 if defined $::RD_TRACE;
19123 $item{q{_alternation_1_of_production_1_of_rule_asc_option(?)}} = $_tok;
19129 Parse::RecDescent::_trace(q{>>Matched production: [/ASC/i /NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]<<},
19130 Parse::RecDescent::_tracefirst($text),
19133 if defined $::RD_TRACE;
19139 unless ( $_matched || defined($return) || defined($score) )
19143 $_[1] = $text; # NOT SURE THIS IS NEEDED
19144 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
19145 Parse::RecDescent::_tracefirst($_[1]),
19148 if defined $::RD_TRACE;
19151 if (!defined($return) && defined($score))
19153 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
19156 if defined $::RD_TRACE;
19157 $return = $score_return;
19159 splice @{$thisparser->{errors}}, $err_at;
19160 $return = $item[$#item] unless defined $return;
19161 if (defined $::RD_TRACE)
19163 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
19164 $return . q{])}, "",
19167 Parse::RecDescent::_trace(q{(consumed: [} .
19168 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
19169 Parse::RecDescent::_tracefirst($text),
19177 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
19178 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::search_condition
19180 my $thisparser = $_[0];
19181 use vars q{$tracelevel};
19182 local $tracelevel = ($tracelevel||0)+1;
19184 my $thisrule = $thisparser->{"rules"}{"search_condition"};
19186 Parse::RecDescent::_trace(q{Trying rule: [search_condition]},
19187 Parse::RecDescent::_tracefirst($_[1]),
19188 q{search_condition},
19190 if defined $::RD_TRACE;
19193 my $err_at = @{$thisparser->{errors}};
19198 my $return = undef;
19203 my $repeating = defined($_[2]) && $_[2];
19204 my $_noactions = defined($_[3]) && $_[3];
19205 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
19206 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
19209 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
19210 $expectation->at($_[1]);
19213 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
19217 while (!$_matched && !$commit)
19220 Parse::RecDescent::_trace(q{Trying production: [/[^)]+/]},
19221 Parse::RecDescent::_tracefirst($_[1]),
19222 q{search_condition},
19224 if defined $::RD_TRACE;
19225 my $thisprod = $thisrule->{"prods"}[0];
19228 @item = (q{search_condition});
19229 %item = (__RULE__ => q{search_condition});
19233 Parse::RecDescent::_trace(q{Trying terminal: [/[^)]+/]}, Parse::RecDescent::_tracefirst($text),
19234 q{search_condition},
19236 if defined $::RD_TRACE;
19238 $expectation->is(q{})->at($text);
19241 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:[^)]+)//)
19244 $expectation->failed();
19245 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
19246 Parse::RecDescent::_tracefirst($text))
19247 if defined $::RD_TRACE;
19251 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
19253 Parse::RecDescent::_tracefirst($text))
19254 if defined $::RD_TRACE;
19255 push @item, $item{__PATTERN1__}=$&;
19259 Parse::RecDescent::_trace(q{>>Matched production: [/[^)]+/]<<},
19260 Parse::RecDescent::_tracefirst($text),
19261 q{search_condition},
19263 if defined $::RD_TRACE;
19269 while (!$_matched && !$commit)
19272 Parse::RecDescent::_trace(q{Trying production: [/NOT|/i predicate, or '(' cond]},
19273 Parse::RecDescent::_tracefirst($_[1]),
19274 q{search_condition},
19276 if defined $::RD_TRACE;
19277 my $thisprod = $thisrule->{"prods"}[1];
19280 @item = (q{search_condition});
19281 %item = (__RULE__ => q{search_condition});
19285 Parse::RecDescent::_trace(q{Trying terminal: [/NOT|/i]}, Parse::RecDescent::_tracefirst($text),
19286 q{search_condition},
19288 if defined $::RD_TRACE;
19290 $expectation->is(q{})->at($text);
19293 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NOT|)//i)
19296 $expectation->failed();
19297 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
19298 Parse::RecDescent::_tracefirst($text))
19299 if defined $::RD_TRACE;
19303 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
19305 Parse::RecDescent::_tracefirst($text))
19306 if defined $::RD_TRACE;
19307 push @item, $item{__PATTERN1__}=$&;
19310 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_2_of_rule_search_condition]},
19311 Parse::RecDescent::_tracefirst($text),
19312 q{search_condition},
19314 if defined $::RD_TRACE;
19315 if (1) { no strict qw{refs};
19316 $expectation->is(q{predicate, or '('})->at($text);
19317 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_2_of_rule_search_condition($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
19320 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_2_of_rule_search_condition]>>},
19321 Parse::RecDescent::_tracefirst($text),
19322 q{search_condition},
19324 if defined $::RD_TRACE;
19325 $expectation->failed();
19328 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_2_of_rule_search_condition]<< (return value: [}
19331 Parse::RecDescent::_tracefirst($text),
19332 q{search_condition},
19334 if defined $::RD_TRACE;
19335 $item{q{_alternation_1_of_production_2_of_rule_search_condition}} = $_tok;
19340 Parse::RecDescent::_trace(q{Trying repeated subrule: [cond]},
19341 Parse::RecDescent::_tracefirst($text),
19342 q{search_condition},
19344 if defined $::RD_TRACE;
19345 $expectation->is(q{cond})->at($text);
19347 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::cond, 0, 100000000, $_noactions,$expectation,undef)))
19349 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [cond]>>},
19350 Parse::RecDescent::_tracefirst($text),
19351 q{search_condition},
19353 if defined $::RD_TRACE;
19356 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [cond]<< (}
19357 . @$_tok . q{ times)},
19359 Parse::RecDescent::_tracefirst($text),
19360 q{search_condition},
19362 if defined $::RD_TRACE;
19363 $item{q{cond(s?)}} = $_tok;
19369 Parse::RecDescent::_trace(q{>>Matched production: [/NOT|/i predicate, or '(' cond]<<},
19370 Parse::RecDescent::_tracefirst($text),
19371 q{search_condition},
19373 if defined $::RD_TRACE;
19379 unless ( $_matched || defined($return) || defined($score) )
19383 $_[1] = $text; # NOT SURE THIS IS NEEDED
19384 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
19385 Parse::RecDescent::_tracefirst($_[1]),
19386 q{search_condition},
19388 if defined $::RD_TRACE;
19391 if (!defined($return) && defined($score))
19393 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
19394 q{search_condition},
19396 if defined $::RD_TRACE;
19397 $return = $score_return;
19399 splice @{$thisparser->{errors}}, $err_at;
19400 $return = $item[$#item] unless defined $return;
19401 if (defined $::RD_TRACE)
19403 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
19404 $return . q{])}, "",
19405 q{search_condition},
19407 Parse::RecDescent::_trace(q{(consumed: [} .
19408 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
19409 Parse::RecDescent::_tracefirst($text),
19410 , q{search_condition},
19417 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
19418 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_operator
19420 my $thisparser = $_[0];
19421 use vars q{$tracelevel};
19422 local $tracelevel = ($tracelevel||0)+1;
19424 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_operator"};
19426 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_operator]},
19427 Parse::RecDescent::_tracefirst($_[1]),
19428 q{_alternation_1_of_production_1_of_rule_operator},
19430 if defined $::RD_TRACE;
19433 my $err_at = @{$thisparser->{errors}};
19438 my $return = undef;
19443 my $repeating = defined($_[2]) && $_[2];
19444 my $_noactions = defined($_[3]) && $_[3];
19445 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
19446 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
19449 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
19450 $expectation->at($_[1]);
19453 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
19457 while (!$_matched && !$commit)
19460 Parse::RecDescent::_trace(q{Trying production: [/CONCAT/i]},
19461 Parse::RecDescent::_tracefirst($_[1]),
19462 q{_alternation_1_of_production_1_of_rule_operator},
19464 if defined $::RD_TRACE;
19465 my $thisprod = $thisrule->{"prods"}[0];
19468 @item = (q{_alternation_1_of_production_1_of_rule_operator});
19469 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_operator});
19473 Parse::RecDescent::_trace(q{Trying terminal: [/CONCAT/i]}, Parse::RecDescent::_tracefirst($text),
19474 q{_alternation_1_of_production_1_of_rule_operator},
19476 if defined $::RD_TRACE;
19478 $expectation->is(q{})->at($text);
19481 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CONCAT)//i)
19484 $expectation->failed();
19485 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
19486 Parse::RecDescent::_tracefirst($text))
19487 if defined $::RD_TRACE;
19491 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
19493 Parse::RecDescent::_tracefirst($text))
19494 if defined $::RD_TRACE;
19495 push @item, $item{__PATTERN1__}=$&;
19499 Parse::RecDescent::_trace(q{>>Matched production: [/CONCAT/i]<<},
19500 Parse::RecDescent::_tracefirst($text),
19501 q{_alternation_1_of_production_1_of_rule_operator},
19503 if defined $::RD_TRACE;
19509 while (!$_matched && !$commit)
19512 Parse::RecDescent::_trace(q{Trying production: ['||']},
19513 Parse::RecDescent::_tracefirst($_[1]),
19514 q{_alternation_1_of_production_1_of_rule_operator},
19516 if defined $::RD_TRACE;
19517 my $thisprod = $thisrule->{"prods"}[1];
19520 @item = (q{_alternation_1_of_production_1_of_rule_operator});
19521 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_operator});
19525 Parse::RecDescent::_trace(q{Trying terminal: ['||']},
19526 Parse::RecDescent::_tracefirst($text),
19527 q{_alternation_1_of_production_1_of_rule_operator},
19529 if defined $::RD_TRACE;
19531 $expectation->is(q{})->at($text);
19534 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\|\|//)
19537 $expectation->failed();
19538 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
19539 Parse::RecDescent::_tracefirst($text))
19540 if defined $::RD_TRACE;
19543 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
19545 Parse::RecDescent::_tracefirst($text))
19546 if defined $::RD_TRACE;
19547 push @item, $item{__STRING1__}=$&;
19551 Parse::RecDescent::_trace(q{>>Matched production: ['||']<<},
19552 Parse::RecDescent::_tracefirst($text),
19553 q{_alternation_1_of_production_1_of_rule_operator},
19555 if defined $::RD_TRACE;
19561 unless ( $_matched || defined($return) || defined($score) )
19565 $_[1] = $text; # NOT SURE THIS IS NEEDED
19566 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
19567 Parse::RecDescent::_tracefirst($_[1]),
19568 q{_alternation_1_of_production_1_of_rule_operator},
19570 if defined $::RD_TRACE;
19573 if (!defined($return) && defined($score))
19575 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
19576 q{_alternation_1_of_production_1_of_rule_operator},
19578 if defined $::RD_TRACE;
19579 $return = $score_return;
19581 splice @{$thisparser->{errors}}, $err_at;
19582 $return = $item[$#item] unless defined $return;
19583 if (defined $::RD_TRACE)
19585 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
19586 $return . q{])}, "",
19587 q{_alternation_1_of_production_1_of_rule_operator},
19589 Parse::RecDescent::_trace(q{(consumed: [} .
19590 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
19591 Parse::RecDescent::_tracefirst($text),
19592 , q{_alternation_1_of_production_1_of_rule_operator},
19599 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
19600 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::simple_when_clause
19602 my $thisparser = $_[0];
19603 use vars q{$tracelevel};
19604 local $tracelevel = ($tracelevel||0)+1;
19606 my $thisrule = $thisparser->{"rules"}{"simple_when_clause"};
19608 Parse::RecDescent::_trace(q{Trying rule: [simple_when_clause]},
19609 Parse::RecDescent::_tracefirst($_[1]),
19610 q{simple_when_clause},
19612 if defined $::RD_TRACE;
19615 my $err_at = @{$thisparser->{errors}};
19620 my $return = undef;
19625 my $repeating = defined($_[2]) && $_[2];
19626 my $_noactions = defined($_[3]) && $_[3];
19627 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
19628 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
19631 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
19632 $expectation->at($_[1]);
19635 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
19639 while (!$_matched && !$commit)
19642 Parse::RecDescent::_trace(q{Trying production: [expression /WHEN/i]},
19643 Parse::RecDescent::_tracefirst($_[1]),
19644 q{simple_when_clause},
19646 if defined $::RD_TRACE;
19647 my $thisprod = $thisrule->{"prods"}[0];
19650 @item = (q{simple_when_clause});
19651 %item = (__RULE__ => q{simple_when_clause});
19655 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
19656 Parse::RecDescent::_tracefirst($text),
19657 q{simple_when_clause},
19659 if defined $::RD_TRACE;
19660 if (1) { no strict qw{refs};
19661 $expectation->is(q{})->at($text);
19662 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
19665 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
19666 Parse::RecDescent::_tracefirst($text),
19667 q{simple_when_clause},
19669 if defined $::RD_TRACE;
19670 $expectation->failed();
19673 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
19676 Parse::RecDescent::_tracefirst($text),
19677 q{simple_when_clause},
19679 if defined $::RD_TRACE;
19680 $item{q{expression}} = $_tok;
19685 Parse::RecDescent::_trace(q{Trying repeated subrule: [/WHEN/i]},
19686 Parse::RecDescent::_tracefirst($text),
19687 q{simple_when_clause},
19689 if defined $::RD_TRACE;
19690 $expectation->is(q{/WHEN/i})->at($text);
19692 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_simple_when_clause, 1, 100000000, $_noactions,$expectation,undef)))
19694 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/WHEN/i]>>},
19695 Parse::RecDescent::_tracefirst($text),
19696 q{simple_when_clause},
19698 if defined $::RD_TRACE;
19701 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule_simple_when_clause]<< (}
19702 . @$_tok . q{ times)},
19704 Parse::RecDescent::_tracefirst($text),
19705 q{simple_when_clause},
19707 if defined $::RD_TRACE;
19708 $item{q{_alternation_1_of_production_1_of_rule_simple_when_clause(s)}} = $_tok;
19714 Parse::RecDescent::_trace(q{>>Matched production: [expression /WHEN/i]<<},
19715 Parse::RecDescent::_tracefirst($text),
19716 q{simple_when_clause},
19718 if defined $::RD_TRACE;
19724 unless ( $_matched || defined($return) || defined($score) )
19728 $_[1] = $text; # NOT SURE THIS IS NEEDED
19729 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
19730 Parse::RecDescent::_tracefirst($_[1]),
19731 q{simple_when_clause},
19733 if defined $::RD_TRACE;
19736 if (!defined($return) && defined($score))
19738 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
19739 q{simple_when_clause},
19741 if defined $::RD_TRACE;
19742 $return = $score_return;
19744 splice @{$thisparser->{errors}}, $err_at;
19745 $return = $item[$#item] unless defined $return;
19746 if (defined $::RD_TRACE)
19748 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
19749 $return . q{])}, "",
19750 q{simple_when_clause},
19752 Parse::RecDescent::_trace(q{(consumed: [} .
19753 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
19754 Parse::RecDescent::_tracefirst($text),
19755 , q{simple_when_clause},
19762 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
19763 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::INNER
19765 my $thisparser = $_[0];
19766 use vars q{$tracelevel};
19767 local $tracelevel = ($tracelevel||0)+1;
19769 my $thisrule = $thisparser->{"rules"}{"INNER"};
19771 Parse::RecDescent::_trace(q{Trying rule: [INNER]},
19772 Parse::RecDescent::_tracefirst($_[1]),
19775 if defined $::RD_TRACE;
19778 my $err_at = @{$thisparser->{errors}};
19783 my $return = undef;
19788 my $repeating = defined($_[2]) && $_[2];
19789 my $_noactions = defined($_[3]) && $_[3];
19790 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
19791 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
19794 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
19795 $expectation->at($_[1]);
19798 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
19802 while (!$_matched && !$commit)
19805 Parse::RecDescent::_trace(q{Trying production: [/inner/i]},
19806 Parse::RecDescent::_tracefirst($_[1]),
19809 if defined $::RD_TRACE;
19810 my $thisprod = $thisrule->{"prods"}[0];
19813 @item = (q{INNER});
19814 %item = (__RULE__ => q{INNER});
19818 Parse::RecDescent::_trace(q{Trying terminal: [/inner/i]}, Parse::RecDescent::_tracefirst($text),
19821 if defined $::RD_TRACE;
19823 $expectation->is(q{})->at($text);
19826 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:inner)//i)
19829 $expectation->failed();
19830 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
19831 Parse::RecDescent::_tracefirst($text))
19832 if defined $::RD_TRACE;
19836 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
19838 Parse::RecDescent::_tracefirst($text))
19839 if defined $::RD_TRACE;
19840 push @item, $item{__PATTERN1__}=$&;
19844 Parse::RecDescent::_trace(q{>>Matched production: [/inner/i]<<},
19845 Parse::RecDescent::_tracefirst($text),
19848 if defined $::RD_TRACE;
19854 unless ( $_matched || defined($return) || defined($score) )
19858 $_[1] = $text; # NOT SURE THIS IS NEEDED
19859 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
19860 Parse::RecDescent::_tracefirst($_[1]),
19863 if defined $::RD_TRACE;
19866 if (!defined($return) && defined($score))
19868 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
19871 if defined $::RD_TRACE;
19872 $return = $score_return;
19874 splice @{$thisparser->{errors}}, $err_at;
19875 $return = $item[$#item] unless defined $return;
19876 if (defined $::RD_TRACE)
19878 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
19879 $return . q{])}, "",
19882 Parse::RecDescent::_trace(q{(consumed: [} .
19883 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
19884 Parse::RecDescent::_tracefirst($text),
19892 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
19893 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::eofile
19895 my $thisparser = $_[0];
19896 use vars q{$tracelevel};
19897 local $tracelevel = ($tracelevel||0)+1;
19899 my $thisrule = $thisparser->{"rules"}{"eofile"};
19901 Parse::RecDescent::_trace(q{Trying rule: [eofile]},
19902 Parse::RecDescent::_tracefirst($_[1]),
19905 if defined $::RD_TRACE;
19908 my $err_at = @{$thisparser->{errors}};
19913 my $return = undef;
19918 my $repeating = defined($_[2]) && $_[2];
19919 my $_noactions = defined($_[3]) && $_[3];
19920 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
19921 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
19924 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
19925 $expectation->at($_[1]);
19928 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
19932 while (!$_matched && !$commit)
19935 Parse::RecDescent::_trace(q{Trying production: [/^\\Z/]},
19936 Parse::RecDescent::_tracefirst($_[1]),
19939 if defined $::RD_TRACE;
19940 my $thisprod = $thisrule->{"prods"}[0];
19943 @item = (q{eofile});
19944 %item = (__RULE__ => q{eofile});
19948 Parse::RecDescent::_trace(q{Trying terminal: [/^\\Z/]}, Parse::RecDescent::_tracefirst($text),
19951 if defined $::RD_TRACE;
19953 $expectation->is(q{})->at($text);
19956 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:^\Z)//)
19959 $expectation->failed();
19960 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
19961 Parse::RecDescent::_tracefirst($text))
19962 if defined $::RD_TRACE;
19966 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
19968 Parse::RecDescent::_tracefirst($text))
19969 if defined $::RD_TRACE;
19970 push @item, $item{__PATTERN1__}=$&;
19974 Parse::RecDescent::_trace(q{>>Matched production: [/^\\Z/]<<},
19975 Parse::RecDescent::_tracefirst($text),
19978 if defined $::RD_TRACE;
19984 unless ( $_matched || defined($return) || defined($score) )
19988 $_[1] = $text; # NOT SURE THIS IS NEEDED
19989 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
19990 Parse::RecDescent::_tracefirst($_[1]),
19993 if defined $::RD_TRACE;
19996 if (!defined($return) && defined($score))
19998 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
20001 if defined $::RD_TRACE;
20002 $return = $score_return;
20004 splice @{$thisparser->{errors}}, $err_at;
20005 $return = $item[$#item] unless defined $return;
20006 if (defined $::RD_TRACE)
20008 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
20009 $return . q{])}, "",
20012 Parse::RecDescent::_trace(q{(consumed: [} .
20013 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
20014 Parse::RecDescent::_tracefirst($text),
20022 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
20023 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::cond
20025 my $thisparser = $_[0];
20026 use vars q{$tracelevel};
20027 local $tracelevel = ($tracelevel||0)+1;
20029 my $thisrule = $thisparser->{"rules"}{"cond"};
20031 Parse::RecDescent::_trace(q{Trying rule: [cond]},
20032 Parse::RecDescent::_tracefirst($_[1]),
20035 if defined $::RD_TRACE;
20038 my $err_at = @{$thisparser->{errors}};
20043 my $return = undef;
20048 my $repeating = defined($_[2]) && $_[2];
20049 my $_noactions = defined($_[3]) && $_[3];
20050 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
20051 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
20054 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
20055 $expectation->at($_[1]);
20058 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
20062 while (!$_matched && !$commit)
20065 Parse::RecDescent::_trace(q{Trying production: [/AND/i, or /OR/i /NOT|/i predicate, or '(']},
20066 Parse::RecDescent::_tracefirst($_[1]),
20069 if defined $::RD_TRACE;
20070 my $thisprod = $thisrule->{"prods"}[0];
20074 %item = (__RULE__ => q{cond});
20078 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_cond]},
20079 Parse::RecDescent::_tracefirst($text),
20082 if defined $::RD_TRACE;
20083 if (1) { no strict qw{refs};
20084 $expectation->is(q{})->at($text);
20085 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_cond($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
20088 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_cond]>>},
20089 Parse::RecDescent::_tracefirst($text),
20092 if defined $::RD_TRACE;
20093 $expectation->failed();
20096 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_cond]<< (return value: [}
20099 Parse::RecDescent::_tracefirst($text),
20102 if defined $::RD_TRACE;
20103 $item{q{_alternation_1_of_production_1_of_rule_cond}} = $_tok;
20108 Parse::RecDescent::_trace(q{Trying terminal: [/NOT|/i]}, Parse::RecDescent::_tracefirst($text),
20111 if defined $::RD_TRACE;
20113 $expectation->is(q{/NOT|/i})->at($text);
20116 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NOT|)//i)
20119 $expectation->failed();
20120 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
20121 Parse::RecDescent::_tracefirst($text))
20122 if defined $::RD_TRACE;
20126 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
20128 Parse::RecDescent::_tracefirst($text))
20129 if defined $::RD_TRACE;
20130 push @item, $item{__PATTERN1__}=$&;
20133 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_2_of_production_1_of_rule_cond]},
20134 Parse::RecDescent::_tracefirst($text),
20137 if defined $::RD_TRACE;
20138 if (1) { no strict qw{refs};
20139 $expectation->is(q{predicate, or '('})->at($text);
20140 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_cond($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
20143 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_2_of_production_1_of_rule_cond]>>},
20144 Parse::RecDescent::_tracefirst($text),
20147 if defined $::RD_TRACE;
20148 $expectation->failed();
20151 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_2_of_production_1_of_rule_cond]<< (return value: [}
20154 Parse::RecDescent::_tracefirst($text),
20157 if defined $::RD_TRACE;
20158 $item{q{_alternation_2_of_production_1_of_rule_cond}} = $_tok;
20164 Parse::RecDescent::_trace(q{>>Matched production: [/AND/i, or /OR/i /NOT|/i predicate, or '(']<<},
20165 Parse::RecDescent::_tracefirst($text),
20168 if defined $::RD_TRACE;
20174 unless ( $_matched || defined($return) || defined($score) )
20178 $_[1] = $text; # NOT SURE THIS IS NEEDED
20179 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
20180 Parse::RecDescent::_tracefirst($_[1]),
20183 if defined $::RD_TRACE;
20186 if (!defined($return) && defined($score))
20188 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
20191 if defined $::RD_TRACE;
20192 $return = $score_return;
20194 splice @{$thisparser->{errors}}, $err_at;
20195 $return = $item[$#item] unless defined $return;
20196 if (defined $::RD_TRACE)
20198 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
20199 $return . q{])}, "",
20202 Parse::RecDescent::_trace(q{(consumed: [} .
20203 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
20204 Parse::RecDescent::_tracefirst($text),
20212 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
20213 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::ld_type
20215 my $thisparser = $_[0];
20216 use vars q{$tracelevel};
20217 local $tracelevel = ($tracelevel||0)+1;
20219 my $thisrule = $thisparser->{"rules"}{"ld_type"};
20221 Parse::RecDescent::_trace(q{Trying rule: [ld_type]},
20222 Parse::RecDescent::_tracefirst($_[1]),
20225 if defined $::RD_TRACE;
20228 my $err_at = @{$thisparser->{errors}};
20233 my $return = undef;
20238 my $repeating = defined($_[2]) && $_[2];
20239 my $_noactions = defined($_[3]) && $_[3];
20240 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
20241 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
20244 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
20245 $expectation->at($_[1]);
20248 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
20252 while (!$_matched && !$commit)
20255 Parse::RecDescent::_trace(q{Trying production: [function]},
20256 Parse::RecDescent::_tracefirst($_[1]),
20259 if defined $::RD_TRACE;
20260 my $thisprod = $thisrule->{"prods"}[0];
20263 @item = (q{ld_type});
20264 %item = (__RULE__ => q{ld_type});
20268 Parse::RecDescent::_trace(q{Trying subrule: [function]},
20269 Parse::RecDescent::_tracefirst($text),
20272 if defined $::RD_TRACE;
20273 if (1) { no strict qw{refs};
20274 $expectation->is(q{})->at($text);
20275 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
20278 Parse::RecDescent::_trace(q{<<Didn't match subrule: [function]>>},
20279 Parse::RecDescent::_tracefirst($text),
20282 if defined $::RD_TRACE;
20283 $expectation->failed();
20286 Parse::RecDescent::_trace(q{>>Matched subrule: [function]<< (return value: [}
20289 Parse::RecDescent::_tracefirst($text),
20292 if defined $::RD_TRACE;
20293 $item{q{function}} = $_tok;
20299 Parse::RecDescent::_trace(q{>>Matched production: [function]<<},
20300 Parse::RecDescent::_tracefirst($text),
20303 if defined $::RD_TRACE;
20309 while (!$_matched && !$commit)
20312 Parse::RecDescent::_trace(q{Trying production: ['(' expression ')']},
20313 Parse::RecDescent::_tracefirst($_[1]),
20316 if defined $::RD_TRACE;
20317 my $thisprod = $thisrule->{"prods"}[1];
20320 @item = (q{ld_type});
20321 %item = (__RULE__ => q{ld_type});
20325 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
20326 Parse::RecDescent::_tracefirst($text),
20329 if defined $::RD_TRACE;
20331 $expectation->is(q{})->at($text);
20334 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
20337 $expectation->failed();
20338 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
20339 Parse::RecDescent::_tracefirst($text))
20340 if defined $::RD_TRACE;
20343 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
20345 Parse::RecDescent::_tracefirst($text))
20346 if defined $::RD_TRACE;
20347 push @item, $item{__STRING1__}=$&;
20350 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
20351 Parse::RecDescent::_tracefirst($text),
20354 if defined $::RD_TRACE;
20355 if (1) { no strict qw{refs};
20356 $expectation->is(q{expression})->at($text);
20357 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
20360 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
20361 Parse::RecDescent::_tracefirst($text),
20364 if defined $::RD_TRACE;
20365 $expectation->failed();
20368 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
20371 Parse::RecDescent::_tracefirst($text),
20374 if defined $::RD_TRACE;
20375 $item{q{expression}} = $_tok;
20380 Parse::RecDescent::_trace(q{Trying terminal: [')']},
20381 Parse::RecDescent::_tracefirst($text),
20384 if defined $::RD_TRACE;
20386 $expectation->is(q{')'})->at($text);
20389 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
20392 $expectation->failed();
20393 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
20394 Parse::RecDescent::_tracefirst($text))
20395 if defined $::RD_TRACE;
20398 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
20400 Parse::RecDescent::_tracefirst($text))
20401 if defined $::RD_TRACE;
20402 push @item, $item{__STRING2__}=$&;
20406 Parse::RecDescent::_trace(q{>>Matched production: ['(' expression ')']<<},
20407 Parse::RecDescent::_tracefirst($text),
20410 if defined $::RD_TRACE;
20416 while (!$_matched && !$commit)
20419 Parse::RecDescent::_trace(q{Trying production: [constant]},
20420 Parse::RecDescent::_tracefirst($_[1]),
20423 if defined $::RD_TRACE;
20424 my $thisprod = $thisrule->{"prods"}[2];
20427 @item = (q{ld_type});
20428 %item = (__RULE__ => q{ld_type});
20432 Parse::RecDescent::_trace(q{Trying subrule: [constant]},
20433 Parse::RecDescent::_tracefirst($text),
20436 if defined $::RD_TRACE;
20437 if (1) { no strict qw{refs};
20438 $expectation->is(q{})->at($text);
20439 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
20442 Parse::RecDescent::_trace(q{<<Didn't match subrule: [constant]>>},
20443 Parse::RecDescent::_tracefirst($text),
20446 if defined $::RD_TRACE;
20447 $expectation->failed();
20450 Parse::RecDescent::_trace(q{>>Matched subrule: [constant]<< (return value: [}
20453 Parse::RecDescent::_tracefirst($text),
20456 if defined $::RD_TRACE;
20457 $item{q{constant}} = $_tok;
20463 Parse::RecDescent::_trace(q{>>Matched production: [constant]<<},
20464 Parse::RecDescent::_tracefirst($text),
20467 if defined $::RD_TRACE;
20473 while (!$_matched && !$commit)
20476 Parse::RecDescent::_trace(q{Trying production: [column_name]},
20477 Parse::RecDescent::_tracefirst($_[1]),
20480 if defined $::RD_TRACE;
20481 my $thisprod = $thisrule->{"prods"}[3];
20484 @item = (q{ld_type});
20485 %item = (__RULE__ => q{ld_type});
20489 Parse::RecDescent::_trace(q{Trying subrule: [column_name]},
20490 Parse::RecDescent::_tracefirst($text),
20493 if defined $::RD_TRACE;
20494 if (1) { no strict qw{refs};
20495 $expectation->is(q{})->at($text);
20496 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
20499 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_name]>>},
20500 Parse::RecDescent::_tracefirst($text),
20503 if defined $::RD_TRACE;
20504 $expectation->failed();
20507 Parse::RecDescent::_trace(q{>>Matched subrule: [column_name]<< (return value: [}
20510 Parse::RecDescent::_tracefirst($text),
20513 if defined $::RD_TRACE;
20514 $item{q{column_name}} = $_tok;
20520 Parse::RecDescent::_trace(q{>>Matched production: [column_name]<<},
20521 Parse::RecDescent::_tracefirst($text),
20524 if defined $::RD_TRACE;
20530 while (!$_matched && !$commit)
20533 Parse::RecDescent::_trace(q{Trying production: [host_variable]},
20534 Parse::RecDescent::_tracefirst($_[1]),
20537 if defined $::RD_TRACE;
20538 my $thisprod = $thisrule->{"prods"}[4];
20541 @item = (q{ld_type});
20542 %item = (__RULE__ => q{ld_type});
20546 Parse::RecDescent::_trace(q{Trying subrule: [host_variable]},
20547 Parse::RecDescent::_tracefirst($text),
20550 if defined $::RD_TRACE;
20551 if (1) { no strict qw{refs};
20552 $expectation->is(q{})->at($text);
20553 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::host_variable($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
20556 Parse::RecDescent::_trace(q{<<Didn't match subrule: [host_variable]>>},
20557 Parse::RecDescent::_tracefirst($text),
20560 if defined $::RD_TRACE;
20561 $expectation->failed();
20564 Parse::RecDescent::_trace(q{>>Matched subrule: [host_variable]<< (return value: [}
20567 Parse::RecDescent::_tracefirst($text),
20570 if defined $::RD_TRACE;
20571 $item{q{host_variable}} = $_tok;
20577 Parse::RecDescent::_trace(q{>>Matched production: [host_variable]<<},
20578 Parse::RecDescent::_tracefirst($text),
20581 if defined $::RD_TRACE;
20587 unless ( $_matched || defined($return) || defined($score) )
20591 $_[1] = $text; # NOT SURE THIS IS NEEDED
20592 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
20593 Parse::RecDescent::_tracefirst($_[1]),
20596 if defined $::RD_TRACE;
20599 if (!defined($return) && defined($score))
20601 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
20604 if defined $::RD_TRACE;
20605 $return = $score_return;
20607 splice @{$thisparser->{errors}}, $err_at;
20608 $return = $item[$#item] unless defined $return;
20609 if (defined $::RD_TRACE)
20611 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
20612 $return . q{])}, "",
20615 Parse::RecDescent::_trace(q{(consumed: [} .
20616 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
20617 Parse::RecDescent::_tracefirst($text),
20625 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
20626 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::RIGHT
20628 my $thisparser = $_[0];
20629 use vars q{$tracelevel};
20630 local $tracelevel = ($tracelevel||0)+1;
20632 my $thisrule = $thisparser->{"rules"}{"RIGHT"};
20634 Parse::RecDescent::_trace(q{Trying rule: [RIGHT]},
20635 Parse::RecDescent::_tracefirst($_[1]),
20638 if defined $::RD_TRACE;
20641 my $err_at = @{$thisparser->{errors}};
20646 my $return = undef;
20651 my $repeating = defined($_[2]) && $_[2];
20652 my $_noactions = defined($_[3]) && $_[3];
20653 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
20654 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
20657 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
20658 $expectation->at($_[1]);
20661 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
20665 while (!$_matched && !$commit)
20668 Parse::RecDescent::_trace(q{Trying production: [/right/i]},
20669 Parse::RecDescent::_tracefirst($_[1]),
20672 if defined $::RD_TRACE;
20673 my $thisprod = $thisrule->{"prods"}[0];
20676 @item = (q{RIGHT});
20677 %item = (__RULE__ => q{RIGHT});
20681 Parse::RecDescent::_trace(q{Trying terminal: [/right/i]}, Parse::RecDescent::_tracefirst($text),
20684 if defined $::RD_TRACE;
20686 $expectation->is(q{})->at($text);
20689 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:right)//i)
20692 $expectation->failed();
20693 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
20694 Parse::RecDescent::_tracefirst($text))
20695 if defined $::RD_TRACE;
20699 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
20701 Parse::RecDescent::_tracefirst($text))
20702 if defined $::RD_TRACE;
20703 push @item, $item{__PATTERN1__}=$&;
20707 Parse::RecDescent::_trace(q{>>Matched production: [/right/i]<<},
20708 Parse::RecDescent::_tracefirst($text),
20711 if defined $::RD_TRACE;
20717 unless ( $_matched || defined($return) || defined($score) )
20721 $_[1] = $text; # NOT SURE THIS IS NEEDED
20722 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
20723 Parse::RecDescent::_tracefirst($_[1]),
20726 if defined $::RD_TRACE;
20729 if (!defined($return) && defined($score))
20731 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
20734 if defined $::RD_TRACE;
20735 $return = $score_return;
20737 splice @{$thisparser->{errors}}, $err_at;
20738 $return = $item[$#item] unless defined $return;
20739 if (defined $::RD_TRACE)
20741 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
20742 $return . q{])}, "",
20745 Parse::RecDescent::_trace(q{(consumed: [} .
20746 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
20747 Parse::RecDescent::_tracefirst($text),
20755 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
20756 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_method_invocation
20758 my $thisparser = $_[0];
20759 use vars q{$tracelevel};
20760 local $tracelevel = ($tracelevel||0)+1;
20762 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_method_invocation"};
20764 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_method_invocation]},
20765 Parse::RecDescent::_tracefirst($_[1]),
20766 q{_alternation_1_of_production_1_of_rule_method_invocation},
20768 if defined $::RD_TRACE;
20771 my $err_at = @{$thisparser->{errors}};
20776 my $return = undef;
20781 my $repeating = defined($_[2]) && $_[2];
20782 my $_noactions = defined($_[3]) && $_[3];
20783 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
20784 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
20787 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
20788 $expectation->at($_[1]);
20791 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
20795 while (!$_matched && !$commit)
20798 Parse::RecDescent::_trace(q{Trying production: ['(' expression ')']},
20799 Parse::RecDescent::_tracefirst($_[1]),
20800 q{_alternation_1_of_production_1_of_rule_method_invocation},
20802 if defined $::RD_TRACE;
20803 my $thisprod = $thisrule->{"prods"}[0];
20806 @item = (q{_alternation_1_of_production_1_of_rule_method_invocation});
20807 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_method_invocation});
20811 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
20812 Parse::RecDescent::_tracefirst($text),
20813 q{_alternation_1_of_production_1_of_rule_method_invocation},
20815 if defined $::RD_TRACE;
20817 $expectation->is(q{})->at($text);
20820 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
20823 $expectation->failed();
20824 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
20825 Parse::RecDescent::_tracefirst($text))
20826 if defined $::RD_TRACE;
20829 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
20831 Parse::RecDescent::_tracefirst($text))
20832 if defined $::RD_TRACE;
20833 push @item, $item{__STRING1__}=$&;
20836 Parse::RecDescent::_trace(q{Trying repeated subrule: [expression]},
20837 Parse::RecDescent::_tracefirst($text),
20838 q{_alternation_1_of_production_1_of_rule_method_invocation},
20840 if defined $::RD_TRACE;
20841 $expectation->is(q{expression})->at($text);
20843 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression, 1, 100000000, $_noactions,$expectation,undef)))
20845 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [expression]>>},
20846 Parse::RecDescent::_tracefirst($text),
20847 q{_alternation_1_of_production_1_of_rule_method_invocation},
20849 if defined $::RD_TRACE;
20852 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [expression]<< (}
20853 . @$_tok . q{ times)},
20855 Parse::RecDescent::_tracefirst($text),
20856 q{_alternation_1_of_production_1_of_rule_method_invocation},
20858 if defined $::RD_TRACE;
20859 $item{q{expression(s)}} = $_tok;
20864 Parse::RecDescent::_trace(q{Trying terminal: [')']},
20865 Parse::RecDescent::_tracefirst($text),
20866 q{_alternation_1_of_production_1_of_rule_method_invocation},
20868 if defined $::RD_TRACE;
20870 $expectation->is(q{')'})->at($text);
20873 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
20876 $expectation->failed();
20877 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
20878 Parse::RecDescent::_tracefirst($text))
20879 if defined $::RD_TRACE;
20882 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
20884 Parse::RecDescent::_tracefirst($text))
20885 if defined $::RD_TRACE;
20886 push @item, $item{__STRING2__}=$&;
20890 Parse::RecDescent::_trace(q{>>Matched production: ['(' expression ')']<<},
20891 Parse::RecDescent::_tracefirst($text),
20892 q{_alternation_1_of_production_1_of_rule_method_invocation},
20894 if defined $::RD_TRACE;
20900 unless ( $_matched || defined($return) || defined($score) )
20904 $_[1] = $text; # NOT SURE THIS IS NEEDED
20905 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
20906 Parse::RecDescent::_tracefirst($_[1]),
20907 q{_alternation_1_of_production_1_of_rule_method_invocation},
20909 if defined $::RD_TRACE;
20912 if (!defined($return) && defined($score))
20914 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
20915 q{_alternation_1_of_production_1_of_rule_method_invocation},
20917 if defined $::RD_TRACE;
20918 $return = $score_return;
20920 splice @{$thisparser->{errors}}, $err_at;
20921 $return = $item[$#item] unless defined $return;
20922 if (defined $::RD_TRACE)
20924 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
20925 $return . q{])}, "",
20926 q{_alternation_1_of_production_1_of_rule_method_invocation},
20928 Parse::RecDescent::_trace(q{(consumed: [} .
20929 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
20930 Parse::RecDescent::_tracefirst($text),
20931 , q{_alternation_1_of_production_1_of_rule_method_invocation},
20938 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
20939 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::LEFT
20941 my $thisparser = $_[0];
20942 use vars q{$tracelevel};
20943 local $tracelevel = ($tracelevel||0)+1;
20945 my $thisrule = $thisparser->{"rules"}{"LEFT"};
20947 Parse::RecDescent::_trace(q{Trying rule: [LEFT]},
20948 Parse::RecDescent::_tracefirst($_[1]),
20951 if defined $::RD_TRACE;
20954 my $err_at = @{$thisparser->{errors}};
20959 my $return = undef;
20964 my $repeating = defined($_[2]) && $_[2];
20965 my $_noactions = defined($_[3]) && $_[3];
20966 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
20967 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
20970 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
20971 $expectation->at($_[1]);
20974 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
20978 while (!$_matched && !$commit)
20981 Parse::RecDescent::_trace(q{Trying production: [/left/i]},
20982 Parse::RecDescent::_tracefirst($_[1]),
20985 if defined $::RD_TRACE;
20986 my $thisprod = $thisrule->{"prods"}[0];
20990 %item = (__RULE__ => q{LEFT});
20994 Parse::RecDescent::_trace(q{Trying terminal: [/left/i]}, Parse::RecDescent::_tracefirst($text),
20997 if defined $::RD_TRACE;
20999 $expectation->is(q{})->at($text);
21002 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:left)//i)
21005 $expectation->failed();
21006 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
21007 Parse::RecDescent::_tracefirst($text))
21008 if defined $::RD_TRACE;
21012 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21014 Parse::RecDescent::_tracefirst($text))
21015 if defined $::RD_TRACE;
21016 push @item, $item{__PATTERN1__}=$&;
21020 Parse::RecDescent::_trace(q{>>Matched production: [/left/i]<<},
21021 Parse::RecDescent::_tracefirst($text),
21024 if defined $::RD_TRACE;
21030 unless ( $_matched || defined($return) || defined($score) )
21034 $_[1] = $text; # NOT SURE THIS IS NEEDED
21035 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
21036 Parse::RecDescent::_tracefirst($_[1]),
21039 if defined $::RD_TRACE;
21042 if (!defined($return) && defined($score))
21044 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
21047 if defined $::RD_TRACE;
21048 $return = $score_return;
21050 splice @{$thisparser->{errors}}, $err_at;
21051 $return = $item[$#item] unless defined $return;
21052 if (defined $::RD_TRACE)
21054 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
21055 $return . q{])}, "",
21058 Parse::RecDescent::_trace(q{(consumed: [} .
21059 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
21060 Parse::RecDescent::_tracefirst($text),
21068 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
21069 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::table_name
21071 my $thisparser = $_[0];
21072 use vars q{$tracelevel};
21073 local $tracelevel = ($tracelevel||0)+1;
21075 my $thisrule = $thisparser->{"rules"}{"table_name"};
21077 Parse::RecDescent::_trace(q{Trying rule: [table_name]},
21078 Parse::RecDescent::_tracefirst($_[1]),
21081 if defined $::RD_TRACE;
21084 my $err_at = @{$thisparser->{errors}};
21089 my $return = undef;
21094 my $repeating = defined($_[2]) && $_[2];
21095 my $_noactions = defined($_[3]) && $_[3];
21096 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
21097 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
21100 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
21101 $expectation->at($_[1]);
21104 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
21108 while (!$_matched && !$commit)
21111 Parse::RecDescent::_trace(q{Trying production: [SCHEMA '.' NAME]},
21112 Parse::RecDescent::_tracefirst($_[1]),
21115 if defined $::RD_TRACE;
21116 my $thisprod = $thisrule->{"prods"}[0];
21119 @item = (q{table_name});
21120 %item = (__RULE__ => q{table_name});
21124 Parse::RecDescent::_trace(q{Trying subrule: [SCHEMA]},
21125 Parse::RecDescent::_tracefirst($text),
21128 if defined $::RD_TRACE;
21129 if (1) { no strict qw{refs};
21130 $expectation->is(q{})->at($text);
21131 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::SCHEMA($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
21134 Parse::RecDescent::_trace(q{<<Didn't match subrule: [SCHEMA]>>},
21135 Parse::RecDescent::_tracefirst($text),
21138 if defined $::RD_TRACE;
21139 $expectation->failed();
21142 Parse::RecDescent::_trace(q{>>Matched subrule: [SCHEMA]<< (return value: [}
21145 Parse::RecDescent::_tracefirst($text),
21148 if defined $::RD_TRACE;
21149 $item{q{SCHEMA}} = $_tok;
21154 Parse::RecDescent::_trace(q{Trying terminal: ['.']},
21155 Parse::RecDescent::_tracefirst($text),
21158 if defined $::RD_TRACE;
21160 $expectation->is(q{'.'})->at($text);
21163 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\.//)
21166 $expectation->failed();
21167 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
21168 Parse::RecDescent::_tracefirst($text))
21169 if defined $::RD_TRACE;
21172 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21174 Parse::RecDescent::_tracefirst($text))
21175 if defined $::RD_TRACE;
21176 push @item, $item{__STRING1__}=$&;
21179 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
21180 Parse::RecDescent::_tracefirst($text),
21183 if defined $::RD_TRACE;
21184 if (1) { no strict qw{refs};
21185 $expectation->is(q{NAME})->at($text);
21186 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
21189 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
21190 Parse::RecDescent::_tracefirst($text),
21193 if defined $::RD_TRACE;
21194 $expectation->failed();
21197 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
21200 Parse::RecDescent::_tracefirst($text),
21203 if defined $::RD_TRACE;
21204 $item{q{NAME}} = $_tok;
21209 Parse::RecDescent::_trace(q{Trying action},
21210 Parse::RecDescent::_tracefirst($text),
21213 if defined $::RD_TRACE;
21216 $_tok = ($_noactions) ? 0 : do { $return = { schema => $item[1], name => $item[3] } };
21217 unless (defined $_tok)
21219 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
21220 if defined $::RD_TRACE;
21223 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
21225 Parse::RecDescent::_tracefirst($text))
21226 if defined $::RD_TRACE;
21228 $item{__ACTION1__}=$_tok;
21232 Parse::RecDescent::_trace(q{>>Matched production: [SCHEMA '.' NAME]<<},
21233 Parse::RecDescent::_tracefirst($text),
21236 if defined $::RD_TRACE;
21242 while (!$_matched && !$commit)
21245 Parse::RecDescent::_trace(q{Trying production: [NAME]},
21246 Parse::RecDescent::_tracefirst($_[1]),
21249 if defined $::RD_TRACE;
21250 my $thisprod = $thisrule->{"prods"}[1];
21253 @item = (q{table_name});
21254 %item = (__RULE__ => q{table_name});
21258 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
21259 Parse::RecDescent::_tracefirst($text),
21262 if defined $::RD_TRACE;
21263 if (1) { no strict qw{refs};
21264 $expectation->is(q{})->at($text);
21265 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
21268 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
21269 Parse::RecDescent::_tracefirst($text),
21272 if defined $::RD_TRACE;
21273 $expectation->failed();
21276 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
21279 Parse::RecDescent::_tracefirst($text),
21282 if defined $::RD_TRACE;
21283 $item{q{NAME}} = $_tok;
21288 Parse::RecDescent::_trace(q{Trying action},
21289 Parse::RecDescent::_tracefirst($text),
21292 if defined $::RD_TRACE;
21295 $_tok = ($_noactions) ? 0 : do { $return = { name => $item[1] } };
21296 unless (defined $_tok)
21298 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
21299 if defined $::RD_TRACE;
21302 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
21304 Parse::RecDescent::_tracefirst($text))
21305 if defined $::RD_TRACE;
21307 $item{__ACTION1__}=$_tok;
21311 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
21312 Parse::RecDescent::_tracefirst($text),
21315 if defined $::RD_TRACE;
21321 unless ( $_matched || defined($return) || defined($score) )
21325 $_[1] = $text; # NOT SURE THIS IS NEEDED
21326 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
21327 Parse::RecDescent::_tracefirst($_[1]),
21330 if defined $::RD_TRACE;
21333 if (!defined($return) && defined($score))
21335 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
21338 if defined $::RD_TRACE;
21339 $return = $score_return;
21341 splice @{$thisparser->{errors}}, $err_at;
21342 $return = $item[$#item] unless defined $return;
21343 if (defined $::RD_TRACE)
21345 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
21346 $return . q{])}, "",
21349 Parse::RecDescent::_trace(q{(consumed: [} .
21350 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
21351 Parse::RecDescent::_tracefirst($text),
21359 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
21360 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_53_of_rule_sysfun
21362 my $thisparser = $_[0];
21363 use vars q{$tracelevel};
21364 local $tracelevel = ($tracelevel||0)+1;
21366 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_53_of_rule_sysfun"};
21368 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_53_of_rule_sysfun]},
21369 Parse::RecDescent::_tracefirst($_[1]),
21370 q{_alternation_1_of_production_53_of_rule_sysfun},
21372 if defined $::RD_TRACE;
21375 my $err_at = @{$thisparser->{errors}};
21380 my $return = undef;
21385 my $repeating = defined($_[2]) && $_[2];
21386 my $_noactions = defined($_[3]) && $_[3];
21387 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
21388 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
21391 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
21392 $expectation->at($_[1]);
21395 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
21399 while (!$_matched && !$commit)
21402 Parse::RecDescent::_trace(q{Trying production: [/TRUNCATE/i]},
21403 Parse::RecDescent::_tracefirst($_[1]),
21404 q{_alternation_1_of_production_53_of_rule_sysfun},
21406 if defined $::RD_TRACE;
21407 my $thisprod = $thisrule->{"prods"}[0];
21410 @item = (q{_alternation_1_of_production_53_of_rule_sysfun});
21411 %item = (__RULE__ => q{_alternation_1_of_production_53_of_rule_sysfun});
21415 Parse::RecDescent::_trace(q{Trying terminal: [/TRUNCATE/i]}, Parse::RecDescent::_tracefirst($text),
21416 q{_alternation_1_of_production_53_of_rule_sysfun},
21418 if defined $::RD_TRACE;
21420 $expectation->is(q{})->at($text);
21423 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TRUNCATE)//i)
21426 $expectation->failed();
21427 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
21428 Parse::RecDescent::_tracefirst($text))
21429 if defined $::RD_TRACE;
21433 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21435 Parse::RecDescent::_tracefirst($text))
21436 if defined $::RD_TRACE;
21437 push @item, $item{__PATTERN1__}=$&;
21441 Parse::RecDescent::_trace(q{>>Matched production: [/TRUNCATE/i]<<},
21442 Parse::RecDescent::_tracefirst($text),
21443 q{_alternation_1_of_production_53_of_rule_sysfun},
21445 if defined $::RD_TRACE;
21451 while (!$_matched && !$commit)
21454 Parse::RecDescent::_trace(q{Trying production: [/TRUNC/i]},
21455 Parse::RecDescent::_tracefirst($_[1]),
21456 q{_alternation_1_of_production_53_of_rule_sysfun},
21458 if defined $::RD_TRACE;
21459 my $thisprod = $thisrule->{"prods"}[1];
21462 @item = (q{_alternation_1_of_production_53_of_rule_sysfun});
21463 %item = (__RULE__ => q{_alternation_1_of_production_53_of_rule_sysfun});
21467 Parse::RecDescent::_trace(q{Trying terminal: [/TRUNC/i]}, Parse::RecDescent::_tracefirst($text),
21468 q{_alternation_1_of_production_53_of_rule_sysfun},
21470 if defined $::RD_TRACE;
21472 $expectation->is(q{})->at($text);
21475 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TRUNC)//i)
21478 $expectation->failed();
21479 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
21480 Parse::RecDescent::_tracefirst($text))
21481 if defined $::RD_TRACE;
21485 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21487 Parse::RecDescent::_tracefirst($text))
21488 if defined $::RD_TRACE;
21489 push @item, $item{__PATTERN1__}=$&;
21493 Parse::RecDescent::_trace(q{>>Matched production: [/TRUNC/i]<<},
21494 Parse::RecDescent::_tracefirst($text),
21495 q{_alternation_1_of_production_53_of_rule_sysfun},
21497 if defined $::RD_TRACE;
21503 unless ( $_matched || defined($return) || defined($score) )
21507 $_[1] = $text; # NOT SURE THIS IS NEEDED
21508 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
21509 Parse::RecDescent::_tracefirst($_[1]),
21510 q{_alternation_1_of_production_53_of_rule_sysfun},
21512 if defined $::RD_TRACE;
21515 if (!defined($return) && defined($score))
21517 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
21518 q{_alternation_1_of_production_53_of_rule_sysfun},
21520 if defined $::RD_TRACE;
21521 $return = $score_return;
21523 splice @{$thisparser->{errors}}, $err_at;
21524 $return = $item[$#item] unless defined $return;
21525 if (defined $::RD_TRACE)
21527 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
21528 $return . q{])}, "",
21529 q{_alternation_1_of_production_53_of_rule_sysfun},
21531 Parse::RecDescent::_trace(q{(consumed: [} .
21532 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
21533 Parse::RecDescent::_tracefirst($text),
21534 , q{_alternation_1_of_production_53_of_rule_sysfun},
21541 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
21542 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::options
21544 my $thisparser = $_[0];
21545 use vars q{$tracelevel};
21546 local $tracelevel = ($tracelevel||0)+1;
21548 my $thisrule = $thisparser->{"rules"}{"options"};
21550 Parse::RecDescent::_trace(q{Trying rule: [options]},
21551 Parse::RecDescent::_tracefirst($_[1]),
21554 if defined $::RD_TRACE;
21557 my $err_at = @{$thisparser->{errors}};
21562 my $return = undef;
21567 my $repeating = defined($_[2]) && $_[2];
21568 my $_noactions = defined($_[3]) && $_[3];
21569 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
21570 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
21573 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
21574 $expectation->at($_[1]);
21577 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
21581 while (!$_matched && !$commit)
21584 Parse::RecDescent::_trace(q{Trying production: [/WITH/i /CASCADED/i, or /LOCAL/i /CHECK\\s+OPTION/i]},
21585 Parse::RecDescent::_tracefirst($_[1]),
21588 if defined $::RD_TRACE;
21589 my $thisprod = $thisrule->{"prods"}[0];
21592 @item = (q{options});
21593 %item = (__RULE__ => q{options});
21597 Parse::RecDescent::_trace(q{Trying terminal: [/WITH/i]}, Parse::RecDescent::_tracefirst($text),
21600 if defined $::RD_TRACE;
21602 $expectation->is(q{})->at($text);
21605 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:WITH)//i)
21608 $expectation->failed();
21609 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
21610 Parse::RecDescent::_tracefirst($text))
21611 if defined $::RD_TRACE;
21615 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21617 Parse::RecDescent::_tracefirst($text))
21618 if defined $::RD_TRACE;
21619 push @item, $item{__PATTERN1__}=$&;
21622 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_options]},
21623 Parse::RecDescent::_tracefirst($text),
21626 if defined $::RD_TRACE;
21627 if (1) { no strict qw{refs};
21628 $expectation->is(q{/CASCADED/i, or /LOCAL/i})->at($text);
21629 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_options($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
21632 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_options]>>},
21633 Parse::RecDescent::_tracefirst($text),
21636 if defined $::RD_TRACE;
21637 $expectation->failed();
21640 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_options]<< (return value: [}
21643 Parse::RecDescent::_tracefirst($text),
21646 if defined $::RD_TRACE;
21647 $item{q{_alternation_1_of_production_1_of_rule_options}} = $_tok;
21652 Parse::RecDescent::_trace(q{Trying terminal: [/CHECK\\s+OPTION/i]}, Parse::RecDescent::_tracefirst($text),
21655 if defined $::RD_TRACE;
21657 $expectation->is(q{/CHECK\\s+OPTION/i})->at($text);
21660 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CHECK\s+OPTION)//i)
21663 $expectation->failed();
21664 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
21665 Parse::RecDescent::_tracefirst($text))
21666 if defined $::RD_TRACE;
21670 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21672 Parse::RecDescent::_tracefirst($text))
21673 if defined $::RD_TRACE;
21674 push @item, $item{__PATTERN2__}=$&;
21678 Parse::RecDescent::_trace(q{>>Matched production: [/WITH/i /CASCADED/i, or /LOCAL/i /CHECK\\s+OPTION/i]<<},
21679 Parse::RecDescent::_tracefirst($text),
21682 if defined $::RD_TRACE;
21688 unless ( $_matched || defined($return) || defined($score) )
21692 $_[1] = $text; # NOT SURE THIS IS NEEDED
21693 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
21694 Parse::RecDescent::_tracefirst($_[1]),
21697 if defined $::RD_TRACE;
21700 if (!defined($return) && defined($score))
21702 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
21705 if defined $::RD_TRACE;
21706 $return = $score_return;
21708 splice @{$thisparser->{errors}}, $err_at;
21709 $return = $item[$#item] unless defined $return;
21710 if (defined $::RD_TRACE)
21712 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
21713 $return . q{])}, "",
21716 Parse::RecDescent::_trace(q{(consumed: [} .
21717 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
21718 Parse::RecDescent::_tracefirst($text),
21726 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
21727 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::function
21729 my $thisparser = $_[0];
21730 use vars q{$tracelevel};
21731 local $tracelevel = ($tracelevel||0)+1;
21733 my $thisrule = $thisparser->{"rules"}{"function"};
21735 Parse::RecDescent::_trace(q{Trying rule: [function]},
21736 Parse::RecDescent::_tracefirst($_[1]),
21739 if defined $::RD_TRACE;
21742 my $err_at = @{$thisparser->{errors}};
21747 my $return = undef;
21752 my $repeating = defined($_[2]) && $_[2];
21753 my $_noactions = defined($_[3]) && $_[3];
21754 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
21755 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
21758 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
21759 $expectation->at($_[1]);
21762 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
21766 while (!$_matched && !$commit)
21769 Parse::RecDescent::_trace(q{Trying production: [/SYSIBM\\.|/i, or /SYSFUN\\.|/i, or userdefined_function '(' <leftop: func_args /,/ func_args> ')']},
21770 Parse::RecDescent::_tracefirst($_[1]),
21773 if defined $::RD_TRACE;
21774 my $thisprod = $thisrule->{"prods"}[0];
21777 @item = (q{function});
21778 %item = (__RULE__ => q{function});
21782 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_function]},
21783 Parse::RecDescent::_tracefirst($text),
21786 if defined $::RD_TRACE;
21787 if (1) { no strict qw{refs};
21788 $expectation->is(q{})->at($text);
21789 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
21792 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_function]>>},
21793 Parse::RecDescent::_tracefirst($text),
21796 if defined $::RD_TRACE;
21797 $expectation->failed();
21800 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_function]<< (return value: [}
21803 Parse::RecDescent::_tracefirst($text),
21806 if defined $::RD_TRACE;
21807 $item{q{_alternation_1_of_production_1_of_rule_function}} = $_tok;
21812 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
21813 Parse::RecDescent::_tracefirst($text),
21816 if defined $::RD_TRACE;
21818 $expectation->is(q{'('})->at($text);
21821 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
21824 $expectation->failed();
21825 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
21826 Parse::RecDescent::_tracefirst($text))
21827 if defined $::RD_TRACE;
21830 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21832 Parse::RecDescent::_tracefirst($text))
21833 if defined $::RD_TRACE;
21834 push @item, $item{__STRING1__}=$&;
21837 Parse::RecDescent::_trace(q{Trying operator: [<leftop: func_args /,/ func_args>]},
21838 Parse::RecDescent::_tracefirst($text),
21841 if defined $::RD_TRACE;
21842 $expectation->is(q{<leftop: func_args /,/ func_args>})->at($text);
21852 Parse::RecDescent::_trace(q{Trying subrule: [func_args]},
21853 Parse::RecDescent::_tracefirst($text),
21856 if defined $::RD_TRACE;
21857 if (1) { no strict qw{refs};
21858 $expectation->is(q{func_args})->at($text);
21859 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::func_args($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
21862 Parse::RecDescent::_trace(q{<<Didn't match subrule: [func_args]>>},
21863 Parse::RecDescent::_tracefirst($text),
21866 if defined $::RD_TRACE;
21867 $expectation->failed();
21870 Parse::RecDescent::_trace(q{>>Matched subrule: [func_args]<< (return value: [}
21873 Parse::RecDescent::_tracefirst($text),
21876 if defined $::RD_TRACE;
21877 $item{q{func_args}} = $_tok;
21885 my $savetext = $text;
21888 # MATCH (OP RIGHTARG)(s)
21889 while ($repcount < 100000000)
21893 Parse::RecDescent::_trace(q{Trying terminal: [/,/]}, Parse::RecDescent::_tracefirst($text),
21896 if defined $::RD_TRACE;
21898 $expectation->is(q{/,/})->at($text);
21901 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:,)//)
21904 $expectation->failed();
21905 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
21906 Parse::RecDescent::_tracefirst($text))
21907 if defined $::RD_TRACE;
21911 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
21913 Parse::RecDescent::_tracefirst($text))
21914 if defined $::RD_TRACE;
21915 push @item, $item{__PATTERN1__}=$&;
21919 if (defined $1) {push @item, $item{'func_args(s)'}=$1; $backtrack=1;}
21921 Parse::RecDescent::_trace(q{Trying subrule: [func_args]},
21922 Parse::RecDescent::_tracefirst($text),
21925 if defined $::RD_TRACE;
21926 if (1) { no strict qw{refs};
21927 $expectation->is(q{func_args})->at($text);
21928 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::func_args($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
21931 Parse::RecDescent::_trace(q{<<Didn't match subrule: [func_args]>>},
21932 Parse::RecDescent::_tracefirst($text),
21935 if defined $::RD_TRACE;
21936 $expectation->failed();
21939 Parse::RecDescent::_trace(q{>>Matched subrule: [func_args]<< (return value: [}
21942 Parse::RecDescent::_tracefirst($text),
21945 if defined $::RD_TRACE;
21946 $item{q{func_args}} = $_tok;
21955 pop @item if $backtrack;
21957 unless (@item) { undef $_tok; last }
21962 unless ($repcount>=1)
21964 Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: func_args /,/ func_args>]>>},
21965 Parse::RecDescent::_tracefirst($text),
21968 if defined $::RD_TRACE;
21969 $expectation->failed();
21972 Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: func_args /,/ func_args>]<< (return value: [}
21973 . qq{@{$_tok||[]}} . q{]},
21974 Parse::RecDescent::_tracefirst($text),
21977 if defined $::RD_TRACE;
21979 push @item, $item{'func_args(s)'}=$_tok||[];
21982 Parse::RecDescent::_trace(q{Trying terminal: [')']},
21983 Parse::RecDescent::_tracefirst($text),
21986 if defined $::RD_TRACE;
21988 $expectation->is(q{')'})->at($text);
21991 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
21994 $expectation->failed();
21995 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
21996 Parse::RecDescent::_tracefirst($text))
21997 if defined $::RD_TRACE;
22000 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
22002 Parse::RecDescent::_tracefirst($text))
22003 if defined $::RD_TRACE;
22004 push @item, $item{__STRING2__}=$&;
22008 Parse::RecDescent::_trace(q{>>Matched production: [/SYSIBM\\.|/i, or /SYSFUN\\.|/i, or userdefined_function '(' <leftop: func_args /,/ func_args> ')']<<},
22009 Parse::RecDescent::_tracefirst($text),
22012 if defined $::RD_TRACE;
22018 unless ( $_matched || defined($return) || defined($score) )
22022 $_[1] = $text; # NOT SURE THIS IS NEEDED
22023 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
22024 Parse::RecDescent::_tracefirst($_[1]),
22027 if defined $::RD_TRACE;
22030 if (!defined($return) && defined($score))
22032 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
22035 if defined $::RD_TRACE;
22036 $return = $score_return;
22038 splice @{$thisparser->{errors}}, $err_at;
22039 $return = $item[$#item] unless defined $return;
22040 if (defined $::RD_TRACE)
22042 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
22043 $return . q{])}, "",
22046 Parse::RecDescent::_trace(q{(consumed: [} .
22047 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
22048 Parse::RecDescent::_tracefirst($text),
22056 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
22057 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_41_of_rule_sysibm_function
22059 my $thisparser = $_[0];
22060 use vars q{$tracelevel};
22061 local $tracelevel = ($tracelevel||0)+1;
22063 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_41_of_rule_sysibm_function"};
22065 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_41_of_rule_sysibm_function]},
22066 Parse::RecDescent::_tracefirst($_[1]),
22067 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22069 if defined $::RD_TRACE;
22072 my $err_at = @{$thisparser->{errors}};
22077 my $return = undef;
22082 my $repeating = defined($_[2]) && $_[2];
22083 my $_noactions = defined($_[3]) && $_[3];
22084 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
22085 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
22088 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
22089 $expectation->at($_[1]);
22092 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
22096 while (!$_matched && !$commit)
22099 Parse::RecDescent::_trace(q{Trying production: [/INTEGER/i]},
22100 Parse::RecDescent::_tracefirst($_[1]),
22101 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22103 if defined $::RD_TRACE;
22104 my $thisprod = $thisrule->{"prods"}[0];
22107 @item = (q{_alternation_1_of_production_41_of_rule_sysibm_function});
22108 %item = (__RULE__ => q{_alternation_1_of_production_41_of_rule_sysibm_function});
22112 Parse::RecDescent::_trace(q{Trying terminal: [/INTEGER/i]}, Parse::RecDescent::_tracefirst($text),
22113 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22115 if defined $::RD_TRACE;
22117 $expectation->is(q{})->at($text);
22120 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:INTEGER)//i)
22123 $expectation->failed();
22124 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
22125 Parse::RecDescent::_tracefirst($text))
22126 if defined $::RD_TRACE;
22130 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
22132 Parse::RecDescent::_tracefirst($text))
22133 if defined $::RD_TRACE;
22134 push @item, $item{__PATTERN1__}=$&;
22138 Parse::RecDescent::_trace(q{>>Matched production: [/INTEGER/i]<<},
22139 Parse::RecDescent::_tracefirst($text),
22140 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22142 if defined $::RD_TRACE;
22148 while (!$_matched && !$commit)
22151 Parse::RecDescent::_trace(q{Trying production: [/INT/]},
22152 Parse::RecDescent::_tracefirst($_[1]),
22153 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22155 if defined $::RD_TRACE;
22156 my $thisprod = $thisrule->{"prods"}[1];
22159 @item = (q{_alternation_1_of_production_41_of_rule_sysibm_function});
22160 %item = (__RULE__ => q{_alternation_1_of_production_41_of_rule_sysibm_function});
22164 Parse::RecDescent::_trace(q{Trying terminal: [/INT/]}, Parse::RecDescent::_tracefirst($text),
22165 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22167 if defined $::RD_TRACE;
22169 $expectation->is(q{})->at($text);
22172 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:INT)//)
22175 $expectation->failed();
22176 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
22177 Parse::RecDescent::_tracefirst($text))
22178 if defined $::RD_TRACE;
22182 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
22184 Parse::RecDescent::_tracefirst($text))
22185 if defined $::RD_TRACE;
22186 push @item, $item{__PATTERN1__}=$&;
22190 Parse::RecDescent::_trace(q{>>Matched production: [/INT/]<<},
22191 Parse::RecDescent::_tracefirst($text),
22192 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22194 if defined $::RD_TRACE;
22200 unless ( $_matched || defined($return) || defined($score) )
22204 $_[1] = $text; # NOT SURE THIS IS NEEDED
22205 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
22206 Parse::RecDescent::_tracefirst($_[1]),
22207 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22209 if defined $::RD_TRACE;
22212 if (!defined($return) && defined($score))
22214 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
22215 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22217 if defined $::RD_TRACE;
22218 $return = $score_return;
22220 splice @{$thisparser->{errors}}, $err_at;
22221 $return = $item[$#item] unless defined $return;
22222 if (defined $::RD_TRACE)
22224 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
22225 $return . q{])}, "",
22226 q{_alternation_1_of_production_41_of_rule_sysibm_function},
22228 Parse::RecDescent::_trace(q{(consumed: [} .
22229 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
22230 Parse::RecDescent::_tracefirst($text),
22231 , q{_alternation_1_of_production_41_of_rule_sysibm_function},
22238 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
22239 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_case_expression
22241 my $thisparser = $_[0];
22242 use vars q{$tracelevel};
22243 local $tracelevel = ($tracelevel||0)+1;
22245 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_case_expression"};
22247 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_case_expression]},
22248 Parse::RecDescent::_tracefirst($_[1]),
22249 q{_alternation_1_of_production_1_of_rule_case_expression},
22251 if defined $::RD_TRACE;
22254 my $err_at = @{$thisparser->{errors}};
22259 my $return = undef;
22264 my $repeating = defined($_[2]) && $_[2];
22265 my $_noactions = defined($_[3]) && $_[3];
22266 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
22267 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
22270 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
22271 $expectation->at($_[1]);
22274 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
22278 while (!$_matched && !$commit)
22281 Parse::RecDescent::_trace(q{Trying production: [searched_when_clause]},
22282 Parse::RecDescent::_tracefirst($_[1]),
22283 q{_alternation_1_of_production_1_of_rule_case_expression},
22285 if defined $::RD_TRACE;
22286 my $thisprod = $thisrule->{"prods"}[0];
22289 @item = (q{_alternation_1_of_production_1_of_rule_case_expression});
22290 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_case_expression});
22294 Parse::RecDescent::_trace(q{Trying subrule: [searched_when_clause]},
22295 Parse::RecDescent::_tracefirst($text),
22296 q{_alternation_1_of_production_1_of_rule_case_expression},
22298 if defined $::RD_TRACE;
22299 if (1) { no strict qw{refs};
22300 $expectation->is(q{})->at($text);
22301 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::searched_when_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22304 Parse::RecDescent::_trace(q{<<Didn't match subrule: [searched_when_clause]>>},
22305 Parse::RecDescent::_tracefirst($text),
22306 q{_alternation_1_of_production_1_of_rule_case_expression},
22308 if defined $::RD_TRACE;
22309 $expectation->failed();
22312 Parse::RecDescent::_trace(q{>>Matched subrule: [searched_when_clause]<< (return value: [}
22315 Parse::RecDescent::_tracefirst($text),
22316 q{_alternation_1_of_production_1_of_rule_case_expression},
22318 if defined $::RD_TRACE;
22319 $item{q{searched_when_clause}} = $_tok;
22325 Parse::RecDescent::_trace(q{>>Matched production: [searched_when_clause]<<},
22326 Parse::RecDescent::_tracefirst($text),
22327 q{_alternation_1_of_production_1_of_rule_case_expression},
22329 if defined $::RD_TRACE;
22335 while (!$_matched && !$commit)
22338 Parse::RecDescent::_trace(q{Trying production: [simple_when_clause]},
22339 Parse::RecDescent::_tracefirst($_[1]),
22340 q{_alternation_1_of_production_1_of_rule_case_expression},
22342 if defined $::RD_TRACE;
22343 my $thisprod = $thisrule->{"prods"}[1];
22346 @item = (q{_alternation_1_of_production_1_of_rule_case_expression});
22347 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_case_expression});
22351 Parse::RecDescent::_trace(q{Trying subrule: [simple_when_clause]},
22352 Parse::RecDescent::_tracefirst($text),
22353 q{_alternation_1_of_production_1_of_rule_case_expression},
22355 if defined $::RD_TRACE;
22356 if (1) { no strict qw{refs};
22357 $expectation->is(q{})->at($text);
22358 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::simple_when_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22361 Parse::RecDescent::_trace(q{<<Didn't match subrule: [simple_when_clause]>>},
22362 Parse::RecDescent::_tracefirst($text),
22363 q{_alternation_1_of_production_1_of_rule_case_expression},
22365 if defined $::RD_TRACE;
22366 $expectation->failed();
22369 Parse::RecDescent::_trace(q{>>Matched subrule: [simple_when_clause]<< (return value: [}
22372 Parse::RecDescent::_tracefirst($text),
22373 q{_alternation_1_of_production_1_of_rule_case_expression},
22375 if defined $::RD_TRACE;
22376 $item{q{simple_when_clause}} = $_tok;
22382 Parse::RecDescent::_trace(q{>>Matched production: [simple_when_clause]<<},
22383 Parse::RecDescent::_tracefirst($text),
22384 q{_alternation_1_of_production_1_of_rule_case_expression},
22386 if defined $::RD_TRACE;
22392 unless ( $_matched || defined($return) || defined($score) )
22396 $_[1] = $text; # NOT SURE THIS IS NEEDED
22397 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
22398 Parse::RecDescent::_tracefirst($_[1]),
22399 q{_alternation_1_of_production_1_of_rule_case_expression},
22401 if defined $::RD_TRACE;
22404 if (!defined($return) && defined($score))
22406 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
22407 q{_alternation_1_of_production_1_of_rule_case_expression},
22409 if defined $::RD_TRACE;
22410 $return = $score_return;
22412 splice @{$thisparser->{errors}}, $err_at;
22413 $return = $item[$#item] unless defined $return;
22414 if (defined $::RD_TRACE)
22416 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
22417 $return . q{])}, "",
22418 q{_alternation_1_of_production_1_of_rule_case_expression},
22420 Parse::RecDescent::_trace(q{(consumed: [} .
22421 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
22422 Parse::RecDescent::_tracefirst($text),
22423 , q{_alternation_1_of_production_1_of_rule_case_expression},
22430 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
22431 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_window_order_clause
22433 my $thisparser = $_[0];
22434 use vars q{$tracelevel};
22435 local $tracelevel = ($tracelevel||0)+1;
22437 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_window_order_clause"};
22439 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_window_order_clause]},
22440 Parse::RecDescent::_tracefirst($_[1]),
22441 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22443 if defined $::RD_TRACE;
22446 my $err_at = @{$thisparser->{errors}};
22451 my $return = undef;
22456 my $repeating = defined($_[2]) && $_[2];
22457 my $_noactions = defined($_[3]) && $_[3];
22458 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
22459 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
22462 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
22463 $expectation->at($_[1]);
22466 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
22470 while (!$_matched && !$commit)
22473 Parse::RecDescent::_trace(q{Trying production: [sort_key_expression asc_option, or desc_option]},
22474 Parse::RecDescent::_tracefirst($_[1]),
22475 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22477 if defined $::RD_TRACE;
22478 my $thisprod = $thisrule->{"prods"}[0];
22481 @item = (q{_alternation_1_of_production_1_of_rule_window_order_clause});
22482 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_window_order_clause});
22486 Parse::RecDescent::_trace(q{Trying subrule: [sort_key_expression]},
22487 Parse::RecDescent::_tracefirst($text),
22488 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22490 if defined $::RD_TRACE;
22491 if (1) { no strict qw{refs};
22492 $expectation->is(q{})->at($text);
22493 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sort_key_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22496 Parse::RecDescent::_trace(q{<<Didn't match subrule: [sort_key_expression]>>},
22497 Parse::RecDescent::_tracefirst($text),
22498 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22500 if defined $::RD_TRACE;
22501 $expectation->failed();
22504 Parse::RecDescent::_trace(q{>>Matched subrule: [sort_key_expression]<< (return value: [}
22507 Parse::RecDescent::_tracefirst($text),
22508 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22510 if defined $::RD_TRACE;
22511 $item{q{sort_key_expression}} = $_tok;
22516 Parse::RecDescent::_trace(q{Trying repeated subrule: [asc_option, or desc_option]},
22517 Parse::RecDescent::_tracefirst($text),
22518 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22520 if defined $::RD_TRACE;
22521 $expectation->is(q{asc_option, or desc_option})->at($text);
22523 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause, 0, 1, $_noactions,$expectation,undef)))
22525 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [asc_option, or desc_option]>>},
22526 Parse::RecDescent::_tracefirst($text),
22527 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22529 if defined $::RD_TRACE;
22532 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause]<< (}
22533 . @$_tok . q{ times)},
22535 Parse::RecDescent::_tracefirst($text),
22536 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22538 if defined $::RD_TRACE;
22539 $item{q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause(?)}} = $_tok;
22545 Parse::RecDescent::_trace(q{>>Matched production: [sort_key_expression asc_option, or desc_option]<<},
22546 Parse::RecDescent::_tracefirst($text),
22547 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22549 if defined $::RD_TRACE;
22555 unless ( $_matched || defined($return) || defined($score) )
22559 $_[1] = $text; # NOT SURE THIS IS NEEDED
22560 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
22561 Parse::RecDescent::_tracefirst($_[1]),
22562 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22564 if defined $::RD_TRACE;
22567 if (!defined($return) && defined($score))
22569 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
22570 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22572 if defined $::RD_TRACE;
22573 $return = $score_return;
22575 splice @{$thisparser->{errors}}, $err_at;
22576 $return = $item[$#item] unless defined $return;
22577 if (defined $::RD_TRACE)
22579 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
22580 $return . q{])}, "",
22581 q{_alternation_1_of_production_1_of_rule_window_order_clause},
22583 Parse::RecDescent::_trace(q{(consumed: [} .
22584 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
22585 Parse::RecDescent::_tracefirst($text),
22586 , q{_alternation_1_of_production_1_of_rule_window_order_clause},
22593 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
22594 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::create
22596 my $thisparser = $_[0];
22597 use vars q{$tracelevel};
22598 local $tracelevel = ($tracelevel||0)+1;
22600 my $thisrule = $thisparser->{"rules"}{"create"};
22602 Parse::RecDescent::_trace(q{Trying rule: [create]},
22603 Parse::RecDescent::_tracefirst($_[1]),
22606 if defined $::RD_TRACE;
22609 my $err_at = @{$thisparser->{errors}};
22614 my $return = undef;
22619 my $repeating = defined($_[2]) && $_[2];
22620 my $_noactions = defined($_[3]) && $_[3];
22621 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
22622 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
22625 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
22626 $expectation->at($_[1]);
22629 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
22633 while (!$_matched && !$commit)
22636 Parse::RecDescent::_trace(q{Trying production: [CREATE TRIGGER trigger_name before type /ON/i table_name reference_b /FOR EACH ROW/i 'MODE DB2SQL' triggered_action]},
22637 Parse::RecDescent::_tracefirst($_[1]),
22640 if defined $::RD_TRACE;
22641 my $thisprod = $thisrule->{"prods"}[0];
22644 @item = (q{create});
22645 %item = (__RULE__ => q{create});
22649 Parse::RecDescent::_trace(q{Trying subrule: [CREATE]},
22650 Parse::RecDescent::_tracefirst($text),
22653 if defined $::RD_TRACE;
22654 if (1) { no strict qw{refs};
22655 $expectation->is(q{})->at($text);
22656 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::CREATE($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22659 Parse::RecDescent::_trace(q{<<Didn't match subrule: [CREATE]>>},
22660 Parse::RecDescent::_tracefirst($text),
22663 if defined $::RD_TRACE;
22664 $expectation->failed();
22667 Parse::RecDescent::_trace(q{>>Matched subrule: [CREATE]<< (return value: [}
22670 Parse::RecDescent::_tracefirst($text),
22673 if defined $::RD_TRACE;
22674 $item{q{CREATE}} = $_tok;
22679 Parse::RecDescent::_trace(q{Trying subrule: [TRIGGER]},
22680 Parse::RecDescent::_tracefirst($text),
22683 if defined $::RD_TRACE;
22684 if (1) { no strict qw{refs};
22685 $expectation->is(q{TRIGGER})->at($text);
22686 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::TRIGGER($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22689 Parse::RecDescent::_trace(q{<<Didn't match subrule: [TRIGGER]>>},
22690 Parse::RecDescent::_tracefirst($text),
22693 if defined $::RD_TRACE;
22694 $expectation->failed();
22697 Parse::RecDescent::_trace(q{>>Matched subrule: [TRIGGER]<< (return value: [}
22700 Parse::RecDescent::_tracefirst($text),
22703 if defined $::RD_TRACE;
22704 $item{q{TRIGGER}} = $_tok;
22709 Parse::RecDescent::_trace(q{Trying subrule: [trigger_name]},
22710 Parse::RecDescent::_tracefirst($text),
22713 if defined $::RD_TRACE;
22714 if (1) { no strict qw{refs};
22715 $expectation->is(q{trigger_name})->at($text);
22716 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::trigger_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22719 Parse::RecDescent::_trace(q{<<Didn't match subrule: [trigger_name]>>},
22720 Parse::RecDescent::_tracefirst($text),
22723 if defined $::RD_TRACE;
22724 $expectation->failed();
22727 Parse::RecDescent::_trace(q{>>Matched subrule: [trigger_name]<< (return value: [}
22730 Parse::RecDescent::_tracefirst($text),
22733 if defined $::RD_TRACE;
22734 $item{q{trigger_name}} = $_tok;
22739 Parse::RecDescent::_trace(q{Trying subrule: [before]},
22740 Parse::RecDescent::_tracefirst($text),
22743 if defined $::RD_TRACE;
22744 if (1) { no strict qw{refs};
22745 $expectation->is(q{before})->at($text);
22746 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::before($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22749 Parse::RecDescent::_trace(q{<<Didn't match subrule: [before]>>},
22750 Parse::RecDescent::_tracefirst($text),
22753 if defined $::RD_TRACE;
22754 $expectation->failed();
22757 Parse::RecDescent::_trace(q{>>Matched subrule: [before]<< (return value: [}
22760 Parse::RecDescent::_tracefirst($text),
22763 if defined $::RD_TRACE;
22764 $item{q{before}} = $_tok;
22769 Parse::RecDescent::_trace(q{Trying subrule: [type]},
22770 Parse::RecDescent::_tracefirst($text),
22773 if defined $::RD_TRACE;
22774 if (1) { no strict qw{refs};
22775 $expectation->is(q{type})->at($text);
22776 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::type($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22779 Parse::RecDescent::_trace(q{<<Didn't match subrule: [type]>>},
22780 Parse::RecDescent::_tracefirst($text),
22783 if defined $::RD_TRACE;
22784 $expectation->failed();
22787 Parse::RecDescent::_trace(q{>>Matched subrule: [type]<< (return value: [}
22790 Parse::RecDescent::_tracefirst($text),
22793 if defined $::RD_TRACE;
22794 $item{q{type}} = $_tok;
22799 Parse::RecDescent::_trace(q{Trying terminal: [/ON/i]}, Parse::RecDescent::_tracefirst($text),
22802 if defined $::RD_TRACE;
22804 $expectation->is(q{/ON/i})->at($text);
22807 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ON)//i)
22810 $expectation->failed();
22811 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
22812 Parse::RecDescent::_tracefirst($text))
22813 if defined $::RD_TRACE;
22817 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
22819 Parse::RecDescent::_tracefirst($text))
22820 if defined $::RD_TRACE;
22821 push @item, $item{__PATTERN1__}=$&;
22824 Parse::RecDescent::_trace(q{Trying subrule: [table_name]},
22825 Parse::RecDescent::_tracefirst($text),
22828 if defined $::RD_TRACE;
22829 if (1) { no strict qw{refs};
22830 $expectation->is(q{table_name})->at($text);
22831 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::table_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22834 Parse::RecDescent::_trace(q{<<Didn't match subrule: [table_name]>>},
22835 Parse::RecDescent::_tracefirst($text),
22838 if defined $::RD_TRACE;
22839 $expectation->failed();
22842 Parse::RecDescent::_trace(q{>>Matched subrule: [table_name]<< (return value: [}
22845 Parse::RecDescent::_tracefirst($text),
22848 if defined $::RD_TRACE;
22849 $item{q{table_name}} = $_tok;
22854 Parse::RecDescent::_trace(q{Trying repeated subrule: [reference_b]},
22855 Parse::RecDescent::_tracefirst($text),
22858 if defined $::RD_TRACE;
22859 $expectation->is(q{reference_b})->at($text);
22861 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::reference_b, 0, 1, $_noactions,$expectation,undef)))
22863 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [reference_b]>>},
22864 Parse::RecDescent::_tracefirst($text),
22867 if defined $::RD_TRACE;
22870 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [reference_b]<< (}
22871 . @$_tok . q{ times)},
22873 Parse::RecDescent::_tracefirst($text),
22876 if defined $::RD_TRACE;
22877 $item{q{reference_b(?)}} = $_tok;
22882 Parse::RecDescent::_trace(q{Trying terminal: [/FOR EACH ROW/i]}, Parse::RecDescent::_tracefirst($text),
22885 if defined $::RD_TRACE;
22887 $expectation->is(q{/FOR EACH ROW/i})->at($text);
22890 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FOR EACH ROW)//i)
22893 $expectation->failed();
22894 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
22895 Parse::RecDescent::_tracefirst($text))
22896 if defined $::RD_TRACE;
22900 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
22902 Parse::RecDescent::_tracefirst($text))
22903 if defined $::RD_TRACE;
22904 push @item, $item{__PATTERN2__}=$&;
22907 Parse::RecDescent::_trace(q{Trying terminal: ['MODE DB2SQL']},
22908 Parse::RecDescent::_tracefirst($text),
22911 if defined $::RD_TRACE;
22913 $expectation->is(q{'MODE DB2SQL'})->at($text);
22916 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\AMODE\ DB2SQL//)
22919 $expectation->failed();
22920 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
22921 Parse::RecDescent::_tracefirst($text))
22922 if defined $::RD_TRACE;
22925 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
22927 Parse::RecDescent::_tracefirst($text))
22928 if defined $::RD_TRACE;
22929 push @item, $item{__STRING1__}=$&;
22932 Parse::RecDescent::_trace(q{Trying subrule: [triggered_action]},
22933 Parse::RecDescent::_tracefirst($text),
22936 if defined $::RD_TRACE;
22937 if (1) { no strict qw{refs};
22938 $expectation->is(q{triggered_action})->at($text);
22939 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::triggered_action($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
22942 Parse::RecDescent::_trace(q{<<Didn't match subrule: [triggered_action]>>},
22943 Parse::RecDescent::_tracefirst($text),
22946 if defined $::RD_TRACE;
22947 $expectation->failed();
22950 Parse::RecDescent::_trace(q{>>Matched subrule: [triggered_action]<< (return value: [}
22953 Parse::RecDescent::_tracefirst($text),
22956 if defined $::RD_TRACE;
22957 $item{q{triggered_action}} = $_tok;
22962 Parse::RecDescent::_trace(q{Trying action},
22963 Parse::RecDescent::_tracefirst($text),
22966 if defined $::RD_TRACE;
22969 $_tok = ($_noactions) ? 0 : do {
22970 my $table_name = $item{'table_name'}{'name'};
22972 table => $table_name,
22973 schema => $item{'trigger_name'}{'schema'},
22974 name => $item{'trigger_name'}{'name'},
22976 db_event => $item{'type'}->{'event'},
22977 fields => $item{'type'}{'fields'},
22978 condition => $item{'triggered_action'}{'condition'},
22979 reference => $item{'reference_b'},
22980 granularity => $item[9],
22981 action => $item{'triggered_action'}{'statement'}
22984 push @triggers, $return;
22986 unless (defined $_tok)
22988 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
22989 if defined $::RD_TRACE;
22992 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
22994 Parse::RecDescent::_tracefirst($text))
22995 if defined $::RD_TRACE;
22997 $item{__ACTION1__}=$_tok;
23001 Parse::RecDescent::_trace(q{>>Matched production: [CREATE TRIGGER trigger_name before type /ON/i table_name reference_b /FOR EACH ROW/i 'MODE DB2SQL' triggered_action]<<},
23002 Parse::RecDescent::_tracefirst($text),
23005 if defined $::RD_TRACE;
23011 while (!$_matched && !$commit)
23014 Parse::RecDescent::_trace(q{Trying production: [CREATE TRIGGER trigger_name after type /ON/i table_name reference_a /FOR EACH ROW|FOR EACH STATEMENT/i 'MODE DB2SQL' triggered_action]},
23015 Parse::RecDescent::_tracefirst($_[1]),
23018 if defined $::RD_TRACE;
23019 my $thisprod = $thisrule->{"prods"}[1];
23022 @item = (q{create});
23023 %item = (__RULE__ => q{create});
23027 Parse::RecDescent::_trace(q{Trying subrule: [CREATE]},
23028 Parse::RecDescent::_tracefirst($text),
23031 if defined $::RD_TRACE;
23032 if (1) { no strict qw{refs};
23033 $expectation->is(q{})->at($text);
23034 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::CREATE($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23037 Parse::RecDescent::_trace(q{<<Didn't match subrule: [CREATE]>>},
23038 Parse::RecDescent::_tracefirst($text),
23041 if defined $::RD_TRACE;
23042 $expectation->failed();
23045 Parse::RecDescent::_trace(q{>>Matched subrule: [CREATE]<< (return value: [}
23048 Parse::RecDescent::_tracefirst($text),
23051 if defined $::RD_TRACE;
23052 $item{q{CREATE}} = $_tok;
23057 Parse::RecDescent::_trace(q{Trying subrule: [TRIGGER]},
23058 Parse::RecDescent::_tracefirst($text),
23061 if defined $::RD_TRACE;
23062 if (1) { no strict qw{refs};
23063 $expectation->is(q{TRIGGER})->at($text);
23064 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::TRIGGER($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23067 Parse::RecDescent::_trace(q{<<Didn't match subrule: [TRIGGER]>>},
23068 Parse::RecDescent::_tracefirst($text),
23071 if defined $::RD_TRACE;
23072 $expectation->failed();
23075 Parse::RecDescent::_trace(q{>>Matched subrule: [TRIGGER]<< (return value: [}
23078 Parse::RecDescent::_tracefirst($text),
23081 if defined $::RD_TRACE;
23082 $item{q{TRIGGER}} = $_tok;
23087 Parse::RecDescent::_trace(q{Trying subrule: [trigger_name]},
23088 Parse::RecDescent::_tracefirst($text),
23091 if defined $::RD_TRACE;
23092 if (1) { no strict qw{refs};
23093 $expectation->is(q{trigger_name})->at($text);
23094 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::trigger_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23097 Parse::RecDescent::_trace(q{<<Didn't match subrule: [trigger_name]>>},
23098 Parse::RecDescent::_tracefirst($text),
23101 if defined $::RD_TRACE;
23102 $expectation->failed();
23105 Parse::RecDescent::_trace(q{>>Matched subrule: [trigger_name]<< (return value: [}
23108 Parse::RecDescent::_tracefirst($text),
23111 if defined $::RD_TRACE;
23112 $item{q{trigger_name}} = $_tok;
23117 Parse::RecDescent::_trace(q{Trying subrule: [after]},
23118 Parse::RecDescent::_tracefirst($text),
23121 if defined $::RD_TRACE;
23122 if (1) { no strict qw{refs};
23123 $expectation->is(q{after})->at($text);
23124 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::after($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23127 Parse::RecDescent::_trace(q{<<Didn't match subrule: [after]>>},
23128 Parse::RecDescent::_tracefirst($text),
23131 if defined $::RD_TRACE;
23132 $expectation->failed();
23135 Parse::RecDescent::_trace(q{>>Matched subrule: [after]<< (return value: [}
23138 Parse::RecDescent::_tracefirst($text),
23141 if defined $::RD_TRACE;
23142 $item{q{after}} = $_tok;
23147 Parse::RecDescent::_trace(q{Trying subrule: [type]},
23148 Parse::RecDescent::_tracefirst($text),
23151 if defined $::RD_TRACE;
23152 if (1) { no strict qw{refs};
23153 $expectation->is(q{type})->at($text);
23154 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::type($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23157 Parse::RecDescent::_trace(q{<<Didn't match subrule: [type]>>},
23158 Parse::RecDescent::_tracefirst($text),
23161 if defined $::RD_TRACE;
23162 $expectation->failed();
23165 Parse::RecDescent::_trace(q{>>Matched subrule: [type]<< (return value: [}
23168 Parse::RecDescent::_tracefirst($text),
23171 if defined $::RD_TRACE;
23172 $item{q{type}} = $_tok;
23177 Parse::RecDescent::_trace(q{Trying terminal: [/ON/i]}, Parse::RecDescent::_tracefirst($text),
23180 if defined $::RD_TRACE;
23182 $expectation->is(q{/ON/i})->at($text);
23185 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ON)//i)
23188 $expectation->failed();
23189 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23190 Parse::RecDescent::_tracefirst($text))
23191 if defined $::RD_TRACE;
23195 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23197 Parse::RecDescent::_tracefirst($text))
23198 if defined $::RD_TRACE;
23199 push @item, $item{__PATTERN1__}=$&;
23202 Parse::RecDescent::_trace(q{Trying subrule: [table_name]},
23203 Parse::RecDescent::_tracefirst($text),
23206 if defined $::RD_TRACE;
23207 if (1) { no strict qw{refs};
23208 $expectation->is(q{table_name})->at($text);
23209 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::table_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23212 Parse::RecDescent::_trace(q{<<Didn't match subrule: [table_name]>>},
23213 Parse::RecDescent::_tracefirst($text),
23216 if defined $::RD_TRACE;
23217 $expectation->failed();
23220 Parse::RecDescent::_trace(q{>>Matched subrule: [table_name]<< (return value: [}
23223 Parse::RecDescent::_tracefirst($text),
23226 if defined $::RD_TRACE;
23227 $item{q{table_name}} = $_tok;
23232 Parse::RecDescent::_trace(q{Trying repeated subrule: [reference_a]},
23233 Parse::RecDescent::_tracefirst($text),
23236 if defined $::RD_TRACE;
23237 $expectation->is(q{reference_a})->at($text);
23239 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::reference_a, 0, 1, $_noactions,$expectation,undef)))
23241 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [reference_a]>>},
23242 Parse::RecDescent::_tracefirst($text),
23245 if defined $::RD_TRACE;
23248 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [reference_a]<< (}
23249 . @$_tok . q{ times)},
23251 Parse::RecDescent::_tracefirst($text),
23254 if defined $::RD_TRACE;
23255 $item{q{reference_a(?)}} = $_tok;
23260 Parse::RecDescent::_trace(q{Trying terminal: [/FOR EACH ROW|FOR EACH STATEMENT/i]}, Parse::RecDescent::_tracefirst($text),
23263 if defined $::RD_TRACE;
23265 $expectation->is(q{/FOR EACH ROW|FOR EACH STATEMENT/i})->at($text);
23268 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FOR EACH ROW|FOR EACH STATEMENT)//i)
23271 $expectation->failed();
23272 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23273 Parse::RecDescent::_tracefirst($text))
23274 if defined $::RD_TRACE;
23278 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23280 Parse::RecDescent::_tracefirst($text))
23281 if defined $::RD_TRACE;
23282 push @item, $item{__PATTERN2__}=$&;
23285 Parse::RecDescent::_trace(q{Trying terminal: ['MODE DB2SQL']},
23286 Parse::RecDescent::_tracefirst($text),
23289 if defined $::RD_TRACE;
23291 $expectation->is(q{'MODE DB2SQL'})->at($text);
23294 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\AMODE\ DB2SQL//)
23297 $expectation->failed();
23298 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
23299 Parse::RecDescent::_tracefirst($text))
23300 if defined $::RD_TRACE;
23303 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23305 Parse::RecDescent::_tracefirst($text))
23306 if defined $::RD_TRACE;
23307 push @item, $item{__STRING1__}=$&;
23310 Parse::RecDescent::_trace(q{Trying subrule: [triggered_action]},
23311 Parse::RecDescent::_tracefirst($text),
23314 if defined $::RD_TRACE;
23315 if (1) { no strict qw{refs};
23316 $expectation->is(q{triggered_action})->at($text);
23317 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::triggered_action($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23320 Parse::RecDescent::_trace(q{<<Didn't match subrule: [triggered_action]>>},
23321 Parse::RecDescent::_tracefirst($text),
23324 if defined $::RD_TRACE;
23325 $expectation->failed();
23328 Parse::RecDescent::_trace(q{>>Matched subrule: [triggered_action]<< (return value: [}
23331 Parse::RecDescent::_tracefirst($text),
23334 if defined $::RD_TRACE;
23335 $item{q{triggered_action}} = $_tok;
23340 Parse::RecDescent::_trace(q{Trying action},
23341 Parse::RecDescent::_tracefirst($text),
23344 if defined $::RD_TRACE;
23347 $_tok = ($_noactions) ? 0 : do {
23348 my $table_name = $item{'table_name'}{'name'};
23350 table => $table_name,
23351 schema => $item{'trigger_name'}{'schema'},
23352 name => $item{'trigger_name'}{'name'},
23354 db_event => $item{'type'}{'event'},
23355 fields => $item{'type'}{'fields'},
23356 condition => $item{'triggered_action'}{'condition'},
23357 reference => $item{'reference_a'},
23358 granularity => $item[9],
23359 action => $item{'triggered_action'}{'statement'}
23362 push @triggers, $return;
23364 unless (defined $_tok)
23366 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
23367 if defined $::RD_TRACE;
23370 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
23372 Parse::RecDescent::_tracefirst($text))
23373 if defined $::RD_TRACE;
23375 $item{__ACTION1__}=$_tok;
23379 Parse::RecDescent::_trace(q{>>Matched production: [CREATE TRIGGER trigger_name after type /ON/i table_name reference_a /FOR EACH ROW|FOR EACH STATEMENT/i 'MODE DB2SQL' triggered_action]<<},
23380 Parse::RecDescent::_tracefirst($text),
23383 if defined $::RD_TRACE;
23389 while (!$_matched && !$commit)
23392 Parse::RecDescent::_trace(q{Trying production: [CREATE /FEDERATED|/i VIEW view_name column_list /AS/i with_expression SQL_procedure_statement]},
23393 Parse::RecDescent::_tracefirst($_[1]),
23396 if defined $::RD_TRACE;
23397 my $thisprod = $thisrule->{"prods"}[2];
23400 @item = (q{create});
23401 %item = (__RULE__ => q{create});
23405 Parse::RecDescent::_trace(q{Trying subrule: [CREATE]},
23406 Parse::RecDescent::_tracefirst($text),
23409 if defined $::RD_TRACE;
23410 if (1) { no strict qw{refs};
23411 $expectation->is(q{})->at($text);
23412 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::CREATE($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23415 Parse::RecDescent::_trace(q{<<Didn't match subrule: [CREATE]>>},
23416 Parse::RecDescent::_tracefirst($text),
23419 if defined $::RD_TRACE;
23420 $expectation->failed();
23423 Parse::RecDescent::_trace(q{>>Matched subrule: [CREATE]<< (return value: [}
23426 Parse::RecDescent::_tracefirst($text),
23429 if defined $::RD_TRACE;
23430 $item{q{CREATE}} = $_tok;
23435 Parse::RecDescent::_trace(q{Trying terminal: [/FEDERATED|/i]}, Parse::RecDescent::_tracefirst($text),
23438 if defined $::RD_TRACE;
23440 $expectation->is(q{/FEDERATED|/i})->at($text);
23443 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FEDERATED|)//i)
23446 $expectation->failed();
23447 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23448 Parse::RecDescent::_tracefirst($text))
23449 if defined $::RD_TRACE;
23453 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23455 Parse::RecDescent::_tracefirst($text))
23456 if defined $::RD_TRACE;
23457 push @item, $item{__PATTERN1__}=$&;
23460 Parse::RecDescent::_trace(q{Trying subrule: [VIEW]},
23461 Parse::RecDescent::_tracefirst($text),
23464 if defined $::RD_TRACE;
23465 if (1) { no strict qw{refs};
23466 $expectation->is(q{VIEW})->at($text);
23467 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::VIEW($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23470 Parse::RecDescent::_trace(q{<<Didn't match subrule: [VIEW]>>},
23471 Parse::RecDescent::_tracefirst($text),
23474 if defined $::RD_TRACE;
23475 $expectation->failed();
23478 Parse::RecDescent::_trace(q{>>Matched subrule: [VIEW]<< (return value: [}
23481 Parse::RecDescent::_tracefirst($text),
23484 if defined $::RD_TRACE;
23485 $item{q{VIEW}} = $_tok;
23490 Parse::RecDescent::_trace(q{Trying subrule: [view_name]},
23491 Parse::RecDescent::_tracefirst($text),
23494 if defined $::RD_TRACE;
23495 if (1) { no strict qw{refs};
23496 $expectation->is(q{view_name})->at($text);
23497 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::view_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23500 Parse::RecDescent::_trace(q{<<Didn't match subrule: [view_name]>>},
23501 Parse::RecDescent::_tracefirst($text),
23504 if defined $::RD_TRACE;
23505 $expectation->failed();
23508 Parse::RecDescent::_trace(q{>>Matched subrule: [view_name]<< (return value: [}
23511 Parse::RecDescent::_tracefirst($text),
23514 if defined $::RD_TRACE;
23515 $item{q{view_name}} = $_tok;
23520 Parse::RecDescent::_trace(q{Trying repeated subrule: [column_list]},
23521 Parse::RecDescent::_tracefirst($text),
23524 if defined $::RD_TRACE;
23525 $expectation->is(q{column_list})->at($text);
23527 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_list, 0, 1, $_noactions,$expectation,undef)))
23529 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [column_list]>>},
23530 Parse::RecDescent::_tracefirst($text),
23533 if defined $::RD_TRACE;
23536 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [column_list]<< (}
23537 . @$_tok . q{ times)},
23539 Parse::RecDescent::_tracefirst($text),
23542 if defined $::RD_TRACE;
23543 $item{q{column_list(?)}} = $_tok;
23548 Parse::RecDescent::_trace(q{Trying terminal: [/AS/i]}, Parse::RecDescent::_tracefirst($text),
23551 if defined $::RD_TRACE;
23553 $expectation->is(q{/AS/i})->at($text);
23556 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AS)//i)
23559 $expectation->failed();
23560 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23561 Parse::RecDescent::_tracefirst($text))
23562 if defined $::RD_TRACE;
23566 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23568 Parse::RecDescent::_tracefirst($text))
23569 if defined $::RD_TRACE;
23570 push @item, $item{__PATTERN2__}=$&;
23573 Parse::RecDescent::_trace(q{Trying repeated subrule: [with_expression]},
23574 Parse::RecDescent::_tracefirst($text),
23577 if defined $::RD_TRACE;
23578 $expectation->is(q{with_expression})->at($text);
23580 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::with_expression, 0, 1, $_noactions,$expectation,undef)))
23582 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [with_expression]>>},
23583 Parse::RecDescent::_tracefirst($text),
23586 if defined $::RD_TRACE;
23589 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [with_expression]<< (}
23590 . @$_tok . q{ times)},
23592 Parse::RecDescent::_tracefirst($text),
23595 if defined $::RD_TRACE;
23596 $item{q{with_expression(?)}} = $_tok;
23601 Parse::RecDescent::_trace(q{Trying subrule: [SQL_procedure_statement]},
23602 Parse::RecDescent::_tracefirst($text),
23605 if defined $::RD_TRACE;
23606 if (1) { no strict qw{refs};
23607 $expectation->is(q{SQL_procedure_statement})->at($text);
23608 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::SQL_procedure_statement($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23611 Parse::RecDescent::_trace(q{<<Didn't match subrule: [SQL_procedure_statement]>>},
23612 Parse::RecDescent::_tracefirst($text),
23615 if defined $::RD_TRACE;
23616 $expectation->failed();
23619 Parse::RecDescent::_trace(q{>>Matched subrule: [SQL_procedure_statement]<< (return value: [}
23622 Parse::RecDescent::_tracefirst($text),
23625 if defined $::RD_TRACE;
23626 $item{q{SQL_procedure_statement}} = $_tok;
23631 Parse::RecDescent::_trace(q{Trying action},
23632 Parse::RecDescent::_tracefirst($text),
23635 if defined $::RD_TRACE;
23638 $_tok = ($_noactions) ? 0 : do {
23640 name => $item{view_name}{name},
23641 sql => $item{SQL_procedure_statement},
23642 with => $item{'with_expression(?)'},
23643 fields => $item{'column_list(?)'}
23645 push @views, $return;
23647 unless (defined $_tok)
23649 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
23650 if defined $::RD_TRACE;
23653 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
23655 Parse::RecDescent::_tracefirst($text))
23656 if defined $::RD_TRACE;
23658 $item{__ACTION1__}=$_tok;
23662 Parse::RecDescent::_trace(q{>>Matched production: [CREATE /FEDERATED|/i VIEW view_name column_list /AS/i with_expression SQL_procedure_statement]<<},
23663 Parse::RecDescent::_tracefirst($text),
23666 if defined $::RD_TRACE;
23672 unless ( $_matched || defined($return) || defined($score) )
23676 $_[1] = $text; # NOT SURE THIS IS NEEDED
23677 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
23678 Parse::RecDescent::_tracefirst($_[1]),
23681 if defined $::RD_TRACE;
23684 if (!defined($return) && defined($score))
23686 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
23689 if defined $::RD_TRACE;
23690 $return = $score_return;
23692 splice @{$thisparser->{errors}}, $err_at;
23693 $return = $item[$#item] unless defined $return;
23694 if (defined $::RD_TRACE)
23696 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
23697 $return . q{])}, "",
23700 Parse::RecDescent::_trace(q{(consumed: [} .
23701 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
23702 Parse::RecDescent::_tracefirst($text),
23710 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
23711 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sysfun
23713 my $thisparser = $_[0];
23714 use vars q{$tracelevel};
23715 local $tracelevel = ($tracelevel||0)+1;
23717 my $thisrule = $thisparser->{"rules"}{"sysfun"};
23719 Parse::RecDescent::_trace(q{Trying rule: [sysfun]},
23720 Parse::RecDescent::_tracefirst($_[1]),
23723 if defined $::RD_TRACE;
23726 my $err_at = @{$thisparser->{errors}};
23731 my $return = undef;
23736 my $repeating = defined($_[2]) && $_[2];
23737 my $_noactions = defined($_[3]) && $_[3];
23738 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
23739 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
23742 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
23743 $expectation->at($_[1]);
23746 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
23750 while (!$_matched && !$commit)
23753 Parse::RecDescent::_trace(q{Trying production: [/ABS/i, or /ABSVAL/i]},
23754 Parse::RecDescent::_tracefirst($_[1]),
23757 if defined $::RD_TRACE;
23758 my $thisprod = $thisrule->{"prods"}[0];
23761 @item = (q{sysfun});
23762 %item = (__RULE__ => q{sysfun});
23766 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_sysfun]},
23767 Parse::RecDescent::_tracefirst($text),
23770 if defined $::RD_TRACE;
23771 if (1) { no strict qw{refs};
23772 $expectation->is(q{})->at($text);
23773 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_sysfun($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
23776 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_sysfun]>>},
23777 Parse::RecDescent::_tracefirst($text),
23780 if defined $::RD_TRACE;
23781 $expectation->failed();
23784 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_sysfun]<< (return value: [}
23787 Parse::RecDescent::_tracefirst($text),
23790 if defined $::RD_TRACE;
23791 $item{q{_alternation_1_of_production_1_of_rule_sysfun}} = $_tok;
23797 Parse::RecDescent::_trace(q{>>Matched production: [/ABS/i, or /ABSVAL/i]<<},
23798 Parse::RecDescent::_tracefirst($text),
23801 if defined $::RD_TRACE;
23807 while (!$_matched && !$commit)
23810 Parse::RecDescent::_trace(q{Trying production: [/ACOS/i]},
23811 Parse::RecDescent::_tracefirst($_[1]),
23814 if defined $::RD_TRACE;
23815 my $thisprod = $thisrule->{"prods"}[1];
23818 @item = (q{sysfun});
23819 %item = (__RULE__ => q{sysfun});
23823 Parse::RecDescent::_trace(q{Trying terminal: [/ACOS/i]}, Parse::RecDescent::_tracefirst($text),
23826 if defined $::RD_TRACE;
23828 $expectation->is(q{})->at($text);
23831 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ACOS)//i)
23834 $expectation->failed();
23835 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23836 Parse::RecDescent::_tracefirst($text))
23837 if defined $::RD_TRACE;
23841 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23843 Parse::RecDescent::_tracefirst($text))
23844 if defined $::RD_TRACE;
23845 push @item, $item{__PATTERN1__}=$&;
23849 Parse::RecDescent::_trace(q{>>Matched production: [/ACOS/i]<<},
23850 Parse::RecDescent::_tracefirst($text),
23853 if defined $::RD_TRACE;
23859 while (!$_matched && !$commit)
23862 Parse::RecDescent::_trace(q{Trying production: [/ASCII/i]},
23863 Parse::RecDescent::_tracefirst($_[1]),
23866 if defined $::RD_TRACE;
23867 my $thisprod = $thisrule->{"prods"}[2];
23870 @item = (q{sysfun});
23871 %item = (__RULE__ => q{sysfun});
23875 Parse::RecDescent::_trace(q{Trying terminal: [/ASCII/i]}, Parse::RecDescent::_tracefirst($text),
23878 if defined $::RD_TRACE;
23880 $expectation->is(q{})->at($text);
23883 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ASCII)//i)
23886 $expectation->failed();
23887 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23888 Parse::RecDescent::_tracefirst($text))
23889 if defined $::RD_TRACE;
23893 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23895 Parse::RecDescent::_tracefirst($text))
23896 if defined $::RD_TRACE;
23897 push @item, $item{__PATTERN1__}=$&;
23901 Parse::RecDescent::_trace(q{>>Matched production: [/ASCII/i]<<},
23902 Parse::RecDescent::_tracefirst($text),
23905 if defined $::RD_TRACE;
23911 while (!$_matched && !$commit)
23914 Parse::RecDescent::_trace(q{Trying production: [/ASIN/i]},
23915 Parse::RecDescent::_tracefirst($_[1]),
23918 if defined $::RD_TRACE;
23919 my $thisprod = $thisrule->{"prods"}[3];
23922 @item = (q{sysfun});
23923 %item = (__RULE__ => q{sysfun});
23927 Parse::RecDescent::_trace(q{Trying terminal: [/ASIN/i]}, Parse::RecDescent::_tracefirst($text),
23930 if defined $::RD_TRACE;
23932 $expectation->is(q{})->at($text);
23935 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ASIN)//i)
23938 $expectation->failed();
23939 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23940 Parse::RecDescent::_tracefirst($text))
23941 if defined $::RD_TRACE;
23945 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23947 Parse::RecDescent::_tracefirst($text))
23948 if defined $::RD_TRACE;
23949 push @item, $item{__PATTERN1__}=$&;
23953 Parse::RecDescent::_trace(q{>>Matched production: [/ASIN/i]<<},
23954 Parse::RecDescent::_tracefirst($text),
23957 if defined $::RD_TRACE;
23963 while (!$_matched && !$commit)
23966 Parse::RecDescent::_trace(q{Trying production: [/ATAN/i]},
23967 Parse::RecDescent::_tracefirst($_[1]),
23970 if defined $::RD_TRACE;
23971 my $thisprod = $thisrule->{"prods"}[4];
23974 @item = (q{sysfun});
23975 %item = (__RULE__ => q{sysfun});
23979 Parse::RecDescent::_trace(q{Trying terminal: [/ATAN/i]}, Parse::RecDescent::_tracefirst($text),
23982 if defined $::RD_TRACE;
23984 $expectation->is(q{})->at($text);
23987 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ATAN)//i)
23990 $expectation->failed();
23991 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
23992 Parse::RecDescent::_tracefirst($text))
23993 if defined $::RD_TRACE;
23997 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
23999 Parse::RecDescent::_tracefirst($text))
24000 if defined $::RD_TRACE;
24001 push @item, $item{__PATTERN1__}=$&;
24005 Parse::RecDescent::_trace(q{>>Matched production: [/ATAN/i]<<},
24006 Parse::RecDescent::_tracefirst($text),
24009 if defined $::RD_TRACE;
24015 while (!$_matched && !$commit)
24018 Parse::RecDescent::_trace(q{Trying production: [/ATAN2/i]},
24019 Parse::RecDescent::_tracefirst($_[1]),
24022 if defined $::RD_TRACE;
24023 my $thisprod = $thisrule->{"prods"}[5];
24026 @item = (q{sysfun});
24027 %item = (__RULE__ => q{sysfun});
24031 Parse::RecDescent::_trace(q{Trying terminal: [/ATAN2/i]}, Parse::RecDescent::_tracefirst($text),
24034 if defined $::RD_TRACE;
24036 $expectation->is(q{})->at($text);
24039 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ATAN2)//i)
24042 $expectation->failed();
24043 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24044 Parse::RecDescent::_tracefirst($text))
24045 if defined $::RD_TRACE;
24049 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24051 Parse::RecDescent::_tracefirst($text))
24052 if defined $::RD_TRACE;
24053 push @item, $item{__PATTERN1__}=$&;
24057 Parse::RecDescent::_trace(q{>>Matched production: [/ATAN2/i]<<},
24058 Parse::RecDescent::_tracefirst($text),
24061 if defined $::RD_TRACE;
24067 while (!$_matched && !$commit)
24070 Parse::RecDescent::_trace(q{Trying production: [/CEIL/i, or /CEILING/i]},
24071 Parse::RecDescent::_tracefirst($_[1]),
24074 if defined $::RD_TRACE;
24075 my $thisprod = $thisrule->{"prods"}[6];
24078 @item = (q{sysfun});
24079 %item = (__RULE__ => q{sysfun});
24083 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_7_of_rule_sysfun]},
24084 Parse::RecDescent::_tracefirst($text),
24087 if defined $::RD_TRACE;
24088 if (1) { no strict qw{refs};
24089 $expectation->is(q{})->at($text);
24090 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_7_of_rule_sysfun($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
24093 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_7_of_rule_sysfun]>>},
24094 Parse::RecDescent::_tracefirst($text),
24097 if defined $::RD_TRACE;
24098 $expectation->failed();
24101 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_7_of_rule_sysfun]<< (return value: [}
24104 Parse::RecDescent::_tracefirst($text),
24107 if defined $::RD_TRACE;
24108 $item{q{_alternation_1_of_production_7_of_rule_sysfun}} = $_tok;
24114 Parse::RecDescent::_trace(q{>>Matched production: [/CEIL/i, or /CEILING/i]<<},
24115 Parse::RecDescent::_tracefirst($text),
24118 if defined $::RD_TRACE;
24124 while (!$_matched && !$commit)
24127 Parse::RecDescent::_trace(q{Trying production: [/CHAR/i]},
24128 Parse::RecDescent::_tracefirst($_[1]),
24131 if defined $::RD_TRACE;
24132 my $thisprod = $thisrule->{"prods"}[7];
24135 @item = (q{sysfun});
24136 %item = (__RULE__ => q{sysfun});
24140 Parse::RecDescent::_trace(q{Trying terminal: [/CHAR/i]}, Parse::RecDescent::_tracefirst($text),
24143 if defined $::RD_TRACE;
24145 $expectation->is(q{})->at($text);
24148 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CHAR)//i)
24151 $expectation->failed();
24152 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24153 Parse::RecDescent::_tracefirst($text))
24154 if defined $::RD_TRACE;
24158 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24160 Parse::RecDescent::_tracefirst($text))
24161 if defined $::RD_TRACE;
24162 push @item, $item{__PATTERN1__}=$&;
24166 Parse::RecDescent::_trace(q{>>Matched production: [/CHAR/i]<<},
24167 Parse::RecDescent::_tracefirst($text),
24170 if defined $::RD_TRACE;
24176 while (!$_matched && !$commit)
24179 Parse::RecDescent::_trace(q{Trying production: [/CHR/i]},
24180 Parse::RecDescent::_tracefirst($_[1]),
24183 if defined $::RD_TRACE;
24184 my $thisprod = $thisrule->{"prods"}[8];
24187 @item = (q{sysfun});
24188 %item = (__RULE__ => q{sysfun});
24192 Parse::RecDescent::_trace(q{Trying terminal: [/CHR/i]}, Parse::RecDescent::_tracefirst($text),
24195 if defined $::RD_TRACE;
24197 $expectation->is(q{})->at($text);
24200 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CHR)//i)
24203 $expectation->failed();
24204 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24205 Parse::RecDescent::_tracefirst($text))
24206 if defined $::RD_TRACE;
24210 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24212 Parse::RecDescent::_tracefirst($text))
24213 if defined $::RD_TRACE;
24214 push @item, $item{__PATTERN1__}=$&;
24218 Parse::RecDescent::_trace(q{>>Matched production: [/CHR/i]<<},
24219 Parse::RecDescent::_tracefirst($text),
24222 if defined $::RD_TRACE;
24228 while (!$_matched && !$commit)
24231 Parse::RecDescent::_trace(q{Trying production: [/COS/i]},
24232 Parse::RecDescent::_tracefirst($_[1]),
24235 if defined $::RD_TRACE;
24236 my $thisprod = $thisrule->{"prods"}[9];
24239 @item = (q{sysfun});
24240 %item = (__RULE__ => q{sysfun});
24244 Parse::RecDescent::_trace(q{Trying terminal: [/COS/i]}, Parse::RecDescent::_tracefirst($text),
24247 if defined $::RD_TRACE;
24249 $expectation->is(q{})->at($text);
24252 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:COS)//i)
24255 $expectation->failed();
24256 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24257 Parse::RecDescent::_tracefirst($text))
24258 if defined $::RD_TRACE;
24262 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24264 Parse::RecDescent::_tracefirst($text))
24265 if defined $::RD_TRACE;
24266 push @item, $item{__PATTERN1__}=$&;
24270 Parse::RecDescent::_trace(q{>>Matched production: [/COS/i]<<},
24271 Parse::RecDescent::_tracefirst($text),
24274 if defined $::RD_TRACE;
24280 while (!$_matched && !$commit)
24283 Parse::RecDescent::_trace(q{Trying production: [/COT/i]},
24284 Parse::RecDescent::_tracefirst($_[1]),
24287 if defined $::RD_TRACE;
24288 my $thisprod = $thisrule->{"prods"}[10];
24291 @item = (q{sysfun});
24292 %item = (__RULE__ => q{sysfun});
24296 Parse::RecDescent::_trace(q{Trying terminal: [/COT/i]}, Parse::RecDescent::_tracefirst($text),
24299 if defined $::RD_TRACE;
24301 $expectation->is(q{})->at($text);
24304 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:COT)//i)
24307 $expectation->failed();
24308 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24309 Parse::RecDescent::_tracefirst($text))
24310 if defined $::RD_TRACE;
24314 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24316 Parse::RecDescent::_tracefirst($text))
24317 if defined $::RD_TRACE;
24318 push @item, $item{__PATTERN1__}=$&;
24322 Parse::RecDescent::_trace(q{>>Matched production: [/COT/i]<<},
24323 Parse::RecDescent::_tracefirst($text),
24326 if defined $::RD_TRACE;
24332 while (!$_matched && !$commit)
24335 Parse::RecDescent::_trace(q{Trying production: [/DAYNAME/i]},
24336 Parse::RecDescent::_tracefirst($_[1]),
24339 if defined $::RD_TRACE;
24340 my $thisprod = $thisrule->{"prods"}[11];
24343 @item = (q{sysfun});
24344 %item = (__RULE__ => q{sysfun});
24348 Parse::RecDescent::_trace(q{Trying terminal: [/DAYNAME/i]}, Parse::RecDescent::_tracefirst($text),
24351 if defined $::RD_TRACE;
24353 $expectation->is(q{})->at($text);
24356 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DAYNAME)//i)
24359 $expectation->failed();
24360 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24361 Parse::RecDescent::_tracefirst($text))
24362 if defined $::RD_TRACE;
24366 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24368 Parse::RecDescent::_tracefirst($text))
24369 if defined $::RD_TRACE;
24370 push @item, $item{__PATTERN1__}=$&;
24374 Parse::RecDescent::_trace(q{>>Matched production: [/DAYNAME/i]<<},
24375 Parse::RecDescent::_tracefirst($text),
24378 if defined $::RD_TRACE;
24384 while (!$_matched && !$commit)
24387 Parse::RecDescent::_trace(q{Trying production: [/DAYOFWEEK/i]},
24388 Parse::RecDescent::_tracefirst($_[1]),
24391 if defined $::RD_TRACE;
24392 my $thisprod = $thisrule->{"prods"}[12];
24395 @item = (q{sysfun});
24396 %item = (__RULE__ => q{sysfun});
24400 Parse::RecDescent::_trace(q{Trying terminal: [/DAYOFWEEK/i]}, Parse::RecDescent::_tracefirst($text),
24403 if defined $::RD_TRACE;
24405 $expectation->is(q{})->at($text);
24408 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DAYOFWEEK)//i)
24411 $expectation->failed();
24412 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24413 Parse::RecDescent::_tracefirst($text))
24414 if defined $::RD_TRACE;
24418 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24420 Parse::RecDescent::_tracefirst($text))
24421 if defined $::RD_TRACE;
24422 push @item, $item{__PATTERN1__}=$&;
24426 Parse::RecDescent::_trace(q{>>Matched production: [/DAYOFWEEK/i]<<},
24427 Parse::RecDescent::_tracefirst($text),
24430 if defined $::RD_TRACE;
24436 while (!$_matched && !$commit)
24439 Parse::RecDescent::_trace(q{Trying production: [/DAYOFWEEK_ISO/i]},
24440 Parse::RecDescent::_tracefirst($_[1]),
24443 if defined $::RD_TRACE;
24444 my $thisprod = $thisrule->{"prods"}[13];
24447 @item = (q{sysfun});
24448 %item = (__RULE__ => q{sysfun});
24452 Parse::RecDescent::_trace(q{Trying terminal: [/DAYOFWEEK_ISO/i]}, Parse::RecDescent::_tracefirst($text),
24455 if defined $::RD_TRACE;
24457 $expectation->is(q{})->at($text);
24460 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DAYOFWEEK_ISO)//i)
24463 $expectation->failed();
24464 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24465 Parse::RecDescent::_tracefirst($text))
24466 if defined $::RD_TRACE;
24470 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24472 Parse::RecDescent::_tracefirst($text))
24473 if defined $::RD_TRACE;
24474 push @item, $item{__PATTERN1__}=$&;
24478 Parse::RecDescent::_trace(q{>>Matched production: [/DAYOFWEEK_ISO/i]<<},
24479 Parse::RecDescent::_tracefirst($text),
24482 if defined $::RD_TRACE;
24488 while (!$_matched && !$commit)
24491 Parse::RecDescent::_trace(q{Trying production: [/DAYOFYEAR/i]},
24492 Parse::RecDescent::_tracefirst($_[1]),
24495 if defined $::RD_TRACE;
24496 my $thisprod = $thisrule->{"prods"}[14];
24499 @item = (q{sysfun});
24500 %item = (__RULE__ => q{sysfun});
24504 Parse::RecDescent::_trace(q{Trying terminal: [/DAYOFYEAR/i]}, Parse::RecDescent::_tracefirst($text),
24507 if defined $::RD_TRACE;
24509 $expectation->is(q{})->at($text);
24512 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DAYOFYEAR)//i)
24515 $expectation->failed();
24516 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24517 Parse::RecDescent::_tracefirst($text))
24518 if defined $::RD_TRACE;
24522 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24524 Parse::RecDescent::_tracefirst($text))
24525 if defined $::RD_TRACE;
24526 push @item, $item{__PATTERN1__}=$&;
24530 Parse::RecDescent::_trace(q{>>Matched production: [/DAYOFYEAR/i]<<},
24531 Parse::RecDescent::_tracefirst($text),
24534 if defined $::RD_TRACE;
24540 while (!$_matched && !$commit)
24543 Parse::RecDescent::_trace(q{Trying production: [/DEGREES/i]},
24544 Parse::RecDescent::_tracefirst($_[1]),
24547 if defined $::RD_TRACE;
24548 my $thisprod = $thisrule->{"prods"}[15];
24551 @item = (q{sysfun});
24552 %item = (__RULE__ => q{sysfun});
24556 Parse::RecDescent::_trace(q{Trying terminal: [/DEGREES/i]}, Parse::RecDescent::_tracefirst($text),
24559 if defined $::RD_TRACE;
24561 $expectation->is(q{})->at($text);
24564 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DEGREES)//i)
24567 $expectation->failed();
24568 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24569 Parse::RecDescent::_tracefirst($text))
24570 if defined $::RD_TRACE;
24574 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24576 Parse::RecDescent::_tracefirst($text))
24577 if defined $::RD_TRACE;
24578 push @item, $item{__PATTERN1__}=$&;
24582 Parse::RecDescent::_trace(q{>>Matched production: [/DEGREES/i]<<},
24583 Parse::RecDescent::_tracefirst($text),
24586 if defined $::RD_TRACE;
24592 while (!$_matched && !$commit)
24595 Parse::RecDescent::_trace(q{Trying production: [/DIFFERENCE/i]},
24596 Parse::RecDescent::_tracefirst($_[1]),
24599 if defined $::RD_TRACE;
24600 my $thisprod = $thisrule->{"prods"}[16];
24603 @item = (q{sysfun});
24604 %item = (__RULE__ => q{sysfun});
24608 Parse::RecDescent::_trace(q{Trying terminal: [/DIFFERENCE/i]}, Parse::RecDescent::_tracefirst($text),
24611 if defined $::RD_TRACE;
24613 $expectation->is(q{})->at($text);
24616 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DIFFERENCE)//i)
24619 $expectation->failed();
24620 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24621 Parse::RecDescent::_tracefirst($text))
24622 if defined $::RD_TRACE;
24626 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24628 Parse::RecDescent::_tracefirst($text))
24629 if defined $::RD_TRACE;
24630 push @item, $item{__PATTERN1__}=$&;
24634 Parse::RecDescent::_trace(q{>>Matched production: [/DIFFERENCE/i]<<},
24635 Parse::RecDescent::_tracefirst($text),
24638 if defined $::RD_TRACE;
24644 while (!$_matched && !$commit)
24647 Parse::RecDescent::_trace(q{Trying production: [/DOUBLE/i]},
24648 Parse::RecDescent::_tracefirst($_[1]),
24651 if defined $::RD_TRACE;
24652 my $thisprod = $thisrule->{"prods"}[17];
24655 @item = (q{sysfun});
24656 %item = (__RULE__ => q{sysfun});
24660 Parse::RecDescent::_trace(q{Trying terminal: [/DOUBLE/i]}, Parse::RecDescent::_tracefirst($text),
24663 if defined $::RD_TRACE;
24665 $expectation->is(q{})->at($text);
24668 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DOUBLE)//i)
24671 $expectation->failed();
24672 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24673 Parse::RecDescent::_tracefirst($text))
24674 if defined $::RD_TRACE;
24678 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24680 Parse::RecDescent::_tracefirst($text))
24681 if defined $::RD_TRACE;
24682 push @item, $item{__PATTERN1__}=$&;
24686 Parse::RecDescent::_trace(q{>>Matched production: [/DOUBLE/i]<<},
24687 Parse::RecDescent::_tracefirst($text),
24690 if defined $::RD_TRACE;
24696 while (!$_matched && !$commit)
24699 Parse::RecDescent::_trace(q{Trying production: [/EXP/i]},
24700 Parse::RecDescent::_tracefirst($_[1]),
24703 if defined $::RD_TRACE;
24704 my $thisprod = $thisrule->{"prods"}[18];
24707 @item = (q{sysfun});
24708 %item = (__RULE__ => q{sysfun});
24712 Parse::RecDescent::_trace(q{Trying terminal: [/EXP/i]}, Parse::RecDescent::_tracefirst($text),
24715 if defined $::RD_TRACE;
24717 $expectation->is(q{})->at($text);
24720 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:EXP)//i)
24723 $expectation->failed();
24724 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24725 Parse::RecDescent::_tracefirst($text))
24726 if defined $::RD_TRACE;
24730 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24732 Parse::RecDescent::_tracefirst($text))
24733 if defined $::RD_TRACE;
24734 push @item, $item{__PATTERN1__}=$&;
24738 Parse::RecDescent::_trace(q{>>Matched production: [/EXP/i]<<},
24739 Parse::RecDescent::_tracefirst($text),
24742 if defined $::RD_TRACE;
24748 while (!$_matched && !$commit)
24751 Parse::RecDescent::_trace(q{Trying production: [/FLOOR/i]},
24752 Parse::RecDescent::_tracefirst($_[1]),
24755 if defined $::RD_TRACE;
24756 my $thisprod = $thisrule->{"prods"}[19];
24759 @item = (q{sysfun});
24760 %item = (__RULE__ => q{sysfun});
24764 Parse::RecDescent::_trace(q{Trying terminal: [/FLOOR/i]}, Parse::RecDescent::_tracefirst($text),
24767 if defined $::RD_TRACE;
24769 $expectation->is(q{})->at($text);
24772 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:FLOOR)//i)
24775 $expectation->failed();
24776 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24777 Parse::RecDescent::_tracefirst($text))
24778 if defined $::RD_TRACE;
24782 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24784 Parse::RecDescent::_tracefirst($text))
24785 if defined $::RD_TRACE;
24786 push @item, $item{__PATTERN1__}=$&;
24790 Parse::RecDescent::_trace(q{>>Matched production: [/FLOOR/i]<<},
24791 Parse::RecDescent::_tracefirst($text),
24794 if defined $::RD_TRACE;
24800 while (!$_matched && !$commit)
24803 Parse::RecDescent::_trace(q{Trying production: [/GET_ROUTINE_SAR/i]},
24804 Parse::RecDescent::_tracefirst($_[1]),
24807 if defined $::RD_TRACE;
24808 my $thisprod = $thisrule->{"prods"}[20];
24811 @item = (q{sysfun});
24812 %item = (__RULE__ => q{sysfun});
24816 Parse::RecDescent::_trace(q{Trying terminal: [/GET_ROUTINE_SAR/i]}, Parse::RecDescent::_tracefirst($text),
24819 if defined $::RD_TRACE;
24821 $expectation->is(q{})->at($text);
24824 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:GET_ROUTINE_SAR)//i)
24827 $expectation->failed();
24828 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24829 Parse::RecDescent::_tracefirst($text))
24830 if defined $::RD_TRACE;
24834 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24836 Parse::RecDescent::_tracefirst($text))
24837 if defined $::RD_TRACE;
24838 push @item, $item{__PATTERN1__}=$&;
24842 Parse::RecDescent::_trace(q{>>Matched production: [/GET_ROUTINE_SAR/i]<<},
24843 Parse::RecDescent::_tracefirst($text),
24846 if defined $::RD_TRACE;
24852 while (!$_matched && !$commit)
24855 Parse::RecDescent::_trace(q{Trying production: [/INSERT/i]},
24856 Parse::RecDescent::_tracefirst($_[1]),
24859 if defined $::RD_TRACE;
24860 my $thisprod = $thisrule->{"prods"}[21];
24863 @item = (q{sysfun});
24864 %item = (__RULE__ => q{sysfun});
24868 Parse::RecDescent::_trace(q{Trying terminal: [/INSERT/i]}, Parse::RecDescent::_tracefirst($text),
24871 if defined $::RD_TRACE;
24873 $expectation->is(q{})->at($text);
24876 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:INSERT)//i)
24879 $expectation->failed();
24880 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24881 Parse::RecDescent::_tracefirst($text))
24882 if defined $::RD_TRACE;
24886 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24888 Parse::RecDescent::_tracefirst($text))
24889 if defined $::RD_TRACE;
24890 push @item, $item{__PATTERN1__}=$&;
24894 Parse::RecDescent::_trace(q{>>Matched production: [/INSERT/i]<<},
24895 Parse::RecDescent::_tracefirst($text),
24898 if defined $::RD_TRACE;
24904 while (!$_matched && !$commit)
24907 Parse::RecDescent::_trace(q{Trying production: [/JULIAN_DAY/i]},
24908 Parse::RecDescent::_tracefirst($_[1]),
24911 if defined $::RD_TRACE;
24912 my $thisprod = $thisrule->{"prods"}[22];
24915 @item = (q{sysfun});
24916 %item = (__RULE__ => q{sysfun});
24920 Parse::RecDescent::_trace(q{Trying terminal: [/JULIAN_DAY/i]}, Parse::RecDescent::_tracefirst($text),
24923 if defined $::RD_TRACE;
24925 $expectation->is(q{})->at($text);
24928 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:JULIAN_DAY)//i)
24931 $expectation->failed();
24932 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24933 Parse::RecDescent::_tracefirst($text))
24934 if defined $::RD_TRACE;
24938 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24940 Parse::RecDescent::_tracefirst($text))
24941 if defined $::RD_TRACE;
24942 push @item, $item{__PATTERN1__}=$&;
24946 Parse::RecDescent::_trace(q{>>Matched production: [/JULIAN_DAY/i]<<},
24947 Parse::RecDescent::_tracefirst($text),
24950 if defined $::RD_TRACE;
24956 while (!$_matched && !$commit)
24959 Parse::RecDescent::_trace(q{Trying production: [/LCASE/i]},
24960 Parse::RecDescent::_tracefirst($_[1]),
24963 if defined $::RD_TRACE;
24964 my $thisprod = $thisrule->{"prods"}[23];
24967 @item = (q{sysfun});
24968 %item = (__RULE__ => q{sysfun});
24972 Parse::RecDescent::_trace(q{Trying terminal: [/LCASE/i]}, Parse::RecDescent::_tracefirst($text),
24975 if defined $::RD_TRACE;
24977 $expectation->is(q{})->at($text);
24980 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LCASE)//i)
24983 $expectation->failed();
24984 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
24985 Parse::RecDescent::_tracefirst($text))
24986 if defined $::RD_TRACE;
24990 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
24992 Parse::RecDescent::_tracefirst($text))
24993 if defined $::RD_TRACE;
24994 push @item, $item{__PATTERN1__}=$&;
24998 Parse::RecDescent::_trace(q{>>Matched production: [/LCASE/i]<<},
24999 Parse::RecDescent::_tracefirst($text),
25002 if defined $::RD_TRACE;
25008 while (!$_matched && !$commit)
25011 Parse::RecDescent::_trace(q{Trying production: [/LEFT/i]},
25012 Parse::RecDescent::_tracefirst($_[1]),
25015 if defined $::RD_TRACE;
25016 my $thisprod = $thisrule->{"prods"}[24];
25019 @item = (q{sysfun});
25020 %item = (__RULE__ => q{sysfun});
25024 Parse::RecDescent::_trace(q{Trying terminal: [/LEFT/i]}, Parse::RecDescent::_tracefirst($text),
25027 if defined $::RD_TRACE;
25029 $expectation->is(q{})->at($text);
25032 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LEFT)//i)
25035 $expectation->failed();
25036 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25037 Parse::RecDescent::_tracefirst($text))
25038 if defined $::RD_TRACE;
25042 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25044 Parse::RecDescent::_tracefirst($text))
25045 if defined $::RD_TRACE;
25046 push @item, $item{__PATTERN1__}=$&;
25050 Parse::RecDescent::_trace(q{>>Matched production: [/LEFT/i]<<},
25051 Parse::RecDescent::_tracefirst($text),
25054 if defined $::RD_TRACE;
25060 while (!$_matched && !$commit)
25063 Parse::RecDescent::_trace(q{Trying production: [/LN/i]},
25064 Parse::RecDescent::_tracefirst($_[1]),
25067 if defined $::RD_TRACE;
25068 my $thisprod = $thisrule->{"prods"}[25];
25071 @item = (q{sysfun});
25072 %item = (__RULE__ => q{sysfun});
25076 Parse::RecDescent::_trace(q{Trying terminal: [/LN/i]}, Parse::RecDescent::_tracefirst($text),
25079 if defined $::RD_TRACE;
25081 $expectation->is(q{})->at($text);
25084 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LN)//i)
25087 $expectation->failed();
25088 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25089 Parse::RecDescent::_tracefirst($text))
25090 if defined $::RD_TRACE;
25094 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25096 Parse::RecDescent::_tracefirst($text))
25097 if defined $::RD_TRACE;
25098 push @item, $item{__PATTERN1__}=$&;
25102 Parse::RecDescent::_trace(q{>>Matched production: [/LN/i]<<},
25103 Parse::RecDescent::_tracefirst($text),
25106 if defined $::RD_TRACE;
25112 while (!$_matched && !$commit)
25115 Parse::RecDescent::_trace(q{Trying production: [/LOCATE/i]},
25116 Parse::RecDescent::_tracefirst($_[1]),
25119 if defined $::RD_TRACE;
25120 my $thisprod = $thisrule->{"prods"}[26];
25123 @item = (q{sysfun});
25124 %item = (__RULE__ => q{sysfun});
25128 Parse::RecDescent::_trace(q{Trying terminal: [/LOCATE/i]}, Parse::RecDescent::_tracefirst($text),
25131 if defined $::RD_TRACE;
25133 $expectation->is(q{})->at($text);
25136 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LOCATE)//i)
25139 $expectation->failed();
25140 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25141 Parse::RecDescent::_tracefirst($text))
25142 if defined $::RD_TRACE;
25146 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25148 Parse::RecDescent::_tracefirst($text))
25149 if defined $::RD_TRACE;
25150 push @item, $item{__PATTERN1__}=$&;
25154 Parse::RecDescent::_trace(q{>>Matched production: [/LOCATE/i]<<},
25155 Parse::RecDescent::_tracefirst($text),
25158 if defined $::RD_TRACE;
25164 while (!$_matched && !$commit)
25167 Parse::RecDescent::_trace(q{Trying production: [/LOG/i]},
25168 Parse::RecDescent::_tracefirst($_[1]),
25171 if defined $::RD_TRACE;
25172 my $thisprod = $thisrule->{"prods"}[27];
25175 @item = (q{sysfun});
25176 %item = (__RULE__ => q{sysfun});
25180 Parse::RecDescent::_trace(q{Trying terminal: [/LOG/i]}, Parse::RecDescent::_tracefirst($text),
25183 if defined $::RD_TRACE;
25185 $expectation->is(q{})->at($text);
25188 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LOG)//i)
25191 $expectation->failed();
25192 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25193 Parse::RecDescent::_tracefirst($text))
25194 if defined $::RD_TRACE;
25198 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25200 Parse::RecDescent::_tracefirst($text))
25201 if defined $::RD_TRACE;
25202 push @item, $item{__PATTERN1__}=$&;
25206 Parse::RecDescent::_trace(q{>>Matched production: [/LOG/i]<<},
25207 Parse::RecDescent::_tracefirst($text),
25210 if defined $::RD_TRACE;
25216 while (!$_matched && !$commit)
25219 Parse::RecDescent::_trace(q{Trying production: [/LOG10/i]},
25220 Parse::RecDescent::_tracefirst($_[1]),
25223 if defined $::RD_TRACE;
25224 my $thisprod = $thisrule->{"prods"}[28];
25227 @item = (q{sysfun});
25228 %item = (__RULE__ => q{sysfun});
25232 Parse::RecDescent::_trace(q{Trying terminal: [/LOG10/i]}, Parse::RecDescent::_tracefirst($text),
25235 if defined $::RD_TRACE;
25237 $expectation->is(q{})->at($text);
25240 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LOG10)//i)
25243 $expectation->failed();
25244 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25245 Parse::RecDescent::_tracefirst($text))
25246 if defined $::RD_TRACE;
25250 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25252 Parse::RecDescent::_tracefirst($text))
25253 if defined $::RD_TRACE;
25254 push @item, $item{__PATTERN1__}=$&;
25258 Parse::RecDescent::_trace(q{>>Matched production: [/LOG10/i]<<},
25259 Parse::RecDescent::_tracefirst($text),
25262 if defined $::RD_TRACE;
25268 while (!$_matched && !$commit)
25271 Parse::RecDescent::_trace(q{Trying production: [/LTRIM/i]},
25272 Parse::RecDescent::_tracefirst($_[1]),
25275 if defined $::RD_TRACE;
25276 my $thisprod = $thisrule->{"prods"}[29];
25279 @item = (q{sysfun});
25280 %item = (__RULE__ => q{sysfun});
25284 Parse::RecDescent::_trace(q{Trying terminal: [/LTRIM/i]}, Parse::RecDescent::_tracefirst($text),
25287 if defined $::RD_TRACE;
25289 $expectation->is(q{})->at($text);
25292 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LTRIM)//i)
25295 $expectation->failed();
25296 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25297 Parse::RecDescent::_tracefirst($text))
25298 if defined $::RD_TRACE;
25302 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25304 Parse::RecDescent::_tracefirst($text))
25305 if defined $::RD_TRACE;
25306 push @item, $item{__PATTERN1__}=$&;
25310 Parse::RecDescent::_trace(q{>>Matched production: [/LTRIM/i]<<},
25311 Parse::RecDescent::_tracefirst($text),
25314 if defined $::RD_TRACE;
25320 while (!$_matched && !$commit)
25323 Parse::RecDescent::_trace(q{Trying production: [/MIDNIGHT_SECONDS/i]},
25324 Parse::RecDescent::_tracefirst($_[1]),
25327 if defined $::RD_TRACE;
25328 my $thisprod = $thisrule->{"prods"}[30];
25331 @item = (q{sysfun});
25332 %item = (__RULE__ => q{sysfun});
25336 Parse::RecDescent::_trace(q{Trying terminal: [/MIDNIGHT_SECONDS/i]}, Parse::RecDescent::_tracefirst($text),
25339 if defined $::RD_TRACE;
25341 $expectation->is(q{})->at($text);
25344 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MIDNIGHT_SECONDS)//i)
25347 $expectation->failed();
25348 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25349 Parse::RecDescent::_tracefirst($text))
25350 if defined $::RD_TRACE;
25354 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25356 Parse::RecDescent::_tracefirst($text))
25357 if defined $::RD_TRACE;
25358 push @item, $item{__PATTERN1__}=$&;
25362 Parse::RecDescent::_trace(q{>>Matched production: [/MIDNIGHT_SECONDS/i]<<},
25363 Parse::RecDescent::_tracefirst($text),
25366 if defined $::RD_TRACE;
25372 while (!$_matched && !$commit)
25375 Parse::RecDescent::_trace(q{Trying production: [/MOD/i]},
25376 Parse::RecDescent::_tracefirst($_[1]),
25379 if defined $::RD_TRACE;
25380 my $thisprod = $thisrule->{"prods"}[31];
25383 @item = (q{sysfun});
25384 %item = (__RULE__ => q{sysfun});
25388 Parse::RecDescent::_trace(q{Trying terminal: [/MOD/i]}, Parse::RecDescent::_tracefirst($text),
25391 if defined $::RD_TRACE;
25393 $expectation->is(q{})->at($text);
25396 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MOD)//i)
25399 $expectation->failed();
25400 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25401 Parse::RecDescent::_tracefirst($text))
25402 if defined $::RD_TRACE;
25406 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25408 Parse::RecDescent::_tracefirst($text))
25409 if defined $::RD_TRACE;
25410 push @item, $item{__PATTERN1__}=$&;
25414 Parse::RecDescent::_trace(q{>>Matched production: [/MOD/i]<<},
25415 Parse::RecDescent::_tracefirst($text),
25418 if defined $::RD_TRACE;
25424 while (!$_matched && !$commit)
25427 Parse::RecDescent::_trace(q{Trying production: [/MONTHNAME/i]},
25428 Parse::RecDescent::_tracefirst($_[1]),
25431 if defined $::RD_TRACE;
25432 my $thisprod = $thisrule->{"prods"}[32];
25435 @item = (q{sysfun});
25436 %item = (__RULE__ => q{sysfun});
25440 Parse::RecDescent::_trace(q{Trying terminal: [/MONTHNAME/i]}, Parse::RecDescent::_tracefirst($text),
25443 if defined $::RD_TRACE;
25445 $expectation->is(q{})->at($text);
25448 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:MONTHNAME)//i)
25451 $expectation->failed();
25452 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25453 Parse::RecDescent::_tracefirst($text))
25454 if defined $::RD_TRACE;
25458 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25460 Parse::RecDescent::_tracefirst($text))
25461 if defined $::RD_TRACE;
25462 push @item, $item{__PATTERN1__}=$&;
25466 Parse::RecDescent::_trace(q{>>Matched production: [/MONTHNAME/i]<<},
25467 Parse::RecDescent::_tracefirst($text),
25470 if defined $::RD_TRACE;
25476 while (!$_matched && !$commit)
25479 Parse::RecDescent::_trace(q{Trying production: [/POWER/i]},
25480 Parse::RecDescent::_tracefirst($_[1]),
25483 if defined $::RD_TRACE;
25484 my $thisprod = $thisrule->{"prods"}[33];
25487 @item = (q{sysfun});
25488 %item = (__RULE__ => q{sysfun});
25492 Parse::RecDescent::_trace(q{Trying terminal: [/POWER/i]}, Parse::RecDescent::_tracefirst($text),
25495 if defined $::RD_TRACE;
25497 $expectation->is(q{})->at($text);
25500 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:POWER)//i)
25503 $expectation->failed();
25504 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25505 Parse::RecDescent::_tracefirst($text))
25506 if defined $::RD_TRACE;
25510 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25512 Parse::RecDescent::_tracefirst($text))
25513 if defined $::RD_TRACE;
25514 push @item, $item{__PATTERN1__}=$&;
25518 Parse::RecDescent::_trace(q{>>Matched production: [/POWER/i]<<},
25519 Parse::RecDescent::_tracefirst($text),
25522 if defined $::RD_TRACE;
25528 while (!$_matched && !$commit)
25531 Parse::RecDescent::_trace(q{Trying production: [/PUT_ROUTINE_SAR/i]},
25532 Parse::RecDescent::_tracefirst($_[1]),
25535 if defined $::RD_TRACE;
25536 my $thisprod = $thisrule->{"prods"}[34];
25539 @item = (q{sysfun});
25540 %item = (__RULE__ => q{sysfun});
25544 Parse::RecDescent::_trace(q{Trying terminal: [/PUT_ROUTINE_SAR/i]}, Parse::RecDescent::_tracefirst($text),
25547 if defined $::RD_TRACE;
25549 $expectation->is(q{})->at($text);
25552 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:PUT_ROUTINE_SAR)//i)
25555 $expectation->failed();
25556 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25557 Parse::RecDescent::_tracefirst($text))
25558 if defined $::RD_TRACE;
25562 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25564 Parse::RecDescent::_tracefirst($text))
25565 if defined $::RD_TRACE;
25566 push @item, $item{__PATTERN1__}=$&;
25570 Parse::RecDescent::_trace(q{>>Matched production: [/PUT_ROUTINE_SAR/i]<<},
25571 Parse::RecDescent::_tracefirst($text),
25574 if defined $::RD_TRACE;
25580 while (!$_matched && !$commit)
25583 Parse::RecDescent::_trace(q{Trying production: [/QUARTER/i]},
25584 Parse::RecDescent::_tracefirst($_[1]),
25587 if defined $::RD_TRACE;
25588 my $thisprod = $thisrule->{"prods"}[35];
25591 @item = (q{sysfun});
25592 %item = (__RULE__ => q{sysfun});
25596 Parse::RecDescent::_trace(q{Trying terminal: [/QUARTER/i]}, Parse::RecDescent::_tracefirst($text),
25599 if defined $::RD_TRACE;
25601 $expectation->is(q{})->at($text);
25604 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:QUARTER)//i)
25607 $expectation->failed();
25608 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25609 Parse::RecDescent::_tracefirst($text))
25610 if defined $::RD_TRACE;
25614 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25616 Parse::RecDescent::_tracefirst($text))
25617 if defined $::RD_TRACE;
25618 push @item, $item{__PATTERN1__}=$&;
25622 Parse::RecDescent::_trace(q{>>Matched production: [/QUARTER/i]<<},
25623 Parse::RecDescent::_tracefirst($text),
25626 if defined $::RD_TRACE;
25632 while (!$_matched && !$commit)
25635 Parse::RecDescent::_trace(q{Trying production: [/RADIANS/i]},
25636 Parse::RecDescent::_tracefirst($_[1]),
25639 if defined $::RD_TRACE;
25640 my $thisprod = $thisrule->{"prods"}[36];
25643 @item = (q{sysfun});
25644 %item = (__RULE__ => q{sysfun});
25648 Parse::RecDescent::_trace(q{Trying terminal: [/RADIANS/i]}, Parse::RecDescent::_tracefirst($text),
25651 if defined $::RD_TRACE;
25653 $expectation->is(q{})->at($text);
25656 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RADIANS)//i)
25659 $expectation->failed();
25660 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25661 Parse::RecDescent::_tracefirst($text))
25662 if defined $::RD_TRACE;
25666 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25668 Parse::RecDescent::_tracefirst($text))
25669 if defined $::RD_TRACE;
25670 push @item, $item{__PATTERN1__}=$&;
25674 Parse::RecDescent::_trace(q{>>Matched production: [/RADIANS/i]<<},
25675 Parse::RecDescent::_tracefirst($text),
25678 if defined $::RD_TRACE;
25684 while (!$_matched && !$commit)
25687 Parse::RecDescent::_trace(q{Trying production: [/RAND/i]},
25688 Parse::RecDescent::_tracefirst($_[1]),
25691 if defined $::RD_TRACE;
25692 my $thisprod = $thisrule->{"prods"}[37];
25695 @item = (q{sysfun});
25696 %item = (__RULE__ => q{sysfun});
25700 Parse::RecDescent::_trace(q{Trying terminal: [/RAND/i]}, Parse::RecDescent::_tracefirst($text),
25703 if defined $::RD_TRACE;
25705 $expectation->is(q{})->at($text);
25708 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RAND)//i)
25711 $expectation->failed();
25712 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25713 Parse::RecDescent::_tracefirst($text))
25714 if defined $::RD_TRACE;
25718 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25720 Parse::RecDescent::_tracefirst($text))
25721 if defined $::RD_TRACE;
25722 push @item, $item{__PATTERN1__}=$&;
25726 Parse::RecDescent::_trace(q{>>Matched production: [/RAND/i]<<},
25727 Parse::RecDescent::_tracefirst($text),
25730 if defined $::RD_TRACE;
25736 while (!$_matched && !$commit)
25739 Parse::RecDescent::_trace(q{Trying production: [/REPEAT/i]},
25740 Parse::RecDescent::_tracefirst($_[1]),
25743 if defined $::RD_TRACE;
25744 my $thisprod = $thisrule->{"prods"}[38];
25747 @item = (q{sysfun});
25748 %item = (__RULE__ => q{sysfun});
25752 Parse::RecDescent::_trace(q{Trying terminal: [/REPEAT/i]}, Parse::RecDescent::_tracefirst($text),
25755 if defined $::RD_TRACE;
25757 $expectation->is(q{})->at($text);
25760 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REPEAT)//i)
25763 $expectation->failed();
25764 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25765 Parse::RecDescent::_tracefirst($text))
25766 if defined $::RD_TRACE;
25770 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25772 Parse::RecDescent::_tracefirst($text))
25773 if defined $::RD_TRACE;
25774 push @item, $item{__PATTERN1__}=$&;
25778 Parse::RecDescent::_trace(q{>>Matched production: [/REPEAT/i]<<},
25779 Parse::RecDescent::_tracefirst($text),
25782 if defined $::RD_TRACE;
25788 while (!$_matched && !$commit)
25791 Parse::RecDescent::_trace(q{Trying production: [/REPLACE/i]},
25792 Parse::RecDescent::_tracefirst($_[1]),
25795 if defined $::RD_TRACE;
25796 my $thisprod = $thisrule->{"prods"}[39];
25799 @item = (q{sysfun});
25800 %item = (__RULE__ => q{sysfun});
25804 Parse::RecDescent::_trace(q{Trying terminal: [/REPLACE/i]}, Parse::RecDescent::_tracefirst($text),
25807 if defined $::RD_TRACE;
25809 $expectation->is(q{})->at($text);
25812 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REPLACE)//i)
25815 $expectation->failed();
25816 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25817 Parse::RecDescent::_tracefirst($text))
25818 if defined $::RD_TRACE;
25822 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25824 Parse::RecDescent::_tracefirst($text))
25825 if defined $::RD_TRACE;
25826 push @item, $item{__PATTERN1__}=$&;
25830 Parse::RecDescent::_trace(q{>>Matched production: [/REPLACE/i]<<},
25831 Parse::RecDescent::_tracefirst($text),
25834 if defined $::RD_TRACE;
25840 while (!$_matched && !$commit)
25843 Parse::RecDescent::_trace(q{Trying production: [/RIGHT/i]},
25844 Parse::RecDescent::_tracefirst($_[1]),
25847 if defined $::RD_TRACE;
25848 my $thisprod = $thisrule->{"prods"}[40];
25851 @item = (q{sysfun});
25852 %item = (__RULE__ => q{sysfun});
25856 Parse::RecDescent::_trace(q{Trying terminal: [/RIGHT/i]}, Parse::RecDescent::_tracefirst($text),
25859 if defined $::RD_TRACE;
25861 $expectation->is(q{})->at($text);
25864 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RIGHT)//i)
25867 $expectation->failed();
25868 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25869 Parse::RecDescent::_tracefirst($text))
25870 if defined $::RD_TRACE;
25874 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25876 Parse::RecDescent::_tracefirst($text))
25877 if defined $::RD_TRACE;
25878 push @item, $item{__PATTERN1__}=$&;
25882 Parse::RecDescent::_trace(q{>>Matched production: [/RIGHT/i]<<},
25883 Parse::RecDescent::_tracefirst($text),
25886 if defined $::RD_TRACE;
25892 while (!$_matched && !$commit)
25895 Parse::RecDescent::_trace(q{Trying production: [/ROUND/i]},
25896 Parse::RecDescent::_tracefirst($_[1]),
25899 if defined $::RD_TRACE;
25900 my $thisprod = $thisrule->{"prods"}[41];
25903 @item = (q{sysfun});
25904 %item = (__RULE__ => q{sysfun});
25908 Parse::RecDescent::_trace(q{Trying terminal: [/ROUND/i]}, Parse::RecDescent::_tracefirst($text),
25911 if defined $::RD_TRACE;
25913 $expectation->is(q{})->at($text);
25916 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ROUND)//i)
25919 $expectation->failed();
25920 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25921 Parse::RecDescent::_tracefirst($text))
25922 if defined $::RD_TRACE;
25926 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25928 Parse::RecDescent::_tracefirst($text))
25929 if defined $::RD_TRACE;
25930 push @item, $item{__PATTERN1__}=$&;
25934 Parse::RecDescent::_trace(q{>>Matched production: [/ROUND/i]<<},
25935 Parse::RecDescent::_tracefirst($text),
25938 if defined $::RD_TRACE;
25944 while (!$_matched && !$commit)
25947 Parse::RecDescent::_trace(q{Trying production: [/RTRIM/ I]},
25948 Parse::RecDescent::_tracefirst($_[1]),
25951 if defined $::RD_TRACE;
25952 my $thisprod = $thisrule->{"prods"}[42];
25955 @item = (q{sysfun});
25956 %item = (__RULE__ => q{sysfun});
25960 Parse::RecDescent::_trace(q{Trying terminal: [/RTRIM/]}, Parse::RecDescent::_tracefirst($text),
25963 if defined $::RD_TRACE;
25965 $expectation->is(q{})->at($text);
25968 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RTRIM)//)
25971 $expectation->failed();
25972 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
25973 Parse::RecDescent::_tracefirst($text))
25974 if defined $::RD_TRACE;
25978 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
25980 Parse::RecDescent::_tracefirst($text))
25981 if defined $::RD_TRACE;
25982 push @item, $item{__PATTERN1__}=$&;
25985 Parse::RecDescent::_trace(q{Trying subrule: [I]},
25986 Parse::RecDescent::_tracefirst($text),
25989 if defined $::RD_TRACE;
25990 if (1) { no strict qw{refs};
25991 $expectation->is(q{I})->at($text);
25992 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::I($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
25995 Parse::RecDescent::_trace(q{<<Didn't match subrule: [I]>>},
25996 Parse::RecDescent::_tracefirst($text),
25999 if defined $::RD_TRACE;
26000 $expectation->failed();
26003 Parse::RecDescent::_trace(q{>>Matched subrule: [I]<< (return value: [}
26006 Parse::RecDescent::_tracefirst($text),
26009 if defined $::RD_TRACE;
26010 $item{q{I}} = $_tok;
26016 Parse::RecDescent::_trace(q{>>Matched production: [/RTRIM/ I]<<},
26017 Parse::RecDescent::_tracefirst($text),
26020 if defined $::RD_TRACE;
26026 while (!$_matched && !$commit)
26029 Parse::RecDescent::_trace(q{Trying production: [/SIGN/i]},
26030 Parse::RecDescent::_tracefirst($_[1]),
26033 if defined $::RD_TRACE;
26034 my $thisprod = $thisrule->{"prods"}[43];
26037 @item = (q{sysfun});
26038 %item = (__RULE__ => q{sysfun});
26042 Parse::RecDescent::_trace(q{Trying terminal: [/SIGN/i]}, Parse::RecDescent::_tracefirst($text),
26045 if defined $::RD_TRACE;
26047 $expectation->is(q{})->at($text);
26050 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SIGN)//i)
26053 $expectation->failed();
26054 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26055 Parse::RecDescent::_tracefirst($text))
26056 if defined $::RD_TRACE;
26060 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26062 Parse::RecDescent::_tracefirst($text))
26063 if defined $::RD_TRACE;
26064 push @item, $item{__PATTERN1__}=$&;
26068 Parse::RecDescent::_trace(q{>>Matched production: [/SIGN/i]<<},
26069 Parse::RecDescent::_tracefirst($text),
26072 if defined $::RD_TRACE;
26078 while (!$_matched && !$commit)
26081 Parse::RecDescent::_trace(q{Trying production: [/SIN/i]},
26082 Parse::RecDescent::_tracefirst($_[1]),
26085 if defined $::RD_TRACE;
26086 my $thisprod = $thisrule->{"prods"}[44];
26089 @item = (q{sysfun});
26090 %item = (__RULE__ => q{sysfun});
26094 Parse::RecDescent::_trace(q{Trying terminal: [/SIN/i]}, Parse::RecDescent::_tracefirst($text),
26097 if defined $::RD_TRACE;
26099 $expectation->is(q{})->at($text);
26102 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SIN)//i)
26105 $expectation->failed();
26106 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26107 Parse::RecDescent::_tracefirst($text))
26108 if defined $::RD_TRACE;
26112 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26114 Parse::RecDescent::_tracefirst($text))
26115 if defined $::RD_TRACE;
26116 push @item, $item{__PATTERN1__}=$&;
26120 Parse::RecDescent::_trace(q{>>Matched production: [/SIN/i]<<},
26121 Parse::RecDescent::_tracefirst($text),
26124 if defined $::RD_TRACE;
26130 while (!$_matched && !$commit)
26133 Parse::RecDescent::_trace(q{Trying production: [/SOUNDEX/i]},
26134 Parse::RecDescent::_tracefirst($_[1]),
26137 if defined $::RD_TRACE;
26138 my $thisprod = $thisrule->{"prods"}[45];
26141 @item = (q{sysfun});
26142 %item = (__RULE__ => q{sysfun});
26146 Parse::RecDescent::_trace(q{Trying terminal: [/SOUNDEX/i]}, Parse::RecDescent::_tracefirst($text),
26149 if defined $::RD_TRACE;
26151 $expectation->is(q{})->at($text);
26154 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SOUNDEX)//i)
26157 $expectation->failed();
26158 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26159 Parse::RecDescent::_tracefirst($text))
26160 if defined $::RD_TRACE;
26164 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26166 Parse::RecDescent::_tracefirst($text))
26167 if defined $::RD_TRACE;
26168 push @item, $item{__PATTERN1__}=$&;
26172 Parse::RecDescent::_trace(q{>>Matched production: [/SOUNDEX/i]<<},
26173 Parse::RecDescent::_tracefirst($text),
26176 if defined $::RD_TRACE;
26182 while (!$_matched && !$commit)
26185 Parse::RecDescent::_trace(q{Trying production: [/SPACE/i]},
26186 Parse::RecDescent::_tracefirst($_[1]),
26189 if defined $::RD_TRACE;
26190 my $thisprod = $thisrule->{"prods"}[46];
26193 @item = (q{sysfun});
26194 %item = (__RULE__ => q{sysfun});
26198 Parse::RecDescent::_trace(q{Trying terminal: [/SPACE/i]}, Parse::RecDescent::_tracefirst($text),
26201 if defined $::RD_TRACE;
26203 $expectation->is(q{})->at($text);
26206 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SPACE)//i)
26209 $expectation->failed();
26210 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26211 Parse::RecDescent::_tracefirst($text))
26212 if defined $::RD_TRACE;
26216 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26218 Parse::RecDescent::_tracefirst($text))
26219 if defined $::RD_TRACE;
26220 push @item, $item{__PATTERN1__}=$&;
26224 Parse::RecDescent::_trace(q{>>Matched production: [/SPACE/i]<<},
26225 Parse::RecDescent::_tracefirst($text),
26228 if defined $::RD_TRACE;
26234 while (!$_matched && !$commit)
26237 Parse::RecDescent::_trace(q{Trying production: [/SQLCACHE_SNAPSHOT/i]},
26238 Parse::RecDescent::_tracefirst($_[1]),
26241 if defined $::RD_TRACE;
26242 my $thisprod = $thisrule->{"prods"}[47];
26245 @item = (q{sysfun});
26246 %item = (__RULE__ => q{sysfun});
26250 Parse::RecDescent::_trace(q{Trying terminal: [/SQLCACHE_SNAPSHOT/i]}, Parse::RecDescent::_tracefirst($text),
26253 if defined $::RD_TRACE;
26255 $expectation->is(q{})->at($text);
26258 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SQLCACHE_SNAPSHOT)//i)
26261 $expectation->failed();
26262 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26263 Parse::RecDescent::_tracefirst($text))
26264 if defined $::RD_TRACE;
26268 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26270 Parse::RecDescent::_tracefirst($text))
26271 if defined $::RD_TRACE;
26272 push @item, $item{__PATTERN1__}=$&;
26276 Parse::RecDescent::_trace(q{>>Matched production: [/SQLCACHE_SNAPSHOT/i]<<},
26277 Parse::RecDescent::_tracefirst($text),
26280 if defined $::RD_TRACE;
26286 while (!$_matched && !$commit)
26289 Parse::RecDescent::_trace(q{Trying production: [/SQRT/i]},
26290 Parse::RecDescent::_tracefirst($_[1]),
26293 if defined $::RD_TRACE;
26294 my $thisprod = $thisrule->{"prods"}[48];
26297 @item = (q{sysfun});
26298 %item = (__RULE__ => q{sysfun});
26302 Parse::RecDescent::_trace(q{Trying terminal: [/SQRT/i]}, Parse::RecDescent::_tracefirst($text),
26305 if defined $::RD_TRACE;
26307 $expectation->is(q{})->at($text);
26310 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SQRT)//i)
26313 $expectation->failed();
26314 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26315 Parse::RecDescent::_tracefirst($text))
26316 if defined $::RD_TRACE;
26320 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26322 Parse::RecDescent::_tracefirst($text))
26323 if defined $::RD_TRACE;
26324 push @item, $item{__PATTERN1__}=$&;
26328 Parse::RecDescent::_trace(q{>>Matched production: [/SQRT/i]<<},
26329 Parse::RecDescent::_tracefirst($text),
26332 if defined $::RD_TRACE;
26338 while (!$_matched && !$commit)
26341 Parse::RecDescent::_trace(q{Trying production: [/TAN/i]},
26342 Parse::RecDescent::_tracefirst($_[1]),
26345 if defined $::RD_TRACE;
26346 my $thisprod = $thisrule->{"prods"}[49];
26349 @item = (q{sysfun});
26350 %item = (__RULE__ => q{sysfun});
26354 Parse::RecDescent::_trace(q{Trying terminal: [/TAN/i]}, Parse::RecDescent::_tracefirst($text),
26357 if defined $::RD_TRACE;
26359 $expectation->is(q{})->at($text);
26362 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TAN)//i)
26365 $expectation->failed();
26366 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26367 Parse::RecDescent::_tracefirst($text))
26368 if defined $::RD_TRACE;
26372 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26374 Parse::RecDescent::_tracefirst($text))
26375 if defined $::RD_TRACE;
26376 push @item, $item{__PATTERN1__}=$&;
26380 Parse::RecDescent::_trace(q{>>Matched production: [/TAN/i]<<},
26381 Parse::RecDescent::_tracefirst($text),
26384 if defined $::RD_TRACE;
26390 while (!$_matched && !$commit)
26393 Parse::RecDescent::_trace(q{Trying production: [/TIMESTAMP_ISO/i]},
26394 Parse::RecDescent::_tracefirst($_[1]),
26397 if defined $::RD_TRACE;
26398 my $thisprod = $thisrule->{"prods"}[50];
26401 @item = (q{sysfun});
26402 %item = (__RULE__ => q{sysfun});
26406 Parse::RecDescent::_trace(q{Trying terminal: [/TIMESTAMP_ISO/i]}, Parse::RecDescent::_tracefirst($text),
26409 if defined $::RD_TRACE;
26411 $expectation->is(q{})->at($text);
26414 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TIMESTAMP_ISO)//i)
26417 $expectation->failed();
26418 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26419 Parse::RecDescent::_tracefirst($text))
26420 if defined $::RD_TRACE;
26424 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26426 Parse::RecDescent::_tracefirst($text))
26427 if defined $::RD_TRACE;
26428 push @item, $item{__PATTERN1__}=$&;
26432 Parse::RecDescent::_trace(q{>>Matched production: [/TIMESTAMP_ISO/i]<<},
26433 Parse::RecDescent::_tracefirst($text),
26436 if defined $::RD_TRACE;
26442 while (!$_matched && !$commit)
26445 Parse::RecDescent::_trace(q{Trying production: [/TIMESTAMPDIFF/i]},
26446 Parse::RecDescent::_tracefirst($_[1]),
26449 if defined $::RD_TRACE;
26450 my $thisprod = $thisrule->{"prods"}[51];
26453 @item = (q{sysfun});
26454 %item = (__RULE__ => q{sysfun});
26458 Parse::RecDescent::_trace(q{Trying terminal: [/TIMESTAMPDIFF/i]}, Parse::RecDescent::_tracefirst($text),
26461 if defined $::RD_TRACE;
26463 $expectation->is(q{})->at($text);
26466 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TIMESTAMPDIFF)//i)
26469 $expectation->failed();
26470 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26471 Parse::RecDescent::_tracefirst($text))
26472 if defined $::RD_TRACE;
26476 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26478 Parse::RecDescent::_tracefirst($text))
26479 if defined $::RD_TRACE;
26480 push @item, $item{__PATTERN1__}=$&;
26484 Parse::RecDescent::_trace(q{>>Matched production: [/TIMESTAMPDIFF/i]<<},
26485 Parse::RecDescent::_tracefirst($text),
26488 if defined $::RD_TRACE;
26494 while (!$_matched && !$commit)
26497 Parse::RecDescent::_trace(q{Trying production: [/TRUNCATE/i, or /TRUNC/i]},
26498 Parse::RecDescent::_tracefirst($_[1]),
26501 if defined $::RD_TRACE;
26502 my $thisprod = $thisrule->{"prods"}[52];
26505 @item = (q{sysfun});
26506 %item = (__RULE__ => q{sysfun});
26510 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_53_of_rule_sysfun]},
26511 Parse::RecDescent::_tracefirst($text),
26514 if defined $::RD_TRACE;
26515 if (1) { no strict qw{refs};
26516 $expectation->is(q{})->at($text);
26517 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_53_of_rule_sysfun($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
26520 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_53_of_rule_sysfun]>>},
26521 Parse::RecDescent::_tracefirst($text),
26524 if defined $::RD_TRACE;
26525 $expectation->failed();
26528 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_53_of_rule_sysfun]<< (return value: [}
26531 Parse::RecDescent::_tracefirst($text),
26534 if defined $::RD_TRACE;
26535 $item{q{_alternation_1_of_production_53_of_rule_sysfun}} = $_tok;
26541 Parse::RecDescent::_trace(q{>>Matched production: [/TRUNCATE/i, or /TRUNC/i]<<},
26542 Parse::RecDescent::_tracefirst($text),
26545 if defined $::RD_TRACE;
26551 while (!$_matched && !$commit)
26554 Parse::RecDescent::_trace(q{Trying production: [/UCASE/i]},
26555 Parse::RecDescent::_tracefirst($_[1]),
26558 if defined $::RD_TRACE;
26559 my $thisprod = $thisrule->{"prods"}[53];
26562 @item = (q{sysfun});
26563 %item = (__RULE__ => q{sysfun});
26567 Parse::RecDescent::_trace(q{Trying terminal: [/UCASE/i]}, Parse::RecDescent::_tracefirst($text),
26570 if defined $::RD_TRACE;
26572 $expectation->is(q{})->at($text);
26575 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UCASE)//i)
26578 $expectation->failed();
26579 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26580 Parse::RecDescent::_tracefirst($text))
26581 if defined $::RD_TRACE;
26585 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26587 Parse::RecDescent::_tracefirst($text))
26588 if defined $::RD_TRACE;
26589 push @item, $item{__PATTERN1__}=$&;
26593 Parse::RecDescent::_trace(q{>>Matched production: [/UCASE/i]<<},
26594 Parse::RecDescent::_tracefirst($text),
26597 if defined $::RD_TRACE;
26603 while (!$_matched && !$commit)
26606 Parse::RecDescent::_trace(q{Trying production: [/WEEK/i]},
26607 Parse::RecDescent::_tracefirst($_[1]),
26610 if defined $::RD_TRACE;
26611 my $thisprod = $thisrule->{"prods"}[54];
26614 @item = (q{sysfun});
26615 %item = (__RULE__ => q{sysfun});
26619 Parse::RecDescent::_trace(q{Trying terminal: [/WEEK/i]}, Parse::RecDescent::_tracefirst($text),
26622 if defined $::RD_TRACE;
26624 $expectation->is(q{})->at($text);
26627 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:WEEK)//i)
26630 $expectation->failed();
26631 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26632 Parse::RecDescent::_tracefirst($text))
26633 if defined $::RD_TRACE;
26637 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26639 Parse::RecDescent::_tracefirst($text))
26640 if defined $::RD_TRACE;
26641 push @item, $item{__PATTERN1__}=$&;
26645 Parse::RecDescent::_trace(q{>>Matched production: [/WEEK/i]<<},
26646 Parse::RecDescent::_tracefirst($text),
26649 if defined $::RD_TRACE;
26655 while (!$_matched && !$commit)
26658 Parse::RecDescent::_trace(q{Trying production: [/WEEK_ISO/i]},
26659 Parse::RecDescent::_tracefirst($_[1]),
26662 if defined $::RD_TRACE;
26663 my $thisprod = $thisrule->{"prods"}[55];
26666 @item = (q{sysfun});
26667 %item = (__RULE__ => q{sysfun});
26671 Parse::RecDescent::_trace(q{Trying terminal: [/WEEK_ISO/i]}, Parse::RecDescent::_tracefirst($text),
26674 if defined $::RD_TRACE;
26676 $expectation->is(q{})->at($text);
26679 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:WEEK_ISO)//i)
26682 $expectation->failed();
26683 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26684 Parse::RecDescent::_tracefirst($text))
26685 if defined $::RD_TRACE;
26689 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26691 Parse::RecDescent::_tracefirst($text))
26692 if defined $::RD_TRACE;
26693 push @item, $item{__PATTERN1__}=$&;
26697 Parse::RecDescent::_trace(q{>>Matched production: [/WEEK_ISO/i]<<},
26698 Parse::RecDescent::_tracefirst($text),
26701 if defined $::RD_TRACE;
26707 unless ( $_matched || defined($return) || defined($score) )
26711 $_[1] = $text; # NOT SURE THIS IS NEEDED
26712 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
26713 Parse::RecDescent::_tracefirst($_[1]),
26716 if defined $::RD_TRACE;
26719 if (!defined($return) && defined($score))
26721 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
26724 if defined $::RD_TRACE;
26725 $return = $score_return;
26727 splice @{$thisparser->{errors}}, $err_at;
26728 $return = $item[$#item] unless defined $return;
26729 if (defined $::RD_TRACE)
26731 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
26732 $return . q{])}, "",
26735 Parse::RecDescent::_trace(q{(consumed: [} .
26736 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
26737 Parse::RecDescent::_tracefirst($text),
26745 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
26746 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond
26748 my $thisparser = $_[0];
26749 use vars q{$tracelevel};
26750 local $tracelevel = ($tracelevel||0)+1;
26752 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond"};
26754 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond]},
26755 Parse::RecDescent::_tracefirst($_[1]),
26756 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26758 if defined $::RD_TRACE;
26761 my $err_at = @{$thisparser->{errors}};
26766 my $return = undef;
26771 my $repeating = defined($_[2]) && $_[2];
26772 my $_noactions = defined($_[3]) && $_[3];
26773 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
26774 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
26777 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
26778 $expectation->at($_[1]);
26781 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
26785 while (!$_matched && !$commit)
26788 Parse::RecDescent::_trace(q{Trying production: [/SELECTIVITY/i numeric_constant]},
26789 Parse::RecDescent::_tracefirst($_[1]),
26790 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26792 if defined $::RD_TRACE;
26793 my $thisprod = $thisrule->{"prods"}[0];
26796 @item = (q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond});
26797 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond});
26801 Parse::RecDescent::_trace(q{Trying terminal: [/SELECTIVITY/i]}, Parse::RecDescent::_tracefirst($text),
26802 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26804 if defined $::RD_TRACE;
26806 $expectation->is(q{})->at($text);
26809 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SELECTIVITY)//i)
26812 $expectation->failed();
26813 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26814 Parse::RecDescent::_tracefirst($text))
26815 if defined $::RD_TRACE;
26819 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26821 Parse::RecDescent::_tracefirst($text))
26822 if defined $::RD_TRACE;
26823 push @item, $item{__PATTERN1__}=$&;
26826 Parse::RecDescent::_trace(q{Trying subrule: [numeric_constant]},
26827 Parse::RecDescent::_tracefirst($text),
26828 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26830 if defined $::RD_TRACE;
26831 if (1) { no strict qw{refs};
26832 $expectation->is(q{numeric_constant})->at($text);
26833 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::numeric_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
26836 Parse::RecDescent::_trace(q{<<Didn't match subrule: [numeric_constant]>>},
26837 Parse::RecDescent::_tracefirst($text),
26838 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26840 if defined $::RD_TRACE;
26841 $expectation->failed();
26844 Parse::RecDescent::_trace(q{>>Matched subrule: [numeric_constant]<< (return value: [}
26847 Parse::RecDescent::_tracefirst($text),
26848 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26850 if defined $::RD_TRACE;
26851 $item{q{numeric_constant}} = $_tok;
26857 Parse::RecDescent::_trace(q{>>Matched production: [/SELECTIVITY/i numeric_constant]<<},
26858 Parse::RecDescent::_tracefirst($text),
26859 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26861 if defined $::RD_TRACE;
26867 unless ( $_matched || defined($return) || defined($score) )
26871 $_[1] = $text; # NOT SURE THIS IS NEEDED
26872 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
26873 Parse::RecDescent::_tracefirst($_[1]),
26874 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26876 if defined $::RD_TRACE;
26879 if (!defined($return) && defined($score))
26881 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
26882 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26884 if defined $::RD_TRACE;
26885 $return = $score_return;
26887 splice @{$thisparser->{errors}}, $err_at;
26888 $return = $item[$#item] unless defined $return;
26889 if (defined $::RD_TRACE)
26891 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
26892 $return . q{])}, "",
26893 q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26895 Parse::RecDescent::_trace(q{(consumed: [} .
26896 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
26897 Parse::RecDescent::_tracefirst($text),
26898 , q{_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond},
26905 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
26906 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME
26908 my $thisparser = $_[0];
26909 use vars q{$tracelevel};
26910 local $tracelevel = ($tracelevel||0)+1;
26912 my $thisrule = $thisparser->{"rules"}{"NAME"};
26914 Parse::RecDescent::_trace(q{Trying rule: [NAME]},
26915 Parse::RecDescent::_tracefirst($_[1]),
26918 if defined $::RD_TRACE;
26921 my $err_at = @{$thisparser->{errors}};
26926 my $return = undef;
26931 my $repeating = defined($_[2]) && $_[2];
26932 my $_noactions = defined($_[3]) && $_[3];
26933 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
26934 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
26937 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
26938 $expectation->at($_[1]);
26941 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
26945 while (!$_matched && !$commit)
26948 Parse::RecDescent::_trace(q{Trying production: [/\\w+/]},
26949 Parse::RecDescent::_tracefirst($_[1]),
26952 if defined $::RD_TRACE;
26953 my $thisprod = $thisrule->{"prods"}[0];
26957 %item = (__RULE__ => q{NAME});
26961 Parse::RecDescent::_trace(q{Trying terminal: [/\\w+/]}, Parse::RecDescent::_tracefirst($text),
26964 if defined $::RD_TRACE;
26966 $expectation->is(q{})->at($text);
26969 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:\w+)//)
26972 $expectation->failed();
26973 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
26974 Parse::RecDescent::_tracefirst($text))
26975 if defined $::RD_TRACE;
26979 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
26981 Parse::RecDescent::_tracefirst($text))
26982 if defined $::RD_TRACE;
26983 push @item, $item{__PATTERN1__}=$&;
26987 Parse::RecDescent::_trace(q{>>Matched production: [/\\w+/]<<},
26988 Parse::RecDescent::_tracefirst($text),
26991 if defined $::RD_TRACE;
26997 while (!$_matched && !$commit)
27000 Parse::RecDescent::_trace(q{Trying production: [/\\w\{1,18\}/]},
27001 Parse::RecDescent::_tracefirst($_[1]),
27004 if defined $::RD_TRACE;
27005 my $thisprod = $thisrule->{"prods"}[1];
27009 %item = (__RULE__ => q{NAME});
27013 Parse::RecDescent::_trace(q{Trying terminal: [/\\w\{1,18\}/]}, Parse::RecDescent::_tracefirst($text),
27016 if defined $::RD_TRACE;
27018 $expectation->is(q{})->at($text);
27021 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:\w{1,18})//)
27024 $expectation->failed();
27025 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
27026 Parse::RecDescent::_tracefirst($text))
27027 if defined $::RD_TRACE;
27031 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
27033 Parse::RecDescent::_tracefirst($text))
27034 if defined $::RD_TRACE;
27035 push @item, $item{__PATTERN1__}=$&;
27039 Parse::RecDescent::_trace(q{>>Matched production: [/\\w\{1,18\}/]<<},
27040 Parse::RecDescent::_tracefirst($text),
27043 if defined $::RD_TRACE;
27049 unless ( $_matched || defined($return) || defined($score) )
27053 $_[1] = $text; # NOT SURE THIS IS NEEDED
27054 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
27055 Parse::RecDescent::_tracefirst($_[1]),
27058 if defined $::RD_TRACE;
27061 if (!defined($return) && defined($score))
27063 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
27066 if defined $::RD_TRACE;
27067 $return = $score_return;
27069 splice @{$thisparser->{errors}}, $err_at;
27070 $return = $item[$#item] unless defined $return;
27071 if (defined $::RD_TRACE)
27073 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
27074 $return . q{])}, "",
27077 Parse::RecDescent::_trace(q{(consumed: [} .
27078 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
27079 Parse::RecDescent::_tracefirst($text),
27087 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
27088 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::constant
27090 my $thisparser = $_[0];
27091 use vars q{$tracelevel};
27092 local $tracelevel = ($tracelevel||0)+1;
27094 my $thisrule = $thisparser->{"rules"}{"constant"};
27096 Parse::RecDescent::_trace(q{Trying rule: [constant]},
27097 Parse::RecDescent::_tracefirst($_[1]),
27100 if defined $::RD_TRACE;
27103 my $err_at = @{$thisparser->{errors}};
27108 my $return = undef;
27113 my $repeating = defined($_[2]) && $_[2];
27114 my $_noactions = defined($_[3]) && $_[3];
27115 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
27116 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
27119 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
27120 $expectation->at($_[1]);
27123 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
27127 while (!$_matched && !$commit)
27130 Parse::RecDescent::_trace(q{Trying production: [int_const]},
27131 Parse::RecDescent::_tracefirst($_[1]),
27134 if defined $::RD_TRACE;
27135 my $thisprod = $thisrule->{"prods"}[0];
27138 @item = (q{constant});
27139 %item = (__RULE__ => q{constant});
27143 Parse::RecDescent::_trace(q{Trying subrule: [int_const]},
27144 Parse::RecDescent::_tracefirst($text),
27147 if defined $::RD_TRACE;
27148 if (1) { no strict qw{refs};
27149 $expectation->is(q{})->at($text);
27150 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::int_const($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27153 Parse::RecDescent::_trace(q{<<Didn't match subrule: [int_const]>>},
27154 Parse::RecDescent::_tracefirst($text),
27157 if defined $::RD_TRACE;
27158 $expectation->failed();
27161 Parse::RecDescent::_trace(q{>>Matched subrule: [int_const]<< (return value: [}
27164 Parse::RecDescent::_tracefirst($text),
27167 if defined $::RD_TRACE;
27168 $item{q{int_const}} = $_tok;
27174 Parse::RecDescent::_trace(q{>>Matched production: [int_const]<<},
27175 Parse::RecDescent::_tracefirst($text),
27178 if defined $::RD_TRACE;
27184 while (!$_matched && !$commit)
27187 Parse::RecDescent::_trace(q{Trying production: [float_const]},
27188 Parse::RecDescent::_tracefirst($_[1]),
27191 if defined $::RD_TRACE;
27192 my $thisprod = $thisrule->{"prods"}[1];
27195 @item = (q{constant});
27196 %item = (__RULE__ => q{constant});
27200 Parse::RecDescent::_trace(q{Trying subrule: [float_const]},
27201 Parse::RecDescent::_tracefirst($text),
27204 if defined $::RD_TRACE;
27205 if (1) { no strict qw{refs};
27206 $expectation->is(q{})->at($text);
27207 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::float_const($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27210 Parse::RecDescent::_trace(q{<<Didn't match subrule: [float_const]>>},
27211 Parse::RecDescent::_tracefirst($text),
27214 if defined $::RD_TRACE;
27215 $expectation->failed();
27218 Parse::RecDescent::_trace(q{>>Matched subrule: [float_const]<< (return value: [}
27221 Parse::RecDescent::_tracefirst($text),
27224 if defined $::RD_TRACE;
27225 $item{q{float_const}} = $_tok;
27231 Parse::RecDescent::_trace(q{>>Matched production: [float_const]<<},
27232 Parse::RecDescent::_tracefirst($text),
27235 if defined $::RD_TRACE;
27241 while (!$_matched && !$commit)
27244 Parse::RecDescent::_trace(q{Trying production: [dec_const]},
27245 Parse::RecDescent::_tracefirst($_[1]),
27248 if defined $::RD_TRACE;
27249 my $thisprod = $thisrule->{"prods"}[2];
27252 @item = (q{constant});
27253 %item = (__RULE__ => q{constant});
27257 Parse::RecDescent::_trace(q{Trying subrule: [dec_const]},
27258 Parse::RecDescent::_tracefirst($text),
27261 if defined $::RD_TRACE;
27262 if (1) { no strict qw{refs};
27263 $expectation->is(q{})->at($text);
27264 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::dec_const($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27267 Parse::RecDescent::_trace(q{<<Didn't match subrule: [dec_const]>>},
27268 Parse::RecDescent::_tracefirst($text),
27271 if defined $::RD_TRACE;
27272 $expectation->failed();
27275 Parse::RecDescent::_trace(q{>>Matched subrule: [dec_const]<< (return value: [}
27278 Parse::RecDescent::_tracefirst($text),
27281 if defined $::RD_TRACE;
27282 $item{q{dec_const}} = $_tok;
27288 Parse::RecDescent::_trace(q{>>Matched production: [dec_const]<<},
27289 Parse::RecDescent::_tracefirst($text),
27292 if defined $::RD_TRACE;
27298 while (!$_matched && !$commit)
27301 Parse::RecDescent::_trace(q{Trying production: [char_const]},
27302 Parse::RecDescent::_tracefirst($_[1]),
27305 if defined $::RD_TRACE;
27306 my $thisprod = $thisrule->{"prods"}[3];
27309 @item = (q{constant});
27310 %item = (__RULE__ => q{constant});
27314 Parse::RecDescent::_trace(q{Trying subrule: [char_const]},
27315 Parse::RecDescent::_tracefirst($text),
27318 if defined $::RD_TRACE;
27319 if (1) { no strict qw{refs};
27320 $expectation->is(q{})->at($text);
27321 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::char_const($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27324 Parse::RecDescent::_trace(q{<<Didn't match subrule: [char_const]>>},
27325 Parse::RecDescent::_tracefirst($text),
27328 if defined $::RD_TRACE;
27329 $expectation->failed();
27332 Parse::RecDescent::_trace(q{>>Matched subrule: [char_const]<< (return value: [}
27335 Parse::RecDescent::_tracefirst($text),
27338 if defined $::RD_TRACE;
27339 $item{q{char_const}} = $_tok;
27345 Parse::RecDescent::_trace(q{>>Matched production: [char_const]<<},
27346 Parse::RecDescent::_tracefirst($text),
27349 if defined $::RD_TRACE;
27355 while (!$_matched && !$commit)
27358 Parse::RecDescent::_trace(q{Trying production: [hex_const]},
27359 Parse::RecDescent::_tracefirst($_[1]),
27362 if defined $::RD_TRACE;
27363 my $thisprod = $thisrule->{"prods"}[4];
27366 @item = (q{constant});
27367 %item = (__RULE__ => q{constant});
27371 Parse::RecDescent::_trace(q{Trying subrule: [hex_const]},
27372 Parse::RecDescent::_tracefirst($text),
27375 if defined $::RD_TRACE;
27376 if (1) { no strict qw{refs};
27377 $expectation->is(q{})->at($text);
27378 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::hex_const($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27381 Parse::RecDescent::_trace(q{<<Didn't match subrule: [hex_const]>>},
27382 Parse::RecDescent::_tracefirst($text),
27385 if defined $::RD_TRACE;
27386 $expectation->failed();
27389 Parse::RecDescent::_trace(q{>>Matched subrule: [hex_const]<< (return value: [}
27392 Parse::RecDescent::_tracefirst($text),
27395 if defined $::RD_TRACE;
27396 $item{q{hex_const}} = $_tok;
27402 Parse::RecDescent::_trace(q{>>Matched production: [hex_const]<<},
27403 Parse::RecDescent::_tracefirst($text),
27406 if defined $::RD_TRACE;
27412 while (!$_matched && !$commit)
27415 Parse::RecDescent::_trace(q{Trying production: [grastr_const]},
27416 Parse::RecDescent::_tracefirst($_[1]),
27419 if defined $::RD_TRACE;
27420 my $thisprod = $thisrule->{"prods"}[5];
27423 @item = (q{constant});
27424 %item = (__RULE__ => q{constant});
27428 Parse::RecDescent::_trace(q{Trying subrule: [grastr_const]},
27429 Parse::RecDescent::_tracefirst($text),
27432 if defined $::RD_TRACE;
27433 if (1) { no strict qw{refs};
27434 $expectation->is(q{})->at($text);
27435 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::grastr_const($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27438 Parse::RecDescent::_trace(q{<<Didn't match subrule: [grastr_const]>>},
27439 Parse::RecDescent::_tracefirst($text),
27442 if defined $::RD_TRACE;
27443 $expectation->failed();
27446 Parse::RecDescent::_trace(q{>>Matched subrule: [grastr_const]<< (return value: [}
27449 Parse::RecDescent::_tracefirst($text),
27452 if defined $::RD_TRACE;
27453 $item{q{grastr_const}} = $_tok;
27459 Parse::RecDescent::_trace(q{>>Matched production: [grastr_const]<<},
27460 Parse::RecDescent::_tracefirst($text),
27463 if defined $::RD_TRACE;
27469 unless ( $_matched || defined($return) || defined($score) )
27473 $_[1] = $text; # NOT SURE THIS IS NEEDED
27474 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
27475 Parse::RecDescent::_tracefirst($_[1]),
27478 if defined $::RD_TRACE;
27481 if (!defined($return) && defined($score))
27483 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
27486 if defined $::RD_TRACE;
27487 $return = $score_return;
27489 splice @{$thisparser->{errors}}, $err_at;
27490 $return = $item[$#item] unless defined $return;
27491 if (defined $::RD_TRACE)
27493 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
27494 $return . q{])}, "",
27497 Parse::RecDescent::_trace(q{(consumed: [} .
27498 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
27499 Parse::RecDescent::_tracefirst($text),
27507 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
27508 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_ranking_function
27510 my $thisparser = $_[0];
27511 use vars q{$tracelevel};
27512 local $tracelevel = ($tracelevel||0)+1;
27514 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_ranking_function"};
27516 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_ranking_function]},
27517 Parse::RecDescent::_tracefirst($_[1]),
27518 q{_alternation_1_of_production_1_of_rule_ranking_function},
27520 if defined $::RD_TRACE;
27523 my $err_at = @{$thisparser->{errors}};
27528 my $return = undef;
27533 my $repeating = defined($_[2]) && $_[2];
27534 my $_noactions = defined($_[3]) && $_[3];
27535 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
27536 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
27539 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
27540 $expectation->at($_[1]);
27543 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
27547 while (!$_matched && !$commit)
27550 Parse::RecDescent::_trace(q{Trying production: [/RANK/ '()']},
27551 Parse::RecDescent::_tracefirst($_[1]),
27552 q{_alternation_1_of_production_1_of_rule_ranking_function},
27554 if defined $::RD_TRACE;
27555 my $thisprod = $thisrule->{"prods"}[0];
27558 @item = (q{_alternation_1_of_production_1_of_rule_ranking_function});
27559 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_ranking_function});
27563 Parse::RecDescent::_trace(q{Trying terminal: [/RANK/]}, Parse::RecDescent::_tracefirst($text),
27564 q{_alternation_1_of_production_1_of_rule_ranking_function},
27566 if defined $::RD_TRACE;
27568 $expectation->is(q{})->at($text);
27571 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:RANK)//)
27574 $expectation->failed();
27575 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
27576 Parse::RecDescent::_tracefirst($text))
27577 if defined $::RD_TRACE;
27581 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
27583 Parse::RecDescent::_tracefirst($text))
27584 if defined $::RD_TRACE;
27585 push @item, $item{__PATTERN1__}=$&;
27588 Parse::RecDescent::_trace(q{Trying terminal: ['()']},
27589 Parse::RecDescent::_tracefirst($text),
27590 q{_alternation_1_of_production_1_of_rule_ranking_function},
27592 if defined $::RD_TRACE;
27594 $expectation->is(q{'()'})->at($text);
27597 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(\)//)
27600 $expectation->failed();
27601 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
27602 Parse::RecDescent::_tracefirst($text))
27603 if defined $::RD_TRACE;
27606 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
27608 Parse::RecDescent::_tracefirst($text))
27609 if defined $::RD_TRACE;
27610 push @item, $item{__STRING1__}=$&;
27614 Parse::RecDescent::_trace(q{>>Matched production: [/RANK/ '()']<<},
27615 Parse::RecDescent::_tracefirst($text),
27616 q{_alternation_1_of_production_1_of_rule_ranking_function},
27618 if defined $::RD_TRACE;
27624 while (!$_matched && !$commit)
27627 Parse::RecDescent::_trace(q{Trying production: [/DENSE_RANK|DENSERANK/i '()']},
27628 Parse::RecDescent::_tracefirst($_[1]),
27629 q{_alternation_1_of_production_1_of_rule_ranking_function},
27631 if defined $::RD_TRACE;
27632 my $thisprod = $thisrule->{"prods"}[1];
27635 @item = (q{_alternation_1_of_production_1_of_rule_ranking_function});
27636 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_ranking_function});
27640 Parse::RecDescent::_trace(q{Trying terminal: [/DENSE_RANK|DENSERANK/i]}, Parse::RecDescent::_tracefirst($text),
27641 q{_alternation_1_of_production_1_of_rule_ranking_function},
27643 if defined $::RD_TRACE;
27645 $expectation->is(q{})->at($text);
27648 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DENSE_RANK|DENSERANK)//i)
27651 $expectation->failed();
27652 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
27653 Parse::RecDescent::_tracefirst($text))
27654 if defined $::RD_TRACE;
27658 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
27660 Parse::RecDescent::_tracefirst($text))
27661 if defined $::RD_TRACE;
27662 push @item, $item{__PATTERN1__}=$&;
27665 Parse::RecDescent::_trace(q{Trying terminal: ['()']},
27666 Parse::RecDescent::_tracefirst($text),
27667 q{_alternation_1_of_production_1_of_rule_ranking_function},
27669 if defined $::RD_TRACE;
27671 $expectation->is(q{'()'})->at($text);
27674 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(\)//)
27677 $expectation->failed();
27678 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
27679 Parse::RecDescent::_tracefirst($text))
27680 if defined $::RD_TRACE;
27683 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
27685 Parse::RecDescent::_tracefirst($text))
27686 if defined $::RD_TRACE;
27687 push @item, $item{__STRING1__}=$&;
27691 Parse::RecDescent::_trace(q{>>Matched production: [/DENSE_RANK|DENSERANK/i '()']<<},
27692 Parse::RecDescent::_tracefirst($text),
27693 q{_alternation_1_of_production_1_of_rule_ranking_function},
27695 if defined $::RD_TRACE;
27701 unless ( $_matched || defined($return) || defined($score) )
27705 $_[1] = $text; # NOT SURE THIS IS NEEDED
27706 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
27707 Parse::RecDescent::_tracefirst($_[1]),
27708 q{_alternation_1_of_production_1_of_rule_ranking_function},
27710 if defined $::RD_TRACE;
27713 if (!defined($return) && defined($score))
27715 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
27716 q{_alternation_1_of_production_1_of_rule_ranking_function},
27718 if defined $::RD_TRACE;
27719 $return = $score_return;
27721 splice @{$thisparser->{errors}}, $err_at;
27722 $return = $item[$#item] unless defined $return;
27723 if (defined $::RD_TRACE)
27725 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
27726 $return . q{])}, "",
27727 q{_alternation_1_of_production_1_of_rule_ranking_function},
27729 Parse::RecDescent::_trace(q{(consumed: [} .
27730 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
27731 Parse::RecDescent::_tracefirst($text),
27732 , q{_alternation_1_of_production_1_of_rule_ranking_function},
27739 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
27740 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_aggregation_group_clause
27742 my $thisparser = $_[0];
27743 use vars q{$tracelevel};
27744 local $tracelevel = ($tracelevel||0)+1;
27746 my $thisrule = $thisparser->{"rules"}{"window_aggregation_group_clause"};
27748 Parse::RecDescent::_trace(q{Trying rule: [window_aggregation_group_clause]},
27749 Parse::RecDescent::_tracefirst($_[1]),
27750 q{window_aggregation_group_clause},
27752 if defined $::RD_TRACE;
27755 my $err_at = @{$thisparser->{errors}};
27760 my $return = undef;
27765 my $repeating = defined($_[2]) && $_[2];
27766 my $_noactions = defined($_[3]) && $_[3];
27767 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
27768 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
27771 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
27772 $expectation->at($_[1]);
27775 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
27779 while (!$_matched && !$commit)
27782 Parse::RecDescent::_trace(q{Trying production: [/ROWS/i, or /RANGE/i group_start, or group_between, or group_end]},
27783 Parse::RecDescent::_tracefirst($_[1]),
27784 q{window_aggregation_group_clause},
27786 if defined $::RD_TRACE;
27787 my $thisprod = $thisrule->{"prods"}[0];
27790 @item = (q{window_aggregation_group_clause});
27791 %item = (__RULE__ => q{window_aggregation_group_clause});
27795 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_window_aggregation_group_clause]},
27796 Parse::RecDescent::_tracefirst($text),
27797 q{window_aggregation_group_clause},
27799 if defined $::RD_TRACE;
27800 if (1) { no strict qw{refs};
27801 $expectation->is(q{})->at($text);
27802 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_window_aggregation_group_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27805 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_window_aggregation_group_clause]>>},
27806 Parse::RecDescent::_tracefirst($text),
27807 q{window_aggregation_group_clause},
27809 if defined $::RD_TRACE;
27810 $expectation->failed();
27813 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_window_aggregation_group_clause]<< (return value: [}
27816 Parse::RecDescent::_tracefirst($text),
27817 q{window_aggregation_group_clause},
27819 if defined $::RD_TRACE;
27820 $item{q{_alternation_1_of_production_1_of_rule_window_aggregation_group_clause}} = $_tok;
27825 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_2_of_production_1_of_rule_window_aggregation_group_clause]},
27826 Parse::RecDescent::_tracefirst($text),
27827 q{window_aggregation_group_clause},
27829 if defined $::RD_TRACE;
27830 if (1) { no strict qw{refs};
27831 $expectation->is(q{group_start, or group_between, or group_end})->at($text);
27832 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_window_aggregation_group_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27835 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_2_of_production_1_of_rule_window_aggregation_group_clause]>>},
27836 Parse::RecDescent::_tracefirst($text),
27837 q{window_aggregation_group_clause},
27839 if defined $::RD_TRACE;
27840 $expectation->failed();
27843 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_2_of_production_1_of_rule_window_aggregation_group_clause]<< (return value: [}
27846 Parse::RecDescent::_tracefirst($text),
27847 q{window_aggregation_group_clause},
27849 if defined $::RD_TRACE;
27850 $item{q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause}} = $_tok;
27856 Parse::RecDescent::_trace(q{>>Matched production: [/ROWS/i, or /RANGE/i group_start, or group_between, or group_end]<<},
27857 Parse::RecDescent::_tracefirst($text),
27858 q{window_aggregation_group_clause},
27860 if defined $::RD_TRACE;
27866 unless ( $_matched || defined($return) || defined($score) )
27870 $_[1] = $text; # NOT SURE THIS IS NEEDED
27871 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
27872 Parse::RecDescent::_tracefirst($_[1]),
27873 q{window_aggregation_group_clause},
27875 if defined $::RD_TRACE;
27878 if (!defined($return) && defined($score))
27880 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
27881 q{window_aggregation_group_clause},
27883 if defined $::RD_TRACE;
27884 $return = $score_return;
27886 splice @{$thisparser->{errors}}, $err_at;
27887 $return = $item[$#item] unless defined $return;
27888 if (defined $::RD_TRACE)
27890 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
27891 $return . q{])}, "",
27892 q{window_aggregation_group_clause},
27894 Parse::RecDescent::_trace(q{(consumed: [} .
27895 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
27896 Parse::RecDescent::_tracefirst($text),
27897 , q{window_aggregation_group_clause},
27904 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
27905 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule_window_aggregation_group_clause
27907 my $thisparser = $_[0];
27908 use vars q{$tracelevel};
27909 local $tracelevel = ($tracelevel||0)+1;
27911 my $thisrule = $thisparser->{"rules"}{"_alternation_2_of_production_1_of_rule_window_aggregation_group_clause"};
27913 Parse::RecDescent::_trace(q{Trying rule: [_alternation_2_of_production_1_of_rule_window_aggregation_group_clause]},
27914 Parse::RecDescent::_tracefirst($_[1]),
27915 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
27917 if defined $::RD_TRACE;
27920 my $err_at = @{$thisparser->{errors}};
27925 my $return = undef;
27930 my $repeating = defined($_[2]) && $_[2];
27931 my $_noactions = defined($_[3]) && $_[3];
27932 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
27933 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
27936 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
27937 $expectation->at($_[1]);
27940 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
27944 while (!$_matched && !$commit)
27947 Parse::RecDescent::_trace(q{Trying production: [group_start]},
27948 Parse::RecDescent::_tracefirst($_[1]),
27949 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
27951 if defined $::RD_TRACE;
27952 my $thisprod = $thisrule->{"prods"}[0];
27955 @item = (q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause});
27956 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause});
27960 Parse::RecDescent::_trace(q{Trying subrule: [group_start]},
27961 Parse::RecDescent::_tracefirst($text),
27962 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
27964 if defined $::RD_TRACE;
27965 if (1) { no strict qw{refs};
27966 $expectation->is(q{})->at($text);
27967 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_start($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
27970 Parse::RecDescent::_trace(q{<<Didn't match subrule: [group_start]>>},
27971 Parse::RecDescent::_tracefirst($text),
27972 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
27974 if defined $::RD_TRACE;
27975 $expectation->failed();
27978 Parse::RecDescent::_trace(q{>>Matched subrule: [group_start]<< (return value: [}
27981 Parse::RecDescent::_tracefirst($text),
27982 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
27984 if defined $::RD_TRACE;
27985 $item{q{group_start}} = $_tok;
27991 Parse::RecDescent::_trace(q{>>Matched production: [group_start]<<},
27992 Parse::RecDescent::_tracefirst($text),
27993 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
27995 if defined $::RD_TRACE;
28001 while (!$_matched && !$commit)
28004 Parse::RecDescent::_trace(q{Trying production: [group_between]},
28005 Parse::RecDescent::_tracefirst($_[1]),
28006 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28008 if defined $::RD_TRACE;
28009 my $thisprod = $thisrule->{"prods"}[1];
28012 @item = (q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause});
28013 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause});
28017 Parse::RecDescent::_trace(q{Trying subrule: [group_between]},
28018 Parse::RecDescent::_tracefirst($text),
28019 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28021 if defined $::RD_TRACE;
28022 if (1) { no strict qw{refs};
28023 $expectation->is(q{})->at($text);
28024 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_between($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
28027 Parse::RecDescent::_trace(q{<<Didn't match subrule: [group_between]>>},
28028 Parse::RecDescent::_tracefirst($text),
28029 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28031 if defined $::RD_TRACE;
28032 $expectation->failed();
28035 Parse::RecDescent::_trace(q{>>Matched subrule: [group_between]<< (return value: [}
28038 Parse::RecDescent::_tracefirst($text),
28039 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28041 if defined $::RD_TRACE;
28042 $item{q{group_between}} = $_tok;
28048 Parse::RecDescent::_trace(q{>>Matched production: [group_between]<<},
28049 Parse::RecDescent::_tracefirst($text),
28050 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28052 if defined $::RD_TRACE;
28058 while (!$_matched && !$commit)
28061 Parse::RecDescent::_trace(q{Trying production: [group_end]},
28062 Parse::RecDescent::_tracefirst($_[1]),
28063 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28065 if defined $::RD_TRACE;
28066 my $thisprod = $thisrule->{"prods"}[2];
28069 @item = (q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause});
28070 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause});
28074 Parse::RecDescent::_trace(q{Trying subrule: [group_end]},
28075 Parse::RecDescent::_tracefirst($text),
28076 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28078 if defined $::RD_TRACE;
28079 if (1) { no strict qw{refs};
28080 $expectation->is(q{})->at($text);
28081 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_end($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
28084 Parse::RecDescent::_trace(q{<<Didn't match subrule: [group_end]>>},
28085 Parse::RecDescent::_tracefirst($text),
28086 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28088 if defined $::RD_TRACE;
28089 $expectation->failed();
28092 Parse::RecDescent::_trace(q{>>Matched subrule: [group_end]<< (return value: [}
28095 Parse::RecDescent::_tracefirst($text),
28096 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28098 if defined $::RD_TRACE;
28099 $item{q{group_end}} = $_tok;
28105 Parse::RecDescent::_trace(q{>>Matched production: [group_end]<<},
28106 Parse::RecDescent::_tracefirst($text),
28107 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28109 if defined $::RD_TRACE;
28115 unless ( $_matched || defined($return) || defined($score) )
28119 $_[1] = $text; # NOT SURE THIS IS NEEDED
28120 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
28121 Parse::RecDescent::_tracefirst($_[1]),
28122 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28124 if defined $::RD_TRACE;
28127 if (!defined($return) && defined($score))
28129 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
28130 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28132 if defined $::RD_TRACE;
28133 $return = $score_return;
28135 splice @{$thisparser->{errors}}, $err_at;
28136 $return = $item[$#item] unless defined $return;
28137 if (defined $::RD_TRACE)
28139 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
28140 $return . q{])}, "",
28141 q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28143 Parse::RecDescent::_trace(q{(consumed: [} .
28144 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
28145 Parse::RecDescent::_tracefirst($text),
28146 , q{_alternation_2_of_production_1_of_rule_window_aggregation_group_clause},
28153 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
28154 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::VIEW
28156 my $thisparser = $_[0];
28157 use vars q{$tracelevel};
28158 local $tracelevel = ($tracelevel||0)+1;
28160 my $thisrule = $thisparser->{"rules"}{"VIEW"};
28162 Parse::RecDescent::_trace(q{Trying rule: [VIEW]},
28163 Parse::RecDescent::_tracefirst($_[1]),
28166 if defined $::RD_TRACE;
28169 my $err_at = @{$thisparser->{errors}};
28174 my $return = undef;
28179 my $repeating = defined($_[2]) && $_[2];
28180 my $_noactions = defined($_[3]) && $_[3];
28181 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
28182 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
28185 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
28186 $expectation->at($_[1]);
28189 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
28193 while (!$_matched && !$commit)
28196 Parse::RecDescent::_trace(q{Trying production: [/view/i]},
28197 Parse::RecDescent::_tracefirst($_[1]),
28200 if defined $::RD_TRACE;
28201 my $thisprod = $thisrule->{"prods"}[0];
28205 %item = (__RULE__ => q{VIEW});
28209 Parse::RecDescent::_trace(q{Trying terminal: [/view/i]}, Parse::RecDescent::_tracefirst($text),
28212 if defined $::RD_TRACE;
28214 $expectation->is(q{})->at($text);
28217 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:view)//i)
28220 $expectation->failed();
28221 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28222 Parse::RecDescent::_tracefirst($text))
28223 if defined $::RD_TRACE;
28227 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28229 Parse::RecDescent::_tracefirst($text))
28230 if defined $::RD_TRACE;
28231 push @item, $item{__PATTERN1__}=$&;
28235 Parse::RecDescent::_trace(q{>>Matched production: [/view/i]<<},
28236 Parse::RecDescent::_tracefirst($text),
28239 if defined $::RD_TRACE;
28245 unless ( $_matched || defined($return) || defined($score) )
28249 $_[1] = $text; # NOT SURE THIS IS NEEDED
28250 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
28251 Parse::RecDescent::_tracefirst($_[1]),
28254 if defined $::RD_TRACE;
28257 if (!defined($return) && defined($score))
28259 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
28262 if defined $::RD_TRACE;
28263 $return = $score_return;
28265 splice @{$thisparser->{errors}}, $err_at;
28266 $return = $item[$#item] unless defined $return;
28267 if (defined $::RD_TRACE)
28269 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
28270 $return . q{])}, "",
28273 Parse::RecDescent::_trace(q{(consumed: [} .
28274 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
28275 Parse::RecDescent::_tracefirst($text),
28283 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
28284 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::with_expression
28286 my $thisparser = $_[0];
28287 use vars q{$tracelevel};
28288 local $tracelevel = ($tracelevel||0)+1;
28290 my $thisrule = $thisparser->{"rules"}{"with_expression"};
28292 Parse::RecDescent::_trace(q{Trying rule: [with_expression]},
28293 Parse::RecDescent::_tracefirst($_[1]),
28294 q{with_expression},
28296 if defined $::RD_TRACE;
28299 my $err_at = @{$thisparser->{errors}};
28304 my $return = undef;
28309 my $repeating = defined($_[2]) && $_[2];
28310 my $_noactions = defined($_[3]) && $_[3];
28311 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
28312 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
28315 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
28316 $expectation->at($_[1]);
28319 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
28323 while (!$_matched && !$commit)
28326 Parse::RecDescent::_trace(q{Trying production: [/WITH/i <leftop: common_table_expression /,/ common_table_expression>]},
28327 Parse::RecDescent::_tracefirst($_[1]),
28328 q{with_expression},
28330 if defined $::RD_TRACE;
28331 my $thisprod = $thisrule->{"prods"}[0];
28334 @item = (q{with_expression});
28335 %item = (__RULE__ => q{with_expression});
28339 Parse::RecDescent::_trace(q{Trying terminal: [/WITH/i]}, Parse::RecDescent::_tracefirst($text),
28340 q{with_expression},
28342 if defined $::RD_TRACE;
28344 $expectation->is(q{})->at($text);
28347 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:WITH)//i)
28350 $expectation->failed();
28351 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28352 Parse::RecDescent::_tracefirst($text))
28353 if defined $::RD_TRACE;
28357 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28359 Parse::RecDescent::_tracefirst($text))
28360 if defined $::RD_TRACE;
28361 push @item, $item{__PATTERN1__}=$&;
28364 Parse::RecDescent::_trace(q{Trying operator: [<leftop: common_table_expression /,/ common_table_expression>]},
28365 Parse::RecDescent::_tracefirst($text),
28366 q{with_expression},
28368 if defined $::RD_TRACE;
28369 $expectation->is(q{<leftop: common_table_expression /,/ common_table_expression>})->at($text);
28379 Parse::RecDescent::_trace(q{Trying subrule: [common_table_expression]},
28380 Parse::RecDescent::_tracefirst($text),
28381 q{with_expression},
28383 if defined $::RD_TRACE;
28384 if (1) { no strict qw{refs};
28385 $expectation->is(q{common_table_expression})->at($text);
28386 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::common_table_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
28389 Parse::RecDescent::_trace(q{<<Didn't match subrule: [common_table_expression]>>},
28390 Parse::RecDescent::_tracefirst($text),
28391 q{with_expression},
28393 if defined $::RD_TRACE;
28394 $expectation->failed();
28397 Parse::RecDescent::_trace(q{>>Matched subrule: [common_table_expression]<< (return value: [}
28400 Parse::RecDescent::_tracefirst($text),
28401 q{with_expression},
28403 if defined $::RD_TRACE;
28404 $item{q{common_table_expression}} = $_tok;
28412 my $savetext = $text;
28415 # MATCH (OP RIGHTARG)(s)
28416 while ($repcount < 100000000)
28420 Parse::RecDescent::_trace(q{Trying terminal: [/,/]}, Parse::RecDescent::_tracefirst($text),
28421 q{with_expression},
28423 if defined $::RD_TRACE;
28425 $expectation->is(q{/,/})->at($text);
28428 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:,)//)
28431 $expectation->failed();
28432 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28433 Parse::RecDescent::_tracefirst($text))
28434 if defined $::RD_TRACE;
28438 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28440 Parse::RecDescent::_tracefirst($text))
28441 if defined $::RD_TRACE;
28442 push @item, $item{__PATTERN2__}=$&;
28446 if (defined $1) {push @item, $item{'common_table_expression(s)'}=$1; $backtrack=1;}
28448 Parse::RecDescent::_trace(q{Trying subrule: [common_table_expression]},
28449 Parse::RecDescent::_tracefirst($text),
28450 q{with_expression},
28452 if defined $::RD_TRACE;
28453 if (1) { no strict qw{refs};
28454 $expectation->is(q{common_table_expression})->at($text);
28455 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::common_table_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
28458 Parse::RecDescent::_trace(q{<<Didn't match subrule: [common_table_expression]>>},
28459 Parse::RecDescent::_tracefirst($text),
28460 q{with_expression},
28462 if defined $::RD_TRACE;
28463 $expectation->failed();
28466 Parse::RecDescent::_trace(q{>>Matched subrule: [common_table_expression]<< (return value: [}
28469 Parse::RecDescent::_tracefirst($text),
28470 q{with_expression},
28472 if defined $::RD_TRACE;
28473 $item{q{common_table_expression}} = $_tok;
28482 pop @item if $backtrack;
28484 unless (@item) { undef $_tok; last }
28489 unless ($repcount>=1)
28491 Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: common_table_expression /,/ common_table_expression>]>>},
28492 Parse::RecDescent::_tracefirst($text),
28493 q{with_expression},
28495 if defined $::RD_TRACE;
28496 $expectation->failed();
28499 Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: common_table_expression /,/ common_table_expression>]<< (return value: [}
28500 . qq{@{$_tok||[]}} . q{]},
28501 Parse::RecDescent::_tracefirst($text),
28502 q{with_expression},
28504 if defined $::RD_TRACE;
28506 push @item, $item{'common_table_expression(s)'}=$_tok||[];
28509 Parse::RecDescent::_trace(q{Trying action},
28510 Parse::RecDescent::_tracefirst($text),
28511 q{with_expression},
28513 if defined $::RD_TRACE;
28516 $_tok = ($_noactions) ? 0 : do {
28517 $return = $item{'common_table_expression'};
28519 unless (defined $_tok)
28521 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
28522 if defined $::RD_TRACE;
28525 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
28527 Parse::RecDescent::_tracefirst($text))
28528 if defined $::RD_TRACE;
28530 $item{__ACTION1__}=$_tok;
28534 Parse::RecDescent::_trace(q{>>Matched production: [/WITH/i <leftop: common_table_expression /,/ common_table_expression>]<<},
28535 Parse::RecDescent::_tracefirst($text),
28536 q{with_expression},
28538 if defined $::RD_TRACE;
28544 unless ( $_matched || defined($return) || defined($score) )
28548 $_[1] = $text; # NOT SURE THIS IS NEEDED
28549 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
28550 Parse::RecDescent::_tracefirst($_[1]),
28551 q{with_expression},
28553 if defined $::RD_TRACE;
28556 if (!defined($return) && defined($score))
28558 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
28559 q{with_expression},
28561 if defined $::RD_TRACE;
28562 $return = $score_return;
28564 splice @{$thisparser->{errors}}, $err_at;
28565 $return = $item[$#item] unless defined $return;
28566 if (defined $::RD_TRACE)
28568 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
28569 $return . q{])}, "",
28570 q{with_expression},
28572 Parse::RecDescent::_trace(q{(consumed: [} .
28573 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
28574 Parse::RecDescent::_tracefirst($text),
28575 , q{with_expression},
28582 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
28583 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::numeric_constant
28585 my $thisparser = $_[0];
28586 use vars q{$tracelevel};
28587 local $tracelevel = ($tracelevel||0)+1;
28589 my $thisrule = $thisparser->{"rules"}{"numeric_constant"};
28591 Parse::RecDescent::_trace(q{Trying rule: [numeric_constant]},
28592 Parse::RecDescent::_tracefirst($_[1]),
28593 q{numeric_constant},
28595 if defined $::RD_TRACE;
28598 my $err_at = @{$thisparser->{errors}};
28603 my $return = undef;
28608 my $repeating = defined($_[2]) && $_[2];
28609 my $_noactions = defined($_[3]) && $_[3];
28610 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
28611 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
28614 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
28615 $expectation->at($_[1]);
28618 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
28622 while (!$_matched && !$commit)
28625 Parse::RecDescent::_trace(q{Trying production: [/\\d+/]},
28626 Parse::RecDescent::_tracefirst($_[1]),
28627 q{numeric_constant},
28629 if defined $::RD_TRACE;
28630 my $thisprod = $thisrule->{"prods"}[0];
28633 @item = (q{numeric_constant});
28634 %item = (__RULE__ => q{numeric_constant});
28638 Parse::RecDescent::_trace(q{Trying terminal: [/\\d+/]}, Parse::RecDescent::_tracefirst($text),
28639 q{numeric_constant},
28641 if defined $::RD_TRACE;
28643 $expectation->is(q{})->at($text);
28646 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:\d+)//)
28649 $expectation->failed();
28650 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28651 Parse::RecDescent::_tracefirst($text))
28652 if defined $::RD_TRACE;
28656 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28658 Parse::RecDescent::_tracefirst($text))
28659 if defined $::RD_TRACE;
28660 push @item, $item{__PATTERN1__}=$&;
28664 Parse::RecDescent::_trace(q{>>Matched production: [/\\d+/]<<},
28665 Parse::RecDescent::_tracefirst($text),
28666 q{numeric_constant},
28668 if defined $::RD_TRACE;
28674 unless ( $_matched || defined($return) || defined($score) )
28678 $_[1] = $text; # NOT SURE THIS IS NEEDED
28679 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
28680 Parse::RecDescent::_tracefirst($_[1]),
28681 q{numeric_constant},
28683 if defined $::RD_TRACE;
28686 if (!defined($return) && defined($score))
28688 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
28689 q{numeric_constant},
28691 if defined $::RD_TRACE;
28692 $return = $score_return;
28694 splice @{$thisparser->{errors}}, $err_at;
28695 $return = $item[$#item] unless defined $return;
28696 if (defined $::RD_TRACE)
28698 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
28699 $return . q{])}, "",
28700 q{numeric_constant},
28702 Parse::RecDescent::_trace(q{(consumed: [} .
28703 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
28704 Parse::RecDescent::_tracefirst($text),
28705 , q{numeric_constant},
28712 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
28713 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::old_new_table
28715 my $thisparser = $_[0];
28716 use vars q{$tracelevel};
28717 local $tracelevel = ($tracelevel||0)+1;
28719 my $thisrule = $thisparser->{"rules"}{"old_new_table"};
28721 Parse::RecDescent::_trace(q{Trying rule: [old_new_table]},
28722 Parse::RecDescent::_tracefirst($_[1]),
28725 if defined $::RD_TRACE;
28728 my $err_at = @{$thisparser->{errors}};
28733 my $return = undef;
28738 my $repeating = defined($_[2]) && $_[2];
28739 my $_noactions = defined($_[3]) && $_[3];
28740 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
28741 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
28744 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
28745 $expectation->at($_[1]);
28748 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
28752 while (!$_matched && !$commit)
28755 Parse::RecDescent::_trace(q{Trying production: [/OLD_TABLE/i /(AS)?/i identifier]},
28756 Parse::RecDescent::_tracefirst($_[1]),
28759 if defined $::RD_TRACE;
28760 my $thisprod = $thisrule->{"prods"}[0];
28763 @item = (q{old_new_table});
28764 %item = (__RULE__ => q{old_new_table});
28768 Parse::RecDescent::_trace(q{Trying terminal: [/OLD_TABLE/i]}, Parse::RecDescent::_tracefirst($text),
28771 if defined $::RD_TRACE;
28773 $expectation->is(q{})->at($text);
28776 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:OLD_TABLE)//i)
28779 $expectation->failed();
28780 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28781 Parse::RecDescent::_tracefirst($text))
28782 if defined $::RD_TRACE;
28786 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28788 Parse::RecDescent::_tracefirst($text))
28789 if defined $::RD_TRACE;
28790 push @item, $item{__PATTERN1__}=$&;
28793 Parse::RecDescent::_trace(q{Trying terminal: [/(AS)?/i]}, Parse::RecDescent::_tracefirst($text),
28796 if defined $::RD_TRACE;
28798 $expectation->is(q{/(AS)?/i})->at($text);
28801 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:(AS)?)//i)
28804 $expectation->failed();
28805 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28806 Parse::RecDescent::_tracefirst($text))
28807 if defined $::RD_TRACE;
28811 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28813 Parse::RecDescent::_tracefirst($text))
28814 if defined $::RD_TRACE;
28815 push @item, $item{__PATTERN2__}=$&;
28818 Parse::RecDescent::_trace(q{Trying subrule: [identifier]},
28819 Parse::RecDescent::_tracefirst($text),
28822 if defined $::RD_TRACE;
28823 if (1) { no strict qw{refs};
28824 $expectation->is(q{identifier})->at($text);
28825 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::identifier($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
28828 Parse::RecDescent::_trace(q{<<Didn't match subrule: [identifier]>>},
28829 Parse::RecDescent::_tracefirst($text),
28832 if defined $::RD_TRACE;
28833 $expectation->failed();
28836 Parse::RecDescent::_trace(q{>>Matched subrule: [identifier]<< (return value: [}
28839 Parse::RecDescent::_tracefirst($text),
28842 if defined $::RD_TRACE;
28843 $item{q{identifier}} = $_tok;
28848 Parse::RecDescent::_trace(q{Trying action},
28849 Parse::RecDescent::_tracefirst($text),
28852 if defined $::RD_TRACE;
28855 $_tok = ($_noactions) ? 0 : do { $return = join(' ', @item[1..3] ) };
28856 unless (defined $_tok)
28858 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
28859 if defined $::RD_TRACE;
28862 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
28864 Parse::RecDescent::_tracefirst($text))
28865 if defined $::RD_TRACE;
28867 $item{__ACTION1__}=$_tok;
28871 Parse::RecDescent::_trace(q{>>Matched production: [/OLD_TABLE/i /(AS)?/i identifier]<<},
28872 Parse::RecDescent::_tracefirst($text),
28875 if defined $::RD_TRACE;
28881 while (!$_matched && !$commit)
28884 Parse::RecDescent::_trace(q{Trying production: [/NEW_TABLE/i /(AS)?/i identifier]},
28885 Parse::RecDescent::_tracefirst($_[1]),
28888 if defined $::RD_TRACE;
28889 my $thisprod = $thisrule->{"prods"}[1];
28892 @item = (q{old_new_table});
28893 %item = (__RULE__ => q{old_new_table});
28897 Parse::RecDescent::_trace(q{Trying terminal: [/NEW_TABLE/i]}, Parse::RecDescent::_tracefirst($text),
28900 if defined $::RD_TRACE;
28902 $expectation->is(q{})->at($text);
28905 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NEW_TABLE)//i)
28908 $expectation->failed();
28909 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28910 Parse::RecDescent::_tracefirst($text))
28911 if defined $::RD_TRACE;
28915 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28917 Parse::RecDescent::_tracefirst($text))
28918 if defined $::RD_TRACE;
28919 push @item, $item{__PATTERN1__}=$&;
28922 Parse::RecDescent::_trace(q{Trying terminal: [/(AS)?/i]}, Parse::RecDescent::_tracefirst($text),
28925 if defined $::RD_TRACE;
28927 $expectation->is(q{/(AS)?/i})->at($text);
28930 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:(AS)?)//i)
28933 $expectation->failed();
28934 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
28935 Parse::RecDescent::_tracefirst($text))
28936 if defined $::RD_TRACE;
28940 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
28942 Parse::RecDescent::_tracefirst($text))
28943 if defined $::RD_TRACE;
28944 push @item, $item{__PATTERN2__}=$&;
28947 Parse::RecDescent::_trace(q{Trying subrule: [identifier]},
28948 Parse::RecDescent::_tracefirst($text),
28951 if defined $::RD_TRACE;
28952 if (1) { no strict qw{refs};
28953 $expectation->is(q{identifier})->at($text);
28954 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::identifier($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
28957 Parse::RecDescent::_trace(q{<<Didn't match subrule: [identifier]>>},
28958 Parse::RecDescent::_tracefirst($text),
28961 if defined $::RD_TRACE;
28962 $expectation->failed();
28965 Parse::RecDescent::_trace(q{>>Matched subrule: [identifier]<< (return value: [}
28968 Parse::RecDescent::_tracefirst($text),
28971 if defined $::RD_TRACE;
28972 $item{q{identifier}} = $_tok;
28977 Parse::RecDescent::_trace(q{Trying action},
28978 Parse::RecDescent::_tracefirst($text),
28981 if defined $::RD_TRACE;
28984 $_tok = ($_noactions) ? 0 : do { $return = join(' ', @item[1..3] ) };
28985 unless (defined $_tok)
28987 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
28988 if defined $::RD_TRACE;
28991 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
28993 Parse::RecDescent::_tracefirst($text))
28994 if defined $::RD_TRACE;
28996 $item{__ACTION1__}=$_tok;
29000 Parse::RecDescent::_trace(q{>>Matched production: [/NEW_TABLE/i /(AS)?/i identifier]<<},
29001 Parse::RecDescent::_tracefirst($text),
29004 if defined $::RD_TRACE;
29010 unless ( $_matched || defined($return) || defined($score) )
29014 $_[1] = $text; # NOT SURE THIS IS NEEDED
29015 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
29016 Parse::RecDescent::_tracefirst($_[1]),
29019 if defined $::RD_TRACE;
29022 if (!defined($return) && defined($score))
29024 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
29027 if defined $::RD_TRACE;
29028 $return = $score_return;
29030 splice @{$thisparser->{errors}}, $err_at;
29031 $return = $item[$#item] unless defined $return;
29032 if (defined $::RD_TRACE)
29034 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
29035 $return . q{])}, "",
29038 Parse::RecDescent::_trace(q{(consumed: [} .
29039 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
29040 Parse::RecDescent::_tracefirst($text),
29041 , q{old_new_table},
29048 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
29049 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_numbering_function
29051 my $thisparser = $_[0];
29052 use vars q{$tracelevel};
29053 local $tracelevel = ($tracelevel||0)+1;
29055 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_numbering_function"};
29057 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_numbering_function]},
29058 Parse::RecDescent::_tracefirst($_[1]),
29059 q{_alternation_1_of_production_1_of_rule_numbering_function},
29061 if defined $::RD_TRACE;
29064 my $err_at = @{$thisparser->{errors}};
29069 my $return = undef;
29074 my $repeating = defined($_[2]) && $_[2];
29075 my $_noactions = defined($_[3]) && $_[3];
29076 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
29077 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
29080 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
29081 $expectation->at($_[1]);
29084 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
29088 while (!$_matched && !$commit)
29091 Parse::RecDescent::_trace(q{Trying production: [window_order_clause window_aggregation_group_clause]},
29092 Parse::RecDescent::_tracefirst($_[1]),
29093 q{_alternation_1_of_production_1_of_rule_numbering_function},
29095 if defined $::RD_TRACE;
29096 my $thisprod = $thisrule->{"prods"}[0];
29099 @item = (q{_alternation_1_of_production_1_of_rule_numbering_function});
29100 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_numbering_function});
29104 Parse::RecDescent::_trace(q{Trying subrule: [window_order_clause]},
29105 Parse::RecDescent::_tracefirst($text),
29106 q{_alternation_1_of_production_1_of_rule_numbering_function},
29108 if defined $::RD_TRACE;
29109 if (1) { no strict qw{refs};
29110 $expectation->is(q{})->at($text);
29111 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_order_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
29114 Parse::RecDescent::_trace(q{<<Didn't match subrule: [window_order_clause]>>},
29115 Parse::RecDescent::_tracefirst($text),
29116 q{_alternation_1_of_production_1_of_rule_numbering_function},
29118 if defined $::RD_TRACE;
29119 $expectation->failed();
29122 Parse::RecDescent::_trace(q{>>Matched subrule: [window_order_clause]<< (return value: [}
29125 Parse::RecDescent::_tracefirst($text),
29126 q{_alternation_1_of_production_1_of_rule_numbering_function},
29128 if defined $::RD_TRACE;
29129 $item{q{window_order_clause}} = $_tok;
29134 Parse::RecDescent::_trace(q{Trying repeated subrule: [window_aggregation_group_clause]},
29135 Parse::RecDescent::_tracefirst($text),
29136 q{_alternation_1_of_production_1_of_rule_numbering_function},
29138 if defined $::RD_TRACE;
29139 $expectation->is(q{window_aggregation_group_clause})->at($text);
29141 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_aggregation_group_clause, 0, 1, $_noactions,$expectation,undef)))
29143 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [window_aggregation_group_clause]>>},
29144 Parse::RecDescent::_tracefirst($text),
29145 q{_alternation_1_of_production_1_of_rule_numbering_function},
29147 if defined $::RD_TRACE;
29150 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [window_aggregation_group_clause]<< (}
29151 . @$_tok . q{ times)},
29153 Parse::RecDescent::_tracefirst($text),
29154 q{_alternation_1_of_production_1_of_rule_numbering_function},
29156 if defined $::RD_TRACE;
29157 $item{q{window_aggregation_group_clause(?)}} = $_tok;
29163 Parse::RecDescent::_trace(q{>>Matched production: [window_order_clause window_aggregation_group_clause]<<},
29164 Parse::RecDescent::_tracefirst($text),
29165 q{_alternation_1_of_production_1_of_rule_numbering_function},
29167 if defined $::RD_TRACE;
29173 unless ( $_matched || defined($return) || defined($score) )
29177 $_[1] = $text; # NOT SURE THIS IS NEEDED
29178 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
29179 Parse::RecDescent::_tracefirst($_[1]),
29180 q{_alternation_1_of_production_1_of_rule_numbering_function},
29182 if defined $::RD_TRACE;
29185 if (!defined($return) && defined($score))
29187 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
29188 q{_alternation_1_of_production_1_of_rule_numbering_function},
29190 if defined $::RD_TRACE;
29191 $return = $score_return;
29193 splice @{$thisparser->{errors}}, $err_at;
29194 $return = $item[$#item] unless defined $return;
29195 if (defined $::RD_TRACE)
29197 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
29198 $return . q{])}, "",
29199 q{_alternation_1_of_production_1_of_rule_numbering_function},
29201 Parse::RecDescent::_trace(q{(consumed: [} .
29202 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
29203 Parse::RecDescent::_tracefirst($text),
29204 , q{_alternation_1_of_production_1_of_rule_numbering_function},
29211 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
29212 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause
29214 my $thisparser = $_[0];
29215 use vars q{$tracelevel};
29216 local $tracelevel = ($tracelevel||0)+1;
29218 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause"};
29220 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause]},
29221 Parse::RecDescent::_tracefirst($_[1]),
29222 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29224 if defined $::RD_TRACE;
29227 my $err_at = @{$thisparser->{errors}};
29232 my $return = undef;
29237 my $repeating = defined($_[2]) && $_[2];
29238 my $_noactions = defined($_[3]) && $_[3];
29239 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
29240 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
29243 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
29244 $expectation->at($_[1]);
29247 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
29251 while (!$_matched && !$commit)
29254 Parse::RecDescent::_trace(q{Trying production: [result_expression]},
29255 Parse::RecDescent::_tracefirst($_[1]),
29256 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29258 if defined $::RD_TRACE;
29259 my $thisprod = $thisrule->{"prods"}[0];
29262 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause});
29263 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause});
29267 Parse::RecDescent::_trace(q{Trying subrule: [result_expression]},
29268 Parse::RecDescent::_tracefirst($text),
29269 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29271 if defined $::RD_TRACE;
29272 if (1) { no strict qw{refs};
29273 $expectation->is(q{})->at($text);
29274 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::result_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
29277 Parse::RecDescent::_trace(q{<<Didn't match subrule: [result_expression]>>},
29278 Parse::RecDescent::_tracefirst($text),
29279 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29281 if defined $::RD_TRACE;
29282 $expectation->failed();
29285 Parse::RecDescent::_trace(q{>>Matched subrule: [result_expression]<< (return value: [}
29288 Parse::RecDescent::_tracefirst($text),
29289 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29291 if defined $::RD_TRACE;
29292 $item{q{result_expression}} = $_tok;
29298 Parse::RecDescent::_trace(q{>>Matched production: [result_expression]<<},
29299 Parse::RecDescent::_tracefirst($text),
29300 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29302 if defined $::RD_TRACE;
29308 while (!$_matched && !$commit)
29311 Parse::RecDescent::_trace(q{Trying production: [/NULL/i]},
29312 Parse::RecDescent::_tracefirst($_[1]),
29313 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29315 if defined $::RD_TRACE;
29316 my $thisprod = $thisrule->{"prods"}[1];
29319 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause});
29320 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause});
29324 Parse::RecDescent::_trace(q{Trying terminal: [/NULL/i]}, Parse::RecDescent::_tracefirst($text),
29325 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29327 if defined $::RD_TRACE;
29329 $expectation->is(q{})->at($text);
29332 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULL)//i)
29335 $expectation->failed();
29336 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29337 Parse::RecDescent::_tracefirst($text))
29338 if defined $::RD_TRACE;
29342 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29344 Parse::RecDescent::_tracefirst($text))
29345 if defined $::RD_TRACE;
29346 push @item, $item{__PATTERN1__}=$&;
29350 Parse::RecDescent::_trace(q{>>Matched production: [/NULL/i]<<},
29351 Parse::RecDescent::_tracefirst($text),
29352 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29354 if defined $::RD_TRACE;
29360 unless ( $_matched || defined($return) || defined($score) )
29364 $_[1] = $text; # NOT SURE THIS IS NEEDED
29365 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
29366 Parse::RecDescent::_tracefirst($_[1]),
29367 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29369 if defined $::RD_TRACE;
29372 if (!defined($return) && defined($score))
29374 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
29375 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29377 if defined $::RD_TRACE;
29378 $return = $score_return;
29380 splice @{$thisparser->{errors}}, $err_at;
29381 $return = $item[$#item] unless defined $return;
29382 if (defined $::RD_TRACE)
29384 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
29385 $return . q{])}, "",
29386 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29388 Parse::RecDescent::_trace(q{(consumed: [} .
29389 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
29390 Parse::RecDescent::_tracefirst($text),
29391 , q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause},
29398 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
29399 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::old_new_corr
29401 my $thisparser = $_[0];
29402 use vars q{$tracelevel};
29403 local $tracelevel = ($tracelevel||0)+1;
29405 my $thisrule = $thisparser->{"rules"}{"old_new_corr"};
29407 Parse::RecDescent::_trace(q{Trying rule: [old_new_corr]},
29408 Parse::RecDescent::_tracefirst($_[1]),
29411 if defined $::RD_TRACE;
29414 my $err_at = @{$thisparser->{errors}};
29419 my $return = undef;
29424 my $repeating = defined($_[2]) && $_[2];
29425 my $_noactions = defined($_[3]) && $_[3];
29426 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
29427 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
29430 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
29431 $expectation->at($_[1]);
29434 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
29438 while (!$_matched && !$commit)
29441 Parse::RecDescent::_trace(q{Trying production: [/OLD/i /(AS)?/i correlation_name]},
29442 Parse::RecDescent::_tracefirst($_[1]),
29445 if defined $::RD_TRACE;
29446 my $thisprod = $thisrule->{"prods"}[0];
29449 @item = (q{old_new_corr});
29450 %item = (__RULE__ => q{old_new_corr});
29454 Parse::RecDescent::_trace(q{Trying terminal: [/OLD/i]}, Parse::RecDescent::_tracefirst($text),
29457 if defined $::RD_TRACE;
29459 $expectation->is(q{})->at($text);
29462 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:OLD)//i)
29465 $expectation->failed();
29466 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29467 Parse::RecDescent::_tracefirst($text))
29468 if defined $::RD_TRACE;
29472 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29474 Parse::RecDescent::_tracefirst($text))
29475 if defined $::RD_TRACE;
29476 push @item, $item{__PATTERN1__}=$&;
29479 Parse::RecDescent::_trace(q{Trying terminal: [/(AS)?/i]}, Parse::RecDescent::_tracefirst($text),
29482 if defined $::RD_TRACE;
29484 $expectation->is(q{/(AS)?/i})->at($text);
29487 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:(AS)?)//i)
29490 $expectation->failed();
29491 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29492 Parse::RecDescent::_tracefirst($text))
29493 if defined $::RD_TRACE;
29497 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29499 Parse::RecDescent::_tracefirst($text))
29500 if defined $::RD_TRACE;
29501 push @item, $item{__PATTERN2__}=$&;
29504 Parse::RecDescent::_trace(q{Trying subrule: [correlation_name]},
29505 Parse::RecDescent::_tracefirst($text),
29508 if defined $::RD_TRACE;
29509 if (1) { no strict qw{refs};
29510 $expectation->is(q{correlation_name})->at($text);
29511 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::correlation_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
29514 Parse::RecDescent::_trace(q{<<Didn't match subrule: [correlation_name]>>},
29515 Parse::RecDescent::_tracefirst($text),
29518 if defined $::RD_TRACE;
29519 $expectation->failed();
29522 Parse::RecDescent::_trace(q{>>Matched subrule: [correlation_name]<< (return value: [}
29525 Parse::RecDescent::_tracefirst($text),
29528 if defined $::RD_TRACE;
29529 $item{q{correlation_name}} = $_tok;
29534 Parse::RecDescent::_trace(q{Trying action},
29535 Parse::RecDescent::_tracefirst($text),
29538 if defined $::RD_TRACE;
29541 $_tok = ($_noactions) ? 0 : do { $return = join(' ', @item[1..3] ) };
29542 unless (defined $_tok)
29544 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
29545 if defined $::RD_TRACE;
29548 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
29550 Parse::RecDescent::_tracefirst($text))
29551 if defined $::RD_TRACE;
29553 $item{__ACTION1__}=$_tok;
29557 Parse::RecDescent::_trace(q{>>Matched production: [/OLD/i /(AS)?/i correlation_name]<<},
29558 Parse::RecDescent::_tracefirst($text),
29561 if defined $::RD_TRACE;
29567 while (!$_matched && !$commit)
29570 Parse::RecDescent::_trace(q{Trying production: [/NEW/i /(AS)?/i correlation_name]},
29571 Parse::RecDescent::_tracefirst($_[1]),
29574 if defined $::RD_TRACE;
29575 my $thisprod = $thisrule->{"prods"}[1];
29578 @item = (q{old_new_corr});
29579 %item = (__RULE__ => q{old_new_corr});
29583 Parse::RecDescent::_trace(q{Trying terminal: [/NEW/i]}, Parse::RecDescent::_tracefirst($text),
29586 if defined $::RD_TRACE;
29588 $expectation->is(q{})->at($text);
29591 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NEW)//i)
29594 $expectation->failed();
29595 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29596 Parse::RecDescent::_tracefirst($text))
29597 if defined $::RD_TRACE;
29601 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29603 Parse::RecDescent::_tracefirst($text))
29604 if defined $::RD_TRACE;
29605 push @item, $item{__PATTERN1__}=$&;
29608 Parse::RecDescent::_trace(q{Trying terminal: [/(AS)?/i]}, Parse::RecDescent::_tracefirst($text),
29611 if defined $::RD_TRACE;
29613 $expectation->is(q{/(AS)?/i})->at($text);
29616 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:(AS)?)//i)
29619 $expectation->failed();
29620 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29621 Parse::RecDescent::_tracefirst($text))
29622 if defined $::RD_TRACE;
29626 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29628 Parse::RecDescent::_tracefirst($text))
29629 if defined $::RD_TRACE;
29630 push @item, $item{__PATTERN2__}=$&;
29633 Parse::RecDescent::_trace(q{Trying subrule: [correlation_name]},
29634 Parse::RecDescent::_tracefirst($text),
29637 if defined $::RD_TRACE;
29638 if (1) { no strict qw{refs};
29639 $expectation->is(q{correlation_name})->at($text);
29640 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::correlation_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
29643 Parse::RecDescent::_trace(q{<<Didn't match subrule: [correlation_name]>>},
29644 Parse::RecDescent::_tracefirst($text),
29647 if defined $::RD_TRACE;
29648 $expectation->failed();
29651 Parse::RecDescent::_trace(q{>>Matched subrule: [correlation_name]<< (return value: [}
29654 Parse::RecDescent::_tracefirst($text),
29657 if defined $::RD_TRACE;
29658 $item{q{correlation_name}} = $_tok;
29663 Parse::RecDescent::_trace(q{Trying action},
29664 Parse::RecDescent::_tracefirst($text),
29667 if defined $::RD_TRACE;
29670 $_tok = ($_noactions) ? 0 : do { $return = join(' ', @item[1..3] ) };
29671 unless (defined $_tok)
29673 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
29674 if defined $::RD_TRACE;
29677 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
29679 Parse::RecDescent::_tracefirst($text))
29680 if defined $::RD_TRACE;
29682 $item{__ACTION1__}=$_tok;
29686 Parse::RecDescent::_trace(q{>>Matched production: [/NEW/i /(AS)?/i correlation_name]<<},
29687 Parse::RecDescent::_tracefirst($text),
29690 if defined $::RD_TRACE;
29696 unless ( $_matched || defined($return) || defined($score) )
29700 $_[1] = $text; # NOT SURE THIS IS NEEDED
29701 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
29702 Parse::RecDescent::_tracefirst($_[1]),
29705 if defined $::RD_TRACE;
29708 if (!defined($return) && defined($score))
29710 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
29713 if defined $::RD_TRACE;
29714 $return = $score_return;
29716 splice @{$thisparser->{errors}}, $err_at;
29717 $return = $item[$#item] unless defined $return;
29718 if (defined $::RD_TRACE)
29720 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
29721 $return . q{])}, "",
29724 Parse::RecDescent::_trace(q{(consumed: [} .
29725 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
29726 Parse::RecDescent::_tracefirst($text),
29734 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
29735 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_42_of_rule_sysibm_function
29737 my $thisparser = $_[0];
29738 use vars q{$tracelevel};
29739 local $tracelevel = ($tracelevel||0)+1;
29741 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_42_of_rule_sysibm_function"};
29743 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_42_of_rule_sysibm_function]},
29744 Parse::RecDescent::_tracefirst($_[1]),
29745 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29747 if defined $::RD_TRACE;
29750 my $err_at = @{$thisparser->{errors}};
29755 my $return = undef;
29760 my $repeating = defined($_[2]) && $_[2];
29761 my $_noactions = defined($_[3]) && $_[3];
29762 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
29763 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
29766 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
29767 $expectation->at($_[1]);
29770 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
29774 while (!$_matched && !$commit)
29777 Parse::RecDescent::_trace(q{Trying production: [/LCASE/i]},
29778 Parse::RecDescent::_tracefirst($_[1]),
29779 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29781 if defined $::RD_TRACE;
29782 my $thisprod = $thisrule->{"prods"}[0];
29785 @item = (q{_alternation_1_of_production_42_of_rule_sysibm_function});
29786 %item = (__RULE__ => q{_alternation_1_of_production_42_of_rule_sysibm_function});
29790 Parse::RecDescent::_trace(q{Trying terminal: [/LCASE/i]}, Parse::RecDescent::_tracefirst($text),
29791 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29793 if defined $::RD_TRACE;
29795 $expectation->is(q{})->at($text);
29798 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LCASE)//i)
29801 $expectation->failed();
29802 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29803 Parse::RecDescent::_tracefirst($text))
29804 if defined $::RD_TRACE;
29808 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29810 Parse::RecDescent::_tracefirst($text))
29811 if defined $::RD_TRACE;
29812 push @item, $item{__PATTERN1__}=$&;
29816 Parse::RecDescent::_trace(q{>>Matched production: [/LCASE/i]<<},
29817 Parse::RecDescent::_tracefirst($text),
29818 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29820 if defined $::RD_TRACE;
29826 while (!$_matched && !$commit)
29829 Parse::RecDescent::_trace(q{Trying production: [/LOWER/]},
29830 Parse::RecDescent::_tracefirst($_[1]),
29831 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29833 if defined $::RD_TRACE;
29834 my $thisprod = $thisrule->{"prods"}[1];
29837 @item = (q{_alternation_1_of_production_42_of_rule_sysibm_function});
29838 %item = (__RULE__ => q{_alternation_1_of_production_42_of_rule_sysibm_function});
29842 Parse::RecDescent::_trace(q{Trying terminal: [/LOWER/]}, Parse::RecDescent::_tracefirst($text),
29843 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29845 if defined $::RD_TRACE;
29847 $expectation->is(q{})->at($text);
29850 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:LOWER)//)
29853 $expectation->failed();
29854 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29855 Parse::RecDescent::_tracefirst($text))
29856 if defined $::RD_TRACE;
29860 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29862 Parse::RecDescent::_tracefirst($text))
29863 if defined $::RD_TRACE;
29864 push @item, $item{__PATTERN1__}=$&;
29868 Parse::RecDescent::_trace(q{>>Matched production: [/LOWER/]<<},
29869 Parse::RecDescent::_tracefirst($text),
29870 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29872 if defined $::RD_TRACE;
29878 unless ( $_matched || defined($return) || defined($score) )
29882 $_[1] = $text; # NOT SURE THIS IS NEEDED
29883 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
29884 Parse::RecDescent::_tracefirst($_[1]),
29885 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29887 if defined $::RD_TRACE;
29890 if (!defined($return) && defined($score))
29892 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
29893 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29895 if defined $::RD_TRACE;
29896 $return = $score_return;
29898 splice @{$thisparser->{errors}}, $err_at;
29899 $return = $item[$#item] unless defined $return;
29900 if (defined $::RD_TRACE)
29902 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
29903 $return . q{])}, "",
29904 q{_alternation_1_of_production_42_of_rule_sysibm_function},
29906 Parse::RecDescent::_trace(q{(consumed: [} .
29907 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
29908 Parse::RecDescent::_tracefirst($text),
29909 , q{_alternation_1_of_production_42_of_rule_sysibm_function},
29916 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
29917 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::subtype_treatment
29919 my $thisparser = $_[0];
29920 use vars q{$tracelevel};
29921 local $tracelevel = ($tracelevel||0)+1;
29923 my $thisrule = $thisparser->{"rules"}{"subtype_treatment"};
29925 Parse::RecDescent::_trace(q{Trying rule: [subtype_treatment]},
29926 Parse::RecDescent::_tracefirst($_[1]),
29927 q{subtype_treatment},
29929 if defined $::RD_TRACE;
29932 my $err_at = @{$thisparser->{errors}};
29937 my $return = undef;
29942 my $repeating = defined($_[2]) && $_[2];
29943 my $_noactions = defined($_[3]) && $_[3];
29944 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
29945 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
29948 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
29949 $expectation->at($_[1]);
29952 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
29956 while (!$_matched && !$commit)
29959 Parse::RecDescent::_trace(q{Trying production: [/TREAT/i '(' expression /AS/i data_type ')']},
29960 Parse::RecDescent::_tracefirst($_[1]),
29961 q{subtype_treatment},
29963 if defined $::RD_TRACE;
29964 my $thisprod = $thisrule->{"prods"}[0];
29967 @item = (q{subtype_treatment});
29968 %item = (__RULE__ => q{subtype_treatment});
29972 Parse::RecDescent::_trace(q{Trying terminal: [/TREAT/i]}, Parse::RecDescent::_tracefirst($text),
29973 q{subtype_treatment},
29975 if defined $::RD_TRACE;
29977 $expectation->is(q{})->at($text);
29980 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:TREAT)//i)
29983 $expectation->failed();
29984 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
29985 Parse::RecDescent::_tracefirst($text))
29986 if defined $::RD_TRACE;
29990 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
29992 Parse::RecDescent::_tracefirst($text))
29993 if defined $::RD_TRACE;
29994 push @item, $item{__PATTERN1__}=$&;
29997 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
29998 Parse::RecDescent::_tracefirst($text),
29999 q{subtype_treatment},
30001 if defined $::RD_TRACE;
30003 $expectation->is(q{'('})->at($text);
30006 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
30009 $expectation->failed();
30010 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
30011 Parse::RecDescent::_tracefirst($text))
30012 if defined $::RD_TRACE;
30015 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30017 Parse::RecDescent::_tracefirst($text))
30018 if defined $::RD_TRACE;
30019 push @item, $item{__STRING1__}=$&;
30022 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
30023 Parse::RecDescent::_tracefirst($text),
30024 q{subtype_treatment},
30026 if defined $::RD_TRACE;
30027 if (1) { no strict qw{refs};
30028 $expectation->is(q{expression})->at($text);
30029 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30032 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
30033 Parse::RecDescent::_tracefirst($text),
30034 q{subtype_treatment},
30036 if defined $::RD_TRACE;
30037 $expectation->failed();
30040 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
30043 Parse::RecDescent::_tracefirst($text),
30044 q{subtype_treatment},
30046 if defined $::RD_TRACE;
30047 $item{q{expression}} = $_tok;
30052 Parse::RecDescent::_trace(q{Trying terminal: [/AS/i]}, Parse::RecDescent::_tracefirst($text),
30053 q{subtype_treatment},
30055 if defined $::RD_TRACE;
30057 $expectation->is(q{/AS/i})->at($text);
30060 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AS)//i)
30063 $expectation->failed();
30064 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
30065 Parse::RecDescent::_tracefirst($text))
30066 if defined $::RD_TRACE;
30070 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30072 Parse::RecDescent::_tracefirst($text))
30073 if defined $::RD_TRACE;
30074 push @item, $item{__PATTERN2__}=$&;
30077 Parse::RecDescent::_trace(q{Trying subrule: [data_type]},
30078 Parse::RecDescent::_tracefirst($text),
30079 q{subtype_treatment},
30081 if defined $::RD_TRACE;
30082 if (1) { no strict qw{refs};
30083 $expectation->is(q{data_type})->at($text);
30084 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::data_type($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30087 Parse::RecDescent::_trace(q{<<Didn't match subrule: [data_type]>>},
30088 Parse::RecDescent::_tracefirst($text),
30089 q{subtype_treatment},
30091 if defined $::RD_TRACE;
30092 $expectation->failed();
30095 Parse::RecDescent::_trace(q{>>Matched subrule: [data_type]<< (return value: [}
30098 Parse::RecDescent::_tracefirst($text),
30099 q{subtype_treatment},
30101 if defined $::RD_TRACE;
30102 $item{q{data_type}} = $_tok;
30107 Parse::RecDescent::_trace(q{Trying terminal: [')']},
30108 Parse::RecDescent::_tracefirst($text),
30109 q{subtype_treatment},
30111 if defined $::RD_TRACE;
30113 $expectation->is(q{')'})->at($text);
30116 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
30119 $expectation->failed();
30120 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
30121 Parse::RecDescent::_tracefirst($text))
30122 if defined $::RD_TRACE;
30125 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30127 Parse::RecDescent::_tracefirst($text))
30128 if defined $::RD_TRACE;
30129 push @item, $item{__STRING2__}=$&;
30133 Parse::RecDescent::_trace(q{>>Matched production: [/TREAT/i '(' expression /AS/i data_type ')']<<},
30134 Parse::RecDescent::_tracefirst($text),
30135 q{subtype_treatment},
30137 if defined $::RD_TRACE;
30143 unless ( $_matched || defined($return) || defined($score) )
30147 $_[1] = $text; # NOT SURE THIS IS NEEDED
30148 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
30149 Parse::RecDescent::_tracefirst($_[1]),
30150 q{subtype_treatment},
30152 if defined $::RD_TRACE;
30155 if (!defined($return) && defined($score))
30157 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
30158 q{subtype_treatment},
30160 if defined $::RD_TRACE;
30161 $return = $score_return;
30163 splice @{$thisparser->{errors}}, $err_at;
30164 $return = $item[$#item] unless defined $return;
30165 if (defined $::RD_TRACE)
30167 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
30168 $return . q{])}, "",
30169 q{subtype_treatment},
30171 Parse::RecDescent::_trace(q{(consumed: [} .
30172 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
30173 Parse::RecDescent::_tracefirst($text),
30174 , q{subtype_treatment},
30181 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
30182 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression
30184 my $thisparser = $_[0];
30185 use vars q{$tracelevel};
30186 local $tracelevel = ($tracelevel||0)+1;
30188 my $thisrule = $thisparser->{"rules"}{"expression"};
30190 Parse::RecDescent::_trace(q{Trying rule: [expression]},
30191 Parse::RecDescent::_tracefirst($_[1]),
30194 if defined $::RD_TRACE;
30197 my $err_at = @{$thisparser->{errors}};
30202 my $return = undef;
30207 my $repeating = defined($_[2]) && $_[2];
30208 my $_noactions = defined($_[3]) && $_[3];
30209 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
30210 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
30213 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
30214 $expectation->at($_[1]);
30217 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
30221 while (!$_matched && !$commit)
30224 Parse::RecDescent::_trace(q{Trying production: [<leftop: '+', or '-' /operator/ '+', or '-'>]},
30225 Parse::RecDescent::_tracefirst($_[1]),
30228 if defined $::RD_TRACE;
30229 my $thisprod = $thisrule->{"prods"}[0];
30232 @item = (q{expression});
30233 %item = (__RULE__ => q{expression});
30237 Parse::RecDescent::_trace(q{Trying operator: [<leftop: '+', or '-' /operator/ '+', or '-'>]},
30238 Parse::RecDescent::_tracefirst($text),
30241 if defined $::RD_TRACE;
30242 $expectation->is(q{})->at($text);
30252 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_expression]},
30253 Parse::RecDescent::_tracefirst($text),
30256 if defined $::RD_TRACE;
30257 if (1) { no strict qw{refs};
30258 $expectation->is(q{'+', or '-'})->at($text);
30259 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30262 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_expression]>>},
30263 Parse::RecDescent::_tracefirst($text),
30266 if defined $::RD_TRACE;
30267 $expectation->failed();
30270 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_expression]<< (return value: [}
30273 Parse::RecDescent::_tracefirst($text),
30276 if defined $::RD_TRACE;
30277 $item{q{_alternation_1_of_production_1_of_rule_expression}} = $_tok;
30285 my $savetext = $text;
30288 # MATCH (OP RIGHTARG)(s)
30289 while ($repcount < 100000000)
30293 Parse::RecDescent::_trace(q{Trying terminal: [/operator/]}, Parse::RecDescent::_tracefirst($text),
30296 if defined $::RD_TRACE;
30298 $expectation->is(q{/operator/})->at($text);
30301 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:operator)//)
30304 $expectation->failed();
30305 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
30306 Parse::RecDescent::_tracefirst($text))
30307 if defined $::RD_TRACE;
30311 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30313 Parse::RecDescent::_tracefirst($text))
30314 if defined $::RD_TRACE;
30315 push @item, $item{__PATTERN1__}=$&;
30319 if (defined $1) {push @item, $item{'_alternation_1_of_production_1_of_rule_expression(s)'}=$1; $backtrack=1;}
30321 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_expression]},
30322 Parse::RecDescent::_tracefirst($text),
30325 if defined $::RD_TRACE;
30326 if (1) { no strict qw{refs};
30327 $expectation->is(q{'+', or '-'})->at($text);
30328 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30331 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_expression]>>},
30332 Parse::RecDescent::_tracefirst($text),
30335 if defined $::RD_TRACE;
30336 $expectation->failed();
30339 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_expression]<< (return value: [}
30342 Parse::RecDescent::_tracefirst($text),
30345 if defined $::RD_TRACE;
30346 $item{q{_alternation_1_of_production_1_of_rule_expression}} = $_tok;
30355 pop @item if $backtrack;
30357 unless (@item) { undef $_tok; last }
30362 unless ($repcount>=1)
30364 Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: '+', or '-' /operator/ '+', or '-'>]>>},
30365 Parse::RecDescent::_tracefirst($text),
30368 if defined $::RD_TRACE;
30369 $expectation->failed();
30372 Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: '+', or '-' /operator/ '+', or '-'>]<< (return value: [}
30373 . qq{@{$_tok||[]}} . q{]},
30374 Parse::RecDescent::_tracefirst($text),
30377 if defined $::RD_TRACE;
30379 push @item, $item{'_alternation_1_of_production_1_of_rule_expression(s)'}=$_tok||[];
30383 Parse::RecDescent::_trace(q{>>Matched production: [<leftop: '+', or '-' /operator/ '+', or '-'>]<<},
30384 Parse::RecDescent::_tracefirst($text),
30387 if defined $::RD_TRACE;
30393 unless ( $_matched || defined($return) || defined($score) )
30397 $_[1] = $text; # NOT SURE THIS IS NEEDED
30398 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
30399 Parse::RecDescent::_tracefirst($_[1]),
30402 if defined $::RD_TRACE;
30405 if (!defined($return) && defined($score))
30407 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
30410 if defined $::RD_TRACE;
30411 $return = $score_return;
30413 splice @{$thisparser->{errors}}, $err_at;
30414 $return = $item[$#item] unless defined $return;
30415 if (defined $::RD_TRACE)
30417 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
30418 $return . q{])}, "",
30421 Parse::RecDescent::_trace(q{(consumed: [} .
30422 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
30423 Parse::RecDescent::_tracefirst($text),
30431 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
30432 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression
30434 my $thisparser = $_[0];
30435 use vars q{$tracelevel};
30436 local $tracelevel = ($tracelevel||0)+1;
30438 my $thisrule = $thisparser->{"rules"}{"_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression"};
30440 Parse::RecDescent::_trace(q{Trying rule: [_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression]},
30441 Parse::RecDescent::_tracefirst($_[1]),
30442 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30444 if defined $::RD_TRACE;
30447 my $err_at = @{$thisparser->{errors}};
30452 my $return = undef;
30457 my $repeating = defined($_[2]) && $_[2];
30458 my $_noactions = defined($_[3]) && $_[3];
30459 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
30460 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
30463 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
30464 $expectation->at($_[1]);
30467 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
30471 while (!$_matched && !$commit)
30474 Parse::RecDescent::_trace(q{Trying production: [function]},
30475 Parse::RecDescent::_tracefirst($_[1]),
30476 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30478 if defined $::RD_TRACE;
30479 my $thisprod = $thisrule->{"prods"}[0];
30482 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30483 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30487 Parse::RecDescent::_trace(q{Trying subrule: [function]},
30488 Parse::RecDescent::_tracefirst($text),
30489 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30491 if defined $::RD_TRACE;
30492 if (1) { no strict qw{refs};
30493 $expectation->is(q{})->at($text);
30494 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30497 Parse::RecDescent::_trace(q{<<Didn't match subrule: [function]>>},
30498 Parse::RecDescent::_tracefirst($text),
30499 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30501 if defined $::RD_TRACE;
30502 $expectation->failed();
30505 Parse::RecDescent::_trace(q{>>Matched subrule: [function]<< (return value: [}
30508 Parse::RecDescent::_tracefirst($text),
30509 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30511 if defined $::RD_TRACE;
30512 $item{q{function}} = $_tok;
30518 Parse::RecDescent::_trace(q{>>Matched production: [function]<<},
30519 Parse::RecDescent::_tracefirst($text),
30520 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30522 if defined $::RD_TRACE;
30528 while (!$_matched && !$commit)
30531 Parse::RecDescent::_trace(q{Trying production: ['(' expression ')']},
30532 Parse::RecDescent::_tracefirst($_[1]),
30533 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30535 if defined $::RD_TRACE;
30536 my $thisprod = $thisrule->{"prods"}[1];
30539 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30540 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30544 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
30545 Parse::RecDescent::_tracefirst($text),
30546 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30548 if defined $::RD_TRACE;
30550 $expectation->is(q{})->at($text);
30553 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
30556 $expectation->failed();
30557 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
30558 Parse::RecDescent::_tracefirst($text))
30559 if defined $::RD_TRACE;
30562 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30564 Parse::RecDescent::_tracefirst($text))
30565 if defined $::RD_TRACE;
30566 push @item, $item{__STRING1__}=$&;
30569 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
30570 Parse::RecDescent::_tracefirst($text),
30571 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30573 if defined $::RD_TRACE;
30574 if (1) { no strict qw{refs};
30575 $expectation->is(q{expression})->at($text);
30576 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30579 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
30580 Parse::RecDescent::_tracefirst($text),
30581 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30583 if defined $::RD_TRACE;
30584 $expectation->failed();
30587 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
30590 Parse::RecDescent::_tracefirst($text),
30591 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30593 if defined $::RD_TRACE;
30594 $item{q{expression}} = $_tok;
30599 Parse::RecDescent::_trace(q{Trying terminal: [')']},
30600 Parse::RecDescent::_tracefirst($text),
30601 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30603 if defined $::RD_TRACE;
30605 $expectation->is(q{')'})->at($text);
30608 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
30611 $expectation->failed();
30612 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
30613 Parse::RecDescent::_tracefirst($text))
30614 if defined $::RD_TRACE;
30617 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30619 Parse::RecDescent::_tracefirst($text))
30620 if defined $::RD_TRACE;
30621 push @item, $item{__STRING2__}=$&;
30625 Parse::RecDescent::_trace(q{>>Matched production: ['(' expression ')']<<},
30626 Parse::RecDescent::_tracefirst($text),
30627 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30629 if defined $::RD_TRACE;
30635 while (!$_matched && !$commit)
30638 Parse::RecDescent::_trace(q{Trying production: [constant]},
30639 Parse::RecDescent::_tracefirst($_[1]),
30640 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30642 if defined $::RD_TRACE;
30643 my $thisprod = $thisrule->{"prods"}[2];
30646 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30647 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30651 Parse::RecDescent::_trace(q{Trying subrule: [constant]},
30652 Parse::RecDescent::_tracefirst($text),
30653 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30655 if defined $::RD_TRACE;
30656 if (1) { no strict qw{refs};
30657 $expectation->is(q{})->at($text);
30658 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30661 Parse::RecDescent::_trace(q{<<Didn't match subrule: [constant]>>},
30662 Parse::RecDescent::_tracefirst($text),
30663 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30665 if defined $::RD_TRACE;
30666 $expectation->failed();
30669 Parse::RecDescent::_trace(q{>>Matched subrule: [constant]<< (return value: [}
30672 Parse::RecDescent::_tracefirst($text),
30673 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30675 if defined $::RD_TRACE;
30676 $item{q{constant}} = $_tok;
30682 Parse::RecDescent::_trace(q{>>Matched production: [constant]<<},
30683 Parse::RecDescent::_tracefirst($text),
30684 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30686 if defined $::RD_TRACE;
30692 while (!$_matched && !$commit)
30695 Parse::RecDescent::_trace(q{Trying production: [column_name]},
30696 Parse::RecDescent::_tracefirst($_[1]),
30697 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30699 if defined $::RD_TRACE;
30700 my $thisprod = $thisrule->{"prods"}[3];
30703 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30704 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30708 Parse::RecDescent::_trace(q{Trying subrule: [column_name]},
30709 Parse::RecDescent::_tracefirst($text),
30710 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30712 if defined $::RD_TRACE;
30713 if (1) { no strict qw{refs};
30714 $expectation->is(q{})->at($text);
30715 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30718 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_name]>>},
30719 Parse::RecDescent::_tracefirst($text),
30720 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30722 if defined $::RD_TRACE;
30723 $expectation->failed();
30726 Parse::RecDescent::_trace(q{>>Matched subrule: [column_name]<< (return value: [}
30729 Parse::RecDescent::_tracefirst($text),
30730 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30732 if defined $::RD_TRACE;
30733 $item{q{column_name}} = $_tok;
30739 Parse::RecDescent::_trace(q{>>Matched production: [column_name]<<},
30740 Parse::RecDescent::_tracefirst($text),
30741 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30743 if defined $::RD_TRACE;
30749 while (!$_matched && !$commit)
30752 Parse::RecDescent::_trace(q{Trying production: [host_variable]},
30753 Parse::RecDescent::_tracefirst($_[1]),
30754 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30756 if defined $::RD_TRACE;
30757 my $thisprod = $thisrule->{"prods"}[4];
30760 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30761 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30765 Parse::RecDescent::_trace(q{Trying subrule: [host_variable]},
30766 Parse::RecDescent::_tracefirst($text),
30767 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30769 if defined $::RD_TRACE;
30770 if (1) { no strict qw{refs};
30771 $expectation->is(q{})->at($text);
30772 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::host_variable($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30775 Parse::RecDescent::_trace(q{<<Didn't match subrule: [host_variable]>>},
30776 Parse::RecDescent::_tracefirst($text),
30777 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30779 if defined $::RD_TRACE;
30780 $expectation->failed();
30783 Parse::RecDescent::_trace(q{>>Matched subrule: [host_variable]<< (return value: [}
30786 Parse::RecDescent::_tracefirst($text),
30787 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30789 if defined $::RD_TRACE;
30790 $item{q{host_variable}} = $_tok;
30796 Parse::RecDescent::_trace(q{>>Matched production: [host_variable]<<},
30797 Parse::RecDescent::_tracefirst($text),
30798 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30800 if defined $::RD_TRACE;
30806 while (!$_matched && !$commit)
30809 Parse::RecDescent::_trace(q{Trying production: [special_register]},
30810 Parse::RecDescent::_tracefirst($_[1]),
30811 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30813 if defined $::RD_TRACE;
30814 my $thisprod = $thisrule->{"prods"}[5];
30817 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30818 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30822 Parse::RecDescent::_trace(q{Trying subrule: [special_register]},
30823 Parse::RecDescent::_tracefirst($text),
30824 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30826 if defined $::RD_TRACE;
30827 if (1) { no strict qw{refs};
30828 $expectation->is(q{})->at($text);
30829 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::special_register($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30832 Parse::RecDescent::_trace(q{<<Didn't match subrule: [special_register]>>},
30833 Parse::RecDescent::_tracefirst($text),
30834 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30836 if defined $::RD_TRACE;
30837 $expectation->failed();
30840 Parse::RecDescent::_trace(q{>>Matched subrule: [special_register]<< (return value: [}
30843 Parse::RecDescent::_tracefirst($text),
30844 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30846 if defined $::RD_TRACE;
30847 $item{q{special_register}} = $_tok;
30853 Parse::RecDescent::_trace(q{>>Matched production: [special_register]<<},
30854 Parse::RecDescent::_tracefirst($text),
30855 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30857 if defined $::RD_TRACE;
30863 while (!$_matched && !$commit)
30866 Parse::RecDescent::_trace(q{Trying production: ['(' scalar_fullselect ')']},
30867 Parse::RecDescent::_tracefirst($_[1]),
30868 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30870 if defined $::RD_TRACE;
30871 my $thisprod = $thisrule->{"prods"}[6];
30874 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30875 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30879 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
30880 Parse::RecDescent::_tracefirst($text),
30881 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30883 if defined $::RD_TRACE;
30885 $expectation->is(q{})->at($text);
30888 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
30891 $expectation->failed();
30892 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
30893 Parse::RecDescent::_tracefirst($text))
30894 if defined $::RD_TRACE;
30897 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30899 Parse::RecDescent::_tracefirst($text))
30900 if defined $::RD_TRACE;
30901 push @item, $item{__STRING1__}=$&;
30904 Parse::RecDescent::_trace(q{Trying subrule: [scalar_fullselect]},
30905 Parse::RecDescent::_tracefirst($text),
30906 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30908 if defined $::RD_TRACE;
30909 if (1) { no strict qw{refs};
30910 $expectation->is(q{scalar_fullselect})->at($text);
30911 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::scalar_fullselect($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30914 Parse::RecDescent::_trace(q{<<Didn't match subrule: [scalar_fullselect]>>},
30915 Parse::RecDescent::_tracefirst($text),
30916 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30918 if defined $::RD_TRACE;
30919 $expectation->failed();
30922 Parse::RecDescent::_trace(q{>>Matched subrule: [scalar_fullselect]<< (return value: [}
30925 Parse::RecDescent::_tracefirst($text),
30926 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30928 if defined $::RD_TRACE;
30929 $item{q{scalar_fullselect}} = $_tok;
30934 Parse::RecDescent::_trace(q{Trying terminal: [')']},
30935 Parse::RecDescent::_tracefirst($text),
30936 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30938 if defined $::RD_TRACE;
30940 $expectation->is(q{')'})->at($text);
30943 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
30946 $expectation->failed();
30947 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
30948 Parse::RecDescent::_tracefirst($text))
30949 if defined $::RD_TRACE;
30952 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
30954 Parse::RecDescent::_tracefirst($text))
30955 if defined $::RD_TRACE;
30956 push @item, $item{__STRING2__}=$&;
30960 Parse::RecDescent::_trace(q{>>Matched production: ['(' scalar_fullselect ')']<<},
30961 Parse::RecDescent::_tracefirst($text),
30962 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30964 if defined $::RD_TRACE;
30970 while (!$_matched && !$commit)
30973 Parse::RecDescent::_trace(q{Trying production: [labeled_duration]},
30974 Parse::RecDescent::_tracefirst($_[1]),
30975 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30977 if defined $::RD_TRACE;
30978 my $thisprod = $thisrule->{"prods"}[7];
30981 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30982 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
30986 Parse::RecDescent::_trace(q{Trying subrule: [labeled_duration]},
30987 Parse::RecDescent::_tracefirst($text),
30988 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
30990 if defined $::RD_TRACE;
30991 if (1) { no strict qw{refs};
30992 $expectation->is(q{})->at($text);
30993 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::labeled_duration($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
30996 Parse::RecDescent::_trace(q{<<Didn't match subrule: [labeled_duration]>>},
30997 Parse::RecDescent::_tracefirst($text),
30998 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31000 if defined $::RD_TRACE;
31001 $expectation->failed();
31004 Parse::RecDescent::_trace(q{>>Matched subrule: [labeled_duration]<< (return value: [}
31007 Parse::RecDescent::_tracefirst($text),
31008 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31010 if defined $::RD_TRACE;
31011 $item{q{labeled_duration}} = $_tok;
31017 Parse::RecDescent::_trace(q{>>Matched production: [labeled_duration]<<},
31018 Parse::RecDescent::_tracefirst($text),
31019 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31021 if defined $::RD_TRACE;
31027 while (!$_matched && !$commit)
31030 Parse::RecDescent::_trace(q{Trying production: [case_expression]},
31031 Parse::RecDescent::_tracefirst($_[1]),
31032 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31034 if defined $::RD_TRACE;
31035 my $thisprod = $thisrule->{"prods"}[8];
31038 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31039 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31043 Parse::RecDescent::_trace(q{Trying subrule: [case_expression]},
31044 Parse::RecDescent::_tracefirst($text),
31045 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31047 if defined $::RD_TRACE;
31048 if (1) { no strict qw{refs};
31049 $expectation->is(q{})->at($text);
31050 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::case_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31053 Parse::RecDescent::_trace(q{<<Didn't match subrule: [case_expression]>>},
31054 Parse::RecDescent::_tracefirst($text),
31055 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31057 if defined $::RD_TRACE;
31058 $expectation->failed();
31061 Parse::RecDescent::_trace(q{>>Matched subrule: [case_expression]<< (return value: [}
31064 Parse::RecDescent::_tracefirst($text),
31065 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31067 if defined $::RD_TRACE;
31068 $item{q{case_expression}} = $_tok;
31074 Parse::RecDescent::_trace(q{>>Matched production: [case_expression]<<},
31075 Parse::RecDescent::_tracefirst($text),
31076 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31078 if defined $::RD_TRACE;
31084 while (!$_matched && !$commit)
31087 Parse::RecDescent::_trace(q{Trying production: [cast_specification]},
31088 Parse::RecDescent::_tracefirst($_[1]),
31089 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31091 if defined $::RD_TRACE;
31092 my $thisprod = $thisrule->{"prods"}[9];
31095 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31096 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31100 Parse::RecDescent::_trace(q{Trying subrule: [cast_specification]},
31101 Parse::RecDescent::_tracefirst($text),
31102 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31104 if defined $::RD_TRACE;
31105 if (1) { no strict qw{refs};
31106 $expectation->is(q{})->at($text);
31107 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::cast_specification($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31110 Parse::RecDescent::_trace(q{<<Didn't match subrule: [cast_specification]>>},
31111 Parse::RecDescent::_tracefirst($text),
31112 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31114 if defined $::RD_TRACE;
31115 $expectation->failed();
31118 Parse::RecDescent::_trace(q{>>Matched subrule: [cast_specification]<< (return value: [}
31121 Parse::RecDescent::_tracefirst($text),
31122 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31124 if defined $::RD_TRACE;
31125 $item{q{cast_specification}} = $_tok;
31131 Parse::RecDescent::_trace(q{>>Matched production: [cast_specification]<<},
31132 Parse::RecDescent::_tracefirst($text),
31133 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31135 if defined $::RD_TRACE;
31141 while (!$_matched && !$commit)
31144 Parse::RecDescent::_trace(q{Trying production: [OLAP_function]},
31145 Parse::RecDescent::_tracefirst($_[1]),
31146 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31148 if defined $::RD_TRACE;
31149 my $thisprod = $thisrule->{"prods"}[10];
31152 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31153 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31157 Parse::RecDescent::_trace(q{Trying subrule: [OLAP_function]},
31158 Parse::RecDescent::_tracefirst($text),
31159 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31161 if defined $::RD_TRACE;
31162 if (1) { no strict qw{refs};
31163 $expectation->is(q{})->at($text);
31164 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::OLAP_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31167 Parse::RecDescent::_trace(q{<<Didn't match subrule: [OLAP_function]>>},
31168 Parse::RecDescent::_tracefirst($text),
31169 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31171 if defined $::RD_TRACE;
31172 $expectation->failed();
31175 Parse::RecDescent::_trace(q{>>Matched subrule: [OLAP_function]<< (return value: [}
31178 Parse::RecDescent::_tracefirst($text),
31179 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31181 if defined $::RD_TRACE;
31182 $item{q{OLAP_function}} = $_tok;
31188 Parse::RecDescent::_trace(q{>>Matched production: [OLAP_function]<<},
31189 Parse::RecDescent::_tracefirst($text),
31190 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31192 if defined $::RD_TRACE;
31198 while (!$_matched && !$commit)
31201 Parse::RecDescent::_trace(q{Trying production: [method_invocation]},
31202 Parse::RecDescent::_tracefirst($_[1]),
31203 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31205 if defined $::RD_TRACE;
31206 my $thisprod = $thisrule->{"prods"}[11];
31209 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31210 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31214 Parse::RecDescent::_trace(q{Trying subrule: [method_invocation]},
31215 Parse::RecDescent::_tracefirst($text),
31216 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31218 if defined $::RD_TRACE;
31219 if (1) { no strict qw{refs};
31220 $expectation->is(q{})->at($text);
31221 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::method_invocation($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31224 Parse::RecDescent::_trace(q{<<Didn't match subrule: [method_invocation]>>},
31225 Parse::RecDescent::_tracefirst($text),
31226 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31228 if defined $::RD_TRACE;
31229 $expectation->failed();
31232 Parse::RecDescent::_trace(q{>>Matched subrule: [method_invocation]<< (return value: [}
31235 Parse::RecDescent::_tracefirst($text),
31236 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31238 if defined $::RD_TRACE;
31239 $item{q{method_invocation}} = $_tok;
31245 Parse::RecDescent::_trace(q{>>Matched production: [method_invocation]<<},
31246 Parse::RecDescent::_tracefirst($text),
31247 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31249 if defined $::RD_TRACE;
31255 while (!$_matched && !$commit)
31258 Parse::RecDescent::_trace(q{Trying production: [subtype_treatment]},
31259 Parse::RecDescent::_tracefirst($_[1]),
31260 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31262 if defined $::RD_TRACE;
31263 my $thisprod = $thisrule->{"prods"}[12];
31266 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31267 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31271 Parse::RecDescent::_trace(q{Trying subrule: [subtype_treatment]},
31272 Parse::RecDescent::_tracefirst($text),
31273 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31275 if defined $::RD_TRACE;
31276 if (1) { no strict qw{refs};
31277 $expectation->is(q{})->at($text);
31278 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::subtype_treatment($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31281 Parse::RecDescent::_trace(q{<<Didn't match subrule: [subtype_treatment]>>},
31282 Parse::RecDescent::_tracefirst($text),
31283 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31285 if defined $::RD_TRACE;
31286 $expectation->failed();
31289 Parse::RecDescent::_trace(q{>>Matched subrule: [subtype_treatment]<< (return value: [}
31292 Parse::RecDescent::_tracefirst($text),
31293 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31295 if defined $::RD_TRACE;
31296 $item{q{subtype_treatment}} = $_tok;
31302 Parse::RecDescent::_trace(q{>>Matched production: [subtype_treatment]<<},
31303 Parse::RecDescent::_tracefirst($text),
31304 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31306 if defined $::RD_TRACE;
31312 while (!$_matched && !$commit)
31315 Parse::RecDescent::_trace(q{Trying production: [sequence_reference]},
31316 Parse::RecDescent::_tracefirst($_[1]),
31317 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31319 if defined $::RD_TRACE;
31320 my $thisprod = $thisrule->{"prods"}[13];
31323 @item = (q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31324 %item = (__RULE__ => q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression});
31328 Parse::RecDescent::_trace(q{Trying subrule: [sequence_reference]},
31329 Parse::RecDescent::_tracefirst($text),
31330 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31332 if defined $::RD_TRACE;
31333 if (1) { no strict qw{refs};
31334 $expectation->is(q{})->at($text);
31335 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sequence_reference($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31338 Parse::RecDescent::_trace(q{<<Didn't match subrule: [sequence_reference]>>},
31339 Parse::RecDescent::_tracefirst($text),
31340 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31342 if defined $::RD_TRACE;
31343 $expectation->failed();
31346 Parse::RecDescent::_trace(q{>>Matched subrule: [sequence_reference]<< (return value: [}
31349 Parse::RecDescent::_tracefirst($text),
31350 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31352 if defined $::RD_TRACE;
31353 $item{q{sequence_reference}} = $_tok;
31359 Parse::RecDescent::_trace(q{>>Matched production: [sequence_reference]<<},
31360 Parse::RecDescent::_tracefirst($text),
31361 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31363 if defined $::RD_TRACE;
31369 unless ( $_matched || defined($return) || defined($score) )
31373 $_[1] = $text; # NOT SURE THIS IS NEEDED
31374 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
31375 Parse::RecDescent::_tracefirst($_[1]),
31376 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31378 if defined $::RD_TRACE;
31381 if (!defined($return) && defined($score))
31383 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
31384 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31386 if defined $::RD_TRACE;
31387 $return = $score_return;
31389 splice @{$thisparser->{errors}}, $err_at;
31390 $return = $item[$#item] unless defined $return;
31391 if (defined $::RD_TRACE)
31393 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
31394 $return . q{])}, "",
31395 q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31397 Parse::RecDescent::_trace(q{(consumed: [} .
31398 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
31399 Parse::RecDescent::_tracefirst($text),
31400 , q{_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression},
31407 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
31408 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::startrule
31410 my $thisparser = $_[0];
31411 use vars q{$tracelevel};
31412 local $tracelevel = ($tracelevel||0)+1;
31414 my $thisrule = $thisparser->{"rules"}{"startrule"};
31416 Parse::RecDescent::_trace(q{Trying rule: [startrule]},
31417 Parse::RecDescent::_tracefirst($_[1]),
31420 if defined $::RD_TRACE;
31423 my $err_at = @{$thisparser->{errors}};
31428 my $return = undef;
31433 my $repeating = defined($_[2]) && $_[2];
31434 my $_noactions = defined($_[3]) && $_[3];
31435 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
31436 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
31439 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
31440 $expectation->at($_[1]);
31443 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
31447 while (!$_matched && !$commit)
31450 Parse::RecDescent::_trace(q{Trying production: [statement eofile]},
31451 Parse::RecDescent::_tracefirst($_[1]),
31454 if defined $::RD_TRACE;
31455 my $thisprod = $thisrule->{"prods"}[0];
31458 @item = (q{startrule});
31459 %item = (__RULE__ => q{startrule});
31463 Parse::RecDescent::_trace(q{Trying repeated subrule: [statement]},
31464 Parse::RecDescent::_tracefirst($text),
31467 if defined $::RD_TRACE;
31468 $expectation->is(q{})->at($text);
31470 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::statement, 1, 100000000, $_noactions,$expectation,undef)))
31472 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [statement]>>},
31473 Parse::RecDescent::_tracefirst($text),
31476 if defined $::RD_TRACE;
31479 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [statement]<< (}
31480 . @$_tok . q{ times)},
31482 Parse::RecDescent::_tracefirst($text),
31485 if defined $::RD_TRACE;
31486 $item{q{statement(s)}} = $_tok;
31491 Parse::RecDescent::_trace(q{Trying subrule: [eofile]},
31492 Parse::RecDescent::_tracefirst($text),
31495 if defined $::RD_TRACE;
31496 if (1) { no strict qw{refs};
31497 $expectation->is(q{eofile})->at($text);
31498 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::eofile($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31501 Parse::RecDescent::_trace(q{<<Didn't match subrule: [eofile]>>},
31502 Parse::RecDescent::_tracefirst($text),
31505 if defined $::RD_TRACE;
31506 $expectation->failed();
31509 Parse::RecDescent::_trace(q{>>Matched subrule: [eofile]<< (return value: [}
31512 Parse::RecDescent::_tracefirst($text),
31515 if defined $::RD_TRACE;
31516 $item{q{eofile}} = $_tok;
31521 Parse::RecDescent::_trace(q{Trying action},
31522 Parse::RecDescent::_tracefirst($text),
31525 if defined $::RD_TRACE;
31528 $_tok = ($_noactions) ? 0 : do {
31530 tables => \%tables,
31532 triggers => \@triggers,
31535 unless (defined $_tok)
31537 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
31538 if defined $::RD_TRACE;
31541 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
31543 Parse::RecDescent::_tracefirst($text))
31544 if defined $::RD_TRACE;
31546 $item{__ACTION1__}=$_tok;
31550 Parse::RecDescent::_trace(q{>>Matched production: [statement eofile]<<},
31551 Parse::RecDescent::_tracefirst($text),
31554 if defined $::RD_TRACE;
31560 unless ( $_matched || defined($return) || defined($score) )
31564 $_[1] = $text; # NOT SURE THIS IS NEEDED
31565 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
31566 Parse::RecDescent::_tracefirst($_[1]),
31569 if defined $::RD_TRACE;
31572 if (!defined($return) && defined($score))
31574 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
31577 if defined $::RD_TRACE;
31578 $return = $score_return;
31580 splice @{$thisparser->{errors}}, $err_at;
31581 $return = $item[$#item] unless defined $return;
31582 if (defined $::RD_TRACE)
31584 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
31585 $return . q{])}, "",
31588 Parse::RecDescent::_trace(q{(consumed: [} .
31589 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
31590 Parse::RecDescent::_tracefirst($text),
31598 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
31599 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_cast_specification
31601 my $thisparser = $_[0];
31602 use vars q{$tracelevel};
31603 local $tracelevel = ($tracelevel||0)+1;
31605 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_cast_specification"};
31607 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_cast_specification]},
31608 Parse::RecDescent::_tracefirst($_[1]),
31609 q{_alternation_1_of_production_1_of_rule_cast_specification},
31611 if defined $::RD_TRACE;
31614 my $err_at = @{$thisparser->{errors}};
31619 my $return = undef;
31624 my $repeating = defined($_[2]) && $_[2];
31625 my $_noactions = defined($_[3]) && $_[3];
31626 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
31627 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
31630 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
31631 $expectation->at($_[1]);
31634 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
31638 while (!$_matched && !$commit)
31641 Parse::RecDescent::_trace(q{Trying production: [expression]},
31642 Parse::RecDescent::_tracefirst($_[1]),
31643 q{_alternation_1_of_production_1_of_rule_cast_specification},
31645 if defined $::RD_TRACE;
31646 my $thisprod = $thisrule->{"prods"}[0];
31649 @item = (q{_alternation_1_of_production_1_of_rule_cast_specification});
31650 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_cast_specification});
31654 Parse::RecDescent::_trace(q{Trying subrule: [expression]},
31655 Parse::RecDescent::_tracefirst($text),
31656 q{_alternation_1_of_production_1_of_rule_cast_specification},
31658 if defined $::RD_TRACE;
31659 if (1) { no strict qw{refs};
31660 $expectation->is(q{})->at($text);
31661 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31664 Parse::RecDescent::_trace(q{<<Didn't match subrule: [expression]>>},
31665 Parse::RecDescent::_tracefirst($text),
31666 q{_alternation_1_of_production_1_of_rule_cast_specification},
31668 if defined $::RD_TRACE;
31669 $expectation->failed();
31672 Parse::RecDescent::_trace(q{>>Matched subrule: [expression]<< (return value: [}
31675 Parse::RecDescent::_tracefirst($text),
31676 q{_alternation_1_of_production_1_of_rule_cast_specification},
31678 if defined $::RD_TRACE;
31679 $item{q{expression}} = $_tok;
31685 Parse::RecDescent::_trace(q{>>Matched production: [expression]<<},
31686 Parse::RecDescent::_tracefirst($text),
31687 q{_alternation_1_of_production_1_of_rule_cast_specification},
31689 if defined $::RD_TRACE;
31695 while (!$_matched && !$commit)
31698 Parse::RecDescent::_trace(q{Trying production: [/NULL/i]},
31699 Parse::RecDescent::_tracefirst($_[1]),
31700 q{_alternation_1_of_production_1_of_rule_cast_specification},
31702 if defined $::RD_TRACE;
31703 my $thisprod = $thisrule->{"prods"}[1];
31706 @item = (q{_alternation_1_of_production_1_of_rule_cast_specification});
31707 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_cast_specification});
31711 Parse::RecDescent::_trace(q{Trying terminal: [/NULL/i]}, Parse::RecDescent::_tracefirst($text),
31712 q{_alternation_1_of_production_1_of_rule_cast_specification},
31714 if defined $::RD_TRACE;
31716 $expectation->is(q{})->at($text);
31719 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NULL)//i)
31722 $expectation->failed();
31723 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
31724 Parse::RecDescent::_tracefirst($text))
31725 if defined $::RD_TRACE;
31729 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
31731 Parse::RecDescent::_tracefirst($text))
31732 if defined $::RD_TRACE;
31733 push @item, $item{__PATTERN1__}=$&;
31737 Parse::RecDescent::_trace(q{>>Matched production: [/NULL/i]<<},
31738 Parse::RecDescent::_tracefirst($text),
31739 q{_alternation_1_of_production_1_of_rule_cast_specification},
31741 if defined $::RD_TRACE;
31747 while (!$_matched && !$commit)
31750 Parse::RecDescent::_trace(q{Trying production: [parameter_marker]},
31751 Parse::RecDescent::_tracefirst($_[1]),
31752 q{_alternation_1_of_production_1_of_rule_cast_specification},
31754 if defined $::RD_TRACE;
31755 my $thisprod = $thisrule->{"prods"}[2];
31758 @item = (q{_alternation_1_of_production_1_of_rule_cast_specification});
31759 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_cast_specification});
31763 Parse::RecDescent::_trace(q{Trying subrule: [parameter_marker]},
31764 Parse::RecDescent::_tracefirst($text),
31765 q{_alternation_1_of_production_1_of_rule_cast_specification},
31767 if defined $::RD_TRACE;
31768 if (1) { no strict qw{refs};
31769 $expectation->is(q{})->at($text);
31770 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::parameter_marker($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
31773 Parse::RecDescent::_trace(q{<<Didn't match subrule: [parameter_marker]>>},
31774 Parse::RecDescent::_tracefirst($text),
31775 q{_alternation_1_of_production_1_of_rule_cast_specification},
31777 if defined $::RD_TRACE;
31778 $expectation->failed();
31781 Parse::RecDescent::_trace(q{>>Matched subrule: [parameter_marker]<< (return value: [}
31784 Parse::RecDescent::_tracefirst($text),
31785 q{_alternation_1_of_production_1_of_rule_cast_specification},
31787 if defined $::RD_TRACE;
31788 $item{q{parameter_marker}} = $_tok;
31794 Parse::RecDescent::_trace(q{>>Matched production: [parameter_marker]<<},
31795 Parse::RecDescent::_tracefirst($text),
31796 q{_alternation_1_of_production_1_of_rule_cast_specification},
31798 if defined $::RD_TRACE;
31804 unless ( $_matched || defined($return) || defined($score) )
31808 $_[1] = $text; # NOT SURE THIS IS NEEDED
31809 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
31810 Parse::RecDescent::_tracefirst($_[1]),
31811 q{_alternation_1_of_production_1_of_rule_cast_specification},
31813 if defined $::RD_TRACE;
31816 if (!defined($return) && defined($score))
31818 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
31819 q{_alternation_1_of_production_1_of_rule_cast_specification},
31821 if defined $::RD_TRACE;
31822 $return = $score_return;
31824 splice @{$thisparser->{errors}}, $err_at;
31825 $return = $item[$#item] unless defined $return;
31826 if (defined $::RD_TRACE)
31828 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
31829 $return . q{])}, "",
31830 q{_alternation_1_of_production_1_of_rule_cast_specification},
31832 Parse::RecDescent::_trace(q{(consumed: [} .
31833 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
31834 Parse::RecDescent::_tracefirst($text),
31835 , q{_alternation_1_of_production_1_of_rule_cast_specification},
31842 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
31843 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::before
31845 my $thisparser = $_[0];
31846 use vars q{$tracelevel};
31847 local $tracelevel = ($tracelevel||0)+1;
31849 my $thisrule = $thisparser->{"rules"}{"before"};
31851 Parse::RecDescent::_trace(q{Trying rule: [before]},
31852 Parse::RecDescent::_tracefirst($_[1]),
31855 if defined $::RD_TRACE;
31858 my $err_at = @{$thisparser->{errors}};
31863 my $return = undef;
31868 my $repeating = defined($_[2]) && $_[2];
31869 my $_noactions = defined($_[3]) && $_[3];
31870 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
31871 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
31874 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
31875 $expectation->at($_[1]);
31878 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
31882 while (!$_matched && !$commit)
31885 Parse::RecDescent::_trace(q{Trying production: [/NO CASCADE BEFORE/i]},
31886 Parse::RecDescent::_tracefirst($_[1]),
31889 if defined $::RD_TRACE;
31890 my $thisprod = $thisrule->{"prods"}[0];
31893 @item = (q{before});
31894 %item = (__RULE__ => q{before});
31898 Parse::RecDescent::_trace(q{Trying terminal: [/NO CASCADE BEFORE/i]}, Parse::RecDescent::_tracefirst($text),
31901 if defined $::RD_TRACE;
31903 $expectation->is(q{})->at($text);
31906 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NO CASCADE BEFORE)//i)
31909 $expectation->failed();
31910 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
31911 Parse::RecDescent::_tracefirst($text))
31912 if defined $::RD_TRACE;
31916 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
31918 Parse::RecDescent::_tracefirst($text))
31919 if defined $::RD_TRACE;
31920 push @item, $item{__PATTERN1__}=$&;
31924 Parse::RecDescent::_trace(q{>>Matched production: [/NO CASCADE BEFORE/i]<<},
31925 Parse::RecDescent::_tracefirst($text),
31928 if defined $::RD_TRACE;
31934 unless ( $_matched || defined($return) || defined($score) )
31938 $_[1] = $text; # NOT SURE THIS IS NEEDED
31939 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
31940 Parse::RecDescent::_tracefirst($_[1]),
31943 if defined $::RD_TRACE;
31946 if (!defined($return) && defined($score))
31948 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
31951 if defined $::RD_TRACE;
31952 $return = $score_return;
31954 splice @{$thisparser->{errors}}, $err_at;
31955 $return = $item[$#item] unless defined $return;
31956 if (defined $::RD_TRACE)
31958 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
31959 $return . q{])}, "",
31962 Parse::RecDescent::_trace(q{(consumed: [} .
31963 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
31964 Parse::RecDescent::_tracefirst($text),
31972 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
31973 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_83_of_rule_sysibm_function
31975 my $thisparser = $_[0];
31976 use vars q{$tracelevel};
31977 local $tracelevel = ($tracelevel||0)+1;
31979 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_83_of_rule_sysibm_function"};
31981 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_83_of_rule_sysibm_function]},
31982 Parse::RecDescent::_tracefirst($_[1]),
31983 q{_alternation_1_of_production_83_of_rule_sysibm_function},
31985 if defined $::RD_TRACE;
31988 my $err_at = @{$thisparser->{errors}};
31993 my $return = undef;
31998 my $repeating = defined($_[2]) && $_[2];
31999 my $_noactions = defined($_[3]) && $_[3];
32000 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
32001 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
32004 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
32005 $expectation->at($_[1]);
32008 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
32012 while (!$_matched && !$commit)
32015 Parse::RecDescent::_trace(q{Trying production: [/UCASE/i]},
32016 Parse::RecDescent::_tracefirst($_[1]),
32017 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32019 if defined $::RD_TRACE;
32020 my $thisprod = $thisrule->{"prods"}[0];
32023 @item = (q{_alternation_1_of_production_83_of_rule_sysibm_function});
32024 %item = (__RULE__ => q{_alternation_1_of_production_83_of_rule_sysibm_function});
32028 Parse::RecDescent::_trace(q{Trying terminal: [/UCASE/i]}, Parse::RecDescent::_tracefirst($text),
32029 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32031 if defined $::RD_TRACE;
32033 $expectation->is(q{})->at($text);
32036 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UCASE)//i)
32039 $expectation->failed();
32040 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
32041 Parse::RecDescent::_tracefirst($text))
32042 if defined $::RD_TRACE;
32046 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32048 Parse::RecDescent::_tracefirst($text))
32049 if defined $::RD_TRACE;
32050 push @item, $item{__PATTERN1__}=$&;
32054 Parse::RecDescent::_trace(q{>>Matched production: [/UCASE/i]<<},
32055 Parse::RecDescent::_tracefirst($text),
32056 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32058 if defined $::RD_TRACE;
32064 while (!$_matched && !$commit)
32067 Parse::RecDescent::_trace(q{Trying production: [/UPPER/i]},
32068 Parse::RecDescent::_tracefirst($_[1]),
32069 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32071 if defined $::RD_TRACE;
32072 my $thisprod = $thisrule->{"prods"}[1];
32075 @item = (q{_alternation_1_of_production_83_of_rule_sysibm_function});
32076 %item = (__RULE__ => q{_alternation_1_of_production_83_of_rule_sysibm_function});
32080 Parse::RecDescent::_trace(q{Trying terminal: [/UPPER/i]}, Parse::RecDescent::_tracefirst($text),
32081 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32083 if defined $::RD_TRACE;
32085 $expectation->is(q{})->at($text);
32088 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UPPER)//i)
32091 $expectation->failed();
32092 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
32093 Parse::RecDescent::_tracefirst($text))
32094 if defined $::RD_TRACE;
32098 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32100 Parse::RecDescent::_tracefirst($text))
32101 if defined $::RD_TRACE;
32102 push @item, $item{__PATTERN1__}=$&;
32106 Parse::RecDescent::_trace(q{>>Matched production: [/UPPER/i]<<},
32107 Parse::RecDescent::_tracefirst($text),
32108 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32110 if defined $::RD_TRACE;
32116 unless ( $_matched || defined($return) || defined($score) )
32120 $_[1] = $text; # NOT SURE THIS IS NEEDED
32121 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
32122 Parse::RecDescent::_tracefirst($_[1]),
32123 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32125 if defined $::RD_TRACE;
32128 if (!defined($return) && defined($score))
32130 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
32131 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32133 if defined $::RD_TRACE;
32134 $return = $score_return;
32136 splice @{$thisparser->{errors}}, $err_at;
32137 $return = $item[$#item] unless defined $return;
32138 if (defined $::RD_TRACE)
32140 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
32141 $return . q{])}, "",
32142 q{_alternation_1_of_production_83_of_rule_sysibm_function},
32144 Parse::RecDescent::_trace(q{(consumed: [} .
32145 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
32146 Parse::RecDescent::_tracefirst($text),
32147 , q{_alternation_1_of_production_83_of_rule_sysibm_function},
32154 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
32155 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::ranking_function
32157 my $thisparser = $_[0];
32158 use vars q{$tracelevel};
32159 local $tracelevel = ($tracelevel||0)+1;
32161 my $thisrule = $thisparser->{"rules"}{"ranking_function"};
32163 Parse::RecDescent::_trace(q{Trying rule: [ranking_function]},
32164 Parse::RecDescent::_tracefirst($_[1]),
32165 q{ranking_function},
32167 if defined $::RD_TRACE;
32170 my $err_at = @{$thisparser->{errors}};
32175 my $return = undef;
32180 my $repeating = defined($_[2]) && $_[2];
32181 my $_noactions = defined($_[3]) && $_[3];
32182 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
32183 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
32186 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
32187 $expectation->at($_[1]);
32190 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
32194 while (!$_matched && !$commit)
32197 Parse::RecDescent::_trace(q{Trying production: [/RANK/, or /DENSE_RANK|DENSERANK/i /OVER/i '(' window_partition_clause window_order_clause ')']},
32198 Parse::RecDescent::_tracefirst($_[1]),
32199 q{ranking_function},
32201 if defined $::RD_TRACE;
32202 my $thisprod = $thisrule->{"prods"}[0];
32205 @item = (q{ranking_function});
32206 %item = (__RULE__ => q{ranking_function});
32210 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_ranking_function]},
32211 Parse::RecDescent::_tracefirst($text),
32212 q{ranking_function},
32214 if defined $::RD_TRACE;
32215 if (1) { no strict qw{refs};
32216 $expectation->is(q{})->at($text);
32217 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_ranking_function($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
32220 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_ranking_function]>>},
32221 Parse::RecDescent::_tracefirst($text),
32222 q{ranking_function},
32224 if defined $::RD_TRACE;
32225 $expectation->failed();
32228 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_ranking_function]<< (return value: [}
32231 Parse::RecDescent::_tracefirst($text),
32232 q{ranking_function},
32234 if defined $::RD_TRACE;
32235 $item{q{_alternation_1_of_production_1_of_rule_ranking_function}} = $_tok;
32240 Parse::RecDescent::_trace(q{Trying terminal: [/OVER/i]}, Parse::RecDescent::_tracefirst($text),
32241 q{ranking_function},
32243 if defined $::RD_TRACE;
32245 $expectation->is(q{/OVER/i})->at($text);
32248 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:OVER)//i)
32251 $expectation->failed();
32252 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
32253 Parse::RecDescent::_tracefirst($text))
32254 if defined $::RD_TRACE;
32258 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32260 Parse::RecDescent::_tracefirst($text))
32261 if defined $::RD_TRACE;
32262 push @item, $item{__PATTERN1__}=$&;
32265 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
32266 Parse::RecDescent::_tracefirst($text),
32267 q{ranking_function},
32269 if defined $::RD_TRACE;
32271 $expectation->is(q{'('})->at($text);
32274 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
32277 $expectation->failed();
32278 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
32279 Parse::RecDescent::_tracefirst($text))
32280 if defined $::RD_TRACE;
32283 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32285 Parse::RecDescent::_tracefirst($text))
32286 if defined $::RD_TRACE;
32287 push @item, $item{__STRING1__}=$&;
32290 Parse::RecDescent::_trace(q{Trying repeated subrule: [window_partition_clause]},
32291 Parse::RecDescent::_tracefirst($text),
32292 q{ranking_function},
32294 if defined $::RD_TRACE;
32295 $expectation->is(q{window_partition_clause})->at($text);
32297 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_partition_clause, 0, 1, $_noactions,$expectation,undef)))
32299 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [window_partition_clause]>>},
32300 Parse::RecDescent::_tracefirst($text),
32301 q{ranking_function},
32303 if defined $::RD_TRACE;
32306 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [window_partition_clause]<< (}
32307 . @$_tok . q{ times)},
32309 Parse::RecDescent::_tracefirst($text),
32310 q{ranking_function},
32312 if defined $::RD_TRACE;
32313 $item{q{window_partition_clause(?)}} = $_tok;
32318 Parse::RecDescent::_trace(q{Trying subrule: [window_order_clause]},
32319 Parse::RecDescent::_tracefirst($text),
32320 q{ranking_function},
32322 if defined $::RD_TRACE;
32323 if (1) { no strict qw{refs};
32324 $expectation->is(q{window_order_clause})->at($text);
32325 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_order_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
32328 Parse::RecDescent::_trace(q{<<Didn't match subrule: [window_order_clause]>>},
32329 Parse::RecDescent::_tracefirst($text),
32330 q{ranking_function},
32332 if defined $::RD_TRACE;
32333 $expectation->failed();
32336 Parse::RecDescent::_trace(q{>>Matched subrule: [window_order_clause]<< (return value: [}
32339 Parse::RecDescent::_tracefirst($text),
32340 q{ranking_function},
32342 if defined $::RD_TRACE;
32343 $item{q{window_order_clause}} = $_tok;
32348 Parse::RecDescent::_trace(q{Trying terminal: [')']},
32349 Parse::RecDescent::_tracefirst($text),
32350 q{ranking_function},
32352 if defined $::RD_TRACE;
32354 $expectation->is(q{')'})->at($text);
32357 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
32360 $expectation->failed();
32361 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
32362 Parse::RecDescent::_tracefirst($text))
32363 if defined $::RD_TRACE;
32366 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32368 Parse::RecDescent::_tracefirst($text))
32369 if defined $::RD_TRACE;
32370 push @item, $item{__STRING2__}=$&;
32374 Parse::RecDescent::_trace(q{>>Matched production: [/RANK/, or /DENSE_RANK|DENSERANK/i /OVER/i '(' window_partition_clause window_order_clause ')']<<},
32375 Parse::RecDescent::_tracefirst($text),
32376 q{ranking_function},
32378 if defined $::RD_TRACE;
32384 unless ( $_matched || defined($return) || defined($score) )
32388 $_[1] = $text; # NOT SURE THIS IS NEEDED
32389 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
32390 Parse::RecDescent::_tracefirst($_[1]),
32391 q{ranking_function},
32393 if defined $::RD_TRACE;
32396 if (!defined($return) && defined($score))
32398 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
32399 q{ranking_function},
32401 if defined $::RD_TRACE;
32402 $return = $score_return;
32404 splice @{$thisparser->{errors}}, $err_at;
32405 $return = $item[$#item] unless defined $return;
32406 if (defined $::RD_TRACE)
32408 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
32409 $return . q{])}, "",
32410 q{ranking_function},
32412 Parse::RecDescent::_trace(q{(consumed: [} .
32413 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
32414 Parse::RecDescent::_tracefirst($text),
32415 , q{ranking_function},
32422 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
32423 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition
32425 my $thisparser = $_[0];
32426 use vars q{$tracelevel};
32427 local $tracelevel = ($tracelevel||0)+1;
32429 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition"};
32431 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition]},
32432 Parse::RecDescent::_tracefirst($_[1]),
32433 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32435 if defined $::RD_TRACE;
32438 my $err_at = @{$thisparser->{errors}};
32443 my $return = undef;
32448 my $repeating = defined($_[2]) && $_[2];
32449 my $_noactions = defined($_[3]) && $_[3];
32450 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
32451 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
32454 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
32455 $expectation->at($_[1]);
32458 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
32462 while (!$_matched && !$commit)
32465 Parse::RecDescent::_trace(q{Trying production: [/SELECTIVITY/i numeric_constant]},
32466 Parse::RecDescent::_tracefirst($_[1]),
32467 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32469 if defined $::RD_TRACE;
32470 my $thisprod = $thisrule->{"prods"}[0];
32473 @item = (q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition});
32474 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition});
32478 Parse::RecDescent::_trace(q{Trying terminal: [/SELECTIVITY/i]}, Parse::RecDescent::_tracefirst($text),
32479 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32481 if defined $::RD_TRACE;
32483 $expectation->is(q{})->at($text);
32486 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:SELECTIVITY)//i)
32489 $expectation->failed();
32490 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
32491 Parse::RecDescent::_tracefirst($text))
32492 if defined $::RD_TRACE;
32496 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32498 Parse::RecDescent::_tracefirst($text))
32499 if defined $::RD_TRACE;
32500 push @item, $item{__PATTERN1__}=$&;
32503 Parse::RecDescent::_trace(q{Trying subrule: [numeric_constant]},
32504 Parse::RecDescent::_tracefirst($text),
32505 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32507 if defined $::RD_TRACE;
32508 if (1) { no strict qw{refs};
32509 $expectation->is(q{numeric_constant})->at($text);
32510 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::numeric_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
32513 Parse::RecDescent::_trace(q{<<Didn't match subrule: [numeric_constant]>>},
32514 Parse::RecDescent::_tracefirst($text),
32515 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32517 if defined $::RD_TRACE;
32518 $expectation->failed();
32521 Parse::RecDescent::_trace(q{>>Matched subrule: [numeric_constant]<< (return value: [}
32524 Parse::RecDescent::_tracefirst($text),
32525 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32527 if defined $::RD_TRACE;
32528 $item{q{numeric_constant}} = $_tok;
32534 Parse::RecDescent::_trace(q{>>Matched production: [/SELECTIVITY/i numeric_constant]<<},
32535 Parse::RecDescent::_tracefirst($text),
32536 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32538 if defined $::RD_TRACE;
32544 unless ( $_matched || defined($return) || defined($score) )
32548 $_[1] = $text; # NOT SURE THIS IS NEEDED
32549 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
32550 Parse::RecDescent::_tracefirst($_[1]),
32551 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32553 if defined $::RD_TRACE;
32556 if (!defined($return) && defined($score))
32558 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
32559 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32561 if defined $::RD_TRACE;
32562 $return = $score_return;
32564 splice @{$thisparser->{errors}}, $err_at;
32565 $return = $item[$#item] unless defined $return;
32566 if (defined $::RD_TRACE)
32568 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
32569 $return . q{])}, "",
32570 q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32572 Parse::RecDescent::_trace(q{(consumed: [} .
32573 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
32574 Parse::RecDescent::_tracefirst($text),
32575 , q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition},
32582 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
32583 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_sysibm_function
32585 my $thisparser = $_[0];
32586 use vars q{$tracelevel};
32587 local $tracelevel = ($tracelevel||0)+1;
32589 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_sysibm_function"};
32591 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_sysibm_function]},
32592 Parse::RecDescent::_tracefirst($_[1]),
32593 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32595 if defined $::RD_TRACE;
32598 my $err_at = @{$thisparser->{errors}};
32603 my $return = undef;
32608 my $repeating = defined($_[2]) && $_[2];
32609 my $_noactions = defined($_[3]) && $_[3];
32610 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
32611 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
32614 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
32615 $expectation->at($_[1]);
32618 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
32622 while (!$_matched && !$commit)
32625 Parse::RecDescent::_trace(q{Trying production: [/ABS/i]},
32626 Parse::RecDescent::_tracefirst($_[1]),
32627 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32629 if defined $::RD_TRACE;
32630 my $thisprod = $thisrule->{"prods"}[0];
32633 @item = (q{_alternation_1_of_production_1_of_rule_sysibm_function});
32634 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_sysibm_function});
32638 Parse::RecDescent::_trace(q{Trying terminal: [/ABS/i]}, Parse::RecDescent::_tracefirst($text),
32639 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32641 if defined $::RD_TRACE;
32643 $expectation->is(q{})->at($text);
32646 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ABS)//i)
32649 $expectation->failed();
32650 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
32651 Parse::RecDescent::_tracefirst($text))
32652 if defined $::RD_TRACE;
32656 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32658 Parse::RecDescent::_tracefirst($text))
32659 if defined $::RD_TRACE;
32660 push @item, $item{__PATTERN1__}=$&;
32664 Parse::RecDescent::_trace(q{>>Matched production: [/ABS/i]<<},
32665 Parse::RecDescent::_tracefirst($text),
32666 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32668 if defined $::RD_TRACE;
32674 while (!$_matched && !$commit)
32677 Parse::RecDescent::_trace(q{Trying production: [/ABSVAL/i]},
32678 Parse::RecDescent::_tracefirst($_[1]),
32679 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32681 if defined $::RD_TRACE;
32682 my $thisprod = $thisrule->{"prods"}[1];
32685 @item = (q{_alternation_1_of_production_1_of_rule_sysibm_function});
32686 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_sysibm_function});
32690 Parse::RecDescent::_trace(q{Trying terminal: [/ABSVAL/i]}, Parse::RecDescent::_tracefirst($text),
32691 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32693 if defined $::RD_TRACE;
32695 $expectation->is(q{})->at($text);
32698 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ABSVAL)//i)
32701 $expectation->failed();
32702 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
32703 Parse::RecDescent::_tracefirst($text))
32704 if defined $::RD_TRACE;
32708 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32710 Parse::RecDescent::_tracefirst($text))
32711 if defined $::RD_TRACE;
32712 push @item, $item{__PATTERN1__}=$&;
32716 Parse::RecDescent::_trace(q{>>Matched production: [/ABSVAL/i]<<},
32717 Parse::RecDescent::_tracefirst($text),
32718 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32720 if defined $::RD_TRACE;
32726 unless ( $_matched || defined($return) || defined($score) )
32730 $_[1] = $text; # NOT SURE THIS IS NEEDED
32731 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
32732 Parse::RecDescent::_tracefirst($_[1]),
32733 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32735 if defined $::RD_TRACE;
32738 if (!defined($return) && defined($score))
32740 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
32741 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32743 if defined $::RD_TRACE;
32744 $return = $score_return;
32746 splice @{$thisparser->{errors}}, $err_at;
32747 $return = $item[$#item] unless defined $return;
32748 if (defined $::RD_TRACE)
32750 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
32751 $return . q{])}, "",
32752 q{_alternation_1_of_production_1_of_rule_sysibm_function},
32754 Parse::RecDescent::_trace(q{(consumed: [} .
32755 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
32756 Parse::RecDescent::_tracefirst($text),
32757 , q{_alternation_1_of_production_1_of_rule_sysibm_function},
32764 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
32765 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::reference_b
32767 my $thisparser = $_[0];
32768 use vars q{$tracelevel};
32769 local $tracelevel = ($tracelevel||0)+1;
32771 my $thisrule = $thisparser->{"rules"}{"reference_b"};
32773 Parse::RecDescent::_trace(q{Trying rule: [reference_b]},
32774 Parse::RecDescent::_tracefirst($_[1]),
32777 if defined $::RD_TRACE;
32780 my $err_at = @{$thisparser->{errors}};
32785 my $return = undef;
32790 my $repeating = defined($_[2]) && $_[2];
32791 my $_noactions = defined($_[3]) && $_[3];
32792 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
32793 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
32796 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
32797 $expectation->at($_[1]);
32800 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
32804 while (!$_matched && !$commit)
32807 Parse::RecDescent::_trace(q{Trying production: [/REFERENCING/i old_new_corr]},
32808 Parse::RecDescent::_tracefirst($_[1]),
32811 if defined $::RD_TRACE;
32812 my $thisprod = $thisrule->{"prods"}[0];
32815 @item = (q{reference_b});
32816 %item = (__RULE__ => q{reference_b});
32820 Parse::RecDescent::_trace(q{Trying terminal: [/REFERENCING/i]}, Parse::RecDescent::_tracefirst($text),
32823 if defined $::RD_TRACE;
32825 $expectation->is(q{})->at($text);
32828 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REFERENCING)//i)
32831 $expectation->failed();
32832 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
32833 Parse::RecDescent::_tracefirst($text))
32834 if defined $::RD_TRACE;
32838 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
32840 Parse::RecDescent::_tracefirst($text))
32841 if defined $::RD_TRACE;
32842 push @item, $item{__PATTERN1__}=$&;
32845 Parse::RecDescent::_trace(q{Trying repeated subrule: [old_new_corr]},
32846 Parse::RecDescent::_tracefirst($text),
32849 if defined $::RD_TRACE;
32850 $expectation->is(q{old_new_corr})->at($text);
32852 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::old_new_corr, 0, 2, $_noactions,$expectation,undef)))
32854 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [old_new_corr]>>},
32855 Parse::RecDescent::_tracefirst($text),
32858 if defined $::RD_TRACE;
32861 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [old_new_corr]<< (}
32862 . @$_tok . q{ times)},
32864 Parse::RecDescent::_tracefirst($text),
32867 if defined $::RD_TRACE;
32868 $item{q{old_new_corr(0..2)}} = $_tok;
32873 Parse::RecDescent::_trace(q{Trying action},
32874 Parse::RecDescent::_tracefirst($text),
32877 if defined $::RD_TRACE;
32880 $_tok = ($_noactions) ? 0 : do { $return = join(' ', $item[1], join(' ', @{$item[2]}) ) };
32881 unless (defined $_tok)
32883 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
32884 if defined $::RD_TRACE;
32887 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
32889 Parse::RecDescent::_tracefirst($text))
32890 if defined $::RD_TRACE;
32892 $item{__ACTION1__}=$_tok;
32896 Parse::RecDescent::_trace(q{>>Matched production: [/REFERENCING/i old_new_corr]<<},
32897 Parse::RecDescent::_tracefirst($text),
32900 if defined $::RD_TRACE;
32906 unless ( $_matched || defined($return) || defined($score) )
32910 $_[1] = $text; # NOT SURE THIS IS NEEDED
32911 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
32912 Parse::RecDescent::_tracefirst($_[1]),
32915 if defined $::RD_TRACE;
32918 if (!defined($return) && defined($score))
32920 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
32923 if defined $::RD_TRACE;
32924 $return = $score_return;
32926 splice @{$thisparser->{errors}}, $err_at;
32927 $return = $item[$#item] unless defined $return;
32928 if (defined $::RD_TRACE)
32930 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
32931 $return . q{])}, "",
32934 Parse::RecDescent::_trace(q{(consumed: [} .
32935 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
32936 Parse::RecDescent::_tracefirst($text),
32944 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
32945 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_simple_when_clause
32947 my $thisparser = $_[0];
32948 use vars q{$tracelevel};
32949 local $tracelevel = ($tracelevel||0)+1;
32951 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_simple_when_clause"};
32953 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_simple_when_clause]},
32954 Parse::RecDescent::_tracefirst($_[1]),
32955 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
32957 if defined $::RD_TRACE;
32960 my $err_at = @{$thisparser->{errors}};
32965 my $return = undef;
32970 my $repeating = defined($_[2]) && $_[2];
32971 my $_noactions = defined($_[3]) && $_[3];
32972 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
32973 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
32976 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
32977 $expectation->at($_[1]);
32980 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
32984 while (!$_matched && !$commit)
32987 Parse::RecDescent::_trace(q{Trying production: [/WHEN/i search_condition /THEN/i result_expression, or /NULL/i]},
32988 Parse::RecDescent::_tracefirst($_[1]),
32989 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
32991 if defined $::RD_TRACE;
32992 my $thisprod = $thisrule->{"prods"}[0];
32995 @item = (q{_alternation_1_of_production_1_of_rule_simple_when_clause});
32996 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_simple_when_clause});
33000 Parse::RecDescent::_trace(q{Trying terminal: [/WHEN/i]}, Parse::RecDescent::_tracefirst($text),
33001 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33003 if defined $::RD_TRACE;
33005 $expectation->is(q{})->at($text);
33008 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:WHEN)//i)
33011 $expectation->failed();
33012 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33013 Parse::RecDescent::_tracefirst($text))
33014 if defined $::RD_TRACE;
33018 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33020 Parse::RecDescent::_tracefirst($text))
33021 if defined $::RD_TRACE;
33022 push @item, $item{__PATTERN1__}=$&;
33025 Parse::RecDescent::_trace(q{Trying subrule: [search_condition]},
33026 Parse::RecDescent::_tracefirst($text),
33027 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33029 if defined $::RD_TRACE;
33030 if (1) { no strict qw{refs};
33031 $expectation->is(q{search_condition})->at($text);
33032 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::search_condition($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
33035 Parse::RecDescent::_trace(q{<<Didn't match subrule: [search_condition]>>},
33036 Parse::RecDescent::_tracefirst($text),
33037 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33039 if defined $::RD_TRACE;
33040 $expectation->failed();
33043 Parse::RecDescent::_trace(q{>>Matched subrule: [search_condition]<< (return value: [}
33046 Parse::RecDescent::_tracefirst($text),
33047 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33049 if defined $::RD_TRACE;
33050 $item{q{search_condition}} = $_tok;
33055 Parse::RecDescent::_trace(q{Trying terminal: [/THEN/i]}, Parse::RecDescent::_tracefirst($text),
33056 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33058 if defined $::RD_TRACE;
33060 $expectation->is(q{/THEN/i})->at($text);
33063 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:THEN)//i)
33066 $expectation->failed();
33067 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33068 Parse::RecDescent::_tracefirst($text))
33069 if defined $::RD_TRACE;
33073 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33075 Parse::RecDescent::_tracefirst($text))
33076 if defined $::RD_TRACE;
33077 push @item, $item{__PATTERN2__}=$&;
33080 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause]},
33081 Parse::RecDescent::_tracefirst($text),
33082 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33084 if defined $::RD_TRACE;
33085 if (1) { no strict qw{refs};
33086 $expectation->is(q{result_expression, or /NULL/i})->at($text);
33087 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
33090 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause]>>},
33091 Parse::RecDescent::_tracefirst($text),
33092 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33094 if defined $::RD_TRACE;
33095 $expectation->failed();
33098 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause]<< (return value: [}
33101 Parse::RecDescent::_tracefirst($text),
33102 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33104 if defined $::RD_TRACE;
33105 $item{q{_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause}} = $_tok;
33111 Parse::RecDescent::_trace(q{>>Matched production: [/WHEN/i search_condition /THEN/i result_expression, or /NULL/i]<<},
33112 Parse::RecDescent::_tracefirst($text),
33113 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33115 if defined $::RD_TRACE;
33121 unless ( $_matched || defined($return) || defined($score) )
33125 $_[1] = $text; # NOT SURE THIS IS NEEDED
33126 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
33127 Parse::RecDescent::_tracefirst($_[1]),
33128 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33130 if defined $::RD_TRACE;
33133 if (!defined($return) && defined($score))
33135 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
33136 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33138 if defined $::RD_TRACE;
33139 $return = $score_return;
33141 splice @{$thisparser->{errors}}, $err_at;
33142 $return = $item[$#item] unless defined $return;
33143 if (defined $::RD_TRACE)
33145 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
33146 $return . q{])}, "",
33147 q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33149 Parse::RecDescent::_trace(q{(consumed: [} .
33150 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
33151 Parse::RecDescent::_tracefirst($text),
33152 , q{_alternation_1_of_production_1_of_rule_simple_when_clause},
33159 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
33160 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_9_of_rule_sysibm_function
33162 my $thisparser = $_[0];
33163 use vars q{$tracelevel};
33164 local $tracelevel = ($tracelevel||0)+1;
33166 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_9_of_rule_sysibm_function"};
33168 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_9_of_rule_sysibm_function]},
33169 Parse::RecDescent::_tracefirst($_[1]),
33170 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33172 if defined $::RD_TRACE;
33175 my $err_at = @{$thisparser->{errors}};
33180 my $return = undef;
33185 my $repeating = defined($_[2]) && $_[2];
33186 my $_noactions = defined($_[3]) && $_[3];
33187 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
33188 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
33191 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
33192 $expectation->at($_[1]);
33195 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
33199 while (!$_matched && !$commit)
33202 Parse::RecDescent::_trace(q{Trying production: [/CORRELATION/i]},
33203 Parse::RecDescent::_tracefirst($_[1]),
33204 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33206 if defined $::RD_TRACE;
33207 my $thisprod = $thisrule->{"prods"}[0];
33210 @item = (q{_alternation_1_of_production_9_of_rule_sysibm_function});
33211 %item = (__RULE__ => q{_alternation_1_of_production_9_of_rule_sysibm_function});
33215 Parse::RecDescent::_trace(q{Trying terminal: [/CORRELATION/i]}, Parse::RecDescent::_tracefirst($text),
33216 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33218 if defined $::RD_TRACE;
33220 $expectation->is(q{})->at($text);
33223 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CORRELATION)//i)
33226 $expectation->failed();
33227 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33228 Parse::RecDescent::_tracefirst($text))
33229 if defined $::RD_TRACE;
33233 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33235 Parse::RecDescent::_tracefirst($text))
33236 if defined $::RD_TRACE;
33237 push @item, $item{__PATTERN1__}=$&;
33241 Parse::RecDescent::_trace(q{>>Matched production: [/CORRELATION/i]<<},
33242 Parse::RecDescent::_tracefirst($text),
33243 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33245 if defined $::RD_TRACE;
33251 while (!$_matched && !$commit)
33254 Parse::RecDescent::_trace(q{Trying production: [/CORR/]},
33255 Parse::RecDescent::_tracefirst($_[1]),
33256 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33258 if defined $::RD_TRACE;
33259 my $thisprod = $thisrule->{"prods"}[1];
33262 @item = (q{_alternation_1_of_production_9_of_rule_sysibm_function});
33263 %item = (__RULE__ => q{_alternation_1_of_production_9_of_rule_sysibm_function});
33267 Parse::RecDescent::_trace(q{Trying terminal: [/CORR/]}, Parse::RecDescent::_tracefirst($text),
33268 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33270 if defined $::RD_TRACE;
33272 $expectation->is(q{})->at($text);
33275 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CORR)//)
33278 $expectation->failed();
33279 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33280 Parse::RecDescent::_tracefirst($text))
33281 if defined $::RD_TRACE;
33285 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33287 Parse::RecDescent::_tracefirst($text))
33288 if defined $::RD_TRACE;
33289 push @item, $item{__PATTERN1__}=$&;
33293 Parse::RecDescent::_trace(q{>>Matched production: [/CORR/]<<},
33294 Parse::RecDescent::_tracefirst($text),
33295 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33297 if defined $::RD_TRACE;
33303 unless ( $_matched || defined($return) || defined($score) )
33307 $_[1] = $text; # NOT SURE THIS IS NEEDED
33308 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
33309 Parse::RecDescent::_tracefirst($_[1]),
33310 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33312 if defined $::RD_TRACE;
33315 if (!defined($return) && defined($score))
33317 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
33318 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33320 if defined $::RD_TRACE;
33321 $return = $score_return;
33323 splice @{$thisparser->{errors}}, $err_at;
33324 $return = $item[$#item] unless defined $return;
33325 if (defined $::RD_TRACE)
33327 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
33328 $return . q{])}, "",
33329 q{_alternation_1_of_production_9_of_rule_sysibm_function},
33331 Parse::RecDescent::_trace(q{(consumed: [} .
33332 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
33333 Parse::RecDescent::_tracefirst($text),
33334 , q{_alternation_1_of_production_9_of_rule_sysibm_function},
33341 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
33342 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_7_of_rule_sysfun
33344 my $thisparser = $_[0];
33345 use vars q{$tracelevel};
33346 local $tracelevel = ($tracelevel||0)+1;
33348 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_7_of_rule_sysfun"};
33350 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_7_of_rule_sysfun]},
33351 Parse::RecDescent::_tracefirst($_[1]),
33352 q{_alternation_1_of_production_7_of_rule_sysfun},
33354 if defined $::RD_TRACE;
33357 my $err_at = @{$thisparser->{errors}};
33362 my $return = undef;
33367 my $repeating = defined($_[2]) && $_[2];
33368 my $_noactions = defined($_[3]) && $_[3];
33369 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
33370 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
33373 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
33374 $expectation->at($_[1]);
33377 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
33381 while (!$_matched && !$commit)
33384 Parse::RecDescent::_trace(q{Trying production: [/CEIL/i]},
33385 Parse::RecDescent::_tracefirst($_[1]),
33386 q{_alternation_1_of_production_7_of_rule_sysfun},
33388 if defined $::RD_TRACE;
33389 my $thisprod = $thisrule->{"prods"}[0];
33392 @item = (q{_alternation_1_of_production_7_of_rule_sysfun});
33393 %item = (__RULE__ => q{_alternation_1_of_production_7_of_rule_sysfun});
33397 Parse::RecDescent::_trace(q{Trying terminal: [/CEIL/i]}, Parse::RecDescent::_tracefirst($text),
33398 q{_alternation_1_of_production_7_of_rule_sysfun},
33400 if defined $::RD_TRACE;
33402 $expectation->is(q{})->at($text);
33405 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CEIL)//i)
33408 $expectation->failed();
33409 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33410 Parse::RecDescent::_tracefirst($text))
33411 if defined $::RD_TRACE;
33415 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33417 Parse::RecDescent::_tracefirst($text))
33418 if defined $::RD_TRACE;
33419 push @item, $item{__PATTERN1__}=$&;
33423 Parse::RecDescent::_trace(q{>>Matched production: [/CEIL/i]<<},
33424 Parse::RecDescent::_tracefirst($text),
33425 q{_alternation_1_of_production_7_of_rule_sysfun},
33427 if defined $::RD_TRACE;
33433 while (!$_matched && !$commit)
33436 Parse::RecDescent::_trace(q{Trying production: [/CEILING/i]},
33437 Parse::RecDescent::_tracefirst($_[1]),
33438 q{_alternation_1_of_production_7_of_rule_sysfun},
33440 if defined $::RD_TRACE;
33441 my $thisprod = $thisrule->{"prods"}[1];
33444 @item = (q{_alternation_1_of_production_7_of_rule_sysfun});
33445 %item = (__RULE__ => q{_alternation_1_of_production_7_of_rule_sysfun});
33449 Parse::RecDescent::_trace(q{Trying terminal: [/CEILING/i]}, Parse::RecDescent::_tracefirst($text),
33450 q{_alternation_1_of_production_7_of_rule_sysfun},
33452 if defined $::RD_TRACE;
33454 $expectation->is(q{})->at($text);
33457 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CEILING)//i)
33460 $expectation->failed();
33461 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33462 Parse::RecDescent::_tracefirst($text))
33463 if defined $::RD_TRACE;
33467 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33469 Parse::RecDescent::_tracefirst($text))
33470 if defined $::RD_TRACE;
33471 push @item, $item{__PATTERN1__}=$&;
33475 Parse::RecDescent::_trace(q{>>Matched production: [/CEILING/i]<<},
33476 Parse::RecDescent::_tracefirst($text),
33477 q{_alternation_1_of_production_7_of_rule_sysfun},
33479 if defined $::RD_TRACE;
33485 unless ( $_matched || defined($return) || defined($score) )
33489 $_[1] = $text; # NOT SURE THIS IS NEEDED
33490 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
33491 Parse::RecDescent::_tracefirst($_[1]),
33492 q{_alternation_1_of_production_7_of_rule_sysfun},
33494 if defined $::RD_TRACE;
33497 if (!defined($return) && defined($score))
33499 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
33500 q{_alternation_1_of_production_7_of_rule_sysfun},
33502 if defined $::RD_TRACE;
33503 $return = $score_return;
33505 splice @{$thisparser->{errors}}, $err_at;
33506 $return = $item[$#item] unless defined $return;
33507 if (defined $::RD_TRACE)
33509 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
33510 $return . q{])}, "",
33511 q{_alternation_1_of_production_7_of_rule_sysfun},
33513 Parse::RecDescent::_trace(q{(consumed: [} .
33514 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
33515 Parse::RecDescent::_tracefirst($text),
33516 , q{_alternation_1_of_production_7_of_rule_sysfun},
33523 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
33524 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::prevval_expression
33526 my $thisparser = $_[0];
33527 use vars q{$tracelevel};
33528 local $tracelevel = ($tracelevel||0)+1;
33530 my $thisrule = $thisparser->{"rules"}{"prevval_expression"};
33532 Parse::RecDescent::_trace(q{Trying rule: [prevval_expression]},
33533 Parse::RecDescent::_tracefirst($_[1]),
33534 q{prevval_expression},
33536 if defined $::RD_TRACE;
33539 my $err_at = @{$thisparser->{errors}};
33544 my $return = undef;
33549 my $repeating = defined($_[2]) && $_[2];
33550 my $_noactions = defined($_[3]) && $_[3];
33551 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
33552 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
33555 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
33556 $expectation->at($_[1]);
33559 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
33563 while (!$_matched && !$commit)
33566 Parse::RecDescent::_trace(q{Trying production: [/PREVVAL\\s+FOR/i sequence_name]},
33567 Parse::RecDescent::_tracefirst($_[1]),
33568 q{prevval_expression},
33570 if defined $::RD_TRACE;
33571 my $thisprod = $thisrule->{"prods"}[0];
33574 @item = (q{prevval_expression});
33575 %item = (__RULE__ => q{prevval_expression});
33579 Parse::RecDescent::_trace(q{Trying terminal: [/PREVVAL\\s+FOR/i]}, Parse::RecDescent::_tracefirst($text),
33580 q{prevval_expression},
33582 if defined $::RD_TRACE;
33584 $expectation->is(q{})->at($text);
33587 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:PREVVAL\s+FOR)//i)
33590 $expectation->failed();
33591 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33592 Parse::RecDescent::_tracefirst($text))
33593 if defined $::RD_TRACE;
33597 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33599 Parse::RecDescent::_tracefirst($text))
33600 if defined $::RD_TRACE;
33601 push @item, $item{__PATTERN1__}=$&;
33604 Parse::RecDescent::_trace(q{Trying subrule: [sequence_name]},
33605 Parse::RecDescent::_tracefirst($text),
33606 q{prevval_expression},
33608 if defined $::RD_TRACE;
33609 if (1) { no strict qw{refs};
33610 $expectation->is(q{sequence_name})->at($text);
33611 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sequence_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
33614 Parse::RecDescent::_trace(q{<<Didn't match subrule: [sequence_name]>>},
33615 Parse::RecDescent::_tracefirst($text),
33616 q{prevval_expression},
33618 if defined $::RD_TRACE;
33619 $expectation->failed();
33622 Parse::RecDescent::_trace(q{>>Matched subrule: [sequence_name]<< (return value: [}
33625 Parse::RecDescent::_tracefirst($text),
33626 q{prevval_expression},
33628 if defined $::RD_TRACE;
33629 $item{q{sequence_name}} = $_tok;
33635 Parse::RecDescent::_trace(q{>>Matched production: [/PREVVAL\\s+FOR/i sequence_name]<<},
33636 Parse::RecDescent::_tracefirst($text),
33637 q{prevval_expression},
33639 if defined $::RD_TRACE;
33645 unless ( $_matched || defined($return) || defined($score) )
33649 $_[1] = $text; # NOT SURE THIS IS NEEDED
33650 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
33651 Parse::RecDescent::_tracefirst($_[1]),
33652 q{prevval_expression},
33654 if defined $::RD_TRACE;
33657 if (!defined($return) && defined($score))
33659 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
33660 q{prevval_expression},
33662 if defined $::RD_TRACE;
33663 $return = $score_return;
33665 splice @{$thisparser->{errors}}, $err_at;
33666 $return = $item[$#item] unless defined $return;
33667 if (defined $::RD_TRACE)
33669 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
33670 $return . q{])}, "",
33671 q{prevval_expression},
33673 Parse::RecDescent::_trace(q{(consumed: [} .
33674 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
33675 Parse::RecDescent::_tracefirst($text),
33676 , q{prevval_expression},
33683 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
33684 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::where_clause
33686 my $thisparser = $_[0];
33687 use vars q{$tracelevel};
33688 local $tracelevel = ($tracelevel||0)+1;
33690 my $thisrule = $thisparser->{"rules"}{"where_clause"};
33692 Parse::RecDescent::_trace(q{Trying rule: [where_clause]},
33693 Parse::RecDescent::_tracefirst($_[1]),
33696 if defined $::RD_TRACE;
33699 my $err_at = @{$thisparser->{errors}};
33704 my $return = undef;
33709 my $repeating = defined($_[2]) && $_[2];
33710 my $_noactions = defined($_[3]) && $_[3];
33711 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
33712 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
33715 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
33716 $expectation->at($_[1]);
33719 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
33723 while (!$_matched && !$commit)
33726 Parse::RecDescent::_trace(q{Trying production: [WHERE search_condition]},
33727 Parse::RecDescent::_tracefirst($_[1]),
33730 if defined $::RD_TRACE;
33731 my $thisprod = $thisrule->{"prods"}[0];
33734 @item = (q{where_clause});
33735 %item = (__RULE__ => q{where_clause});
33739 Parse::RecDescent::_trace(q{Trying subrule: [WHERE]},
33740 Parse::RecDescent::_tracefirst($text),
33743 if defined $::RD_TRACE;
33744 if (1) { no strict qw{refs};
33745 $expectation->is(q{})->at($text);
33746 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::WHERE($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
33749 Parse::RecDescent::_trace(q{<<Didn't match subrule: [WHERE]>>},
33750 Parse::RecDescent::_tracefirst($text),
33753 if defined $::RD_TRACE;
33754 $expectation->failed();
33757 Parse::RecDescent::_trace(q{>>Matched subrule: [WHERE]<< (return value: [}
33760 Parse::RecDescent::_tracefirst($text),
33763 if defined $::RD_TRACE;
33764 $item{q{WHERE}} = $_tok;
33769 Parse::RecDescent::_trace(q{Trying subrule: [search_condition]},
33770 Parse::RecDescent::_tracefirst($text),
33773 if defined $::RD_TRACE;
33774 if (1) { no strict qw{refs};
33775 $expectation->is(q{search_condition})->at($text);
33776 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::search_condition($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
33779 Parse::RecDescent::_trace(q{<<Didn't match subrule: [search_condition]>>},
33780 Parse::RecDescent::_tracefirst($text),
33783 if defined $::RD_TRACE;
33784 $expectation->failed();
33787 Parse::RecDescent::_trace(q{>>Matched subrule: [search_condition]<< (return value: [}
33790 Parse::RecDescent::_tracefirst($text),
33793 if defined $::RD_TRACE;
33794 $item{q{search_condition}} = $_tok;
33800 Parse::RecDescent::_trace(q{>>Matched production: [WHERE search_condition]<<},
33801 Parse::RecDescent::_tracefirst($text),
33804 if defined $::RD_TRACE;
33810 unless ( $_matched || defined($return) || defined($score) )
33814 $_[1] = $text; # NOT SURE THIS IS NEEDED
33815 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
33816 Parse::RecDescent::_tracefirst($_[1]),
33819 if defined $::RD_TRACE;
33822 if (!defined($return) && defined($score))
33824 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
33827 if defined $::RD_TRACE;
33828 $return = $score_return;
33830 splice @{$thisparser->{errors}}, $err_at;
33831 $return = $item[$#item] unless defined $return;
33832 if (defined $::RD_TRACE)
33834 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
33835 $return . q{])}, "",
33838 Parse::RecDescent::_trace(q{(consumed: [} .
33839 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
33840 Parse::RecDescent::_tracefirst($text),
33848 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
33849 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_start
33851 my $thisparser = $_[0];
33852 use vars q{$tracelevel};
33853 local $tracelevel = ($tracelevel||0)+1;
33855 my $thisrule = $thisparser->{"rules"}{"group_start"};
33857 Parse::RecDescent::_trace(q{Trying rule: [group_start]},
33858 Parse::RecDescent::_tracefirst($_[1]),
33861 if defined $::RD_TRACE;
33864 my $err_at = @{$thisparser->{errors}};
33869 my $return = undef;
33874 my $repeating = defined($_[2]) && $_[2];
33875 my $_noactions = defined($_[3]) && $_[3];
33876 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
33877 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
33880 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
33881 $expectation->at($_[1]);
33884 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
33888 while (!$_matched && !$commit)
33891 Parse::RecDescent::_trace(q{Trying production: [/UNBOUNDED\\s+PRECEDING/i]},
33892 Parse::RecDescent::_tracefirst($_[1]),
33895 if defined $::RD_TRACE;
33896 my $thisprod = $thisrule->{"prods"}[0];
33899 @item = (q{group_start});
33900 %item = (__RULE__ => q{group_start});
33904 Parse::RecDescent::_trace(q{Trying terminal: [/UNBOUNDED\\s+PRECEDING/i]}, Parse::RecDescent::_tracefirst($text),
33907 if defined $::RD_TRACE;
33909 $expectation->is(q{})->at($text);
33912 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:UNBOUNDED\s+PRECEDING)//i)
33915 $expectation->failed();
33916 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33917 Parse::RecDescent::_tracefirst($text))
33918 if defined $::RD_TRACE;
33922 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
33924 Parse::RecDescent::_tracefirst($text))
33925 if defined $::RD_TRACE;
33926 push @item, $item{__PATTERN1__}=$&;
33930 Parse::RecDescent::_trace(q{>>Matched production: [/UNBOUNDED\\s+PRECEDING/i]<<},
33931 Parse::RecDescent::_tracefirst($text),
33934 if defined $::RD_TRACE;
33940 while (!$_matched && !$commit)
33943 Parse::RecDescent::_trace(q{Trying production: [unsigned_constant /PRECEDING/i]},
33944 Parse::RecDescent::_tracefirst($_[1]),
33947 if defined $::RD_TRACE;
33948 my $thisprod = $thisrule->{"prods"}[1];
33951 @item = (q{group_start});
33952 %item = (__RULE__ => q{group_start});
33956 Parse::RecDescent::_trace(q{Trying subrule: [unsigned_constant]},
33957 Parse::RecDescent::_tracefirst($text),
33960 if defined $::RD_TRACE;
33961 if (1) { no strict qw{refs};
33962 $expectation->is(q{})->at($text);
33963 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::unsigned_constant($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
33966 Parse::RecDescent::_trace(q{<<Didn't match subrule: [unsigned_constant]>>},
33967 Parse::RecDescent::_tracefirst($text),
33970 if defined $::RD_TRACE;
33971 $expectation->failed();
33974 Parse::RecDescent::_trace(q{>>Matched subrule: [unsigned_constant]<< (return value: [}
33977 Parse::RecDescent::_tracefirst($text),
33980 if defined $::RD_TRACE;
33981 $item{q{unsigned_constant}} = $_tok;
33986 Parse::RecDescent::_trace(q{Trying terminal: [/PRECEDING/i]}, Parse::RecDescent::_tracefirst($text),
33989 if defined $::RD_TRACE;
33991 $expectation->is(q{/PRECEDING/i})->at($text);
33994 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:PRECEDING)//i)
33997 $expectation->failed();
33998 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
33999 Parse::RecDescent::_tracefirst($text))
34000 if defined $::RD_TRACE;
34004 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34006 Parse::RecDescent::_tracefirst($text))
34007 if defined $::RD_TRACE;
34008 push @item, $item{__PATTERN1__}=$&;
34012 Parse::RecDescent::_trace(q{>>Matched production: [unsigned_constant /PRECEDING/i]<<},
34013 Parse::RecDescent::_tracefirst($text),
34016 if defined $::RD_TRACE;
34022 while (!$_matched && !$commit)
34025 Parse::RecDescent::_trace(q{Trying production: [/CURRENT\\s+ROW/i]},
34026 Parse::RecDescent::_tracefirst($_[1]),
34029 if defined $::RD_TRACE;
34030 my $thisprod = $thisrule->{"prods"}[2];
34033 @item = (q{group_start});
34034 %item = (__RULE__ => q{group_start});
34038 Parse::RecDescent::_trace(q{Trying terminal: [/CURRENT\\s+ROW/i]}, Parse::RecDescent::_tracefirst($text),
34041 if defined $::RD_TRACE;
34043 $expectation->is(q{})->at($text);
34046 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:CURRENT\s+ROW)//i)
34049 $expectation->failed();
34050 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
34051 Parse::RecDescent::_tracefirst($text))
34052 if defined $::RD_TRACE;
34056 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34058 Parse::RecDescent::_tracefirst($text))
34059 if defined $::RD_TRACE;
34060 push @item, $item{__PATTERN1__}=$&;
34064 Parse::RecDescent::_trace(q{>>Matched production: [/CURRENT\\s+ROW/i]<<},
34065 Parse::RecDescent::_tracefirst($text),
34068 if defined $::RD_TRACE;
34074 unless ( $_matched || defined($return) || defined($score) )
34078 $_[1] = $text; # NOT SURE THIS IS NEEDED
34079 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
34080 Parse::RecDescent::_tracefirst($_[1]),
34083 if defined $::RD_TRACE;
34086 if (!defined($return) && defined($score))
34088 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
34091 if defined $::RD_TRACE;
34092 $return = $score_return;
34094 splice @{$thisparser->{errors}}, $err_at;
34095 $return = $item[$#item] unless defined $return;
34096 if (defined $::RD_TRACE)
34098 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
34099 $return . q{])}, "",
34102 Parse::RecDescent::_trace(q{(consumed: [} .
34103 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
34104 Parse::RecDescent::_tracefirst($text),
34112 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
34113 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::correlation_name
34115 my $thisparser = $_[0];
34116 use vars q{$tracelevel};
34117 local $tracelevel = ($tracelevel||0)+1;
34119 my $thisrule = $thisparser->{"rules"}{"correlation_name"};
34121 Parse::RecDescent::_trace(q{Trying rule: [correlation_name]},
34122 Parse::RecDescent::_tracefirst($_[1]),
34123 q{correlation_name},
34125 if defined $::RD_TRACE;
34128 my $err_at = @{$thisparser->{errors}};
34133 my $return = undef;
34138 my $repeating = defined($_[2]) && $_[2];
34139 my $_noactions = defined($_[3]) && $_[3];
34140 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
34141 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
34144 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
34145 $expectation->at($_[1]);
34148 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
34152 while (!$_matched && !$commit)
34155 Parse::RecDescent::_trace(q{Trying production: [NAME]},
34156 Parse::RecDescent::_tracefirst($_[1]),
34157 q{correlation_name},
34159 if defined $::RD_TRACE;
34160 my $thisprod = $thisrule->{"prods"}[0];
34163 @item = (q{correlation_name});
34164 %item = (__RULE__ => q{correlation_name});
34168 Parse::RecDescent::_trace(q{Trying subrule: [NAME]},
34169 Parse::RecDescent::_tracefirst($text),
34170 q{correlation_name},
34172 if defined $::RD_TRACE;
34173 if (1) { no strict qw{refs};
34174 $expectation->is(q{})->at($text);
34175 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::NAME($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
34178 Parse::RecDescent::_trace(q{<<Didn't match subrule: [NAME]>>},
34179 Parse::RecDescent::_tracefirst($text),
34180 q{correlation_name},
34182 if defined $::RD_TRACE;
34183 $expectation->failed();
34186 Parse::RecDescent::_trace(q{>>Matched subrule: [NAME]<< (return value: [}
34189 Parse::RecDescent::_tracefirst($text),
34190 q{correlation_name},
34192 if defined $::RD_TRACE;
34193 $item{q{NAME}} = $_tok;
34199 Parse::RecDescent::_trace(q{>>Matched production: [NAME]<<},
34200 Parse::RecDescent::_tracefirst($text),
34201 q{correlation_name},
34203 if defined $::RD_TRACE;
34209 unless ( $_matched || defined($return) || defined($score) )
34213 $_[1] = $text; # NOT SURE THIS IS NEEDED
34214 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
34215 Parse::RecDescent::_tracefirst($_[1]),
34216 q{correlation_name},
34218 if defined $::RD_TRACE;
34221 if (!defined($return) && defined($score))
34223 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
34224 q{correlation_name},
34226 if defined $::RD_TRACE;
34227 $return = $score_return;
34229 splice @{$thisparser->{errors}}, $err_at;
34230 $return = $item[$#item] unless defined $return;
34231 if (defined $::RD_TRACE)
34233 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
34234 $return . q{])}, "",
34235 q{correlation_name},
34237 Parse::RecDescent::_trace(q{(consumed: [} .
34238 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
34239 Parse::RecDescent::_tracefirst($text),
34240 , q{correlation_name},
34247 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
34248 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::SQL_procedure_statement
34250 my $thisparser = $_[0];
34251 use vars q{$tracelevel};
34252 local $tracelevel = ($tracelevel||0)+1;
34254 my $thisrule = $thisparser->{"rules"}{"SQL_procedure_statement"};
34256 Parse::RecDescent::_trace(q{Trying rule: [SQL_procedure_statement]},
34257 Parse::RecDescent::_tracefirst($_[1]),
34258 q{SQL_procedure_statement},
34260 if defined $::RD_TRACE;
34263 my $err_at = @{$thisparser->{errors}};
34268 my $return = undef;
34273 my $repeating = defined($_[2]) && $_[2];
34274 my $_noactions = defined($_[3]) && $_[3];
34275 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
34276 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
34279 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
34280 $expectation->at($_[1]);
34283 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
34287 while (!$_matched && !$commit)
34290 Parse::RecDescent::_trace(q{Trying production: [/[^;]*/ /(;|\\z)/]},
34291 Parse::RecDescent::_tracefirst($_[1]),
34292 q{SQL_procedure_statement},
34294 if defined $::RD_TRACE;
34295 my $thisprod = $thisrule->{"prods"}[0];
34298 @item = (q{SQL_procedure_statement});
34299 %item = (__RULE__ => q{SQL_procedure_statement});
34303 Parse::RecDescent::_trace(q{Trying terminal: [/[^;]*/]}, Parse::RecDescent::_tracefirst($text),
34304 q{SQL_procedure_statement},
34306 if defined $::RD_TRACE;
34308 $expectation->is(q{})->at($text);
34311 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:[^;]*)//)
34314 $expectation->failed();
34315 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
34316 Parse::RecDescent::_tracefirst($text))
34317 if defined $::RD_TRACE;
34321 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34323 Parse::RecDescent::_tracefirst($text))
34324 if defined $::RD_TRACE;
34325 push @item, $item{__PATTERN1__}=$&;
34328 Parse::RecDescent::_trace(q{Trying terminal: [/(;|\\z)/]}, Parse::RecDescent::_tracefirst($text),
34329 q{SQL_procedure_statement},
34331 if defined $::RD_TRACE;
34333 $expectation->is(q{/(;|\\z)/})->at($text);
34336 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:(;|\z))//)
34339 $expectation->failed();
34340 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
34341 Parse::RecDescent::_tracefirst($text))
34342 if defined $::RD_TRACE;
34346 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34348 Parse::RecDescent::_tracefirst($text))
34349 if defined $::RD_TRACE;
34350 push @item, $item{__PATTERN2__}=$&;
34353 Parse::RecDescent::_trace(q{Trying action},
34354 Parse::RecDescent::_tracefirst($text),
34355 q{SQL_procedure_statement},
34357 if defined $::RD_TRACE;
34360 $_tok = ($_noactions) ? 0 : do { $return = $item[1] . $item[2] };
34361 unless (defined $_tok)
34363 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
34364 if defined $::RD_TRACE;
34367 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
34369 Parse::RecDescent::_tracefirst($text))
34370 if defined $::RD_TRACE;
34372 $item{__ACTION1__}=$_tok;
34376 Parse::RecDescent::_trace(q{>>Matched production: [/[^;]*/ /(;|\\z)/]<<},
34377 Parse::RecDescent::_tracefirst($text),
34378 q{SQL_procedure_statement},
34380 if defined $::RD_TRACE;
34386 unless ( $_matched || defined($return) || defined($score) )
34390 $_[1] = $text; # NOT SURE THIS IS NEEDED
34391 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
34392 Parse::RecDescent::_tracefirst($_[1]),
34393 q{SQL_procedure_statement},
34395 if defined $::RD_TRACE;
34398 if (!defined($return) && defined($score))
34400 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
34401 q{SQL_procedure_statement},
34403 if defined $::RD_TRACE;
34404 $return = $score_return;
34406 splice @{$thisparser->{errors}}, $err_at;
34407 $return = $item[$#item] unless defined $return;
34408 if (defined $::RD_TRACE)
34410 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
34411 $return . q{])}, "",
34412 q{SQL_procedure_statement},
34414 Parse::RecDescent::_trace(q{(consumed: [} .
34415 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
34416 Parse::RecDescent::_tracefirst($text),
34417 , q{SQL_procedure_statement},
34424 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
34425 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_between
34427 my $thisparser = $_[0];
34428 use vars q{$tracelevel};
34429 local $tracelevel = ($tracelevel||0)+1;
34431 my $thisrule = $thisparser->{"rules"}{"group_between"};
34433 Parse::RecDescent::_trace(q{Trying rule: [group_between]},
34434 Parse::RecDescent::_tracefirst($_[1]),
34437 if defined $::RD_TRACE;
34440 my $err_at = @{$thisparser->{errors}};
34445 my $return = undef;
34450 my $repeating = defined($_[2]) && $_[2];
34451 my $_noactions = defined($_[3]) && $_[3];
34452 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
34453 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
34456 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
34457 $expectation->at($_[1]);
34460 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
34464 while (!$_matched && !$commit)
34467 Parse::RecDescent::_trace(q{Trying production: [/BETWEEN/i group_bound1 /AND/i group_bound2]},
34468 Parse::RecDescent::_tracefirst($_[1]),
34471 if defined $::RD_TRACE;
34472 my $thisprod = $thisrule->{"prods"}[0];
34475 @item = (q{group_between});
34476 %item = (__RULE__ => q{group_between});
34480 Parse::RecDescent::_trace(q{Trying terminal: [/BETWEEN/i]}, Parse::RecDescent::_tracefirst($text),
34483 if defined $::RD_TRACE;
34485 $expectation->is(q{})->at($text);
34488 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:BETWEEN)//i)
34491 $expectation->failed();
34492 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
34493 Parse::RecDescent::_tracefirst($text))
34494 if defined $::RD_TRACE;
34498 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34500 Parse::RecDescent::_tracefirst($text))
34501 if defined $::RD_TRACE;
34502 push @item, $item{__PATTERN1__}=$&;
34505 Parse::RecDescent::_trace(q{Trying subrule: [group_bound1]},
34506 Parse::RecDescent::_tracefirst($text),
34509 if defined $::RD_TRACE;
34510 if (1) { no strict qw{refs};
34511 $expectation->is(q{group_bound1})->at($text);
34512 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_bound1($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
34515 Parse::RecDescent::_trace(q{<<Didn't match subrule: [group_bound1]>>},
34516 Parse::RecDescent::_tracefirst($text),
34519 if defined $::RD_TRACE;
34520 $expectation->failed();
34523 Parse::RecDescent::_trace(q{>>Matched subrule: [group_bound1]<< (return value: [}
34526 Parse::RecDescent::_tracefirst($text),
34529 if defined $::RD_TRACE;
34530 $item{q{group_bound1}} = $_tok;
34535 Parse::RecDescent::_trace(q{Trying terminal: [/AND/i]}, Parse::RecDescent::_tracefirst($text),
34538 if defined $::RD_TRACE;
34540 $expectation->is(q{/AND/i})->at($text);
34543 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:AND)//i)
34546 $expectation->failed();
34547 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
34548 Parse::RecDescent::_tracefirst($text))
34549 if defined $::RD_TRACE;
34553 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34555 Parse::RecDescent::_tracefirst($text))
34556 if defined $::RD_TRACE;
34557 push @item, $item{__PATTERN2__}=$&;
34560 Parse::RecDescent::_trace(q{Trying subrule: [group_bound2]},
34561 Parse::RecDescent::_tracefirst($text),
34564 if defined $::RD_TRACE;
34565 if (1) { no strict qw{refs};
34566 $expectation->is(q{group_bound2})->at($text);
34567 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::group_bound2($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
34570 Parse::RecDescent::_trace(q{<<Didn't match subrule: [group_bound2]>>},
34571 Parse::RecDescent::_tracefirst($text),
34574 if defined $::RD_TRACE;
34575 $expectation->failed();
34578 Parse::RecDescent::_trace(q{>>Matched subrule: [group_bound2]<< (return value: [}
34581 Parse::RecDescent::_tracefirst($text),
34584 if defined $::RD_TRACE;
34585 $item{q{group_bound2}} = $_tok;
34591 Parse::RecDescent::_trace(q{>>Matched production: [/BETWEEN/i group_bound1 /AND/i group_bound2]<<},
34592 Parse::RecDescent::_tracefirst($text),
34595 if defined $::RD_TRACE;
34601 unless ( $_matched || defined($return) || defined($score) )
34605 $_[1] = $text; # NOT SURE THIS IS NEEDED
34606 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
34607 Parse::RecDescent::_tracefirst($_[1]),
34610 if defined $::RD_TRACE;
34613 if (!defined($return) && defined($score))
34615 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
34618 if defined $::RD_TRACE;
34619 $return = $score_return;
34621 splice @{$thisparser->{errors}}, $err_at;
34622 $return = $item[$#item] unless defined $return;
34623 if (defined $::RD_TRACE)
34625 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
34626 $return . q{])}, "",
34629 Parse::RecDescent::_trace(q{(consumed: [} .
34630 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
34631 Parse::RecDescent::_tracefirst($text),
34632 , q{group_between},
34639 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
34640 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::nextval_expression
34642 my $thisparser = $_[0];
34643 use vars q{$tracelevel};
34644 local $tracelevel = ($tracelevel||0)+1;
34646 my $thisrule = $thisparser->{"rules"}{"nextval_expression"};
34648 Parse::RecDescent::_trace(q{Trying rule: [nextval_expression]},
34649 Parse::RecDescent::_tracefirst($_[1]),
34650 q{nextval_expression},
34652 if defined $::RD_TRACE;
34655 my $err_at = @{$thisparser->{errors}};
34660 my $return = undef;
34665 my $repeating = defined($_[2]) && $_[2];
34666 my $_noactions = defined($_[3]) && $_[3];
34667 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
34668 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
34671 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
34672 $expectation->at($_[1]);
34675 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
34679 while (!$_matched && !$commit)
34682 Parse::RecDescent::_trace(q{Trying production: [/NEXTVAL\\s+FOR/i sequence_name]},
34683 Parse::RecDescent::_tracefirst($_[1]),
34684 q{nextval_expression},
34686 if defined $::RD_TRACE;
34687 my $thisprod = $thisrule->{"prods"}[0];
34690 @item = (q{nextval_expression});
34691 %item = (__RULE__ => q{nextval_expression});
34695 Parse::RecDescent::_trace(q{Trying terminal: [/NEXTVAL\\s+FOR/i]}, Parse::RecDescent::_tracefirst($text),
34696 q{nextval_expression},
34698 if defined $::RD_TRACE;
34700 $expectation->is(q{})->at($text);
34703 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:NEXTVAL\s+FOR)//i)
34706 $expectation->failed();
34707 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
34708 Parse::RecDescent::_tracefirst($text))
34709 if defined $::RD_TRACE;
34713 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34715 Parse::RecDescent::_tracefirst($text))
34716 if defined $::RD_TRACE;
34717 push @item, $item{__PATTERN1__}=$&;
34720 Parse::RecDescent::_trace(q{Trying subrule: [sequence_name]},
34721 Parse::RecDescent::_tracefirst($text),
34722 q{nextval_expression},
34724 if defined $::RD_TRACE;
34725 if (1) { no strict qw{refs};
34726 $expectation->is(q{sequence_name})->at($text);
34727 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::sequence_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
34730 Parse::RecDescent::_trace(q{<<Didn't match subrule: [sequence_name]>>},
34731 Parse::RecDescent::_tracefirst($text),
34732 q{nextval_expression},
34734 if defined $::RD_TRACE;
34735 $expectation->failed();
34738 Parse::RecDescent::_trace(q{>>Matched subrule: [sequence_name]<< (return value: [}
34741 Parse::RecDescent::_tracefirst($text),
34742 q{nextval_expression},
34744 if defined $::RD_TRACE;
34745 $item{q{sequence_name}} = $_tok;
34751 Parse::RecDescent::_trace(q{>>Matched production: [/NEXTVAL\\s+FOR/i sequence_name]<<},
34752 Parse::RecDescent::_tracefirst($text),
34753 q{nextval_expression},
34755 if defined $::RD_TRACE;
34761 unless ( $_matched || defined($return) || defined($score) )
34765 $_[1] = $text; # NOT SURE THIS IS NEEDED
34766 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
34767 Parse::RecDescent::_tracefirst($_[1]),
34768 q{nextval_expression},
34770 if defined $::RD_TRACE;
34773 if (!defined($return) && defined($score))
34775 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
34776 q{nextval_expression},
34778 if defined $::RD_TRACE;
34779 $return = $score_return;
34781 splice @{$thisparser->{errors}}, $err_at;
34782 $return = $item[$#item] unless defined $return;
34783 if (defined $::RD_TRACE)
34785 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
34786 $return . q{])}, "",
34787 q{nextval_expression},
34789 Parse::RecDescent::_trace(q{(consumed: [} .
34790 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
34791 Parse::RecDescent::_tracefirst($text),
34792 , q{nextval_expression},
34799 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
34800 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::desc_option
34802 my $thisparser = $_[0];
34803 use vars q{$tracelevel};
34804 local $tracelevel = ($tracelevel||0)+1;
34806 my $thisrule = $thisparser->{"rules"}{"desc_option"};
34808 Parse::RecDescent::_trace(q{Trying rule: [desc_option]},
34809 Parse::RecDescent::_tracefirst($_[1]),
34812 if defined $::RD_TRACE;
34815 my $err_at = @{$thisparser->{errors}};
34820 my $return = undef;
34825 my $repeating = defined($_[2]) && $_[2];
34826 my $_noactions = defined($_[3]) && $_[3];
34827 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
34828 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
34831 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
34832 $expectation->at($_[1]);
34835 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
34839 while (!$_matched && !$commit)
34842 Parse::RecDescent::_trace(q{Trying production: [/DESC/i /NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]},
34843 Parse::RecDescent::_tracefirst($_[1]),
34846 if defined $::RD_TRACE;
34847 my $thisprod = $thisrule->{"prods"}[0];
34850 @item = (q{desc_option});
34851 %item = (__RULE__ => q{desc_option});
34855 Parse::RecDescent::_trace(q{Trying terminal: [/DESC/i]}, Parse::RecDescent::_tracefirst($text),
34858 if defined $::RD_TRACE;
34860 $expectation->is(q{})->at($text);
34863 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:DESC)//i)
34866 $expectation->failed();
34867 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
34868 Parse::RecDescent::_tracefirst($text))
34869 if defined $::RD_TRACE;
34873 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
34875 Parse::RecDescent::_tracefirst($text))
34876 if defined $::RD_TRACE;
34877 push @item, $item{__PATTERN1__}=$&;
34880 Parse::RecDescent::_trace(q{Trying repeated subrule: [/NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]},
34881 Parse::RecDescent::_tracefirst($text),
34884 if defined $::RD_TRACE;
34885 $expectation->is(q{/NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i})->at($text);
34887 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_desc_option, 0, 1, $_noactions,$expectation,undef)))
34889 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [/NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]>>},
34890 Parse::RecDescent::_tracefirst($text),
34893 if defined $::RD_TRACE;
34896 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule_desc_option]<< (}
34897 . @$_tok . q{ times)},
34899 Parse::RecDescent::_tracefirst($text),
34902 if defined $::RD_TRACE;
34903 $item{q{_alternation_1_of_production_1_of_rule_desc_option(?)}} = $_tok;
34909 Parse::RecDescent::_trace(q{>>Matched production: [/DESC/i /NULLS\\s+FIRST/i, or /NULLS\\s+LAST/i]<<},
34910 Parse::RecDescent::_tracefirst($text),
34913 if defined $::RD_TRACE;
34919 unless ( $_matched || defined($return) || defined($score) )
34923 $_[1] = $text; # NOT SURE THIS IS NEEDED
34924 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
34925 Parse::RecDescent::_tracefirst($_[1]),
34928 if defined $::RD_TRACE;
34931 if (!defined($return) && defined($score))
34933 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
34936 if defined $::RD_TRACE;
34937 $return = $score_return;
34939 splice @{$thisparser->{errors}}, $err_at;
34940 $return = $item[$#item] unless defined $return;
34941 if (defined $::RD_TRACE)
34943 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
34944 $return . q{])}, "",
34947 Parse::RecDescent::_trace(q{(consumed: [} .
34948 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
34949 Parse::RecDescent::_tracefirst($text),
34957 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
34958 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_list
34960 my $thisparser = $_[0];
34961 use vars q{$tracelevel};
34962 local $tracelevel = ($tracelevel||0)+1;
34964 my $thisrule = $thisparser->{"rules"}{"column_list"};
34966 Parse::RecDescent::_trace(q{Trying rule: [column_list]},
34967 Parse::RecDescent::_tracefirst($_[1]),
34970 if defined $::RD_TRACE;
34973 my $err_at = @{$thisparser->{errors}};
34978 my $return = undef;
34983 my $repeating = defined($_[2]) && $_[2];
34984 my $_noactions = defined($_[3]) && $_[3];
34985 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
34986 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
34989 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
34990 $expectation->at($_[1]);
34993 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
34997 while (!$_matched && !$commit)
35000 Parse::RecDescent::_trace(q{Trying production: ['(' <leftop: column_name /,/ column_name> ')']},
35001 Parse::RecDescent::_tracefirst($_[1]),
35004 if defined $::RD_TRACE;
35005 my $thisprod = $thisrule->{"prods"}[0];
35008 @item = (q{column_list});
35009 %item = (__RULE__ => q{column_list});
35013 Parse::RecDescent::_trace(q{Trying terminal: ['(']},
35014 Parse::RecDescent::_tracefirst($text),
35017 if defined $::RD_TRACE;
35019 $expectation->is(q{})->at($text);
35022 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\(//)
35025 $expectation->failed();
35026 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
35027 Parse::RecDescent::_tracefirst($text))
35028 if defined $::RD_TRACE;
35031 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35033 Parse::RecDescent::_tracefirst($text))
35034 if defined $::RD_TRACE;
35035 push @item, $item{__STRING1__}=$&;
35038 Parse::RecDescent::_trace(q{Trying operator: [<leftop: column_name /,/ column_name>]},
35039 Parse::RecDescent::_tracefirst($text),
35042 if defined $::RD_TRACE;
35043 $expectation->is(q{<leftop: column_name /,/ column_name>})->at($text);
35053 Parse::RecDescent::_trace(q{Trying subrule: [column_name]},
35054 Parse::RecDescent::_tracefirst($text),
35057 if defined $::RD_TRACE;
35058 if (1) { no strict qw{refs};
35059 $expectation->is(q{column_name})->at($text);
35060 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
35063 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_name]>>},
35064 Parse::RecDescent::_tracefirst($text),
35067 if defined $::RD_TRACE;
35068 $expectation->failed();
35071 Parse::RecDescent::_trace(q{>>Matched subrule: [column_name]<< (return value: [}
35074 Parse::RecDescent::_tracefirst($text),
35077 if defined $::RD_TRACE;
35078 $item{q{column_name}} = $_tok;
35086 my $savetext = $text;
35089 # MATCH (OP RIGHTARG)(s)
35090 while ($repcount < 100000000)
35094 Parse::RecDescent::_trace(q{Trying terminal: [/,/]}, Parse::RecDescent::_tracefirst($text),
35097 if defined $::RD_TRACE;
35099 $expectation->is(q{/,/})->at($text);
35102 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:,)//)
35105 $expectation->failed();
35106 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
35107 Parse::RecDescent::_tracefirst($text))
35108 if defined $::RD_TRACE;
35112 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35114 Parse::RecDescent::_tracefirst($text))
35115 if defined $::RD_TRACE;
35116 push @item, $item{__PATTERN1__}=$&;
35120 if (defined $1) {push @item, $item{'column_name(s)'}=$1; $backtrack=1;}
35122 Parse::RecDescent::_trace(q{Trying subrule: [column_name]},
35123 Parse::RecDescent::_tracefirst($text),
35126 if defined $::RD_TRACE;
35127 if (1) { no strict qw{refs};
35128 $expectation->is(q{column_name})->at($text);
35129 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::column_name($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
35132 Parse::RecDescent::_trace(q{<<Didn't match subrule: [column_name]>>},
35133 Parse::RecDescent::_tracefirst($text),
35136 if defined $::RD_TRACE;
35137 $expectation->failed();
35140 Parse::RecDescent::_trace(q{>>Matched subrule: [column_name]<< (return value: [}
35143 Parse::RecDescent::_tracefirst($text),
35146 if defined $::RD_TRACE;
35147 $item{q{column_name}} = $_tok;
35156 pop @item if $backtrack;
35158 unless (@item) { undef $_tok; last }
35163 unless ($repcount>=1)
35165 Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: column_name /,/ column_name>]>>},
35166 Parse::RecDescent::_tracefirst($text),
35169 if defined $::RD_TRACE;
35170 $expectation->failed();
35173 Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: column_name /,/ column_name>]<< (return value: [}
35174 . qq{@{$_tok||[]}} . q{]},
35175 Parse::RecDescent::_tracefirst($text),
35178 if defined $::RD_TRACE;
35180 push @item, $item{'column_name(s)'}=$_tok||[];
35183 Parse::RecDescent::_trace(q{Trying terminal: [')']},
35184 Parse::RecDescent::_tracefirst($text),
35187 if defined $::RD_TRACE;
35189 $expectation->is(q{')'})->at($text);
35192 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\)//)
35195 $expectation->failed();
35196 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
35197 Parse::RecDescent::_tracefirst($text))
35198 if defined $::RD_TRACE;
35201 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35203 Parse::RecDescent::_tracefirst($text))
35204 if defined $::RD_TRACE;
35205 push @item, $item{__STRING2__}=$&;
35208 Parse::RecDescent::_trace(q{Trying action},
35209 Parse::RecDescent::_tracefirst($text),
35212 if defined $::RD_TRACE;
35215 $_tok = ($_noactions) ? 0 : do {
35216 $return = join(' ', '(', @{$item[2]}, ')');
35218 unless (defined $_tok)
35220 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
35221 if defined $::RD_TRACE;
35224 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
35226 Parse::RecDescent::_tracefirst($text))
35227 if defined $::RD_TRACE;
35229 $item{__ACTION1__}=$_tok;
35233 Parse::RecDescent::_trace(q{>>Matched production: ['(' <leftop: column_name /,/ column_name> ')']<<},
35234 Parse::RecDescent::_tracefirst($text),
35237 if defined $::RD_TRACE;
35243 unless ( $_matched || defined($return) || defined($score) )
35247 $_[1] = $text; # NOT SURE THIS IS NEEDED
35248 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
35249 Parse::RecDescent::_tracefirst($_[1]),
35252 if defined $::RD_TRACE;
35255 if (!defined($return) && defined($score))
35257 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
35260 if defined $::RD_TRACE;
35261 $return = $score_return;
35263 splice @{$thisparser->{errors}}, $err_at;
35264 $return = $item[$#item] unless defined $return;
35265 if (defined $::RD_TRACE)
35267 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
35268 $return . q{])}, "",
35271 Parse::RecDescent::_trace(q{(consumed: [} .
35272 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
35273 Parse::RecDescent::_tracefirst($text),
35281 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
35282 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_63_of_rule_sysibm_function
35284 my $thisparser = $_[0];
35285 use vars q{$tracelevel};
35286 local $tracelevel = ($tracelevel||0)+1;
35288 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_63_of_rule_sysibm_function"};
35290 Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_63_of_rule_sysibm_function]},
35291 Parse::RecDescent::_tracefirst($_[1]),
35292 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35294 if defined $::RD_TRACE;
35297 my $err_at = @{$thisparser->{errors}};
35302 my $return = undef;
35307 my $repeating = defined($_[2]) && $_[2];
35308 my $_noactions = defined($_[3]) && $_[3];
35309 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
35310 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
35313 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
35314 $expectation->at($_[1]);
35317 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
35321 while (!$_matched && !$commit)
35324 Parse::RecDescent::_trace(q{Trying production: [/REGR_INTERCEPT/i]},
35325 Parse::RecDescent::_tracefirst($_[1]),
35326 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35328 if defined $::RD_TRACE;
35329 my $thisprod = $thisrule->{"prods"}[0];
35332 @item = (q{_alternation_1_of_production_63_of_rule_sysibm_function});
35333 %item = (__RULE__ => q{_alternation_1_of_production_63_of_rule_sysibm_function});
35337 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_INTERCEPT/i]}, Parse::RecDescent::_tracefirst($text),
35338 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35340 if defined $::RD_TRACE;
35342 $expectation->is(q{})->at($text);
35345 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_INTERCEPT)//i)
35348 $expectation->failed();
35349 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
35350 Parse::RecDescent::_tracefirst($text))
35351 if defined $::RD_TRACE;
35355 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35357 Parse::RecDescent::_tracefirst($text))
35358 if defined $::RD_TRACE;
35359 push @item, $item{__PATTERN1__}=$&;
35363 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_INTERCEPT/i]<<},
35364 Parse::RecDescent::_tracefirst($text),
35365 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35367 if defined $::RD_TRACE;
35373 while (!$_matched && !$commit)
35376 Parse::RecDescent::_trace(q{Trying production: [/REGR_ICPT/i]},
35377 Parse::RecDescent::_tracefirst($_[1]),
35378 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35380 if defined $::RD_TRACE;
35381 my $thisprod = $thisrule->{"prods"}[1];
35384 @item = (q{_alternation_1_of_production_63_of_rule_sysibm_function});
35385 %item = (__RULE__ => q{_alternation_1_of_production_63_of_rule_sysibm_function});
35389 Parse::RecDescent::_trace(q{Trying terminal: [/REGR_ICPT/i]}, Parse::RecDescent::_tracefirst($text),
35390 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35392 if defined $::RD_TRACE;
35394 $expectation->is(q{})->at($text);
35397 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:REGR_ICPT)//i)
35400 $expectation->failed();
35401 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
35402 Parse::RecDescent::_tracefirst($text))
35403 if defined $::RD_TRACE;
35407 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35409 Parse::RecDescent::_tracefirst($text))
35410 if defined $::RD_TRACE;
35411 push @item, $item{__PATTERN1__}=$&;
35415 Parse::RecDescent::_trace(q{>>Matched production: [/REGR_ICPT/i]<<},
35416 Parse::RecDescent::_tracefirst($text),
35417 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35419 if defined $::RD_TRACE;
35425 unless ( $_matched || defined($return) || defined($score) )
35429 $_[1] = $text; # NOT SURE THIS IS NEEDED
35430 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
35431 Parse::RecDescent::_tracefirst($_[1]),
35432 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35434 if defined $::RD_TRACE;
35437 if (!defined($return) && defined($score))
35439 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
35440 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35442 if defined $::RD_TRACE;
35443 $return = $score_return;
35445 splice @{$thisparser->{errors}}, $err_at;
35446 $return = $item[$#item] unless defined $return;
35447 if (defined $::RD_TRACE)
35449 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
35450 $return . q{])}, "",
35451 q{_alternation_1_of_production_63_of_rule_sysibm_function},
35453 Parse::RecDescent::_trace(q{(consumed: [} .
35454 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
35455 Parse::RecDescent::_tracefirst($text),
35456 , q{_alternation_1_of_production_63_of_rule_sysibm_function},
35463 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
35464 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::dereference_operation
35466 my $thisparser = $_[0];
35467 use vars q{$tracelevel};
35468 local $tracelevel = ($tracelevel||0)+1;
35470 my $thisrule = $thisparser->{"rules"}{"dereference_operation"};
35472 Parse::RecDescent::_trace(q{Trying rule: [dereference_operation]},
35473 Parse::RecDescent::_tracefirst($_[1]),
35474 q{dereference_operation},
35476 if defined $::RD_TRACE;
35479 my $err_at = @{$thisparser->{errors}};
35484 my $return = undef;
35489 my $repeating = defined($_[2]) && $_[2];
35490 my $_noactions = defined($_[3]) && $_[3];
35491 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
35492 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
35495 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
35496 $expectation->at($_[1]);
35499 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
35503 while (!$_matched && !$commit)
35506 Parse::RecDescent::_trace(q{Trying production: [scoped_reference_expression '->' name1 '(']},
35507 Parse::RecDescent::_tracefirst($_[1]),
35508 q{dereference_operation},
35510 if defined $::RD_TRACE;
35511 my $thisprod = $thisrule->{"prods"}[0];
35514 @item = (q{dereference_operation});
35515 %item = (__RULE__ => q{dereference_operation});
35519 Parse::RecDescent::_trace(q{Trying subrule: [scoped_reference_expression]},
35520 Parse::RecDescent::_tracefirst($text),
35521 q{dereference_operation},
35523 if defined $::RD_TRACE;
35524 if (1) { no strict qw{refs};
35525 $expectation->is(q{})->at($text);
35526 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::scoped_reference_expression($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
35529 Parse::RecDescent::_trace(q{<<Didn't match subrule: [scoped_reference_expression]>>},
35530 Parse::RecDescent::_tracefirst($text),
35531 q{dereference_operation},
35533 if defined $::RD_TRACE;
35534 $expectation->failed();
35537 Parse::RecDescent::_trace(q{>>Matched subrule: [scoped_reference_expression]<< (return value: [}
35540 Parse::RecDescent::_tracefirst($text),
35541 q{dereference_operation},
35543 if defined $::RD_TRACE;
35544 $item{q{scoped_reference_expression}} = $_tok;
35549 Parse::RecDescent::_trace(q{Trying terminal: ['->']},
35550 Parse::RecDescent::_tracefirst($text),
35551 q{dereference_operation},
35553 if defined $::RD_TRACE;
35555 $expectation->is(q{'->'})->at($text);
35558 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A\-\>//)
35561 $expectation->failed();
35562 Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
35563 Parse::RecDescent::_tracefirst($text))
35564 if defined $::RD_TRACE;
35567 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35569 Parse::RecDescent::_tracefirst($text))
35570 if defined $::RD_TRACE;
35571 push @item, $item{__STRING1__}=$&;
35574 Parse::RecDescent::_trace(q{Trying subrule: [name1]},
35575 Parse::RecDescent::_tracefirst($text),
35576 q{dereference_operation},
35578 if defined $::RD_TRACE;
35579 if (1) { no strict qw{refs};
35580 $expectation->is(q{name1})->at($text);
35581 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::name1($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
35584 Parse::RecDescent::_trace(q{<<Didn't match subrule: [name1]>>},
35585 Parse::RecDescent::_tracefirst($text),
35586 q{dereference_operation},
35588 if defined $::RD_TRACE;
35589 $expectation->failed();
35592 Parse::RecDescent::_trace(q{>>Matched subrule: [name1]<< (return value: [}
35595 Parse::RecDescent::_tracefirst($text),
35596 q{dereference_operation},
35598 if defined $::RD_TRACE;
35599 $item{q{name1}} = $_tok;
35604 Parse::RecDescent::_trace(q{Trying repeated subrule: ['(']},
35605 Parse::RecDescent::_tracefirst($text),
35606 q{dereference_operation},
35608 if defined $::RD_TRACE;
35609 $expectation->is(q{'('})->at($text);
35611 unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_dereference_operation, 0, 1, $_noactions,$expectation,undef)))
35613 Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: ['(']>>},
35614 Parse::RecDescent::_tracefirst($text),
35615 q{dereference_operation},
35617 if defined $::RD_TRACE;
35620 Parse::RecDescent::_trace(q{>>Matched repeated subrule: [_alternation_1_of_production_1_of_rule_dereference_operation]<< (}
35621 . @$_tok . q{ times)},
35623 Parse::RecDescent::_tracefirst($text),
35624 q{dereference_operation},
35626 if defined $::RD_TRACE;
35627 $item{q{_alternation_1_of_production_1_of_rule_dereference_operation(?)}} = $_tok;
35633 Parse::RecDescent::_trace(q{>>Matched production: [scoped_reference_expression '->' name1 '(']<<},
35634 Parse::RecDescent::_tracefirst($text),
35635 q{dereference_operation},
35637 if defined $::RD_TRACE;
35643 unless ( $_matched || defined($return) || defined($score) )
35647 $_[1] = $text; # NOT SURE THIS IS NEEDED
35648 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
35649 Parse::RecDescent::_tracefirst($_[1]),
35650 q{dereference_operation},
35652 if defined $::RD_TRACE;
35655 if (!defined($return) && defined($score))
35657 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
35658 q{dereference_operation},
35660 if defined $::RD_TRACE;
35661 $return = $score_return;
35663 splice @{$thisparser->{errors}}, $err_at;
35664 $return = $item[$#item] unless defined $return;
35665 if (defined $::RD_TRACE)
35667 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
35668 $return . q{])}, "",
35669 q{dereference_operation},
35671 Parse::RecDescent::_trace(q{(consumed: [} .
35672 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
35673 Parse::RecDescent::_tracefirst($text),
35674 , q{dereference_operation},
35681 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
35682 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::OUTER
35684 my $thisparser = $_[0];
35685 use vars q{$tracelevel};
35686 local $tracelevel = ($tracelevel||0)+1;
35688 my $thisrule = $thisparser->{"rules"}{"OUTER"};
35690 Parse::RecDescent::_trace(q{Trying rule: [OUTER]},
35691 Parse::RecDescent::_tracefirst($_[1]),
35694 if defined $::RD_TRACE;
35697 my $err_at = @{$thisparser->{errors}};
35702 my $return = undef;
35707 my $repeating = defined($_[2]) && $_[2];
35708 my $_noactions = defined($_[3]) && $_[3];
35709 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
35710 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
35713 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
35714 $expectation->at($_[1]);
35717 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
35721 while (!$_matched && !$commit)
35724 Parse::RecDescent::_trace(q{Trying production: [/outer/i]},
35725 Parse::RecDescent::_tracefirst($_[1]),
35728 if defined $::RD_TRACE;
35729 my $thisprod = $thisrule->{"prods"}[0];
35732 @item = (q{OUTER});
35733 %item = (__RULE__ => q{OUTER});
35737 Parse::RecDescent::_trace(q{Trying terminal: [/outer/i]}, Parse::RecDescent::_tracefirst($text),
35740 if defined $::RD_TRACE;
35742 $expectation->is(q{})->at($text);
35745 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:outer)//i)
35748 $expectation->failed();
35749 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
35750 Parse::RecDescent::_tracefirst($text))
35751 if defined $::RD_TRACE;
35755 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35757 Parse::RecDescent::_tracefirst($text))
35758 if defined $::RD_TRACE;
35759 push @item, $item{__PATTERN1__}=$&;
35763 Parse::RecDescent::_trace(q{>>Matched production: [/outer/i]<<},
35764 Parse::RecDescent::_tracefirst($text),
35767 if defined $::RD_TRACE;
35773 unless ( $_matched || defined($return) || defined($score) )
35777 $_[1] = $text; # NOT SURE THIS IS NEEDED
35778 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
35779 Parse::RecDescent::_tracefirst($_[1]),
35782 if defined $::RD_TRACE;
35785 if (!defined($return) && defined($score))
35787 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
35790 if defined $::RD_TRACE;
35791 $return = $score_return;
35793 splice @{$thisparser->{errors}}, $err_at;
35794 $return = $item[$#item] unless defined $return;
35795 if (defined $::RD_TRACE)
35797 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
35798 $return . q{])}, "",
35801 Parse::RecDescent::_trace(q{(consumed: [} .
35802 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
35803 Parse::RecDescent::_tracefirst($text),
35811 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
35812 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::window_order_clause
35814 my $thisparser = $_[0];
35815 use vars q{$tracelevel};
35816 local $tracelevel = ($tracelevel||0)+1;
35818 my $thisrule = $thisparser->{"rules"}{"window_order_clause"};
35820 Parse::RecDescent::_trace(q{Trying rule: [window_order_clause]},
35821 Parse::RecDescent::_tracefirst($_[1]),
35822 q{window_order_clause},
35824 if defined $::RD_TRACE;
35827 my $err_at = @{$thisparser->{errors}};
35832 my $return = undef;
35837 my $repeating = defined($_[2]) && $_[2];
35838 my $_noactions = defined($_[3]) && $_[3];
35839 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
35840 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
35843 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
35844 $expectation->at($_[1]);
35847 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
35851 while (!$_matched && !$commit)
35854 Parse::RecDescent::_trace(q{Trying production: [/ORDER\\s+BY/i <leftop: sort_key_expression /,/ sort_key_expression>]},
35855 Parse::RecDescent::_tracefirst($_[1]),
35856 q{window_order_clause},
35858 if defined $::RD_TRACE;
35859 my $thisprod = $thisrule->{"prods"}[0];
35862 @item = (q{window_order_clause});
35863 %item = (__RULE__ => q{window_order_clause});
35867 Parse::RecDescent::_trace(q{Trying terminal: [/ORDER\\s+BY/i]}, Parse::RecDescent::_tracefirst($text),
35868 q{window_order_clause},
35870 if defined $::RD_TRACE;
35872 $expectation->is(q{})->at($text);
35875 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:ORDER\s+BY)//i)
35878 $expectation->failed();
35879 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
35880 Parse::RecDescent::_tracefirst($text))
35881 if defined $::RD_TRACE;
35885 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35887 Parse::RecDescent::_tracefirst($text))
35888 if defined $::RD_TRACE;
35889 push @item, $item{__PATTERN1__}=$&;
35892 Parse::RecDescent::_trace(q{Trying operator: [<leftop: sort_key_expression /,/ sort_key_expression>]},
35893 Parse::RecDescent::_tracefirst($text),
35894 q{window_order_clause},
35896 if defined $::RD_TRACE;
35897 $expectation->is(q{<leftop: sort_key_expression /,/ sort_key_expression>})->at($text);
35907 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_window_order_clause]},
35908 Parse::RecDescent::_tracefirst($text),
35909 q{window_order_clause},
35911 if defined $::RD_TRACE;
35912 if (1) { no strict qw{refs};
35913 $expectation->is(q{sort_key_expression})->at($text);
35914 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_window_order_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
35917 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_window_order_clause]>>},
35918 Parse::RecDescent::_tracefirst($text),
35919 q{window_order_clause},
35921 if defined $::RD_TRACE;
35922 $expectation->failed();
35925 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_window_order_clause]<< (return value: [}
35928 Parse::RecDescent::_tracefirst($text),
35929 q{window_order_clause},
35931 if defined $::RD_TRACE;
35932 $item{q{_alternation_1_of_production_1_of_rule_window_order_clause}} = $_tok;
35940 my $savetext = $text;
35943 # MATCH (OP RIGHTARG)(s)
35944 while ($repcount < 100000000)
35948 Parse::RecDescent::_trace(q{Trying terminal: [/,/]}, Parse::RecDescent::_tracefirst($text),
35949 q{window_order_clause},
35951 if defined $::RD_TRACE;
35953 $expectation->is(q{/,/})->at($text);
35956 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:,)//)
35959 $expectation->failed();
35960 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
35961 Parse::RecDescent::_tracefirst($text))
35962 if defined $::RD_TRACE;
35966 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
35968 Parse::RecDescent::_tracefirst($text))
35969 if defined $::RD_TRACE;
35970 push @item, $item{__PATTERN2__}=$&;
35974 if (defined $1) {push @item, $item{'_alternation_1_of_production_1_of_rule_window_order_clause(s)'}=$1; $backtrack=1;}
35976 Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_window_order_clause]},
35977 Parse::RecDescent::_tracefirst($text),
35978 q{window_order_clause},
35980 if defined $::RD_TRACE;
35981 if (1) { no strict qw{refs};
35982 $expectation->is(q{sort_key_expression})->at($text);
35983 unless (defined ($_tok = Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::_alternation_1_of_production_1_of_rule_window_order_clause($thisparser,$text,$repeating,$_noactions,sub { \@arg })))
35986 Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_window_order_clause]>>},
35987 Parse::RecDescent::_tracefirst($text),
35988 q{window_order_clause},
35990 if defined $::RD_TRACE;
35991 $expectation->failed();
35994 Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_window_order_clause]<< (return value: [}
35997 Parse::RecDescent::_tracefirst($text),
35998 q{window_order_clause},
36000 if defined $::RD_TRACE;
36001 $item{q{_alternation_1_of_production_1_of_rule_window_order_clause}} = $_tok;
36010 pop @item if $backtrack;
36012 unless (@item) { undef $_tok; last }
36017 unless ($repcount>=1)
36019 Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: sort_key_expression /,/ sort_key_expression>]>>},
36020 Parse::RecDescent::_tracefirst($text),
36021 q{window_order_clause},
36023 if defined $::RD_TRACE;
36024 $expectation->failed();
36027 Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: sort_key_expression /,/ sort_key_expression>]<< (return value: [}
36028 . qq{@{$_tok||[]}} . q{]},
36029 Parse::RecDescent::_tracefirst($text),
36030 q{window_order_clause},
36032 if defined $::RD_TRACE;
36034 push @item, $item{'_alternation_1_of_production_1_of_rule_window_order_clause(s)'}=$_tok||[];
36038 Parse::RecDescent::_trace(q{>>Matched production: [/ORDER\\s+BY/i <leftop: sort_key_expression /,/ sort_key_expression>]<<},
36039 Parse::RecDescent::_tracefirst($text),
36040 q{window_order_clause},
36042 if defined $::RD_TRACE;
36048 unless ( $_matched || defined($return) || defined($score) )
36052 $_[1] = $text; # NOT SURE THIS IS NEEDED
36053 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
36054 Parse::RecDescent::_tracefirst($_[1]),
36055 q{window_order_clause},
36057 if defined $::RD_TRACE;
36060 if (!defined($return) && defined($score))
36062 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
36063 q{window_order_clause},
36065 if defined $::RD_TRACE;
36066 $return = $score_return;
36068 splice @{$thisparser->{errors}}, $err_at;
36069 $return = $item[$#item] unless defined $return;
36070 if (defined $::RD_TRACE)
36072 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
36073 $return . q{])}, "",
36074 q{window_order_clause},
36076 Parse::RecDescent::_trace(q{(consumed: [} .
36077 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
36078 Parse::RecDescent::_tracefirst($text),
36079 , q{window_order_clause},
36086 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
36087 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::TRIGGER
36089 my $thisparser = $_[0];
36090 use vars q{$tracelevel};
36091 local $tracelevel = ($tracelevel||0)+1;
36093 my $thisrule = $thisparser->{"rules"}{"TRIGGER"};
36095 Parse::RecDescent::_trace(q{Trying rule: [TRIGGER]},
36096 Parse::RecDescent::_tracefirst($_[1]),
36099 if defined $::RD_TRACE;
36102 my $err_at = @{$thisparser->{errors}};
36107 my $return = undef;
36112 my $repeating = defined($_[2]) && $_[2];
36113 my $_noactions = defined($_[3]) && $_[3];
36114 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
36115 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
36118 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
36119 $expectation->at($_[1]);
36122 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
36126 while (!$_matched && !$commit)
36129 Parse::RecDescent::_trace(q{Trying production: [/trigger/i]},
36130 Parse::RecDescent::_tracefirst($_[1]),
36133 if defined $::RD_TRACE;
36134 my $thisprod = $thisrule->{"prods"}[0];
36137 @item = (q{TRIGGER});
36138 %item = (__RULE__ => q{TRIGGER});
36142 Parse::RecDescent::_trace(q{Trying terminal: [/trigger/i]}, Parse::RecDescent::_tracefirst($text),
36145 if defined $::RD_TRACE;
36147 $expectation->is(q{})->at($text);
36150 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:trigger)//i)
36153 $expectation->failed();
36154 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
36155 Parse::RecDescent::_tracefirst($text))
36156 if defined $::RD_TRACE;
36160 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
36162 Parse::RecDescent::_tracefirst($text))
36163 if defined $::RD_TRACE;
36164 push @item, $item{__PATTERN1__}=$&;
36168 Parse::RecDescent::_trace(q{>>Matched production: [/trigger/i]<<},
36169 Parse::RecDescent::_tracefirst($text),
36172 if defined $::RD_TRACE;
36178 unless ( $_matched || defined($return) || defined($score) )
36182 $_[1] = $text; # NOT SURE THIS IS NEEDED
36183 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
36184 Parse::RecDescent::_tracefirst($_[1]),
36187 if defined $::RD_TRACE;
36190 if (!defined($return) && defined($score))
36192 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
36195 if defined $::RD_TRACE;
36196 $return = $score_return;
36198 splice @{$thisparser->{errors}}, $err_at;
36199 $return = $item[$#item] unless defined $return;
36200 if (defined $::RD_TRACE)
36202 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
36203 $return . q{])}, "",
36206 Parse::RecDescent::_trace(q{(consumed: [} .
36207 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
36208 Parse::RecDescent::_tracefirst($text),
36216 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args)
36217 sub Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar::comment
36219 my $thisparser = $_[0];
36220 use vars q{$tracelevel};
36221 local $tracelevel = ($tracelevel||0)+1;
36223 my $thisrule = $thisparser->{"rules"}{"comment"};
36225 Parse::RecDescent::_trace(q{Trying rule: [comment]},
36226 Parse::RecDescent::_tracefirst($_[1]),
36229 if defined $::RD_TRACE;
36232 my $err_at = @{$thisparser->{errors}};
36237 my $return = undef;
36242 my $repeating = defined($_[2]) && $_[2];
36243 my $_noactions = defined($_[3]) && $_[3];
36244 my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
36245 my %arg = ($#arg & 01) ? @arg : (@arg, undef);
36248 my $expectation = new Parse::RecDescent::Expectation($thisrule->expected());
36249 $expectation->at($_[1]);
36252 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
36256 while (!$_matched && !$commit)
36259 Parse::RecDescent::_trace(q{Trying production: [/^\\s*-\{2\}.*\\n/]},
36260 Parse::RecDescent::_tracefirst($_[1]),
36263 if defined $::RD_TRACE;
36264 my $thisprod = $thisrule->{"prods"}[0];
36267 @item = (q{comment});
36268 %item = (__RULE__ => q{comment});
36272 Parse::RecDescent::_trace(q{Trying terminal: [/^\\s*-\{2\}.*\\n/]}, Parse::RecDescent::_tracefirst($text),
36275 if defined $::RD_TRACE;
36277 $expectation->is(q{})->at($text);
36280 unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ s/\A(?:^\s*-{2}.*\n)//)
36283 $expectation->failed();
36284 Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
36285 Parse::RecDescent::_tracefirst($text))
36286 if defined $::RD_TRACE;
36290 Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
36292 Parse::RecDescent::_tracefirst($text))
36293 if defined $::RD_TRACE;
36294 push @item, $item{__PATTERN1__}=$&;
36297 Parse::RecDescent::_trace(q{Trying action},
36298 Parse::RecDescent::_tracefirst($text),
36301 if defined $::RD_TRACE;
36304 $_tok = ($_noactions) ? 0 : do {
36305 my $comment = $item[1];
36306 $comment =~ s/^\s*(-{2})\s*//;
36307 $comment =~ s/\s*$//;
36308 $return = $comment;
36310 unless (defined $_tok)
36312 Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
36313 if defined $::RD_TRACE;
36316 Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
36318 Parse::RecDescent::_tracefirst($text))
36319 if defined $::RD_TRACE;
36321 $item{__ACTION1__}=$_tok;
36325 Parse::RecDescent::_trace(q{>>Matched production: [/^\\s*-\{2\}.*\\n/]<<},
36326 Parse::RecDescent::_tracefirst($text),
36329 if defined $::RD_TRACE;
36335 unless ( $_matched || defined($return) || defined($score) )
36339 $_[1] = $text; # NOT SURE THIS IS NEEDED
36340 Parse::RecDescent::_trace(q{<<Didn't match rule>>},
36341 Parse::RecDescent::_tracefirst($_[1]),
36344 if defined $::RD_TRACE;
36347 if (!defined($return) && defined($score))
36349 Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
36352 if defined $::RD_TRACE;
36353 $return = $score_return;
36355 splice @{$thisparser->{errors}}, $err_at;
36356 $return = $item[$#item] unless defined $return;
36357 if (defined $::RD_TRACE)
36359 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
36360 $return . q{])}, "",
36363 Parse::RecDescent::_trace(q{(consumed: [} .
36364 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
36365 Parse::RecDescent::_tracefirst($text),
36373 package SQL::Translator::Parser::DB2::Grammar; sub new { my $self = bless( {
36374 '_AUTOTREE' => undef,
36378 'thisoffset' => '',
36380 'prevoffset' => '',
36382 'prevcolumn' => '',
36385 'namespace' => 'Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar',
36386 '_AUTOACTION' => undef,
36388 '_alternation_1_of_production_17_of_rule_sysibm_function' => bless( {
36398 'uncommit' => undef,
36404 'pattern' => 'DECIMAL',
36405 'hashname' => '__PATTERN1__',
36406 'description' => '/DECIMAL/i',
36412 }, 'Parse::RecDescent::Token' )
36415 }, 'Parse::RecDescent::Production' ),
36420 'uncommit' => undef,
36426 'pattern' => 'DEC',
36427 'hashname' => '__PATTERN1__',
36428 'description' => '/DEC/i',
36434 }, 'Parse::RecDescent::Token' )
36437 }, 'Parse::RecDescent::Production' )
36439 'name' => '_alternation_1_of_production_17_of_rule_sysibm_function',
36442 }, 'Parse::RecDescent::Rule' ),
36443 'triggered_action' => bless( {
36447 'SQL_procedure_statement'
36456 'uncommit' => undef,
36462 'subrule' => 'when_clause',
36463 'expected' => undef,
36465 'argcode' => undef,
36471 }, 'Parse::RecDescent::Repetition' ),
36473 'subrule' => 'SQL_procedure_statement',
36475 'implicit' => undef,
36476 'argcode' => undef,
36479 }, 'Parse::RecDescent::Subrule' ),
36481 'hashname' => '__ACTION1__',
36484 'code' => '{ $return = { \'condition\' => $item[1][0],
36485 \'statement\' => $item{\'SQL_procedure_statement\'} };
36487 }, 'Parse::RecDescent::Action' )
36490 }, 'Parse::RecDescent::Production' )
36492 'name' => 'triggered_action',
36495 }, 'Parse::RecDescent::Rule' ),
36496 '_alternation_1_of_production_2_of_rule_search_condition' => bless( {
36500 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition',
36510 'uncommit' => undef,
36516 'subrule' => 'predicate',
36518 'implicit' => undef,
36519 'argcode' => undef,
36522 }, 'Parse::RecDescent::Subrule' ),
36524 'subrule' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition',
36525 'expected' => '/SELECTIVITY/i',
36527 'argcode' => undef,
36533 }, 'Parse::RecDescent::Repetition' )
36536 }, 'Parse::RecDescent::Production' ),
36541 'uncommit' => undef,
36548 'hashname' => '__STRING1__',
36549 'description' => '\'(\'',
36552 }, 'Parse::RecDescent::Literal' ),
36554 'subrule' => 'search_condition',
36556 'implicit' => undef,
36557 'argcode' => undef,
36560 }, 'Parse::RecDescent::Subrule' ),
36563 'hashname' => '__STRING2__',
36564 'description' => '\')\'',
36567 }, 'Parse::RecDescent::Literal' )
36570 }, 'Parse::RecDescent::Production' )
36572 'name' => '_alternation_1_of_production_2_of_rule_search_condition',
36575 }, 'Parse::RecDescent::Rule' ),
36576 'name1' => bless( {
36588 'uncommit' => undef,
36594 'subrule' => 'NAME',
36596 'implicit' => undef,
36597 'argcode' => undef,
36600 }, 'Parse::RecDescent::Subrule' )
36603 }, 'Parse::RecDescent::Production' )
36608 }, 'Parse::RecDescent::Rule' ),
36609 '_alternation_2_of_production_1_of_rule_cond' => bless( {
36613 '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond',
36623 'uncommit' => undef,
36629 'subrule' => 'predicate',
36631 'implicit' => undef,
36632 'argcode' => undef,
36635 }, 'Parse::RecDescent::Subrule' ),
36637 'subrule' => '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond',
36638 'expected' => '/SELECTIVITY/i',
36640 'argcode' => undef,
36646 }, 'Parse::RecDescent::Repetition' )
36649 }, 'Parse::RecDescent::Production' ),
36654 'uncommit' => undef,
36661 'hashname' => '__STRING1__',
36662 'description' => '\'(\'',
36665 }, 'Parse::RecDescent::Literal' ),
36667 'subrule' => 'search_condition',
36669 'implicit' => undef,
36670 'argcode' => undef,
36673 }, 'Parse::RecDescent::Subrule' ),
36676 'hashname' => '__STRING2__',
36677 'description' => '\')\'',
36680 }, 'Parse::RecDescent::Literal' )
36683 }, 'Parse::RecDescent::Production' )
36685 'name' => '_alternation_2_of_production_1_of_rule_cond',
36688 }, 'Parse::RecDescent::Rule' ),
36689 '_alternation_1_of_production_1_of_rule_expression' => bless( {
36692 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression',
36693 '_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression'
36702 'uncommit' => undef,
36708 'subrule' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression',
36709 'expected' => '\'+\', or \'-\'',
36711 'argcode' => undef,
36717 }, 'Parse::RecDescent::Repetition' ),
36719 'subrule' => '_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression',
36721 'implicit' => 'function, or \'(\', or constant, or column_name, or host_variable, or special_register, or labeled_duration, or case_expression, or cast_specification, or OLAP_function, or method_invocation, or subtype_treatment, or sequence_reference',
36722 'argcode' => undef,
36725 }, 'Parse::RecDescent::Subrule' )
36728 }, 'Parse::RecDescent::Production' )
36730 'name' => '_alternation_1_of_production_1_of_rule_expression',
36733 }, 'Parse::RecDescent::Rule' ),
36734 'SCHEMA' => bless( {
36744 'uncommit' => undef,
36750 'pattern' => '\\w+',
36751 'hashname' => '__PATTERN1__',
36752 'description' => '/\\\\w+/',
36758 }, 'Parse::RecDescent::Token' )
36761 }, 'Parse::RecDescent::Production' ),
36766 'uncommit' => undef,
36772 'pattern' => '\\w{1,128}',
36773 'hashname' => '__PATTERN1__',
36774 'description' => '/\\\\w\\{1,128\\}/',
36780 }, 'Parse::RecDescent::Token' )
36783 }, 'Parse::RecDescent::Production' )
36785 'name' => 'SCHEMA',
36788 }, 'Parse::RecDescent::Rule' ),
36789 '_alternation_1_of_production_87_of_rule_sysibm_function' => bless( {
36799 'uncommit' => undef,
36805 'pattern' => 'VARIANCE',
36806 'hashname' => '__PATTERN1__',
36807 'description' => '/VARIANCE/i',
36813 }, 'Parse::RecDescent::Token' )
36816 }, 'Parse::RecDescent::Production' ),
36821 'uncommit' => undef,
36827 'pattern' => 'VAR',
36828 'hashname' => '__PATTERN1__',
36829 'description' => '/VAR/i',
36835 }, 'Parse::RecDescent::Token' )
36838 }, 'Parse::RecDescent::Production' )
36840 'name' => '_alternation_1_of_production_87_of_rule_sysibm_function',
36843 }, 'Parse::RecDescent::Rule' ),
36844 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression' => bless( {
36854 'uncommit' => undef,
36861 'hashname' => '__STRING1__',
36862 'description' => '\'+\'',
36865 }, 'Parse::RecDescent::Literal' )
36868 }, 'Parse::RecDescent::Production' ),
36873 'uncommit' => undef,
36880 'hashname' => '__STRING1__',
36881 'description' => '\'-\'',
36884 }, 'Parse::RecDescent::Literal' )
36887 }, 'Parse::RecDescent::Production' )
36889 'name' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression',
36892 }, 'Parse::RecDescent::Rule' ),
36893 'get_bracketed' => bless( {
36903 'uncommit' => undef,
36909 'hashname' => '__ACTION1__',
36913 extract_bracketed($text, \'(\');
36915 }, 'Parse::RecDescent::Action' )
36918 }, 'Parse::RecDescent::Production' )
36920 'name' => 'get_bracketed',
36923 }, 'Parse::RecDescent::Rule' ),
36924 'labeled_duration' => bless( {
36937 'uncommit' => undef,
36943 'subrule' => 'ld_type',
36945 'implicit' => undef,
36946 'argcode' => undef,
36949 }, 'Parse::RecDescent::Subrule' ),
36951 'subrule' => 'ld_duration',
36953 'implicit' => undef,
36954 'argcode' => undef,
36957 }, 'Parse::RecDescent::Subrule' )
36960 }, 'Parse::RecDescent::Production' )
36962 'name' => 'labeled_duration',
36965 }, 'Parse::RecDescent::Rule' ),
36966 'group_end' => bless( {
36969 'unsigned_constant'
36978 'uncommit' => undef,
36984 'pattern' => 'UNBOUNDED\\s+PRECEDING',
36985 'hashname' => '__PATTERN1__',
36986 'description' => '/UNBOUNDED\\\\s+PRECEDING/i',
36992 }, 'Parse::RecDescent::Token' )
36995 }, 'Parse::RecDescent::Production' ),
37000 'uncommit' => undef,
37006 'subrule' => 'unsigned_constant',
37008 'implicit' => undef,
37009 'argcode' => undef,
37012 }, 'Parse::RecDescent::Subrule' ),
37014 'pattern' => 'FOLLOWING',
37015 'hashname' => '__PATTERN1__',
37016 'description' => '/FOLLOWING/i',
37022 }, 'Parse::RecDescent::Token' )
37025 }, 'Parse::RecDescent::Production' )
37027 'name' => 'group_end',
37030 }, 'Parse::RecDescent::Rule' ),
37031 'statement' => bless( {
37044 'uncommit' => undef,
37050 'subrule' => 'comment',
37052 'implicit' => undef,
37053 'argcode' => undef,
37056 }, 'Parse::RecDescent::Subrule' )
37059 }, 'Parse::RecDescent::Production' ),
37064 'uncommit' => undef,
37070 'subrule' => 'create',
37072 'implicit' => undef,
37073 'argcode' => undef,
37076 }, 'Parse::RecDescent::Subrule' )
37079 }, 'Parse::RecDescent::Production' ),
37091 'hashname' => '__DIRECTIVE1__',
37092 'commitonly' => '',
37095 }, 'Parse::RecDescent::Error' )
37098 }, 'Parse::RecDescent::Production' )
37100 'name' => 'statement',
37103 }, 'Parse::RecDescent::Rule' ),
37104 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause' => bless( {
37107 'result_expression'
37116 'uncommit' => undef,
37122 'subrule' => 'result_expression',
37124 'implicit' => undef,
37125 'argcode' => undef,
37128 }, 'Parse::RecDescent::Subrule' )
37131 }, 'Parse::RecDescent::Production' ),
37136 'uncommit' => undef,
37142 'pattern' => 'NULL',
37143 'hashname' => '__PATTERN1__',
37144 'description' => '/NULL/i',
37150 }, 'Parse::RecDescent::Token' )
37153 }, 'Parse::RecDescent::Production' )
37155 'name' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause',
37158 }, 'Parse::RecDescent::Rule' ),
37159 '_alternation_2_of_production_1_of_rule_case_expression' => bless( {
37162 'result_expression'
37171 'uncommit' => undef,
37177 'pattern' => 'ELSE\\s+NULL',
37178 'hashname' => '__PATTERN1__',
37179 'description' => '/ELSE\\\\s+NULL/i',
37185 }, 'Parse::RecDescent::Token' )
37188 }, 'Parse::RecDescent::Production' ),
37193 'uncommit' => undef,
37199 'pattern' => 'ELSE',
37200 'hashname' => '__PATTERN1__',
37201 'description' => '/ELSE/i',
37207 }, 'Parse::RecDescent::Token' ),
37209 'subrule' => 'result_expression',
37211 'implicit' => undef,
37212 'argcode' => undef,
37215 }, 'Parse::RecDescent::Subrule' )
37218 }, 'Parse::RecDescent::Production' )
37220 'name' => '_alternation_2_of_production_1_of_rule_case_expression',
37223 }, 'Parse::RecDescent::Rule' ),
37224 'subject_expression' => bless( {
37236 'uncommit' => undef,
37242 'subrule' => 'expression',
37244 'implicit' => undef,
37245 'argcode' => undef,
37248 }, 'Parse::RecDescent::Subrule' ),
37250 'hashname' => '__ACTION1__',
37253 'code' => '{ # with static result type that is a used-defined struct type
37255 }, 'Parse::RecDescent::Action' )
37258 }, 'Parse::RecDescent::Production' )
37260 'name' => 'subject_expression',
37263 }, 'Parse::RecDescent::Rule' ),
37264 '_alternation_1_of_production_1_of_rule_desc_option' => bless( {
37274 'uncommit' => undef,
37280 'pattern' => 'NULLS\\s+FIRST',
37281 'hashname' => '__PATTERN1__',
37282 'description' => '/NULLS\\\\s+FIRST/i',
37288 }, 'Parse::RecDescent::Token' )
37291 }, 'Parse::RecDescent::Production' ),
37296 'uncommit' => undef,
37302 'pattern' => 'NULLS\\s+LAST',
37303 'hashname' => '__PATTERN1__',
37304 'description' => '/NULLS\\\\s+LAST/i',
37310 }, 'Parse::RecDescent::Token' )
37313 }, 'Parse::RecDescent::Production' )
37315 'name' => '_alternation_1_of_production_1_of_rule_desc_option',
37318 }, 'Parse::RecDescent::Rule' ),
37319 'view_name' => bless( {
37332 'uncommit' => undef,
37338 'subrule' => 'SCHEMA',
37340 'implicit' => undef,
37341 'argcode' => undef,
37344 }, 'Parse::RecDescent::Subrule' ),
37347 'hashname' => '__STRING1__',
37348 'description' => '\'.\'',
37351 }, 'Parse::RecDescent::Literal' ),
37353 'subrule' => 'NAME',
37355 'implicit' => undef,
37356 'argcode' => undef,
37359 }, 'Parse::RecDescent::Subrule' ),
37361 'hashname' => '__ACTION1__',
37364 'code' => '{ $return = { schema => $item[1], name => $item[3] } }'
37365 }, 'Parse::RecDescent::Action' )
37368 }, 'Parse::RecDescent::Production' ),
37373 'uncommit' => undef,
37379 'subrule' => 'NAME',
37381 'implicit' => undef,
37382 'argcode' => undef,
37385 }, 'Parse::RecDescent::Subrule' ),
37387 'hashname' => '__ACTION1__',
37390 'code' => '{ $return = { name => $item[1] } }'
37391 }, 'Parse::RecDescent::Action' )
37394 }, 'Parse::RecDescent::Production' )
37396 'name' => 'view_name',
37399 }, 'Parse::RecDescent::Rule' ),
37400 '_alternation_1_of_production_1_of_rule_cond' => bless( {
37410 'uncommit' => undef,
37416 'pattern' => 'AND',
37417 'hashname' => '__PATTERN1__',
37418 'description' => '/AND/i',
37424 }, 'Parse::RecDescent::Token' )
37427 }, 'Parse::RecDescent::Production' ),
37432 'uncommit' => undef,
37439 'hashname' => '__PATTERN1__',
37440 'description' => '/OR/i',
37446 }, 'Parse::RecDescent::Token' )
37449 }, 'Parse::RecDescent::Production' )
37451 'name' => '_alternation_1_of_production_1_of_rule_cond',
37454 }, 'Parse::RecDescent::Rule' ),
37455 'numbering_function' => bless( {
37458 'window_partition_clause',
37459 '_alternation_1_of_production_1_of_rule_numbering_function',
37460 '_alternation_2_of_production_1_of_rule_numbering_function'
37469 'uncommit' => undef,
37475 'pattern' => 'ROW_NUMBER|ROWNUMBER',
37476 'hashname' => '__PATTERN1__',
37477 'description' => '/ROW_NUMBER|ROWNUMBER/i',
37483 }, 'Parse::RecDescent::Token' ),
37486 'hashname' => '__STRING1__',
37487 'description' => '\'()\'',
37490 }, 'Parse::RecDescent::Literal' ),
37492 'pattern' => 'OVER',
37493 'hashname' => '__PATTERN2__',
37494 'description' => '/OVER/i',
37500 }, 'Parse::RecDescent::Token' ),
37503 'hashname' => '__STRING2__',
37504 'description' => '\'(\'',
37507 }, 'Parse::RecDescent::Literal' ),
37509 'subrule' => 'window_partition_clause',
37510 'expected' => undef,
37512 'argcode' => undef,
37518 }, 'Parse::RecDescent::Repetition' ),
37520 'subrule' => '_alternation_1_of_production_1_of_rule_numbering_function',
37521 'expected' => 'window_order_clause',
37523 'argcode' => undef,
37529 }, 'Parse::RecDescent::Repetition' ),
37531 'subrule' => '_alternation_2_of_production_1_of_rule_numbering_function',
37532 'expected' => '/RANGE\\\\s+BETWEEN\\\\s+UNBOUNDED\\\\s+PRECEDING\\\\s+AND\\\\s+UNBBOUNDED\\\\s+FOLLOWING/i, or window_aggregation_group_clause',
37534 'argcode' => undef,
37540 }, 'Parse::RecDescent::Repetition' ),
37543 'hashname' => '__STRING3__',
37544 'description' => '\')\'',
37547 }, 'Parse::RecDescent::Literal' )
37550 }, 'Parse::RecDescent::Production' )
37552 'name' => 'numbering_function',
37555 }, 'Parse::RecDescent::Rule' ),
37556 '_alternation_1_of_production_1_of_rule_window_aggregation_group_clause' => bless( {
37566 'uncommit' => undef,
37572 'pattern' => 'ROWS',
37573 'hashname' => '__PATTERN1__',
37574 'description' => '/ROWS/i',
37580 }, 'Parse::RecDescent::Token' )
37583 }, 'Parse::RecDescent::Production' ),
37588 'uncommit' => undef,
37594 'pattern' => 'RANGE',
37595 'hashname' => '__PATTERN1__',
37596 'description' => '/RANGE/i',
37602 }, 'Parse::RecDescent::Token' )
37605 }, 'Parse::RecDescent::Production' )
37607 'name' => '_alternation_1_of_production_1_of_rule_window_aggregation_group_clause',
37610 }, 'Parse::RecDescent::Rule' ),
37611 'group_bound1' => bless( {
37614 'unsigned_constant'
37623 'uncommit' => undef,
37629 'pattern' => 'UNBOUNDED\\s+PRECEDING',
37630 'hashname' => '__PATTERN1__',
37631 'description' => '/UNBOUNDED\\\\s+PRECEDING/i',
37637 }, 'Parse::RecDescent::Token' )
37640 }, 'Parse::RecDescent::Production' ),
37645 'uncommit' => undef,
37651 'subrule' => 'unsigned_constant',
37653 'implicit' => undef,
37654 'argcode' => undef,
37657 }, 'Parse::RecDescent::Subrule' ),
37659 'pattern' => 'PRECEDING',
37660 'hashname' => '__PATTERN1__',
37661 'description' => '/PRECEDING/i',
37667 }, 'Parse::RecDescent::Token' )
37670 }, 'Parse::RecDescent::Production' ),
37675 'uncommit' => undef,
37681 'subrule' => 'unsigned_constant',
37683 'implicit' => undef,
37684 'argcode' => undef,
37687 }, 'Parse::RecDescent::Subrule' ),
37689 'pattern' => 'FOLLOWING',
37690 'hashname' => '__PATTERN1__',
37691 'description' => '/FOLLOWING/i',
37697 }, 'Parse::RecDescent::Token' )
37700 }, 'Parse::RecDescent::Production' ),
37705 'uncommit' => undef,
37711 'pattern' => 'CURRENT\\s+ROW',
37712 'hashname' => '__PATTERN1__',
37713 'description' => '/CURRENT\\\\s+ROW/i',
37719 }, 'Parse::RecDescent::Token' )
37722 }, 'Parse::RecDescent::Production' )
37724 'name' => 'group_bound1',
37727 }, 'Parse::RecDescent::Rule' ),
37728 'OLAP_function' => bless( {
37731 'ranking_function',
37732 'numbering_function',
37733 'aggregation_function'
37742 'uncommit' => undef,
37748 'subrule' => 'ranking_function',
37750 'implicit' => undef,
37751 'argcode' => undef,
37754 }, 'Parse::RecDescent::Subrule' )
37757 }, 'Parse::RecDescent::Production' ),
37762 'uncommit' => undef,
37768 'subrule' => 'numbering_function',
37770 'implicit' => undef,
37771 'argcode' => undef,
37774 }, 'Parse::RecDescent::Subrule' )
37777 }, 'Parse::RecDescent::Production' ),
37782 'uncommit' => undef,
37788 'subrule' => 'aggregation_function',
37790 'implicit' => undef,
37791 'argcode' => undef,
37794 }, 'Parse::RecDescent::Subrule' )
37797 }, 'Parse::RecDescent::Production' )
37799 'name' => 'OLAP_function',
37802 }, 'Parse::RecDescent::Rule' ),
37803 '_alternation_1_of_production_30_of_rule_sysibm_function' => bless( {
37813 'uncommit' => undef,
37819 'pattern' => 'DOUBLE',
37820 'hashname' => '__PATTERN1__',
37821 'description' => '/DOUBLE/i',
37827 }, 'Parse::RecDescent::Token' )
37830 }, 'Parse::RecDescent::Production' ),
37835 'uncommit' => undef,
37841 'pattern' => 'DOUBLE_PRECISION',
37842 'hashname' => '__PATTERN1__',
37843 'description' => '/DOUBLE_PRECISION/i',
37849 }, 'Parse::RecDescent::Token' )
37852 }, 'Parse::RecDescent::Production' )
37854 'name' => '_alternation_1_of_production_30_of_rule_sysibm_function',
37857 }, 'Parse::RecDescent::Rule' ),
37868 'uncommit' => undef,
37874 'pattern' => 'full',
37875 'hashname' => '__PATTERN1__',
37876 'description' => '/full/i',
37882 }, 'Parse::RecDescent::Token' )
37885 }, 'Parse::RecDescent::Production' )
37890 }, 'Parse::RecDescent::Rule' ),
37891 '_alternation_2_of_production_1_of_rule_cast_specification' => bless( {
37894 '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification'
37903 'uncommit' => undef,
37909 'pattern' => 'SCOPE',
37910 'hashname' => '__PATTERN1__',
37911 'description' => '/SCOPE/',
37917 }, 'Parse::RecDescent::Token' ),
37919 'subrule' => '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification',
37921 'implicit' => 'typed_table_name, or typed_view_name',
37922 'argcode' => undef,
37925 }, 'Parse::RecDescent::Subrule' )
37928 }, 'Parse::RecDescent::Production' )
37930 'name' => '_alternation_2_of_production_1_of_rule_cast_specification',
37933 }, 'Parse::RecDescent::Rule' ),
37934 'case_expression' => bless( {
37937 '_alternation_1_of_production_1_of_rule_case_expression',
37938 '_alternation_2_of_production_1_of_rule_case_expression'
37947 'uncommit' => undef,
37953 'pattern' => 'CASE',
37954 'hashname' => '__PATTERN1__',
37955 'description' => '/CASE/i',
37961 }, 'Parse::RecDescent::Token' ),
37963 'subrule' => '_alternation_1_of_production_1_of_rule_case_expression',
37965 'implicit' => 'searched_when_clause, or simple_when_clause',
37966 'argcode' => undef,
37969 }, 'Parse::RecDescent::Subrule' ),
37971 'subrule' => '_alternation_2_of_production_1_of_rule_case_expression',
37972 'expected' => '/ELSE\\\\s+NULL/i, or /ELSE/i',
37974 'argcode' => undef,
37980 }, 'Parse::RecDescent::Repetition' ),
37982 'pattern' => 'END',
37983 'hashname' => '__PATTERN2__',
37984 'description' => '/END/i',
37990 }, 'Parse::RecDescent::Token' )
37993 }, 'Parse::RecDescent::Production' )
37995 'name' => 'case_expression',
37998 }, 'Parse::RecDescent::Rule' ),
37999 'operator' => bless( {
38002 '_alternation_1_of_production_1_of_rule_operator'
38011 'uncommit' => undef,
38017 'subrule' => '_alternation_1_of_production_1_of_rule_operator',
38019 'implicit' => '/CONCAT/i, or \'||\'',
38020 'argcode' => undef,
38023 }, 'Parse::RecDescent::Subrule' )
38026 }, 'Parse::RecDescent::Production' ),
38031 'uncommit' => undef,
38038 'hashname' => '__STRING1__',
38039 'description' => '\'/\'',
38042 }, 'Parse::RecDescent::Literal' )
38045 }, 'Parse::RecDescent::Production' ),
38050 'uncommit' => undef,
38057 'hashname' => '__STRING1__',
38058 'description' => '\'*\'',
38061 }, 'Parse::RecDescent::Literal' )
38064 }, 'Parse::RecDescent::Production' ),
38069 'uncommit' => undef,
38076 'hashname' => '__STRING1__',
38077 'description' => '\'+\'',
38080 }, 'Parse::RecDescent::Literal' )
38083 }, 'Parse::RecDescent::Production' ),
38088 'uncommit' => undef,
38095 'hashname' => '__STRING1__',
38096 'description' => '\'-\'',
38099 }, 'Parse::RecDescent::Literal' )
38102 }, 'Parse::RecDescent::Production' )
38104 'name' => 'operator',
38107 }, 'Parse::RecDescent::Rule' ),
38108 '_alternation_1_of_production_2_of_rule_type' => bless( {
38118 'uncommit' => undef,
38124 'pattern' => 'INSERT',
38125 'hashname' => '__PATTERN1__',
38126 'description' => '/INSERT/i',
38132 }, 'Parse::RecDescent::Token' )
38135 }, 'Parse::RecDescent::Production' ),
38140 'uncommit' => undef,
38146 'pattern' => 'DELETE',
38147 'hashname' => '__PATTERN1__',
38148 'description' => '/DELETE/i',
38154 }, 'Parse::RecDescent::Token' )
38157 }, 'Parse::RecDescent::Production' ),
38162 'uncommit' => undef,
38168 'pattern' => 'UPDATE',
38169 'hashname' => '__PATTERN1__',
38170 'description' => '/UPDATE/i',
38176 }, 'Parse::RecDescent::Token' )
38179 }, 'Parse::RecDescent::Production' )
38181 'name' => '_alternation_1_of_production_2_of_rule_type',
38184 }, 'Parse::RecDescent::Rule' ),
38185 '_alternation_1_of_production_8_of_rule_sysibm_function' => bless( {
38195 'uncommit' => undef,
38201 'pattern' => 'CONCAT',
38202 'hashname' => '__PATTERN1__',
38203 'description' => '/CONCAT/',
38209 }, 'Parse::RecDescent::Token' )
38212 }, 'Parse::RecDescent::Production' ),
38217 'uncommit' => undef,
38224 'hashname' => '__STRING1__',
38225 'description' => '\'||\'',
38228 }, 'Parse::RecDescent::Literal' )
38231 }, 'Parse::RecDescent::Production' )
38233 'name' => '_alternation_1_of_production_8_of_rule_sysibm_function',
38236 }, 'Parse::RecDescent::Rule' ),
38237 'sequence_reference' => bless( {
38240 'nextval_expression',
38241 'prevval_expression'
38250 'uncommit' => undef,
38256 'subrule' => 'nextval_expression',
38258 'implicit' => undef,
38259 'argcode' => undef,
38262 }, 'Parse::RecDescent::Subrule' )
38265 }, 'Parse::RecDescent::Production' ),
38270 'uncommit' => undef,
38276 'subrule' => 'prevval_expression',
38278 'implicit' => undef,
38279 'argcode' => undef,
38282 }, 'Parse::RecDescent::Subrule' )
38285 }, 'Parse::RecDescent::Production' )
38287 'name' => 'sequence_reference',
38290 }, 'Parse::RecDescent::Rule' ),
38291 'sysibm_function' => bless( {
38294 '_alternation_1_of_production_1_of_rule_sysibm_function',
38295 '_alternation_1_of_production_8_of_rule_sysibm_function',
38296 '_alternation_1_of_production_9_of_rule_sysibm_function',
38297 '_alternation_1_of_production_12_of_rule_sysibm_function',
38298 '_alternation_1_of_production_17_of_rule_sysibm_function',
38299 '_alternation_1_of_production_30_of_rule_sysibm_function',
38300 '_alternation_1_of_production_41_of_rule_sysibm_function',
38301 '_alternation_1_of_production_42_of_rule_sysibm_function',
38302 '_alternation_1_of_production_63_of_rule_sysibm_function',
38303 '_alternation_1_of_production_83_of_rule_sysibm_function',
38304 '_alternation_1_of_production_87_of_rule_sysibm_function'
38313 'uncommit' => undef,
38319 'subrule' => '_alternation_1_of_production_1_of_rule_sysibm_function',
38321 'implicit' => '/ABS/i, or /ABSVAL/i',
38322 'argcode' => undef,
38325 }, 'Parse::RecDescent::Subrule' )
38328 }, 'Parse::RecDescent::Production' ),
38333 'uncommit' => undef,
38339 'pattern' => 'AVG',
38340 'hashname' => '__PATTERN1__',
38341 'description' => '/AVG/i',
38347 }, 'Parse::RecDescent::Token' )
38350 }, 'Parse::RecDescent::Production' ),
38355 'uncommit' => undef,
38361 'pattern' => 'BIGINT',
38362 'hashname' => '__PATTERN1__',
38363 'description' => '/BIGINT/i',
38369 }, 'Parse::RecDescent::Token' )
38372 }, 'Parse::RecDescent::Production' ),
38377 'uncommit' => undef,
38383 'pattern' => 'BLOB',
38384 'hashname' => '__PATTERN1__',
38385 'description' => '/BLOB/i',
38391 }, 'Parse::RecDescent::Token' )
38394 }, 'Parse::RecDescent::Production' ),
38399 'uncommit' => undef,
38405 'pattern' => 'CHAR',
38406 'hashname' => '__PATTERN1__',
38407 'description' => '/CHAR/i',
38413 }, 'Parse::RecDescent::Token' )
38416 }, 'Parse::RecDescent::Production' ),
38421 'uncommit' => undef,
38427 'pattern' => 'CLOB',
38428 'hashname' => '__PATTERN1__',
38429 'description' => '/CLOB/i',
38435 }, 'Parse::RecDescent::Token' )
38438 }, 'Parse::RecDescent::Production' ),
38443 'uncommit' => undef,
38449 'pattern' => 'COALESCE',
38450 'hashname' => '__PATTERN1__',
38451 'description' => '/COALESCE/i',
38457 }, 'Parse::RecDescent::Token' )
38460 }, 'Parse::RecDescent::Production' ),
38465 'uncommit' => undef,
38471 'subrule' => '_alternation_1_of_production_8_of_rule_sysibm_function',
38473 'implicit' => '/CONCAT/, or \'||\'',
38474 'argcode' => undef,
38477 }, 'Parse::RecDescent::Subrule' )
38480 }, 'Parse::RecDescent::Production' ),
38485 'uncommit' => undef,
38491 'subrule' => '_alternation_1_of_production_9_of_rule_sysibm_function',
38493 'implicit' => '/CORRELATION/i, or /CORR/',
38494 'argcode' => undef,
38497 }, 'Parse::RecDescent::Subrule' )
38500 }, 'Parse::RecDescent::Production' ),
38505 'uncommit' => undef,
38511 'pattern' => 'COUNT',
38512 'hashname' => '__PATTERN1__',
38513 'description' => '/COUNT/i',
38519 }, 'Parse::RecDescent::Token' )
38522 }, 'Parse::RecDescent::Production' ),
38527 'uncommit' => undef,
38533 'pattern' => 'COUNT_BIG',
38534 'hashname' => '__PATTERN1__',
38535 'description' => '/COUNT_BIG/i',
38541 }, 'Parse::RecDescent::Token' )
38544 }, 'Parse::RecDescent::Production' ),
38549 'uncommit' => undef,
38555 'subrule' => '_alternation_1_of_production_12_of_rule_sysibm_function',
38557 'implicit' => '/COVARIANCE/i, or /COVAR/i',
38558 'argcode' => undef,
38561 }, 'Parse::RecDescent::Subrule' )
38564 }, 'Parse::RecDescent::Production' ),
38569 'uncommit' => undef,
38575 'pattern' => 'DATE',
38576 'hashname' => '__PATTERN1__',
38577 'description' => '/DATE/i',
38583 }, 'Parse::RecDescent::Token' )
38586 }, 'Parse::RecDescent::Production' ),
38591 'uncommit' => undef,
38597 'pattern' => 'DAY',
38598 'hashname' => '__PATTERN1__',
38599 'description' => '/DAY/i',
38605 }, 'Parse::RecDescent::Token' )
38608 }, 'Parse::RecDescent::Production' ),
38613 'uncommit' => undef,
38619 'pattern' => 'DAYS',
38620 'hashname' => '__PATTERN1__',
38621 'description' => '/DAYS/i',
38627 }, 'Parse::RecDescent::Token' )
38630 }, 'Parse::RecDescent::Production' ),
38635 'uncommit' => undef,
38641 'pattern' => 'DBCLOB',
38642 'hashname' => '__PATTERN1__',
38643 'description' => '/DBCLOB/i',
38649 }, 'Parse::RecDescent::Token' )
38652 }, 'Parse::RecDescent::Production' ),
38657 'uncommit' => undef,
38663 'subrule' => '_alternation_1_of_production_17_of_rule_sysibm_function',
38665 'implicit' => '/DECIMAL/i, or /DEC/i',
38666 'argcode' => undef,
38669 }, 'Parse::RecDescent::Subrule' )
38672 }, 'Parse::RecDescent::Production' ),
38677 'uncommit' => undef,
38683 'pattern' => 'DECRYPT_BIN',
38684 'hashname' => '__PATTERN1__',
38685 'description' => '/DECRYPT_BIN/i',
38691 }, 'Parse::RecDescent::Token' )
38694 }, 'Parse::RecDescent::Production' ),
38699 'uncommit' => undef,
38705 'pattern' => 'DECRYPT_CHAR',
38706 'hashname' => '__PATTERN1__',
38707 'description' => '/DECRYPT_CHAR/i',
38713 }, 'Parse::RecDescent::Token' )
38716 }, 'Parse::RecDescent::Production' ),
38721 'uncommit' => undef,
38727 'pattern' => 'DEREF',
38728 'hashname' => '__PATTERN1__',
38729 'description' => '/DEREF/i',
38735 }, 'Parse::RecDescent::Token' )
38738 }, 'Parse::RecDescent::Production' ),
38743 'uncommit' => undef,
38749 'pattern' => 'DIGITS',
38750 'hashname' => '__PATTERN1__',
38751 'description' => '/DIGITS/i',
38757 }, 'Parse::RecDescent::Token' )
38760 }, 'Parse::RecDescent::Production' ),
38765 'uncommit' => undef,
38771 'pattern' => 'DLCOMMENT',
38772 'hashname' => '__PATTERN1__',
38773 'description' => '/DLCOMMENT/i',
38779 }, 'Parse::RecDescent::Token' )
38782 }, 'Parse::RecDescent::Production' ),
38787 'uncommit' => undef,
38793 'pattern' => 'DLLINKTYPE',
38794 'hashname' => '__PATTERN1__',
38795 'description' => '/DLLINKTYPE/i',
38801 }, 'Parse::RecDescent::Token' )
38804 }, 'Parse::RecDescent::Production' ),
38809 'uncommit' => undef,
38815 'pattern' => 'DLURLCOMPLETE',
38816 'hashname' => '__PATTERN1__',
38817 'description' => '/DLURLCOMPLETE/i',
38823 }, 'Parse::RecDescent::Token' )
38826 }, 'Parse::RecDescent::Production' ),
38831 'uncommit' => undef,
38837 'pattern' => 'DLURLPATH',
38838 'hashname' => '__PATTERN1__',
38839 'description' => '/DLURLPATH/i',
38845 }, 'Parse::RecDescent::Token' )
38848 }, 'Parse::RecDescent::Production' ),
38853 'uncommit' => undef,
38859 'pattern' => 'DLURLPATHONLY',
38860 'hashname' => '__PATTERN1__',
38861 'description' => '/DLURLPATHONLY/i',
38867 }, 'Parse::RecDescent::Token' )
38870 }, 'Parse::RecDescent::Production' ),
38875 'uncommit' => undef,
38881 'pattern' => 'DLURLSCHEME',
38882 'hashname' => '__PATTERN1__',
38883 'description' => '/DLURLSCHEME/i',
38889 }, 'Parse::RecDescent::Token' )
38892 }, 'Parse::RecDescent::Production' ),
38897 'uncommit' => undef,
38903 'pattern' => 'DLURLSERVER',
38904 'hashname' => '__PATTERN1__',
38905 'description' => '/DLURLSERVER/i',
38911 }, 'Parse::RecDescent::Token' )
38914 }, 'Parse::RecDescent::Production' ),
38919 'uncommit' => undef,
38925 'pattern' => 'DLVALUE',
38926 'hashname' => '__PATTERN1__',
38927 'description' => '/DLVALUE/i',
38933 }, 'Parse::RecDescent::Token' )
38936 }, 'Parse::RecDescent::Production' ),
38941 'uncommit' => undef,
38947 'subrule' => '_alternation_1_of_production_30_of_rule_sysibm_function',
38949 'implicit' => '/DOUBLE/i, or /DOUBLE_PRECISION/i',
38950 'argcode' => undef,
38953 }, 'Parse::RecDescent::Subrule' )
38956 }, 'Parse::RecDescent::Production' ),
38961 'uncommit' => undef,
38967 'pattern' => 'ENCRYPT',
38968 'hashname' => '__PATTERN1__',
38969 'description' => '/ENCRYPT/i',
38975 }, 'Parse::RecDescent::Token' )
38978 }, 'Parse::RecDescent::Production' ),
38983 'uncommit' => undef,
38989 'pattern' => 'EVENT_MON_STATE',
38990 'hashname' => '__PATTERN1__',
38991 'description' => '/EVENT_MON_STATE/i',
38997 }, 'Parse::RecDescent::Token' )
39000 }, 'Parse::RecDescent::Production' ),
39005 'uncommit' => undef,
39011 'pattern' => 'FLOAT',
39012 'hashname' => '__PATTERN1__',
39013 'description' => '/FLOAT/i',
39019 }, 'Parse::RecDescent::Token' )
39022 }, 'Parse::RecDescent::Production' ),
39027 'uncommit' => undef,
39033 'pattern' => 'GETHINT',
39034 'hashname' => '__PATTERN1__',
39035 'description' => '/GETHINT/i',
39041 }, 'Parse::RecDescent::Token' )
39044 }, 'Parse::RecDescent::Production' ),
39049 'uncommit' => undef,
39055 'pattern' => 'GENERATE_UNIQUE',
39056 'hashname' => '__PATTERN1__',
39057 'description' => '/GENERATE_UNIQUE/i',
39063 }, 'Parse::RecDescent::Token' )
39066 }, 'Parse::RecDescent::Production' ),
39071 'uncommit' => undef,
39077 'pattern' => 'GRAPHIC',
39078 'hashname' => '__PATTERN1__',
39079 'description' => '/GRAPHIC/i',
39085 }, 'Parse::RecDescent::Token' )
39088 }, 'Parse::RecDescent::Production' ),
39093 'uncommit' => undef,
39099 'pattern' => 'GROUPING',
39100 'hashname' => '__PATTERN1__',
39101 'description' => '/GROUPING/i',
39107 }, 'Parse::RecDescent::Token' )
39110 }, 'Parse::RecDescent::Production' ),
39115 'uncommit' => undef,
39121 'pattern' => 'HEX',
39122 'hashname' => '__PATTERN1__',
39123 'description' => '/HEX/i',
39129 }, 'Parse::RecDescent::Token' )
39132 }, 'Parse::RecDescent::Production' ),
39137 'uncommit' => undef,
39143 'pattern' => 'HOUR',
39144 'hashname' => '__PATTERN1__',
39145 'description' => '/HOUR/i',
39151 }, 'Parse::RecDescent::Token' )
39154 }, 'Parse::RecDescent::Production' ),
39159 'uncommit' => undef,
39165 'pattern' => 'IDENTITY_VAL_LOCAL',
39166 'hashname' => '__PATTERN1__',
39167 'description' => '/IDENTITY_VAL_LOCAL/i',
39173 }, 'Parse::RecDescent::Token' )
39176 }, 'Parse::RecDescent::Production' ),
39181 'uncommit' => undef,
39187 'subrule' => '_alternation_1_of_production_41_of_rule_sysibm_function',
39189 'implicit' => '/INTEGER/i, or /INT/',
39190 'argcode' => undef,
39193 }, 'Parse::RecDescent::Subrule' )
39196 }, 'Parse::RecDescent::Production' ),
39201 'uncommit' => undef,
39207 'subrule' => '_alternation_1_of_production_42_of_rule_sysibm_function',
39209 'implicit' => '/LCASE/i, or /LOWER/',
39210 'argcode' => undef,
39213 }, 'Parse::RecDescent::Subrule' )
39216 }, 'Parse::RecDescent::Production' ),
39221 'uncommit' => undef,
39227 'pattern' => 'LENGTH',
39228 'hashname' => '__PATTERN1__',
39229 'description' => '/LENGTH/i',
39235 }, 'Parse::RecDescent::Token' )
39238 }, 'Parse::RecDescent::Production' ),
39243 'uncommit' => undef,
39249 'pattern' => 'LONG_VARCHAR',
39250 'hashname' => '__PATTERN1__',
39251 'description' => '/LONG_VARCHAR/i',
39257 }, 'Parse::RecDescent::Token' )
39260 }, 'Parse::RecDescent::Production' ),
39265 'uncommit' => undef,
39271 'pattern' => 'LONG_VARGRAPHIC',
39272 'hashname' => '__PATTERN1__',
39273 'description' => '/LONG_VARGRAPHIC/i',
39279 }, 'Parse::RecDescent::Token' )
39282 }, 'Parse::RecDescent::Production' ),
39287 'uncommit' => undef,
39293 'pattern' => 'LTRIM',
39294 'hashname' => '__PATTERN1__',
39295 'description' => '/LTRIM/i',
39301 }, 'Parse::RecDescent::Token' )
39304 }, 'Parse::RecDescent::Production' ),
39309 'uncommit' => undef,
39315 'pattern' => 'MAX',
39316 'hashname' => '__PATTERN1__',
39317 'description' => '/MAX/i',
39323 }, 'Parse::RecDescent::Token' )
39326 }, 'Parse::RecDescent::Production' ),
39331 'uncommit' => undef,
39337 'pattern' => 'MICROSECOND',
39338 'hashname' => '__PATTERN1__',
39339 'description' => '/MICROSECOND/i',
39345 }, 'Parse::RecDescent::Token' )
39348 }, 'Parse::RecDescent::Production' ),
39353 'uncommit' => undef,
39359 'pattern' => 'MIN',
39360 'hashname' => '__PATTERN1__',
39361 'description' => '/MIN/i',
39367 }, 'Parse::RecDescent::Token' )
39370 }, 'Parse::RecDescent::Production' ),
39375 'uncommit' => undef,
39381 'pattern' => 'MINUTE',
39382 'hashname' => '__PATTERN1__',
39383 'description' => '/MINUTE/i',
39389 }, 'Parse::RecDescent::Token' )
39392 }, 'Parse::RecDescent::Production' ),
39397 'uncommit' => undef,
39403 'pattern' => 'MONTH',
39404 'hashname' => '__PATTERN1__',
39405 'description' => '/MONTH/i',
39411 }, 'Parse::RecDescent::Token' )
39414 }, 'Parse::RecDescent::Production' ),
39419 'uncommit' => undef,
39425 'pattern' => 'MULTIPLY_ACT',
39426 'hashname' => '__PATTERN1__',
39427 'description' => '/MULTIPLY_ACT/i',
39433 }, 'Parse::RecDescent::Token' )
39436 }, 'Parse::RecDescent::Production' ),
39441 'uncommit' => undef,
39447 'pattern' => 'NODENUMBER',
39448 'hashname' => '__PATTERN1__',
39449 'description' => '/NODENUMBER/i',
39455 }, 'Parse::RecDescent::Token' )
39458 }, 'Parse::RecDescent::Production' ),
39463 'uncommit' => undef,
39469 'pattern' => 'NULLIF',
39470 'hashname' => '__PATTERN1__',
39471 'description' => '/NULLIF/i',
39477 }, 'Parse::RecDescent::Token' )
39480 }, 'Parse::RecDescent::Production' ),
39485 'uncommit' => undef,
39491 'pattern' => 'PARTITON',
39492 'hashname' => '__PATTERN1__',
39493 'description' => '/PARTITON/i',
39499 }, 'Parse::RecDescent::Token' )
39502 }, 'Parse::RecDescent::Production' ),
39507 'uncommit' => undef,
39513 'pattern' => 'POSSTR',
39514 'hashname' => '__PATTERN1__',
39515 'description' => '/POSSTR/i',
39521 }, 'Parse::RecDescent::Token' )
39524 }, 'Parse::RecDescent::Production' ),
39529 'uncommit' => undef,
39535 'pattern' => 'RAISE_ERROR',
39536 'hashname' => '__PATTERN1__',
39537 'description' => '/RAISE_ERROR/i',
39543 }, 'Parse::RecDescent::Token' )
39546 }, 'Parse::RecDescent::Production' ),
39551 'uncommit' => undef,
39557 'pattern' => 'REAL',
39558 'hashname' => '__PATTERN1__',
39559 'description' => '/REAL/i',
39565 }, 'Parse::RecDescent::Token' )
39568 }, 'Parse::RecDescent::Production' ),
39573 'uncommit' => undef,
39579 'pattern' => 'REC2XML',
39580 'hashname' => '__PATTERN1__',
39581 'description' => '/REC2XML/i',
39587 }, 'Parse::RecDescent::Token' )
39590 }, 'Parse::RecDescent::Production' ),
39595 'uncommit' => undef,
39601 'pattern' => 'REGR_AVGX',
39602 'hashname' => '__PATTERN1__',
39603 'description' => '/REGR_AVGX/i',
39609 }, 'Parse::RecDescent::Token' )
39612 }, 'Parse::RecDescent::Production' ),
39617 'uncommit' => undef,
39623 'pattern' => 'REGR_AVGY',
39624 'hashname' => '__PATTERN1__',
39625 'description' => '/REGR_AVGY/i',
39631 }, 'Parse::RecDescent::Token' )
39634 }, 'Parse::RecDescent::Production' ),
39639 'uncommit' => undef,
39645 'pattern' => 'REGR_COUNT',
39646 'hashname' => '__PATTERN1__',
39647 'description' => '/REGR_COUNT/i',
39653 }, 'Parse::RecDescent::Token' )
39656 }, 'Parse::RecDescent::Production' ),
39661 'uncommit' => undef,
39667 'subrule' => '_alternation_1_of_production_63_of_rule_sysibm_function',
39669 'implicit' => '/REGR_INTERCEPT/i, or /REGR_ICPT/i',
39670 'argcode' => undef,
39673 }, 'Parse::RecDescent::Subrule' )
39676 }, 'Parse::RecDescent::Production' ),
39681 'uncommit' => undef,
39687 'pattern' => 'REGR_R2',
39688 'hashname' => '__PATTERN1__',
39689 'description' => '/REGR_R2/i',
39695 }, 'Parse::RecDescent::Token' )
39698 }, 'Parse::RecDescent::Production' ),
39703 'uncommit' => undef,
39709 'pattern' => 'REGR_SLOPE',
39710 'hashname' => '__PATTERN1__',
39711 'description' => '/REGR_SLOPE/i',
39717 }, 'Parse::RecDescent::Token' )
39720 }, 'Parse::RecDescent::Production' ),
39725 'uncommit' => undef,
39731 'pattern' => 'REGR_SXX',
39732 'hashname' => '__PATTERN1__',
39733 'description' => '/REGR_SXX/i',
39739 }, 'Parse::RecDescent::Token' )
39742 }, 'Parse::RecDescent::Production' ),
39747 'uncommit' => undef,
39753 'pattern' => 'REGR_SXY',
39754 'hashname' => '__PATTERN1__',
39755 'description' => '/REGR_SXY/i',
39761 }, 'Parse::RecDescent::Token' )
39764 }, 'Parse::RecDescent::Production' ),
39769 'uncommit' => undef,
39775 'pattern' => 'REGR_SYY',
39776 'hashname' => '__PATTERN1__',
39777 'description' => '/REGR_SYY/i',
39783 }, 'Parse::RecDescent::Token' )
39786 }, 'Parse::RecDescent::Production' ),
39791 'uncommit' => undef,
39797 'pattern' => 'RTRIM',
39798 'hashname' => '__PATTERN1__',
39799 'description' => '/RTRIM/i',
39805 }, 'Parse::RecDescent::Token' )
39808 }, 'Parse::RecDescent::Production' ),
39813 'uncommit' => undef,
39819 'pattern' => 'SECOND',
39820 'hashname' => '__PATTERN1__',
39821 'description' => '/SECOND/i',
39827 }, 'Parse::RecDescent::Token' )
39830 }, 'Parse::RecDescent::Production' ),
39835 'uncommit' => undef,
39841 'pattern' => 'SMALLINT',
39842 'hashname' => '__PATTERN1__',
39843 'description' => '/SMALLINT/i',
39849 }, 'Parse::RecDescent::Token' )
39852 }, 'Parse::RecDescent::Production' ),
39857 'uncommit' => undef,
39863 'pattern' => 'STDDEV',
39864 'hashname' => '__PATTERN1__',
39865 'description' => '/STDDEV/i',
39871 }, 'Parse::RecDescent::Token' )
39874 }, 'Parse::RecDescent::Production' ),
39879 'uncommit' => undef,
39885 'pattern' => 'SUBSTR',
39886 'hashname' => '__PATTERN1__',
39887 'description' => '/SUBSTR/i',
39893 }, 'Parse::RecDescent::Token' )
39896 }, 'Parse::RecDescent::Production' ),
39901 'uncommit' => undef,
39907 'pattern' => 'SUM',
39908 'hashname' => '__PATTERN1__',
39909 'description' => '/SUM/i',
39915 }, 'Parse::RecDescent::Token' )
39918 }, 'Parse::RecDescent::Production' ),
39923 'uncommit' => undef,
39929 'pattern' => 'TABLE_NAME',
39930 'hashname' => '__PATTERN1__',
39931 'description' => '/TABLE_NAME/i',
39937 }, 'Parse::RecDescent::Token' )
39940 }, 'Parse::RecDescent::Production' ),
39945 'uncommit' => undef,
39951 'pattern' => 'TABLE_SCHEMA',
39952 'hashname' => '__PATTERN1__',
39953 'description' => '/TABLE_SCHEMA/i',
39959 }, 'Parse::RecDescent::Token' )
39962 }, 'Parse::RecDescent::Production' ),
39967 'uncommit' => undef,
39973 'pattern' => 'TIME',
39974 'hashname' => '__PATTERN1__',
39975 'description' => '/TIME/i',
39981 }, 'Parse::RecDescent::Token' )
39984 }, 'Parse::RecDescent::Production' ),
39989 'uncommit' => undef,
39995 'pattern' => 'TIMESTAMP',
39996 'hashname' => '__PATTERN1__',
39997 'description' => '/TIMESTAMP/i',
40003 }, 'Parse::RecDescent::Token' )
40006 }, 'Parse::RecDescent::Production' ),
40011 'uncommit' => undef,
40017 'pattern' => 'TRANSLATE',
40018 'hashname' => '__PATTERN1__',
40019 'description' => '/TRANSLATE/i',
40025 }, 'Parse::RecDescent::Token' )
40028 }, 'Parse::RecDescent::Production' ),
40033 'uncommit' => undef,
40039 'pattern' => 'TYPE_ID',
40040 'hashname' => '__PATTERN1__',
40041 'description' => '/TYPE_ID/i',
40047 }, 'Parse::RecDescent::Token' )
40050 }, 'Parse::RecDescent::Production' ),
40055 'uncommit' => undef,
40061 'pattern' => 'TYPE_NAME',
40062 'hashname' => '__PATTERN1__',
40063 'description' => '/TYPE_NAME/i',
40069 }, 'Parse::RecDescent::Token' )
40072 }, 'Parse::RecDescent::Production' ),
40077 'uncommit' => undef,
40083 'pattern' => 'TYPE_SCHEMA',
40084 'hashname' => '__PATTERN1__',
40085 'description' => '/TYPE_SCHEMA/i',
40091 }, 'Parse::RecDescent::Token' )
40094 }, 'Parse::RecDescent::Production' ),
40099 'uncommit' => undef,
40105 'subrule' => '_alternation_1_of_production_83_of_rule_sysibm_function',
40107 'implicit' => '/UCASE/i, or /UPPER/i',
40108 'argcode' => undef,
40111 }, 'Parse::RecDescent::Subrule' )
40114 }, 'Parse::RecDescent::Production' ),
40119 'uncommit' => undef,
40125 'pattern' => 'VALUE',
40126 'hashname' => '__PATTERN1__',
40127 'description' => '/VALUE/i',
40133 }, 'Parse::RecDescent::Token' )
40136 }, 'Parse::RecDescent::Production' ),
40141 'uncommit' => undef,
40147 'pattern' => 'VARCHAR',
40148 'hashname' => '__PATTERN1__',
40149 'description' => '/VARCHAR/i',
40155 }, 'Parse::RecDescent::Token' )
40158 }, 'Parse::RecDescent::Production' ),
40163 'uncommit' => undef,
40169 'pattern' => 'VARGRAPHIC',
40170 'hashname' => '__PATTERN1__',
40171 'description' => '/VARGRAPHIC/i',
40177 }, 'Parse::RecDescent::Token' )
40180 }, 'Parse::RecDescent::Production' ),
40185 'uncommit' => undef,
40191 'subrule' => '_alternation_1_of_production_87_of_rule_sysibm_function',
40193 'implicit' => '/VARIANCE/i, or /VAR/i',
40194 'argcode' => undef,
40197 }, 'Parse::RecDescent::Subrule' )
40200 }, 'Parse::RecDescent::Production' ),
40205 'uncommit' => undef,
40211 'pattern' => 'YEAR',
40212 'hashname' => '__PATTERN1__',
40213 'description' => '/YEAR/i',
40219 }, 'Parse::RecDescent::Token' )
40222 }, 'Parse::RecDescent::Production' )
40224 'name' => 'sysibm_function',
40227 }, 'Parse::RecDescent::Rule' ),
40228 'window_partition_clause' => bless( {
40231 'partitioning_expression'
40240 'uncommit' => undef,
40247 'pattern' => 'PARTITION\\s+BY',
40248 'hashname' => '__PATTERN1__',
40249 'description' => '/PARTITION\\\\s+BY/i',
40255 }, 'Parse::RecDescent::Token' ),
40257 'expected' => '<leftop: partitioning_expression /,/ partitioning_expression>',
40259 'name' => '\'partitioning_expression(s)\'',
40260 'max' => 100000000,
40261 'leftarg' => bless( {
40262 'subrule' => 'partitioning_expression',
40264 'implicit' => undef,
40265 'argcode' => undef,
40268 }, 'Parse::RecDescent::Subrule' ),
40269 'rightarg' => bless( {
40270 'subrule' => 'partitioning_expression',
40272 'implicit' => undef,
40273 'argcode' => undef,
40276 }, 'Parse::RecDescent::Subrule' ),
40277 'hashname' => '__DIRECTIVE1__',
40278 'type' => 'leftop',
40281 'hashname' => '__PATTERN2__',
40282 'description' => '/,/',
40288 }, 'Parse::RecDescent::Token' )
40289 }, 'Parse::RecDescent::Operator' )
40292 }, 'Parse::RecDescent::Production' )
40294 'name' => 'window_partition_clause',
40297 }, 'Parse::RecDescent::Rule' ),
40298 'WHERE' => bless( {
40308 'uncommit' => undef,
40314 'pattern' => 'where',
40315 'hashname' => '__PATTERN1__',
40316 'description' => '/where/i',
40322 }, 'Parse::RecDescent::Token' )
40325 }, 'Parse::RecDescent::Production' )
40330 }, 'Parse::RecDescent::Rule' ),
40331 'CREATE' => bless( {
40341 'uncommit' => undef,
40347 'pattern' => 'create',
40348 'hashname' => '__PATTERN1__',
40349 'description' => '/create/i',
40355 }, 'Parse::RecDescent::Token' )
40358 }, 'Parse::RecDescent::Production' )
40360 'name' => 'CREATE',
40363 }, 'Parse::RecDescent::Rule' ),
40364 '_alternation_1_of_production_1_of_rule_sysfun' => bless( {
40374 'uncommit' => undef,
40380 'pattern' => 'ABS',
40381 'hashname' => '__PATTERN1__',
40382 'description' => '/ABS/i',
40388 }, 'Parse::RecDescent::Token' )
40391 }, 'Parse::RecDescent::Production' ),
40396 'uncommit' => undef,
40402 'pattern' => 'ABSVAL',
40403 'hashname' => '__PATTERN1__',
40404 'description' => '/ABSVAL/i',
40410 }, 'Parse::RecDescent::Token' )
40413 }, 'Parse::RecDescent::Production' )
40415 'name' => '_alternation_1_of_production_1_of_rule_sysfun',
40418 }, 'Parse::RecDescent::Rule' ),
40419 '_alternation_1_of_production_1_of_rule_function' => bless( {
40424 'userdefined_function'
40433 'uncommit' => undef,
40439 'pattern' => 'SYSIBM\\.|',
40440 'hashname' => '__PATTERN1__',
40441 'description' => '/SYSIBM\\\\.|/i',
40447 }, 'Parse::RecDescent::Token' ),
40449 'subrule' => 'sysibm_function',
40451 'implicit' => undef,
40452 'argcode' => undef,
40455 }, 'Parse::RecDescent::Subrule' )
40458 }, 'Parse::RecDescent::Production' ),
40463 'uncommit' => undef,
40469 'pattern' => 'SYSFUN\\.|',
40470 'hashname' => '__PATTERN1__',
40471 'description' => '/SYSFUN\\\\.|/i',
40477 }, 'Parse::RecDescent::Token' ),
40479 'subrule' => 'sysfun_function',
40481 'implicit' => undef,
40482 'argcode' => undef,
40485 }, 'Parse::RecDescent::Subrule' )
40488 }, 'Parse::RecDescent::Production' ),
40493 'uncommit' => undef,
40499 'subrule' => 'userdefined_function',
40501 'implicit' => undef,
40502 'argcode' => undef,
40505 }, 'Parse::RecDescent::Subrule' )
40508 }, 'Parse::RecDescent::Production' )
40510 'name' => '_alternation_1_of_production_1_of_rule_function',
40513 }, 'Parse::RecDescent::Rule' ),
40514 'identifier' => bless( {
40526 'uncommit' => undef,
40532 'subrule' => 'NAME',
40534 'implicit' => undef,
40535 'argcode' => undef,
40538 }, 'Parse::RecDescent::Subrule' )
40541 }, 'Parse::RecDescent::Production' )
40543 'name' => 'identifier',
40546 }, 'Parse::RecDescent::Rule' ),
40547 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause' => bless( {
40560 'uncommit' => undef,
40566 'subrule' => 'asc_option',
40568 'implicit' => undef,
40569 'argcode' => undef,
40572 }, 'Parse::RecDescent::Subrule' )
40575 }, 'Parse::RecDescent::Production' ),
40580 'uncommit' => undef,
40586 'subrule' => 'desc_option',
40588 'implicit' => undef,
40589 'argcode' => undef,
40592 }, 'Parse::RecDescent::Subrule' )
40595 }, 'Parse::RecDescent::Production' )
40597 'name' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause',
40600 }, 'Parse::RecDescent::Rule' ),
40601 'result_expression' => bless( {
40613 'uncommit' => undef,
40619 'subrule' => 'expression',
40621 'implicit' => undef,
40622 'argcode' => undef,
40625 }, 'Parse::RecDescent::Subrule' )
40628 }, 'Parse::RecDescent::Production' )
40630 'name' => 'result_expression',
40633 }, 'Parse::RecDescent::Rule' ),
40634 'scoped_reference_expression' => bless( {
40646 'uncommit' => undef,
40652 'subrule' => 'expression',
40654 'implicit' => undef,
40655 'argcode' => undef,
40658 }, 'Parse::RecDescent::Subrule' ),
40660 'hashname' => '__ACTION1__',
40663 'code' => '{ # scoped, reference
40665 }, 'Parse::RecDescent::Action' )
40668 }, 'Parse::RecDescent::Production' )
40670 'name' => 'scoped_reference_expression',
40673 }, 'Parse::RecDescent::Rule' ),
40674 '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification' => bless( {
40677 'typed_table_name',
40687 'uncommit' => undef,
40693 'subrule' => 'typed_table_name',
40695 'implicit' => undef,
40696 'argcode' => undef,
40699 }, 'Parse::RecDescent::Subrule' )
40702 }, 'Parse::RecDescent::Production' ),
40707 'uncommit' => undef,
40713 'subrule' => 'typed_view_name',
40715 'implicit' => undef,
40716 'argcode' => undef,
40719 }, 'Parse::RecDescent::Subrule' )
40722 }, 'Parse::RecDescent::Production' )
40724 'name' => '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cast_specification',
40727 }, 'Parse::RecDescent::Rule' ),
40728 'when_clause' => bless( {
40740 'uncommit' => undef,
40746 'pattern' => 'WHEN',
40747 'hashname' => '__PATTERN1__',
40748 'description' => '/WHEN/i',
40754 }, 'Parse::RecDescent::Token' ),
40757 'hashname' => '__STRING1__',
40758 'description' => '\'(\'',
40761 }, 'Parse::RecDescent::Literal' ),
40763 'subrule' => 'search_condition',
40765 'implicit' => undef,
40766 'argcode' => undef,
40769 }, 'Parse::RecDescent::Subrule' ),
40772 'hashname' => '__STRING2__',
40773 'description' => '\')\'',
40776 }, 'Parse::RecDescent::Literal' ),
40778 'hashname' => '__ACTION1__',
40781 'code' => '{$return = $item[3]}'
40782 }, 'Parse::RecDescent::Action' )
40785 }, 'Parse::RecDescent::Production' )
40787 'name' => 'when_clause',
40790 }, 'Parse::RecDescent::Rule' ),
40791 '_alternation_1_of_production_1_of_rule_asc_option' => bless( {
40801 'uncommit' => undef,
40807 'pattern' => 'NULLS\\s+FIRST',
40808 'hashname' => '__PATTERN1__',
40809 'description' => '/NULLS\\\\s+FIRST/i',
40815 }, 'Parse::RecDescent::Token' )
40818 }, 'Parse::RecDescent::Production' ),
40823 'uncommit' => undef,
40829 'pattern' => 'NULLS\\s+LAST',
40830 'hashname' => '__PATTERN1__',
40831 'description' => '/NULLS\\\\s+LAST/i',
40837 }, 'Parse::RecDescent::Token' )
40840 }, 'Parse::RecDescent::Production' )
40842 'name' => '_alternation_1_of_production_1_of_rule_asc_option',
40845 }, 'Parse::RecDescent::Rule' ),
40846 'sequence_name' => bless( {
40858 'uncommit' => undef,
40864 'subrule' => 'NAME',
40866 'implicit' => undef,
40867 'argcode' => undef,
40870 }, 'Parse::RecDescent::Subrule' )
40873 }, 'Parse::RecDescent::Production' )
40875 'name' => 'sequence_name',
40878 }, 'Parse::RecDescent::Rule' ),
40879 'ld_duration' => bless( {
40889 'uncommit' => undef,
40895 'pattern' => 'YEARS?',
40896 'hashname' => '__PATTERN1__',
40897 'description' => '/YEARS?/i',
40903 }, 'Parse::RecDescent::Token' )
40906 }, 'Parse::RecDescent::Production' ),
40911 'uncommit' => undef,
40917 'pattern' => 'MONTHS?',
40918 'hashname' => '__PATTERN1__',
40919 'description' => '/MONTHS?/i',
40925 }, 'Parse::RecDescent::Token' )
40928 }, 'Parse::RecDescent::Production' ),
40933 'uncommit' => undef,
40939 'pattern' => 'DAYS?',
40940 'hashname' => '__PATTERN1__',
40941 'description' => '/DAYS?/i',
40947 }, 'Parse::RecDescent::Token' )
40950 }, 'Parse::RecDescent::Production' ),
40955 'uncommit' => undef,
40961 'pattern' => 'HOURS?',
40962 'hashname' => '__PATTERN1__',
40963 'description' => '/HOURS?/i',
40969 }, 'Parse::RecDescent::Token' )
40972 }, 'Parse::RecDescent::Production' ),
40977 'uncommit' => undef,
40983 'pattern' => 'MINUTES?',
40984 'hashname' => '__PATTERN1__',
40985 'description' => '/MINUTES?/i',
40991 }, 'Parse::RecDescent::Token' )
40994 }, 'Parse::RecDescent::Production' ),
40999 'uncommit' => undef,
41005 'pattern' => 'SECONDS?',
41006 'hashname' => '__PATTERN1__',
41007 'description' => '/SECONDS?/i',
41013 }, 'Parse::RecDescent::Token' )
41016 }, 'Parse::RecDescent::Production' ),
41021 'uncommit' => undef,
41027 'pattern' => 'MICROSECONDS?',
41028 'hashname' => '__PATTERN1__',
41029 'description' => '/MICROSECONDS?/i',
41035 }, 'Parse::RecDescent::Token' )
41038 }, 'Parse::RecDescent::Production' )
41040 'name' => 'ld_duration',
41043 }, 'Parse::RecDescent::Rule' ),
41044 'reference_a' => bless( {
41057 'uncommit' => undef,
41063 'pattern' => 'REFERENCING',
41064 'hashname' => '__PATTERN1__',
41065 'description' => '/REFERENCING/i',
41071 }, 'Parse::RecDescent::Token' ),
41073 'subrule' => 'old_new_corr',
41074 'expected' => undef,
41076 'argcode' => undef,
41079 'repspec' => '0..2',
41082 }, 'Parse::RecDescent::Repetition' ),
41084 'subrule' => 'old_new_table',
41085 'expected' => undef,
41087 'argcode' => undef,
41090 'repspec' => '0..2',
41093 }, 'Parse::RecDescent::Repetition' ),
41095 'hashname' => '__ACTION1__',
41098 'code' => '{ $return = join(\' \', $item[1], join(\' \', @{$item[2]}), join(\' \', @{$item[3]}) ) }'
41099 }, 'Parse::RecDescent::Action' )
41102 }, 'Parse::RecDescent::Production' )
41104 'name' => 'reference_a',
41107 }, 'Parse::RecDescent::Rule' ),
41108 'cast_specification' => bless( {
41111 '_alternation_1_of_production_1_of_rule_cast_specification',
41113 '_alternation_2_of_production_1_of_rule_cast_specification'
41122 'uncommit' => undef,
41128 'pattern' => 'CAST',
41129 'hashname' => '__PATTERN1__',
41130 'description' => '/CAST/i',
41136 }, 'Parse::RecDescent::Token' ),
41139 'hashname' => '__STRING1__',
41140 'description' => '\'(\'',
41143 }, 'Parse::RecDescent::Literal' ),
41145 'subrule' => '_alternation_1_of_production_1_of_rule_cast_specification',
41147 'implicit' => 'expression, or /NULL/i, or parameter_marker',
41148 'argcode' => undef,
41151 }, 'Parse::RecDescent::Subrule' ),
41154 'hashname' => '__PATTERN2__',
41155 'description' => '/AS/i',
41161 }, 'Parse::RecDescent::Token' ),
41163 'subrule' => 'data_type',
41165 'implicit' => undef,
41166 'argcode' => undef,
41169 }, 'Parse::RecDescent::Subrule' ),
41171 'subrule' => '_alternation_2_of_production_1_of_rule_cast_specification',
41172 'expected' => '/SCOPE/',
41174 'argcode' => undef,
41180 }, 'Parse::RecDescent::Repetition' ),
41183 'hashname' => '__STRING2__',
41184 'description' => '\')\'',
41187 }, 'Parse::RecDescent::Literal' )
41190 }, 'Parse::RecDescent::Production' )
41192 'name' => 'cast_specification',
41195 }, 'Parse::RecDescent::Rule' ),
41200 '_alternation_1_of_production_2_of_rule_type'
41209 'uncommit' => undef,
41216 'pattern' => 'UPDATE',
41217 'hashname' => '__PATTERN1__',
41218 'description' => '/UPDATE/i',
41224 }, 'Parse::RecDescent::Token' ),
41227 'hashname' => '__PATTERN2__',
41228 'description' => '/OF/i',
41234 }, 'Parse::RecDescent::Token' ),
41236 'expected' => '<leftop: column_name /,/ column_name>',
41238 'name' => '\'column_name(s)\'',
41239 'max' => 100000000,
41240 'leftarg' => bless( {
41241 'subrule' => 'column_name',
41243 'implicit' => undef,
41244 'argcode' => undef,
41247 }, 'Parse::RecDescent::Subrule' ),
41248 'rightarg' => bless( {
41249 'subrule' => 'column_name',
41251 'implicit' => undef,
41252 'argcode' => undef,
41255 }, 'Parse::RecDescent::Subrule' ),
41256 'hashname' => '__DIRECTIVE1__',
41257 'type' => 'leftop',
41260 'hashname' => '__PATTERN3__',
41261 'description' => '/,/',
41267 }, 'Parse::RecDescent::Token' )
41268 }, 'Parse::RecDescent::Operator' ),
41270 'hashname' => '__ACTION1__',
41273 'code' => '{ $return = { event => \'update_on\',
41274 fields => $item[3] }
41276 }, 'Parse::RecDescent::Action' )
41279 }, 'Parse::RecDescent::Production' ),
41284 'uncommit' => undef,
41290 'subrule' => '_alternation_1_of_production_2_of_rule_type',
41292 'implicit' => '/INSERT/i, or /DELETE/i, or /UPDATE/i',
41293 'argcode' => undef,
41296 }, 'Parse::RecDescent::Subrule' ),
41298 'hashname' => '__ACTION1__',
41301 'code' => '{ $return = { event => $item[1] } }'
41302 }, 'Parse::RecDescent::Action' )
41305 }, 'Parse::RecDescent::Production' )
41310 }, 'Parse::RecDescent::Rule' ),
41311 '_alternation_1_of_production_12_of_rule_sysibm_function' => bless( {
41321 'uncommit' => undef,
41327 'pattern' => 'COVARIANCE',
41328 'hashname' => '__PATTERN1__',
41329 'description' => '/COVARIANCE/i',
41335 }, 'Parse::RecDescent::Token' )
41338 }, 'Parse::RecDescent::Production' ),
41343 'uncommit' => undef,
41349 'pattern' => 'COVAR',
41350 'hashname' => '__PATTERN1__',
41351 'description' => '/COVAR/i',
41357 }, 'Parse::RecDescent::Token' )
41360 }, 'Parse::RecDescent::Production' )
41362 'name' => '_alternation_1_of_production_12_of_rule_sysibm_function',
41365 }, 'Parse::RecDescent::Rule' ),
41366 'scalar_fullselect' => bless( {
41378 'uncommit' => undef,
41385 'hashname' => '__STRING1__',
41386 'description' => '\'(\'',
41389 }, 'Parse::RecDescent::Literal' ),
41391 'subrule' => 'fullselect',
41393 'implicit' => undef,
41394 'argcode' => undef,
41397 }, 'Parse::RecDescent::Subrule' ),
41400 'hashname' => '__STRING2__',
41401 'description' => '\')\'',
41404 }, 'Parse::RecDescent::Literal' )
41407 }, 'Parse::RecDescent::Production' )
41409 'name' => 'scalar_fullselect',
41412 }, 'Parse::RecDescent::Rule' ),
41413 '_alternation_1_of_production_1_of_rule_options' => bless( {
41423 'uncommit' => undef,
41429 'pattern' => 'CASCADED',
41430 'hashname' => '__PATTERN1__',
41431 'description' => '/CASCADED/i',
41437 }, 'Parse::RecDescent::Token' )
41440 }, 'Parse::RecDescent::Production' ),
41445 'uncommit' => undef,
41451 'pattern' => 'LOCAL',
41452 'hashname' => '__PATTERN1__',
41453 'description' => '/LOCAL/i',
41459 }, 'Parse::RecDescent::Token' )
41462 }, 'Parse::RecDescent::Production' )
41464 'name' => '_alternation_1_of_production_1_of_rule_options',
41467 }, 'Parse::RecDescent::Rule' ),
41468 'func_args' => bless( {
41480 'uncommit' => undef,
41486 'subrule' => 'expression',
41488 'implicit' => undef,
41489 'argcode' => undef,
41492 }, 'Parse::RecDescent::Subrule' )
41495 }, 'Parse::RecDescent::Production' )
41497 'name' => 'func_args',
41500 }, 'Parse::RecDescent::Rule' ),
41501 'trigger_name' => bless( {
41514 'uncommit' => undef,
41520 'subrule' => 'SCHEMA',
41522 'implicit' => undef,
41523 'argcode' => undef,
41526 }, 'Parse::RecDescent::Subrule' ),
41529 'hashname' => '__STRING1__',
41530 'description' => '\'.\'',
41533 }, 'Parse::RecDescent::Literal' ),
41535 'subrule' => 'NAME',
41537 'implicit' => undef,
41538 'argcode' => undef,
41541 }, 'Parse::RecDescent::Subrule' ),
41543 'hashname' => '__ACTION1__',
41546 'code' => '{ $return = { schema => $item[1], name => $item[3] } }'
41547 }, 'Parse::RecDescent::Action' )
41550 }, 'Parse::RecDescent::Production' ),
41555 'uncommit' => undef,
41561 'subrule' => 'NAME',
41563 'implicit' => undef,
41564 'argcode' => undef,
41567 }, 'Parse::RecDescent::Subrule' ),
41569 'hashname' => '__ACTION1__',
41572 'code' => '{ $return = { name => $item[1] } }'
41573 }, 'Parse::RecDescent::Action' )
41576 }, 'Parse::RecDescent::Production' )
41578 'name' => 'trigger_name',
41581 }, 'Parse::RecDescent::Rule' ),
41582 '_alternation_2_of_production_1_of_rule_numbering_function' => bless( {
41585 'window_aggregation_group_clause'
41594 'uncommit' => undef,
41600 'pattern' => 'RANGE\\s+BETWEEN\\s+UNBOUNDED\\s+PRECEDING\\s+AND\\s+UNBBOUNDED\\s+FOLLOWING',
41601 'hashname' => '__PATTERN1__',
41602 'description' => '/RANGE\\\\s+BETWEEN\\\\s+UNBOUNDED\\\\s+PRECEDING\\\\s+AND\\\\s+UNBBOUNDED\\\\s+FOLLOWING/i',
41608 }, 'Parse::RecDescent::Token' )
41611 }, 'Parse::RecDescent::Production' ),
41616 'uncommit' => undef,
41622 'subrule' => 'window_aggregation_group_clause',
41624 'implicit' => undef,
41625 'argcode' => undef,
41628 }, 'Parse::RecDescent::Subrule' )
41631 }, 'Parse::RecDescent::Production' )
41633 'name' => '_alternation_2_of_production_1_of_rule_numbering_function',
41636 }, 'Parse::RecDescent::Rule' ),
41637 'method_name' => bless( {
41649 'uncommit' => undef,
41655 'subrule' => 'NAME',
41657 'implicit' => undef,
41658 'argcode' => undef,
41661 }, 'Parse::RecDescent::Subrule' ),
41663 'hashname' => '__ACTION1__',
41666 'code' => '{ # must be a method of subject_expression
41668 }, 'Parse::RecDescent::Action' )
41671 }, 'Parse::RecDescent::Production' )
41673 'name' => 'method_name',
41676 }, 'Parse::RecDescent::Rule' ),
41677 'quantified_p' => bless( {
41690 'uncommit' => undef,
41696 'subrule' => 'expression1',
41698 'implicit' => undef,
41699 'argcode' => undef,
41702 }, 'Parse::RecDescent::Subrule' ),
41704 'pattern' => '(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)',
41705 'hashname' => '__PATTERN1__',
41706 'description' => '/(=|<>|<|>|<=|=>|\\\\^=|\\\\^<|\\\\^>|\\\\!=)/',
41712 }, 'Parse::RecDescent::Token' ),
41714 'pattern' => 'SOME|ANY|ALL',
41715 'hashname' => '__PATTERN2__',
41716 'description' => '/SOME|ANY|ALL/i',
41722 }, 'Parse::RecDescent::Token' ),
41725 'hashname' => '__STRING1__',
41726 'description' => '\'(\'',
41729 }, 'Parse::RecDescent::Literal' ),
41731 'subrule' => 'fullselect',
41733 'implicit' => undef,
41734 'argcode' => undef,
41737 }, 'Parse::RecDescent::Subrule' ),
41740 'hashname' => '__STRING2__',
41741 'description' => '\')\'',
41744 }, 'Parse::RecDescent::Literal' )
41747 }, 'Parse::RecDescent::Production' )
41749 'name' => 'quantified_p',
41752 }, 'Parse::RecDescent::Rule' ),
41753 'common_table_expression' => bless( {
41768 'uncommit' => undef,
41774 'subrule' => 'table_name',
41776 'implicit' => undef,
41777 'argcode' => undef,
41780 }, 'Parse::RecDescent::Subrule' ),
41782 'subrule' => 'column_list',
41784 'implicit' => undef,
41785 'argcode' => undef,
41788 }, 'Parse::RecDescent::Subrule' ),
41791 'hashname' => '__PATTERN1__',
41792 'description' => '/AS/i',
41798 }, 'Parse::RecDescent::Token' ),
41800 'subrule' => 'get_bracketed',
41802 'implicit' => undef,
41803 'argcode' => undef,
41806 }, 'Parse::RecDescent::Subrule' ),
41808 'hashname' => '__ACTION1__',
41812 $return = { name => $item{table_name}{name},
41816 }, 'Parse::RecDescent::Action' )
41819 }, 'Parse::RecDescent::Production' ),
41824 'uncommit' => undef,
41830 'subrule' => 'table_name',
41832 'implicit' => undef,
41833 'argcode' => undef,
41836 }, 'Parse::RecDescent::Subrule' ),
41838 'subrule' => 'column_list',
41840 'implicit' => undef,
41841 'argcode' => undef,
41844 }, 'Parse::RecDescent::Subrule' ),
41847 'hashname' => '__PATTERN1__',
41848 'description' => '/AS/i',
41854 }, 'Parse::RecDescent::Token' ),
41857 'hashname' => '__STRING1__',
41858 'description' => '\'(\'',
41861 }, 'Parse::RecDescent::Literal' ),
41863 'subrule' => 'fullselect',
41865 'implicit' => undef,
41866 'argcode' => undef,
41869 }, 'Parse::RecDescent::Subrule' ),
41872 'hashname' => '__STRING2__',
41873 'description' => '\')\'',
41876 }, 'Parse::RecDescent::Literal' )
41879 }, 'Parse::RecDescent::Production' )
41881 'name' => 'common_table_expression',
41884 }, 'Parse::RecDescent::Rule' ),
41885 'after' => bless( {
41895 'uncommit' => undef,
41901 'pattern' => 'AFTER',
41902 'hashname' => '__PATTERN1__',
41903 'description' => '/AFTER/i',
41909 }, 'Parse::RecDescent::Token' )
41912 }, 'Parse::RecDescent::Production' )
41917 }, 'Parse::RecDescent::Rule' ),
41918 'predicate' => bless( {
41937 'uncommit' => undef,
41943 'subrule' => 'basic_p',
41945 'implicit' => undef,
41946 'argcode' => undef,
41949 }, 'Parse::RecDescent::Subrule' )
41952 }, 'Parse::RecDescent::Production' ),
41957 'uncommit' => undef,
41963 'subrule' => 'quantified_p',
41965 'implicit' => undef,
41966 'argcode' => undef,
41969 }, 'Parse::RecDescent::Subrule' )
41972 }, 'Parse::RecDescent::Production' ),
41977 'uncommit' => undef,
41983 'subrule' => 'between_p',
41985 'implicit' => undef,
41986 'argcode' => undef,
41989 }, 'Parse::RecDescent::Subrule' )
41992 }, 'Parse::RecDescent::Production' ),
41997 'uncommit' => undef,
42003 'subrule' => 'exists_p',
42005 'implicit' => undef,
42006 'argcode' => undef,
42009 }, 'Parse::RecDescent::Subrule' )
42012 }, 'Parse::RecDescent::Production' ),
42017 'uncommit' => undef,
42023 'subrule' => 'in_p',
42025 'implicit' => undef,
42026 'argcode' => undef,
42029 }, 'Parse::RecDescent::Subrule' )
42032 }, 'Parse::RecDescent::Production' ),
42037 'uncommit' => undef,
42043 'subrule' => 'like_p',
42045 'implicit' => undef,
42046 'argcode' => undef,
42049 }, 'Parse::RecDescent::Subrule' )
42052 }, 'Parse::RecDescent::Production' ),
42057 'uncommit' => undef,
42063 'subrule' => 'null_p',
42065 'implicit' => undef,
42066 'argcode' => undef,
42069 }, 'Parse::RecDescent::Subrule' )
42072 }, 'Parse::RecDescent::Production' ),
42077 'uncommit' => undef,
42083 'subrule' => 'type_p',
42085 'implicit' => undef,
42086 'argcode' => undef,
42089 }, 'Parse::RecDescent::Subrule' )
42092 }, 'Parse::RecDescent::Production' )
42094 'name' => 'predicate',
42097 }, 'Parse::RecDescent::Rule' ),
42098 'column_name' => bless( {
42110 'uncommit' => undef,
42116 'subrule' => 'NAME',
42118 'implicit' => undef,
42119 'argcode' => undef,
42122 }, 'Parse::RecDescent::Subrule' )
42125 }, 'Parse::RecDescent::Production' )
42127 'name' => 'column_name',
42130 }, 'Parse::RecDescent::Rule' ),
42131 'method_invocation' => bless( {
42134 'subject_expression',
42136 '_alternation_1_of_production_1_of_rule_method_invocation'
42145 'uncommit' => undef,
42151 'subrule' => 'subject_expression',
42153 'implicit' => undef,
42154 'argcode' => undef,
42157 }, 'Parse::RecDescent::Subrule' ),
42160 'hashname' => '__STRING1__',
42161 'description' => '\'..\'',
42164 }, 'Parse::RecDescent::Literal' ),
42166 'subrule' => 'method_name',
42168 'implicit' => undef,
42169 'argcode' => undef,
42172 }, 'Parse::RecDescent::Subrule' ),
42174 'subrule' => '_alternation_1_of_production_1_of_rule_method_invocation',
42175 'expected' => '\'(\'',
42177 'argcode' => undef,
42183 }, 'Parse::RecDescent::Repetition' )
42186 }, 'Parse::RecDescent::Production' )
42188 'name' => 'method_invocation',
42191 }, 'Parse::RecDescent::Rule' ),
42192 '_alternation_1_of_production_1_of_rule_dereference_operation' => bless( {
42204 'uncommit' => undef,
42211 'hashname' => '__STRING1__',
42212 'description' => '\'(\'',
42215 }, 'Parse::RecDescent::Literal' ),
42217 'subrule' => 'expression',
42218 'expected' => undef,
42220 'argcode' => undef,
42221 'max' => 100000000,
42226 }, 'Parse::RecDescent::Repetition' ),
42229 'hashname' => '__STRING2__',
42230 'description' => '\')\'',
42233 }, 'Parse::RecDescent::Literal' )
42236 }, 'Parse::RecDescent::Production' )
42238 'name' => '_alternation_1_of_production_1_of_rule_dereference_operation',
42241 }, 'Parse::RecDescent::Rule' ),
42242 '_alternation_1_of_production_1_of_rule_searched_when_clause' => bless( {
42245 'search_condition',
42246 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause'
42255 'uncommit' => undef,
42261 'pattern' => 'WHEN',
42262 'hashname' => '__PATTERN1__',
42263 'description' => '/WHEN/i',
42269 }, 'Parse::RecDescent::Token' ),
42271 'subrule' => 'search_condition',
42273 'implicit' => undef,
42274 'argcode' => undef,
42277 }, 'Parse::RecDescent::Subrule' ),
42279 'pattern' => 'THEN',
42280 'hashname' => '__PATTERN2__',
42281 'description' => '/THEN/i',
42287 }, 'Parse::RecDescent::Token' ),
42289 'subrule' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause',
42291 'implicit' => 'result_expression, or /NULL/i',
42292 'argcode' => undef,
42295 }, 'Parse::RecDescent::Subrule' )
42298 }, 'Parse::RecDescent::Production' )
42300 'name' => '_alternation_1_of_production_1_of_rule_searched_when_clause',
42303 }, 'Parse::RecDescent::Rule' ),
42304 'group_bound2' => bless( {
42307 'unsigned_constant'
42316 'uncommit' => undef,
42322 'pattern' => 'UNBOUNDED\\s+PRECEDING',
42323 'hashname' => '__PATTERN1__',
42324 'description' => '/UNBOUNDED\\\\s+PRECEDING/i',
42330 }, 'Parse::RecDescent::Token' )
42333 }, 'Parse::RecDescent::Production' ),
42338 'uncommit' => undef,
42344 'subrule' => 'unsigned_constant',
42346 'implicit' => undef,
42347 'argcode' => undef,
42350 }, 'Parse::RecDescent::Subrule' ),
42352 'pattern' => 'PRECEDING',
42353 'hashname' => '__PATTERN1__',
42354 'description' => '/PRECEDING/i',
42360 }, 'Parse::RecDescent::Token' )
42363 }, 'Parse::RecDescent::Production' ),
42368 'uncommit' => undef,
42374 'subrule' => 'unsigned_constant',
42376 'implicit' => undef,
42377 'argcode' => undef,
42380 }, 'Parse::RecDescent::Subrule' ),
42382 'pattern' => 'FOLLOWING',
42383 'hashname' => '__PATTERN1__',
42384 'description' => '/FOLLOWING/i',
42390 }, 'Parse::RecDescent::Token' )
42393 }, 'Parse::RecDescent::Production' ),
42398 'uncommit' => undef,
42404 'pattern' => 'CURRENT\\s+ROW',
42405 'hashname' => '__PATTERN1__',
42406 'description' => '/CURRENT\\\\s+ROW/i',
42412 }, 'Parse::RecDescent::Token' )
42415 }, 'Parse::RecDescent::Production' )
42417 'name' => 'group_bound2',
42420 }, 'Parse::RecDescent::Rule' ),
42421 'searched_when_clause' => bless( {
42424 '_alternation_1_of_production_1_of_rule_searched_when_clause'
42433 'uncommit' => undef,
42439 'subrule' => '_alternation_1_of_production_1_of_rule_searched_when_clause',
42440 'expected' => '/WHEN/i',
42442 'argcode' => undef,
42443 'max' => 100000000,
42448 }, 'Parse::RecDescent::Repetition' )
42451 }, 'Parse::RecDescent::Production' )
42453 'name' => 'searched_when_clause',
42456 }, 'Parse::RecDescent::Rule' ),
42457 'basic_p' => bless( {
42469 'uncommit' => undef,
42475 'subrule' => 'expression',
42477 'implicit' => undef,
42478 'argcode' => undef,
42481 }, 'Parse::RecDescent::Subrule' ),
42483 'pattern' => '(=|<>|<|>|<=|=>|\\^=|\\^<|\\^>|\\!=)',
42484 'hashname' => '__PATTERN1__',
42485 'description' => '/(=|<>|<|>|<=|=>|\\\\^=|\\\\^<|\\\\^>|\\\\!=)/',
42491 }, 'Parse::RecDescent::Token' ),
42493 'subrule' => 'expression',
42495 'implicit' => undef,
42496 'argcode' => undef,
42499 }, 'Parse::RecDescent::Subrule' )
42502 }, 'Parse::RecDescent::Production' )
42504 'name' => 'basic_p',
42507 }, 'Parse::RecDescent::Rule' ),
42508 'asc_option' => bless( {
42511 '_alternation_1_of_production_1_of_rule_asc_option'
42520 'uncommit' => undef,
42526 'pattern' => 'ASC',
42527 'hashname' => '__PATTERN1__',
42528 'description' => '/ASC/i',
42534 }, 'Parse::RecDescent::Token' ),
42536 'subrule' => '_alternation_1_of_production_1_of_rule_asc_option',
42537 'expected' => '/NULLS\\\\s+FIRST/i, or /NULLS\\\\s+LAST/i',
42539 'argcode' => undef,
42545 }, 'Parse::RecDescent::Repetition' )
42548 }, 'Parse::RecDescent::Production' )
42550 'name' => 'asc_option',
42553 }, 'Parse::RecDescent::Rule' ),
42554 'search_condition' => bless( {
42557 '_alternation_1_of_production_2_of_rule_search_condition',
42567 'uncommit' => undef,
42573 'pattern' => '[^)]+',
42574 'hashname' => '__PATTERN1__',
42575 'description' => '/[^)]+/',
42581 }, 'Parse::RecDescent::Token' )
42584 }, 'Parse::RecDescent::Production' ),
42589 'uncommit' => undef,
42595 'pattern' => 'NOT|',
42596 'hashname' => '__PATTERN1__',
42597 'description' => '/NOT|/i',
42603 }, 'Parse::RecDescent::Token' ),
42605 'subrule' => '_alternation_1_of_production_2_of_rule_search_condition',
42607 'implicit' => 'predicate, or \'(\'',
42608 'argcode' => undef,
42611 }, 'Parse::RecDescent::Subrule' ),
42613 'subrule' => 'cond',
42614 'expected' => undef,
42616 'argcode' => undef,
42617 'max' => 100000000,
42622 }, 'Parse::RecDescent::Repetition' )
42625 }, 'Parse::RecDescent::Production' )
42627 'name' => 'search_condition',
42630 }, 'Parse::RecDescent::Rule' ),
42631 '_alternation_1_of_production_1_of_rule_operator' => bless( {
42641 'uncommit' => undef,
42647 'pattern' => 'CONCAT',
42648 'hashname' => '__PATTERN1__',
42649 'description' => '/CONCAT/i',
42655 }, 'Parse::RecDescent::Token' )
42658 }, 'Parse::RecDescent::Production' ),
42663 'uncommit' => undef,
42670 'hashname' => '__STRING1__',
42671 'description' => '\'||\'',
42674 }, 'Parse::RecDescent::Literal' )
42677 }, 'Parse::RecDescent::Production' )
42679 'name' => '_alternation_1_of_production_1_of_rule_operator',
42682 }, 'Parse::RecDescent::Rule' ),
42683 'simple_when_clause' => bless( {
42687 '_alternation_1_of_production_1_of_rule_simple_when_clause'
42696 'uncommit' => undef,
42702 'subrule' => 'expression',
42704 'implicit' => undef,
42705 'argcode' => undef,
42708 }, 'Parse::RecDescent::Subrule' ),
42710 'subrule' => '_alternation_1_of_production_1_of_rule_simple_when_clause',
42711 'expected' => '/WHEN/i',
42713 'argcode' => undef,
42714 'max' => 100000000,
42719 }, 'Parse::RecDescent::Repetition' )
42722 }, 'Parse::RecDescent::Production' )
42724 'name' => 'simple_when_clause',
42727 }, 'Parse::RecDescent::Rule' ),
42728 'INNER' => bless( {
42738 'uncommit' => undef,
42744 'pattern' => 'inner',
42745 'hashname' => '__PATTERN1__',
42746 'description' => '/inner/i',
42752 }, 'Parse::RecDescent::Token' )
42755 }, 'Parse::RecDescent::Production' )
42760 }, 'Parse::RecDescent::Rule' ),
42761 'eofile' => bless( {
42771 'uncommit' => undef,
42777 'pattern' => '^\\Z',
42778 'hashname' => '__PATTERN1__',
42779 'description' => '/^\\\\Z/',
42785 }, 'Parse::RecDescent::Token' )
42788 }, 'Parse::RecDescent::Production' )
42790 'name' => 'eofile',
42793 }, 'Parse::RecDescent::Rule' ),
42797 '_alternation_1_of_production_1_of_rule_cond',
42798 '_alternation_2_of_production_1_of_rule_cond'
42807 'uncommit' => undef,
42813 'subrule' => '_alternation_1_of_production_1_of_rule_cond',
42815 'implicit' => '/AND/i, or /OR/i',
42816 'argcode' => undef,
42819 }, 'Parse::RecDescent::Subrule' ),
42821 'pattern' => 'NOT|',
42822 'hashname' => '__PATTERN1__',
42823 'description' => '/NOT|/i',
42829 }, 'Parse::RecDescent::Token' ),
42831 'subrule' => '_alternation_2_of_production_1_of_rule_cond',
42833 'implicit' => 'predicate, or \'(\'',
42834 'argcode' => undef,
42837 }, 'Parse::RecDescent::Subrule' )
42840 }, 'Parse::RecDescent::Production' )
42845 }, 'Parse::RecDescent::Rule' ),
42846 'ld_type' => bless( {
42862 'uncommit' => undef,
42868 'subrule' => 'function',
42870 'implicit' => undef,
42871 'argcode' => undef,
42874 }, 'Parse::RecDescent::Subrule' )
42877 }, 'Parse::RecDescent::Production' ),
42882 'uncommit' => undef,
42889 'hashname' => '__STRING1__',
42890 'description' => '\'(\'',
42893 }, 'Parse::RecDescent::Literal' ),
42895 'subrule' => 'expression',
42897 'implicit' => undef,
42898 'argcode' => undef,
42901 }, 'Parse::RecDescent::Subrule' ),
42904 'hashname' => '__STRING2__',
42905 'description' => '\')\'',
42908 }, 'Parse::RecDescent::Literal' )
42911 }, 'Parse::RecDescent::Production' ),
42916 'uncommit' => undef,
42922 'subrule' => 'constant',
42924 'implicit' => undef,
42925 'argcode' => undef,
42928 }, 'Parse::RecDescent::Subrule' )
42931 }, 'Parse::RecDescent::Production' ),
42936 'uncommit' => undef,
42942 'subrule' => 'column_name',
42944 'implicit' => undef,
42945 'argcode' => undef,
42948 }, 'Parse::RecDescent::Subrule' )
42951 }, 'Parse::RecDescent::Production' ),
42956 'uncommit' => undef,
42962 'subrule' => 'host_variable',
42964 'implicit' => undef,
42965 'argcode' => undef,
42968 }, 'Parse::RecDescent::Subrule' )
42971 }, 'Parse::RecDescent::Production' )
42973 'name' => 'ld_type',
42976 }, 'Parse::RecDescent::Rule' ),
42977 'RIGHT' => bless( {
42987 'uncommit' => undef,
42993 'pattern' => 'right',
42994 'hashname' => '__PATTERN1__',
42995 'description' => '/right/i',
43001 }, 'Parse::RecDescent::Token' )
43004 }, 'Parse::RecDescent::Production' )
43009 }, 'Parse::RecDescent::Rule' ),
43010 '_alternation_1_of_production_1_of_rule_method_invocation' => bless( {
43022 'uncommit' => undef,
43029 'hashname' => '__STRING1__',
43030 'description' => '\'(\'',
43033 }, 'Parse::RecDescent::Literal' ),
43035 'subrule' => 'expression',
43036 'expected' => undef,
43038 'argcode' => undef,
43039 'max' => 100000000,
43044 }, 'Parse::RecDescent::Repetition' ),
43047 'hashname' => '__STRING2__',
43048 'description' => '\')\'',
43051 }, 'Parse::RecDescent::Literal' )
43054 }, 'Parse::RecDescent::Production' )
43056 'name' => '_alternation_1_of_production_1_of_rule_method_invocation',
43059 }, 'Parse::RecDescent::Rule' ),
43070 'uncommit' => undef,
43076 'pattern' => 'left',
43077 'hashname' => '__PATTERN1__',
43078 'description' => '/left/i',
43084 }, 'Parse::RecDescent::Token' )
43087 }, 'Parse::RecDescent::Production' )
43092 }, 'Parse::RecDescent::Rule' ),
43093 'table_name' => bless( {
43106 'uncommit' => undef,
43112 'subrule' => 'SCHEMA',
43114 'implicit' => undef,
43115 'argcode' => undef,
43118 }, 'Parse::RecDescent::Subrule' ),
43121 'hashname' => '__STRING1__',
43122 'description' => '\'.\'',
43125 }, 'Parse::RecDescent::Literal' ),
43127 'subrule' => 'NAME',
43129 'implicit' => undef,
43130 'argcode' => undef,
43133 }, 'Parse::RecDescent::Subrule' ),
43135 'hashname' => '__ACTION1__',
43138 'code' => '{ $return = { schema => $item[1], name => $item[3] } }'
43139 }, 'Parse::RecDescent::Action' )
43142 }, 'Parse::RecDescent::Production' ),
43147 'uncommit' => undef,
43153 'subrule' => 'NAME',
43155 'implicit' => undef,
43156 'argcode' => undef,
43159 }, 'Parse::RecDescent::Subrule' ),
43161 'hashname' => '__ACTION1__',
43164 'code' => '{ $return = { name => $item[1] } }'
43165 }, 'Parse::RecDescent::Action' )
43168 }, 'Parse::RecDescent::Production' )
43170 'name' => 'table_name',
43173 }, 'Parse::RecDescent::Rule' ),
43174 '_alternation_1_of_production_53_of_rule_sysfun' => bless( {
43184 'uncommit' => undef,
43190 'pattern' => 'TRUNCATE',
43191 'hashname' => '__PATTERN1__',
43192 'description' => '/TRUNCATE/i',
43198 }, 'Parse::RecDescent::Token' )
43201 }, 'Parse::RecDescent::Production' ),
43206 'uncommit' => undef,
43212 'pattern' => 'TRUNC',
43213 'hashname' => '__PATTERN1__',
43214 'description' => '/TRUNC/i',
43220 }, 'Parse::RecDescent::Token' )
43223 }, 'Parse::RecDescent::Production' )
43225 'name' => '_alternation_1_of_production_53_of_rule_sysfun',
43228 }, 'Parse::RecDescent::Rule' ),
43229 'options' => bless( {
43232 '_alternation_1_of_production_1_of_rule_options'
43241 'uncommit' => undef,
43247 'pattern' => 'WITH',
43248 'hashname' => '__PATTERN1__',
43249 'description' => '/WITH/i',
43255 }, 'Parse::RecDescent::Token' ),
43257 'subrule' => '_alternation_1_of_production_1_of_rule_options',
43259 'implicit' => '/CASCADED/i, or /LOCAL/i',
43260 'argcode' => undef,
43263 }, 'Parse::RecDescent::Subrule' ),
43265 'pattern' => 'CHECK\\s+OPTION',
43266 'hashname' => '__PATTERN2__',
43267 'description' => '/CHECK\\\\s+OPTION/i',
43273 }, 'Parse::RecDescent::Token' )
43276 }, 'Parse::RecDescent::Production' )
43278 'name' => 'options',
43281 }, 'Parse::RecDescent::Rule' ),
43282 'function' => bless( {
43285 '_alternation_1_of_production_1_of_rule_function',
43295 'uncommit' => undef,
43302 'subrule' => '_alternation_1_of_production_1_of_rule_function',
43304 'implicit' => '/SYSIBM\\\\.|/i, or /SYSFUN\\\\.|/i, or userdefined_function',
43305 'argcode' => undef,
43308 }, 'Parse::RecDescent::Subrule' ),
43311 'hashname' => '__STRING1__',
43312 'description' => '\'(\'',
43315 }, 'Parse::RecDescent::Literal' ),
43317 'expected' => '<leftop: func_args /,/ func_args>',
43319 'name' => '\'func_args(s)\'',
43320 'max' => 100000000,
43321 'leftarg' => bless( {
43322 'subrule' => 'func_args',
43324 'implicit' => undef,
43325 'argcode' => undef,
43328 }, 'Parse::RecDescent::Subrule' ),
43329 'rightarg' => bless( {
43330 'subrule' => 'func_args',
43332 'implicit' => undef,
43333 'argcode' => undef,
43336 }, 'Parse::RecDescent::Subrule' ),
43337 'hashname' => '__DIRECTIVE1__',
43338 'type' => 'leftop',
43341 'hashname' => '__PATTERN1__',
43342 'description' => '/,/',
43348 }, 'Parse::RecDescent::Token' )
43349 }, 'Parse::RecDescent::Operator' ),
43352 'hashname' => '__STRING2__',
43353 'description' => '\')\'',
43356 }, 'Parse::RecDescent::Literal' )
43359 }, 'Parse::RecDescent::Production' )
43361 'name' => 'function',
43364 }, 'Parse::RecDescent::Rule' ),
43365 '_alternation_1_of_production_41_of_rule_sysibm_function' => bless( {
43375 'uncommit' => undef,
43381 'pattern' => 'INTEGER',
43382 'hashname' => '__PATTERN1__',
43383 'description' => '/INTEGER/i',
43389 }, 'Parse::RecDescent::Token' )
43392 }, 'Parse::RecDescent::Production' ),
43397 'uncommit' => undef,
43403 'pattern' => 'INT',
43404 'hashname' => '__PATTERN1__',
43405 'description' => '/INT/',
43411 }, 'Parse::RecDescent::Token' )
43414 }, 'Parse::RecDescent::Production' )
43416 'name' => '_alternation_1_of_production_41_of_rule_sysibm_function',
43419 }, 'Parse::RecDescent::Rule' ),
43420 '_alternation_1_of_production_1_of_rule_case_expression' => bless( {
43423 'searched_when_clause',
43424 'simple_when_clause'
43433 'uncommit' => undef,
43439 'subrule' => 'searched_when_clause',
43441 'implicit' => undef,
43442 'argcode' => undef,
43445 }, 'Parse::RecDescent::Subrule' )
43448 }, 'Parse::RecDescent::Production' ),
43453 'uncommit' => undef,
43459 'subrule' => 'simple_when_clause',
43461 'implicit' => undef,
43462 'argcode' => undef,
43465 }, 'Parse::RecDescent::Subrule' )
43468 }, 'Parse::RecDescent::Production' )
43470 'name' => '_alternation_1_of_production_1_of_rule_case_expression',
43473 }, 'Parse::RecDescent::Rule' ),
43474 '_alternation_1_of_production_1_of_rule_window_order_clause' => bless( {
43477 'sort_key_expression',
43478 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause'
43487 'uncommit' => undef,
43493 'subrule' => 'sort_key_expression',
43495 'implicit' => undef,
43496 'argcode' => undef,
43499 }, 'Parse::RecDescent::Subrule' ),
43501 'subrule' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_window_order_clause',
43502 'expected' => 'asc_option, or desc_option',
43504 'argcode' => undef,
43510 }, 'Parse::RecDescent::Repetition' )
43513 }, 'Parse::RecDescent::Production' )
43515 'name' => '_alternation_1_of_production_1_of_rule_window_order_clause',
43518 }, 'Parse::RecDescent::Rule' ),
43519 'create' => bless( {
43529 'triggered_action',
43536 'SQL_procedure_statement'
43545 'uncommit' => undef,
43551 'subrule' => 'CREATE',
43553 'implicit' => undef,
43554 'argcode' => undef,
43557 }, 'Parse::RecDescent::Subrule' ),
43559 'subrule' => 'TRIGGER',
43561 'implicit' => undef,
43562 'argcode' => undef,
43565 }, 'Parse::RecDescent::Subrule' ),
43567 'subrule' => 'trigger_name',
43569 'implicit' => undef,
43570 'argcode' => undef,
43573 }, 'Parse::RecDescent::Subrule' ),
43575 'subrule' => 'before',
43577 'implicit' => undef,
43578 'argcode' => undef,
43581 }, 'Parse::RecDescent::Subrule' ),
43583 'subrule' => 'type',
43585 'implicit' => undef,
43586 'argcode' => undef,
43589 }, 'Parse::RecDescent::Subrule' ),
43592 'hashname' => '__PATTERN1__',
43593 'description' => '/ON/i',
43599 }, 'Parse::RecDescent::Token' ),
43601 'subrule' => 'table_name',
43603 'implicit' => undef,
43604 'argcode' => undef,
43607 }, 'Parse::RecDescent::Subrule' ),
43609 'subrule' => 'reference_b',
43610 'expected' => undef,
43612 'argcode' => undef,
43618 }, 'Parse::RecDescent::Repetition' ),
43620 'pattern' => 'FOR EACH ROW',
43621 'hashname' => '__PATTERN2__',
43622 'description' => '/FOR EACH ROW/i',
43628 }, 'Parse::RecDescent::Token' ),
43630 'pattern' => 'MODE DB2SQL',
43631 'hashname' => '__STRING1__',
43632 'description' => '\'MODE DB2SQL\'',
43635 }, 'Parse::RecDescent::Literal' ),
43637 'subrule' => 'triggered_action',
43639 'implicit' => undef,
43640 'argcode' => undef,
43643 }, 'Parse::RecDescent::Subrule' ),
43645 'hashname' => '__ACTION1__',
43649 my $table_name = $item{\'table_name\'}{\'name\'};
43651 table => $table_name,
43652 schema => $item{\'trigger_name\'}{\'schema\'},
43653 name => $item{\'trigger_name\'}{\'name\'},
43654 when => \'before\',
43655 db_event => $item{\'type\'}->{\'event\'},
43656 fields => $item{\'type\'}{\'fields\'},
43657 condition => $item{\'triggered_action\'}{\'condition\'},
43658 reference => $item{\'reference_b\'},
43659 granularity => $item[9],
43660 action => $item{\'triggered_action\'}{\'statement\'}
43663 push @triggers, $return;
43665 }, 'Parse::RecDescent::Action' )
43668 }, 'Parse::RecDescent::Production' ),
43673 'uncommit' => undef,
43679 'subrule' => 'CREATE',
43681 'implicit' => undef,
43682 'argcode' => undef,
43685 }, 'Parse::RecDescent::Subrule' ),
43687 'subrule' => 'TRIGGER',
43689 'implicit' => undef,
43690 'argcode' => undef,
43693 }, 'Parse::RecDescent::Subrule' ),
43695 'subrule' => 'trigger_name',
43697 'implicit' => undef,
43698 'argcode' => undef,
43701 }, 'Parse::RecDescent::Subrule' ),
43703 'subrule' => 'after',
43705 'implicit' => undef,
43706 'argcode' => undef,
43709 }, 'Parse::RecDescent::Subrule' ),
43711 'subrule' => 'type',
43713 'implicit' => undef,
43714 'argcode' => undef,
43717 }, 'Parse::RecDescent::Subrule' ),
43720 'hashname' => '__PATTERN1__',
43721 'description' => '/ON/i',
43727 }, 'Parse::RecDescent::Token' ),
43729 'subrule' => 'table_name',
43731 'implicit' => undef,
43732 'argcode' => undef,
43735 }, 'Parse::RecDescent::Subrule' ),
43737 'subrule' => 'reference_a',
43738 'expected' => undef,
43740 'argcode' => undef,
43746 }, 'Parse::RecDescent::Repetition' ),
43748 'pattern' => 'FOR EACH ROW|FOR EACH STATEMENT',
43749 'hashname' => '__PATTERN2__',
43750 'description' => '/FOR EACH ROW|FOR EACH STATEMENT/i',
43756 }, 'Parse::RecDescent::Token' ),
43758 'pattern' => 'MODE DB2SQL',
43759 'hashname' => '__STRING1__',
43760 'description' => '\'MODE DB2SQL\'',
43763 }, 'Parse::RecDescent::Literal' ),
43765 'subrule' => 'triggered_action',
43767 'implicit' => undef,
43768 'argcode' => undef,
43771 }, 'Parse::RecDescent::Subrule' ),
43773 'hashname' => '__ACTION1__',
43777 my $table_name = $item{\'table_name\'}{\'name\'};
43779 table => $table_name,
43780 schema => $item{\'trigger_name\'}{\'schema\'},
43781 name => $item{\'trigger_name\'}{\'name\'},
43783 db_event => $item{\'type\'}{\'event\'},
43784 fields => $item{\'type\'}{\'fields\'},
43785 condition => $item{\'triggered_action\'}{\'condition\'},
43786 reference => $item{\'reference_a\'},
43787 granularity => $item[9],
43788 action => $item{\'triggered_action\'}{\'statement\'}
43791 push @triggers, $return;
43793 }, 'Parse::RecDescent::Action' )
43796 }, 'Parse::RecDescent::Production' ),
43801 'uncommit' => undef,
43807 'subrule' => 'CREATE',
43809 'implicit' => undef,
43810 'argcode' => undef,
43813 }, 'Parse::RecDescent::Subrule' ),
43815 'pattern' => 'FEDERATED|',
43816 'hashname' => '__PATTERN1__',
43817 'description' => '/FEDERATED|/i',
43823 }, 'Parse::RecDescent::Token' ),
43825 'subrule' => 'VIEW',
43827 'implicit' => undef,
43828 'argcode' => undef,
43831 }, 'Parse::RecDescent::Subrule' ),
43833 'subrule' => 'view_name',
43835 'implicit' => undef,
43836 'argcode' => undef,
43839 }, 'Parse::RecDescent::Subrule' ),
43841 'subrule' => 'column_list',
43842 'expected' => undef,
43844 'argcode' => undef,
43850 }, 'Parse::RecDescent::Repetition' ),
43853 'hashname' => '__PATTERN2__',
43854 'description' => '/AS/i',
43860 }, 'Parse::RecDescent::Token' ),
43862 'subrule' => 'with_expression',
43863 'expected' => undef,
43865 'argcode' => undef,
43871 }, 'Parse::RecDescent::Repetition' ),
43873 'subrule' => 'SQL_procedure_statement',
43875 'implicit' => undef,
43876 'argcode' => undef,
43879 }, 'Parse::RecDescent::Subrule' ),
43881 'hashname' => '__ACTION1__',
43886 name => $item{view_name}{name},
43887 sql => $item{SQL_procedure_statement},
43888 with => $item{\'with_expression(?)\'},
43889 fields => $item{\'column_list(?)\'}
43891 push @views, $return;
43893 }, 'Parse::RecDescent::Action' )
43896 }, 'Parse::RecDescent::Production' )
43898 'name' => 'create',
43901 }, 'Parse::RecDescent::Rule' ),
43902 'sysfun' => bless( {
43905 '_alternation_1_of_production_1_of_rule_sysfun',
43906 '_alternation_1_of_production_7_of_rule_sysfun',
43908 '_alternation_1_of_production_53_of_rule_sysfun'
43917 'uncommit' => undef,
43923 'subrule' => '_alternation_1_of_production_1_of_rule_sysfun',
43925 'implicit' => '/ABS/i, or /ABSVAL/i',
43926 'argcode' => undef,
43929 }, 'Parse::RecDescent::Subrule' )
43932 }, 'Parse::RecDescent::Production' ),
43937 'uncommit' => undef,
43943 'pattern' => 'ACOS',
43944 'hashname' => '__PATTERN1__',
43945 'description' => '/ACOS/i',
43951 }, 'Parse::RecDescent::Token' )
43954 }, 'Parse::RecDescent::Production' ),
43959 'uncommit' => undef,
43965 'pattern' => 'ASCII',
43966 'hashname' => '__PATTERN1__',
43967 'description' => '/ASCII/i',
43973 }, 'Parse::RecDescent::Token' )
43976 }, 'Parse::RecDescent::Production' ),
43981 'uncommit' => undef,
43987 'pattern' => 'ASIN',
43988 'hashname' => '__PATTERN1__',
43989 'description' => '/ASIN/i',
43995 }, 'Parse::RecDescent::Token' )
43998 }, 'Parse::RecDescent::Production' ),
44003 'uncommit' => undef,
44009 'pattern' => 'ATAN',
44010 'hashname' => '__PATTERN1__',
44011 'description' => '/ATAN/i',
44017 }, 'Parse::RecDescent::Token' )
44020 }, 'Parse::RecDescent::Production' ),
44025 'uncommit' => undef,
44031 'pattern' => 'ATAN2',
44032 'hashname' => '__PATTERN1__',
44033 'description' => '/ATAN2/i',
44039 }, 'Parse::RecDescent::Token' )
44042 }, 'Parse::RecDescent::Production' ),
44047 'uncommit' => undef,
44053 'subrule' => '_alternation_1_of_production_7_of_rule_sysfun',
44055 'implicit' => '/CEIL/i, or /CEILING/i',
44056 'argcode' => undef,
44059 }, 'Parse::RecDescent::Subrule' )
44062 }, 'Parse::RecDescent::Production' ),
44067 'uncommit' => undef,
44073 'pattern' => 'CHAR',
44074 'hashname' => '__PATTERN1__',
44075 'description' => '/CHAR/i',
44081 }, 'Parse::RecDescent::Token' )
44084 }, 'Parse::RecDescent::Production' ),
44089 'uncommit' => undef,
44095 'pattern' => 'CHR',
44096 'hashname' => '__PATTERN1__',
44097 'description' => '/CHR/i',
44103 }, 'Parse::RecDescent::Token' )
44106 }, 'Parse::RecDescent::Production' ),
44111 'uncommit' => undef,
44117 'pattern' => 'COS',
44118 'hashname' => '__PATTERN1__',
44119 'description' => '/COS/i',
44125 }, 'Parse::RecDescent::Token' )
44128 }, 'Parse::RecDescent::Production' ),
44133 'uncommit' => undef,
44139 'pattern' => 'COT',
44140 'hashname' => '__PATTERN1__',
44141 'description' => '/COT/i',
44147 }, 'Parse::RecDescent::Token' )
44150 }, 'Parse::RecDescent::Production' ),
44155 'uncommit' => undef,
44161 'pattern' => 'DAYNAME',
44162 'hashname' => '__PATTERN1__',
44163 'description' => '/DAYNAME/i',
44169 }, 'Parse::RecDescent::Token' )
44172 }, 'Parse::RecDescent::Production' ),
44177 'uncommit' => undef,
44183 'pattern' => 'DAYOFWEEK',
44184 'hashname' => '__PATTERN1__',
44185 'description' => '/DAYOFWEEK/i',
44191 }, 'Parse::RecDescent::Token' )
44194 }, 'Parse::RecDescent::Production' ),
44199 'uncommit' => undef,
44205 'pattern' => 'DAYOFWEEK_ISO',
44206 'hashname' => '__PATTERN1__',
44207 'description' => '/DAYOFWEEK_ISO/i',
44213 }, 'Parse::RecDescent::Token' )
44216 }, 'Parse::RecDescent::Production' ),
44221 'uncommit' => undef,
44227 'pattern' => 'DAYOFYEAR',
44228 'hashname' => '__PATTERN1__',
44229 'description' => '/DAYOFYEAR/i',
44235 }, 'Parse::RecDescent::Token' )
44238 }, 'Parse::RecDescent::Production' ),
44243 'uncommit' => undef,
44249 'pattern' => 'DEGREES',
44250 'hashname' => '__PATTERN1__',
44251 'description' => '/DEGREES/i',
44257 }, 'Parse::RecDescent::Token' )
44260 }, 'Parse::RecDescent::Production' ),
44265 'uncommit' => undef,
44271 'pattern' => 'DIFFERENCE',
44272 'hashname' => '__PATTERN1__',
44273 'description' => '/DIFFERENCE/i',
44279 }, 'Parse::RecDescent::Token' )
44282 }, 'Parse::RecDescent::Production' ),
44287 'uncommit' => undef,
44293 'pattern' => 'DOUBLE',
44294 'hashname' => '__PATTERN1__',
44295 'description' => '/DOUBLE/i',
44301 }, 'Parse::RecDescent::Token' )
44304 }, 'Parse::RecDescent::Production' ),
44309 'uncommit' => undef,
44315 'pattern' => 'EXP',
44316 'hashname' => '__PATTERN1__',
44317 'description' => '/EXP/i',
44323 }, 'Parse::RecDescent::Token' )
44326 }, 'Parse::RecDescent::Production' ),
44331 'uncommit' => undef,
44337 'pattern' => 'FLOOR',
44338 'hashname' => '__PATTERN1__',
44339 'description' => '/FLOOR/i',
44345 }, 'Parse::RecDescent::Token' )
44348 }, 'Parse::RecDescent::Production' ),
44353 'uncommit' => undef,
44359 'pattern' => 'GET_ROUTINE_SAR',
44360 'hashname' => '__PATTERN1__',
44361 'description' => '/GET_ROUTINE_SAR/i',
44367 }, 'Parse::RecDescent::Token' )
44370 }, 'Parse::RecDescent::Production' ),
44375 'uncommit' => undef,
44381 'pattern' => 'INSERT',
44382 'hashname' => '__PATTERN1__',
44383 'description' => '/INSERT/i',
44389 }, 'Parse::RecDescent::Token' )
44392 }, 'Parse::RecDescent::Production' ),
44397 'uncommit' => undef,
44403 'pattern' => 'JULIAN_DAY',
44404 'hashname' => '__PATTERN1__',
44405 'description' => '/JULIAN_DAY/i',
44411 }, 'Parse::RecDescent::Token' )
44414 }, 'Parse::RecDescent::Production' ),
44419 'uncommit' => undef,
44425 'pattern' => 'LCASE',
44426 'hashname' => '__PATTERN1__',
44427 'description' => '/LCASE/i',
44433 }, 'Parse::RecDescent::Token' )
44436 }, 'Parse::RecDescent::Production' ),
44441 'uncommit' => undef,
44447 'pattern' => 'LEFT',
44448 'hashname' => '__PATTERN1__',
44449 'description' => '/LEFT/i',
44455 }, 'Parse::RecDescent::Token' )
44458 }, 'Parse::RecDescent::Production' ),
44463 'uncommit' => undef,
44470 'hashname' => '__PATTERN1__',
44471 'description' => '/LN/i',
44477 }, 'Parse::RecDescent::Token' )
44480 }, 'Parse::RecDescent::Production' ),
44485 'uncommit' => undef,
44491 'pattern' => 'LOCATE',
44492 'hashname' => '__PATTERN1__',
44493 'description' => '/LOCATE/i',
44499 }, 'Parse::RecDescent::Token' )
44502 }, 'Parse::RecDescent::Production' ),
44507 'uncommit' => undef,
44513 'pattern' => 'LOG',
44514 'hashname' => '__PATTERN1__',
44515 'description' => '/LOG/i',
44521 }, 'Parse::RecDescent::Token' )
44524 }, 'Parse::RecDescent::Production' ),
44529 'uncommit' => undef,
44535 'pattern' => 'LOG10',
44536 'hashname' => '__PATTERN1__',
44537 'description' => '/LOG10/i',
44543 }, 'Parse::RecDescent::Token' )
44546 }, 'Parse::RecDescent::Production' ),
44551 'uncommit' => undef,
44557 'pattern' => 'LTRIM',
44558 'hashname' => '__PATTERN1__',
44559 'description' => '/LTRIM/i',
44565 }, 'Parse::RecDescent::Token' )
44568 }, 'Parse::RecDescent::Production' ),
44573 'uncommit' => undef,
44579 'pattern' => 'MIDNIGHT_SECONDS',
44580 'hashname' => '__PATTERN1__',
44581 'description' => '/MIDNIGHT_SECONDS/i',
44587 }, 'Parse::RecDescent::Token' )
44590 }, 'Parse::RecDescent::Production' ),
44595 'uncommit' => undef,
44601 'pattern' => 'MOD',
44602 'hashname' => '__PATTERN1__',
44603 'description' => '/MOD/i',
44609 }, 'Parse::RecDescent::Token' )
44612 }, 'Parse::RecDescent::Production' ),
44617 'uncommit' => undef,
44623 'pattern' => 'MONTHNAME',
44624 'hashname' => '__PATTERN1__',
44625 'description' => '/MONTHNAME/i',
44631 }, 'Parse::RecDescent::Token' )
44634 }, 'Parse::RecDescent::Production' ),
44639 'uncommit' => undef,
44645 'pattern' => 'POWER',
44646 'hashname' => '__PATTERN1__',
44647 'description' => '/POWER/i',
44653 }, 'Parse::RecDescent::Token' )
44656 }, 'Parse::RecDescent::Production' ),
44661 'uncommit' => undef,
44667 'pattern' => 'PUT_ROUTINE_SAR',
44668 'hashname' => '__PATTERN1__',
44669 'description' => '/PUT_ROUTINE_SAR/i',
44675 }, 'Parse::RecDescent::Token' )
44678 }, 'Parse::RecDescent::Production' ),
44683 'uncommit' => undef,
44689 'pattern' => 'QUARTER',
44690 'hashname' => '__PATTERN1__',
44691 'description' => '/QUARTER/i',
44697 }, 'Parse::RecDescent::Token' )
44700 }, 'Parse::RecDescent::Production' ),
44705 'uncommit' => undef,
44711 'pattern' => 'RADIANS',
44712 'hashname' => '__PATTERN1__',
44713 'description' => '/RADIANS/i',
44719 }, 'Parse::RecDescent::Token' )
44722 }, 'Parse::RecDescent::Production' ),
44727 'uncommit' => undef,
44733 'pattern' => 'RAND',
44734 'hashname' => '__PATTERN1__',
44735 'description' => '/RAND/i',
44741 }, 'Parse::RecDescent::Token' )
44744 }, 'Parse::RecDescent::Production' ),
44749 'uncommit' => undef,
44755 'pattern' => 'REPEAT',
44756 'hashname' => '__PATTERN1__',
44757 'description' => '/REPEAT/i',
44763 }, 'Parse::RecDescent::Token' )
44766 }, 'Parse::RecDescent::Production' ),
44771 'uncommit' => undef,
44777 'pattern' => 'REPLACE',
44778 'hashname' => '__PATTERN1__',
44779 'description' => '/REPLACE/i',
44785 }, 'Parse::RecDescent::Token' )
44788 }, 'Parse::RecDescent::Production' ),
44793 'uncommit' => undef,
44799 'pattern' => 'RIGHT',
44800 'hashname' => '__PATTERN1__',
44801 'description' => '/RIGHT/i',
44807 }, 'Parse::RecDescent::Token' )
44810 }, 'Parse::RecDescent::Production' ),
44815 'uncommit' => undef,
44821 'pattern' => 'ROUND',
44822 'hashname' => '__PATTERN1__',
44823 'description' => '/ROUND/i',
44829 }, 'Parse::RecDescent::Token' )
44832 }, 'Parse::RecDescent::Production' ),
44837 'uncommit' => undef,
44843 'pattern' => 'RTRIM',
44844 'hashname' => '__PATTERN1__',
44845 'description' => '/RTRIM/',
44851 }, 'Parse::RecDescent::Token' ),
44855 'implicit' => undef,
44856 'argcode' => undef,
44859 }, 'Parse::RecDescent::Subrule' )
44862 }, 'Parse::RecDescent::Production' ),
44867 'uncommit' => undef,
44873 'pattern' => 'SIGN',
44874 'hashname' => '__PATTERN1__',
44875 'description' => '/SIGN/i',
44881 }, 'Parse::RecDescent::Token' )
44884 }, 'Parse::RecDescent::Production' ),
44889 'uncommit' => undef,
44895 'pattern' => 'SIN',
44896 'hashname' => '__PATTERN1__',
44897 'description' => '/SIN/i',
44903 }, 'Parse::RecDescent::Token' )
44906 }, 'Parse::RecDescent::Production' ),
44911 'uncommit' => undef,
44917 'pattern' => 'SOUNDEX',
44918 'hashname' => '__PATTERN1__',
44919 'description' => '/SOUNDEX/i',
44925 }, 'Parse::RecDescent::Token' )
44928 }, 'Parse::RecDescent::Production' ),
44933 'uncommit' => undef,
44939 'pattern' => 'SPACE',
44940 'hashname' => '__PATTERN1__',
44941 'description' => '/SPACE/i',
44947 }, 'Parse::RecDescent::Token' )
44950 }, 'Parse::RecDescent::Production' ),
44955 'uncommit' => undef,
44961 'pattern' => 'SQLCACHE_SNAPSHOT',
44962 'hashname' => '__PATTERN1__',
44963 'description' => '/SQLCACHE_SNAPSHOT/i',
44969 }, 'Parse::RecDescent::Token' )
44972 }, 'Parse::RecDescent::Production' ),
44977 'uncommit' => undef,
44983 'pattern' => 'SQRT',
44984 'hashname' => '__PATTERN1__',
44985 'description' => '/SQRT/i',
44991 }, 'Parse::RecDescent::Token' )
44994 }, 'Parse::RecDescent::Production' ),
44999 'uncommit' => undef,
45005 'pattern' => 'TAN',
45006 'hashname' => '__PATTERN1__',
45007 'description' => '/TAN/i',
45013 }, 'Parse::RecDescent::Token' )
45016 }, 'Parse::RecDescent::Production' ),
45021 'uncommit' => undef,
45027 'pattern' => 'TIMESTAMP_ISO',
45028 'hashname' => '__PATTERN1__',
45029 'description' => '/TIMESTAMP_ISO/i',
45035 }, 'Parse::RecDescent::Token' )
45038 }, 'Parse::RecDescent::Production' ),
45043 'uncommit' => undef,
45049 'pattern' => 'TIMESTAMPDIFF',
45050 'hashname' => '__PATTERN1__',
45051 'description' => '/TIMESTAMPDIFF/i',
45057 }, 'Parse::RecDescent::Token' )
45060 }, 'Parse::RecDescent::Production' ),
45065 'uncommit' => undef,
45071 'subrule' => '_alternation_1_of_production_53_of_rule_sysfun',
45073 'implicit' => '/TRUNCATE/i, or /TRUNC/i',
45074 'argcode' => undef,
45077 }, 'Parse::RecDescent::Subrule' )
45080 }, 'Parse::RecDescent::Production' ),
45085 'uncommit' => undef,
45091 'pattern' => 'UCASE',
45092 'hashname' => '__PATTERN1__',
45093 'description' => '/UCASE/i',
45099 }, 'Parse::RecDescent::Token' )
45102 }, 'Parse::RecDescent::Production' ),
45107 'uncommit' => undef,
45113 'pattern' => 'WEEK',
45114 'hashname' => '__PATTERN1__',
45115 'description' => '/WEEK/i',
45121 }, 'Parse::RecDescent::Token' )
45124 }, 'Parse::RecDescent::Production' ),
45129 'uncommit' => undef,
45135 'pattern' => 'WEEK_ISO',
45136 'hashname' => '__PATTERN1__',
45137 'description' => '/WEEK_ISO/i',
45143 }, 'Parse::RecDescent::Token' )
45146 }, 'Parse::RecDescent::Production' )
45148 'name' => 'sysfun',
45151 }, 'Parse::RecDescent::Rule' ),
45152 '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond' => bless( {
45164 'uncommit' => undef,
45170 'pattern' => 'SELECTIVITY',
45171 'hashname' => '__PATTERN1__',
45172 'description' => '/SELECTIVITY/i',
45178 }, 'Parse::RecDescent::Token' ),
45180 'subrule' => 'numeric_constant',
45182 'implicit' => undef,
45183 'argcode' => undef,
45186 }, 'Parse::RecDescent::Subrule' )
45189 }, 'Parse::RecDescent::Production' )
45191 'name' => '_alternation_1_of_production_1_of_rule__alternation_2_of_production_1_of_rule_cond',
45194 }, 'Parse::RecDescent::Rule' ),
45205 'uncommit' => undef,
45211 'pattern' => '\\w+',
45212 'hashname' => '__PATTERN1__',
45213 'description' => '/\\\\w+/',
45219 }, 'Parse::RecDescent::Token' )
45222 }, 'Parse::RecDescent::Production' ),
45227 'uncommit' => undef,
45233 'pattern' => '\\w{1,18}',
45234 'hashname' => '__PATTERN1__',
45235 'description' => '/\\\\w\\{1,18\\}/',
45241 }, 'Parse::RecDescent::Token' )
45244 }, 'Parse::RecDescent::Production' )
45249 }, 'Parse::RecDescent::Rule' ),
45250 'constant' => bless( {
45267 'uncommit' => undef,
45273 'subrule' => 'int_const',
45275 'implicit' => undef,
45276 'argcode' => undef,
45279 }, 'Parse::RecDescent::Subrule' )
45282 }, 'Parse::RecDescent::Production' ),
45287 'uncommit' => undef,
45293 'subrule' => 'float_const',
45295 'implicit' => undef,
45296 'argcode' => undef,
45299 }, 'Parse::RecDescent::Subrule' )
45302 }, 'Parse::RecDescent::Production' ),
45307 'uncommit' => undef,
45313 'subrule' => 'dec_const',
45315 'implicit' => undef,
45316 'argcode' => undef,
45319 }, 'Parse::RecDescent::Subrule' )
45322 }, 'Parse::RecDescent::Production' ),
45327 'uncommit' => undef,
45333 'subrule' => 'char_const',
45335 'implicit' => undef,
45336 'argcode' => undef,
45339 }, 'Parse::RecDescent::Subrule' )
45342 }, 'Parse::RecDescent::Production' ),
45347 'uncommit' => undef,
45353 'subrule' => 'hex_const',
45355 'implicit' => undef,
45356 'argcode' => undef,
45359 }, 'Parse::RecDescent::Subrule' )
45362 }, 'Parse::RecDescent::Production' ),
45367 'uncommit' => undef,
45373 'subrule' => 'grastr_const',
45375 'implicit' => undef,
45376 'argcode' => undef,
45379 }, 'Parse::RecDescent::Subrule' )
45382 }, 'Parse::RecDescent::Production' )
45384 'name' => 'constant',
45387 }, 'Parse::RecDescent::Rule' ),
45388 '_alternation_1_of_production_1_of_rule_ranking_function' => bless( {
45398 'uncommit' => undef,
45404 'pattern' => 'RANK',
45405 'hashname' => '__PATTERN1__',
45406 'description' => '/RANK/',
45412 }, 'Parse::RecDescent::Token' ),
45415 'hashname' => '__STRING1__',
45416 'description' => '\'()\'',
45419 }, 'Parse::RecDescent::Literal' )
45422 }, 'Parse::RecDescent::Production' ),
45427 'uncommit' => undef,
45433 'pattern' => 'DENSE_RANK|DENSERANK',
45434 'hashname' => '__PATTERN1__',
45435 'description' => '/DENSE_RANK|DENSERANK/i',
45441 }, 'Parse::RecDescent::Token' ),
45444 'hashname' => '__STRING1__',
45445 'description' => '\'()\'',
45448 }, 'Parse::RecDescent::Literal' )
45451 }, 'Parse::RecDescent::Production' )
45453 'name' => '_alternation_1_of_production_1_of_rule_ranking_function',
45456 }, 'Parse::RecDescent::Rule' ),
45457 'window_aggregation_group_clause' => bless( {
45460 '_alternation_1_of_production_1_of_rule_window_aggregation_group_clause',
45461 '_alternation_2_of_production_1_of_rule_window_aggregation_group_clause'
45470 'uncommit' => undef,
45476 'subrule' => '_alternation_1_of_production_1_of_rule_window_aggregation_group_clause',
45478 'implicit' => '/ROWS/i, or /RANGE/i',
45479 'argcode' => undef,
45482 }, 'Parse::RecDescent::Subrule' ),
45484 'subrule' => '_alternation_2_of_production_1_of_rule_window_aggregation_group_clause',
45486 'implicit' => 'group_start, or group_between, or group_end',
45487 'argcode' => undef,
45490 }, 'Parse::RecDescent::Subrule' )
45493 }, 'Parse::RecDescent::Production' )
45495 'name' => 'window_aggregation_group_clause',
45498 }, 'Parse::RecDescent::Rule' ),
45499 '_alternation_2_of_production_1_of_rule_window_aggregation_group_clause' => bless( {
45513 'uncommit' => undef,
45519 'subrule' => 'group_start',
45521 'implicit' => undef,
45522 'argcode' => undef,
45525 }, 'Parse::RecDescent::Subrule' )
45528 }, 'Parse::RecDescent::Production' ),
45533 'uncommit' => undef,
45539 'subrule' => 'group_between',
45541 'implicit' => undef,
45542 'argcode' => undef,
45545 }, 'Parse::RecDescent::Subrule' )
45548 }, 'Parse::RecDescent::Production' ),
45553 'uncommit' => undef,
45559 'subrule' => 'group_end',
45561 'implicit' => undef,
45562 'argcode' => undef,
45565 }, 'Parse::RecDescent::Subrule' )
45568 }, 'Parse::RecDescent::Production' )
45570 'name' => '_alternation_2_of_production_1_of_rule_window_aggregation_group_clause',
45573 }, 'Parse::RecDescent::Rule' ),
45584 'uncommit' => undef,
45590 'pattern' => 'view',
45591 'hashname' => '__PATTERN1__',
45592 'description' => '/view/i',
45598 }, 'Parse::RecDescent::Token' )
45601 }, 'Parse::RecDescent::Production' )
45606 }, 'Parse::RecDescent::Rule' ),
45607 'with_expression' => bless( {
45610 'common_table_expression'
45619 'uncommit' => undef,
45626 'pattern' => 'WITH',
45627 'hashname' => '__PATTERN1__',
45628 'description' => '/WITH/i',
45634 }, 'Parse::RecDescent::Token' ),
45636 'expected' => '<leftop: common_table_expression /,/ common_table_expression>',
45638 'name' => '\'common_table_expression(s)\'',
45639 'max' => 100000000,
45640 'leftarg' => bless( {
45641 'subrule' => 'common_table_expression',
45643 'implicit' => undef,
45644 'argcode' => undef,
45647 }, 'Parse::RecDescent::Subrule' ),
45648 'rightarg' => bless( {
45649 'subrule' => 'common_table_expression',
45651 'implicit' => undef,
45652 'argcode' => undef,
45655 }, 'Parse::RecDescent::Subrule' ),
45656 'hashname' => '__DIRECTIVE1__',
45657 'type' => 'leftop',
45660 'hashname' => '__PATTERN2__',
45661 'description' => '/,/',
45667 }, 'Parse::RecDescent::Token' )
45668 }, 'Parse::RecDescent::Operator' ),
45670 'hashname' => '__ACTION1__',
45674 $return = $item{\'common_table_expression\'};
45676 }, 'Parse::RecDescent::Action' )
45679 }, 'Parse::RecDescent::Production' )
45681 'name' => 'with_expression',
45684 }, 'Parse::RecDescent::Rule' ),
45685 'numeric_constant' => bless( {
45695 'uncommit' => undef,
45701 'pattern' => '\\d+',
45702 'hashname' => '__PATTERN1__',
45703 'description' => '/\\\\d+/',
45709 }, 'Parse::RecDescent::Token' )
45712 }, 'Parse::RecDescent::Production' )
45714 'name' => 'numeric_constant',
45717 }, 'Parse::RecDescent::Rule' ),
45718 'old_new_table' => bless( {
45730 'uncommit' => undef,
45736 'pattern' => 'OLD_TABLE',
45737 'hashname' => '__PATTERN1__',
45738 'description' => '/OLD_TABLE/i',
45744 }, 'Parse::RecDescent::Token' ),
45746 'pattern' => '(AS)?',
45747 'hashname' => '__PATTERN2__',
45748 'description' => '/(AS)?/i',
45754 }, 'Parse::RecDescent::Token' ),
45756 'subrule' => 'identifier',
45758 'implicit' => undef,
45759 'argcode' => undef,
45762 }, 'Parse::RecDescent::Subrule' ),
45764 'hashname' => '__ACTION1__',
45767 'code' => '{ $return = join(\' \', @item[1..3] ) }'
45768 }, 'Parse::RecDescent::Action' )
45771 }, 'Parse::RecDescent::Production' ),
45776 'uncommit' => undef,
45782 'pattern' => 'NEW_TABLE',
45783 'hashname' => '__PATTERN1__',
45784 'description' => '/NEW_TABLE/i',
45790 }, 'Parse::RecDescent::Token' ),
45792 'pattern' => '(AS)?',
45793 'hashname' => '__PATTERN2__',
45794 'description' => '/(AS)?/i',
45800 }, 'Parse::RecDescent::Token' ),
45802 'subrule' => 'identifier',
45804 'implicit' => undef,
45805 'argcode' => undef,
45808 }, 'Parse::RecDescent::Subrule' ),
45810 'hashname' => '__ACTION1__',
45813 'code' => '{ $return = join(\' \', @item[1..3] ) }'
45814 }, 'Parse::RecDescent::Action' )
45817 }, 'Parse::RecDescent::Production' )
45819 'name' => 'old_new_table',
45822 }, 'Parse::RecDescent::Rule' ),
45823 '_alternation_1_of_production_1_of_rule_numbering_function' => bless( {
45826 'window_order_clause',
45827 'window_aggregation_group_clause'
45836 'uncommit' => undef,
45842 'subrule' => 'window_order_clause',
45844 'implicit' => undef,
45845 'argcode' => undef,
45848 }, 'Parse::RecDescent::Subrule' ),
45850 'subrule' => 'window_aggregation_group_clause',
45851 'expected' => undef,
45853 'argcode' => undef,
45859 }, 'Parse::RecDescent::Repetition' )
45862 }, 'Parse::RecDescent::Production' )
45864 'name' => '_alternation_1_of_production_1_of_rule_numbering_function',
45867 }, 'Parse::RecDescent::Rule' ),
45868 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause' => bless( {
45871 'result_expression'
45880 'uncommit' => undef,
45886 'subrule' => 'result_expression',
45888 'implicit' => undef,
45889 'argcode' => undef,
45892 }, 'Parse::RecDescent::Subrule' )
45895 }, 'Parse::RecDescent::Production' ),
45900 'uncommit' => undef,
45906 'pattern' => 'NULL',
45907 'hashname' => '__PATTERN1__',
45908 'description' => '/NULL/i',
45914 }, 'Parse::RecDescent::Token' )
45917 }, 'Parse::RecDescent::Production' )
45919 'name' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_searched_when_clause',
45922 }, 'Parse::RecDescent::Rule' ),
45923 'old_new_corr' => bless( {
45935 'uncommit' => undef,
45941 'pattern' => 'OLD',
45942 'hashname' => '__PATTERN1__',
45943 'description' => '/OLD/i',
45949 }, 'Parse::RecDescent::Token' ),
45951 'pattern' => '(AS)?',
45952 'hashname' => '__PATTERN2__',
45953 'description' => '/(AS)?/i',
45959 }, 'Parse::RecDescent::Token' ),
45961 'subrule' => 'correlation_name',
45963 'implicit' => undef,
45964 'argcode' => undef,
45967 }, 'Parse::RecDescent::Subrule' ),
45969 'hashname' => '__ACTION1__',
45972 'code' => '{ $return = join(\' \', @item[1..3] ) }'
45973 }, 'Parse::RecDescent::Action' )
45976 }, 'Parse::RecDescent::Production' ),
45981 'uncommit' => undef,
45987 'pattern' => 'NEW',
45988 'hashname' => '__PATTERN1__',
45989 'description' => '/NEW/i',
45995 }, 'Parse::RecDescent::Token' ),
45997 'pattern' => '(AS)?',
45998 'hashname' => '__PATTERN2__',
45999 'description' => '/(AS)?/i',
46005 }, 'Parse::RecDescent::Token' ),
46007 'subrule' => 'correlation_name',
46009 'implicit' => undef,
46010 'argcode' => undef,
46013 }, 'Parse::RecDescent::Subrule' ),
46015 'hashname' => '__ACTION1__',
46018 'code' => '{ $return = join(\' \', @item[1..3] ) }'
46019 }, 'Parse::RecDescent::Action' )
46022 }, 'Parse::RecDescent::Production' )
46024 'name' => 'old_new_corr',
46027 }, 'Parse::RecDescent::Rule' ),
46028 '_alternation_1_of_production_42_of_rule_sysibm_function' => bless( {
46038 'uncommit' => undef,
46044 'pattern' => 'LCASE',
46045 'hashname' => '__PATTERN1__',
46046 'description' => '/LCASE/i',
46052 }, 'Parse::RecDescent::Token' )
46055 }, 'Parse::RecDescent::Production' ),
46060 'uncommit' => undef,
46066 'pattern' => 'LOWER',
46067 'hashname' => '__PATTERN1__',
46068 'description' => '/LOWER/',
46074 }, 'Parse::RecDescent::Token' )
46077 }, 'Parse::RecDescent::Production' )
46079 'name' => '_alternation_1_of_production_42_of_rule_sysibm_function',
46082 }, 'Parse::RecDescent::Rule' ),
46083 'subtype_treatment' => bless( {
46096 'uncommit' => undef,
46102 'pattern' => 'TREAT',
46103 'hashname' => '__PATTERN1__',
46104 'description' => '/TREAT/i',
46110 }, 'Parse::RecDescent::Token' ),
46113 'hashname' => '__STRING1__',
46114 'description' => '\'(\'',
46117 }, 'Parse::RecDescent::Literal' ),
46119 'subrule' => 'expression',
46121 'implicit' => undef,
46122 'argcode' => undef,
46125 }, 'Parse::RecDescent::Subrule' ),
46128 'hashname' => '__PATTERN2__',
46129 'description' => '/AS/i',
46135 }, 'Parse::RecDescent::Token' ),
46137 'subrule' => 'data_type',
46139 'implicit' => undef,
46140 'argcode' => undef,
46143 }, 'Parse::RecDescent::Subrule' ),
46146 'hashname' => '__STRING2__',
46147 'description' => '\')\'',
46150 }, 'Parse::RecDescent::Literal' )
46153 }, 'Parse::RecDescent::Production' )
46155 'name' => 'subtype_treatment',
46158 }, 'Parse::RecDescent::Rule' ),
46159 'expression' => bless( {
46162 '_alternation_1_of_production_1_of_rule_expression'
46171 'uncommit' => undef,
46178 'expected' => '<leftop: \'+\', or \'-\' /operator/ \'+\', or \'-\'>',
46180 'name' => '\'_alternation_1_of_production_1_of_rule_expression(s)\'',
46181 'max' => 100000000,
46182 'leftarg' => bless( {
46183 'subrule' => '_alternation_1_of_production_1_of_rule_expression',
46185 'implicit' => '\'+\', or \'-\'',
46186 'argcode' => undef,
46189 }, 'Parse::RecDescent::Subrule' ),
46190 'rightarg' => bless( {
46191 'subrule' => '_alternation_1_of_production_1_of_rule_expression',
46193 'implicit' => '\'+\', or \'-\'',
46194 'argcode' => undef,
46197 }, 'Parse::RecDescent::Subrule' ),
46198 'hashname' => '__DIRECTIVE1__',
46199 'type' => 'leftop',
46201 'pattern' => 'operator',
46202 'hashname' => '__PATTERN1__',
46203 'description' => '/operator/',
46209 }, 'Parse::RecDescent::Token' )
46210 }, 'Parse::RecDescent::Operator' )
46213 }, 'Parse::RecDescent::Production' )
46215 'name' => 'expression',
46218 }, 'Parse::RecDescent::Rule' ),
46219 '_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression' => bless( {
46227 'special_register',
46228 'scalar_fullselect',
46229 'labeled_duration',
46231 'cast_specification',
46233 'method_invocation',
46234 'subtype_treatment',
46235 'sequence_reference'
46244 'uncommit' => undef,
46250 'subrule' => 'function',
46252 'implicit' => undef,
46253 'argcode' => undef,
46256 }, 'Parse::RecDescent::Subrule' )
46259 }, 'Parse::RecDescent::Production' ),
46264 'uncommit' => undef,
46271 'hashname' => '__STRING1__',
46272 'description' => '\'(\'',
46275 }, 'Parse::RecDescent::Literal' ),
46277 'subrule' => 'expression',
46279 'implicit' => undef,
46280 'argcode' => undef,
46283 }, 'Parse::RecDescent::Subrule' ),
46286 'hashname' => '__STRING2__',
46287 'description' => '\')\'',
46290 }, 'Parse::RecDescent::Literal' )
46293 }, 'Parse::RecDescent::Production' ),
46298 'uncommit' => undef,
46304 'subrule' => 'constant',
46306 'implicit' => undef,
46307 'argcode' => undef,
46310 }, 'Parse::RecDescent::Subrule' )
46313 }, 'Parse::RecDescent::Production' ),
46318 'uncommit' => undef,
46324 'subrule' => 'column_name',
46326 'implicit' => undef,
46327 'argcode' => undef,
46330 }, 'Parse::RecDescent::Subrule' )
46333 }, 'Parse::RecDescent::Production' ),
46338 'uncommit' => undef,
46344 'subrule' => 'host_variable',
46346 'implicit' => undef,
46347 'argcode' => undef,
46350 }, 'Parse::RecDescent::Subrule' )
46353 }, 'Parse::RecDescent::Production' ),
46358 'uncommit' => undef,
46364 'subrule' => 'special_register',
46366 'implicit' => undef,
46367 'argcode' => undef,
46370 }, 'Parse::RecDescent::Subrule' )
46373 }, 'Parse::RecDescent::Production' ),
46378 'uncommit' => undef,
46385 'hashname' => '__STRING1__',
46386 'description' => '\'(\'',
46389 }, 'Parse::RecDescent::Literal' ),
46391 'subrule' => 'scalar_fullselect',
46393 'implicit' => undef,
46394 'argcode' => undef,
46397 }, 'Parse::RecDescent::Subrule' ),
46400 'hashname' => '__STRING2__',
46401 'description' => '\')\'',
46404 }, 'Parse::RecDescent::Literal' )
46407 }, 'Parse::RecDescent::Production' ),
46412 'uncommit' => undef,
46418 'subrule' => 'labeled_duration',
46420 'implicit' => undef,
46421 'argcode' => undef,
46424 }, 'Parse::RecDescent::Subrule' )
46427 }, 'Parse::RecDescent::Production' ),
46432 'uncommit' => undef,
46438 'subrule' => 'case_expression',
46440 'implicit' => undef,
46441 'argcode' => undef,
46444 }, 'Parse::RecDescent::Subrule' )
46447 }, 'Parse::RecDescent::Production' ),
46452 'uncommit' => undef,
46458 'subrule' => 'cast_specification',
46460 'implicit' => undef,
46461 'argcode' => undef,
46464 }, 'Parse::RecDescent::Subrule' )
46467 }, 'Parse::RecDescent::Production' ),
46472 'uncommit' => undef,
46478 'subrule' => 'OLAP_function',
46480 'implicit' => undef,
46481 'argcode' => undef,
46484 }, 'Parse::RecDescent::Subrule' )
46487 }, 'Parse::RecDescent::Production' ),
46492 'uncommit' => undef,
46498 'subrule' => 'method_invocation',
46500 'implicit' => undef,
46501 'argcode' => undef,
46504 }, 'Parse::RecDescent::Subrule' )
46507 }, 'Parse::RecDescent::Production' ),
46512 'uncommit' => undef,
46518 'subrule' => 'subtype_treatment',
46520 'implicit' => undef,
46521 'argcode' => undef,
46524 }, 'Parse::RecDescent::Subrule' )
46527 }, 'Parse::RecDescent::Production' ),
46532 'uncommit' => undef,
46538 'subrule' => 'sequence_reference',
46540 'implicit' => undef,
46541 'argcode' => undef,
46544 }, 'Parse::RecDescent::Subrule' )
46547 }, 'Parse::RecDescent::Production' )
46549 'name' => '_alternation_2_of_production_1_of_rule__alternation_1_of_production_1_of_rule_expression',
46552 }, 'Parse::RecDescent::Rule' ),
46553 'startrule' => bless( {
46566 'uncommit' => undef,
46572 'subrule' => 'statement',
46573 'expected' => undef,
46575 'argcode' => undef,
46576 'max' => 100000000,
46581 }, 'Parse::RecDescent::Repetition' ),
46583 'subrule' => 'eofile',
46585 'implicit' => undef,
46586 'argcode' => undef,
46589 }, 'Parse::RecDescent::Subrule' ),
46591 'hashname' => '__ACTION1__',
46596 tables => \\%tables,
46598 triggers => \\@triggers,
46601 }, 'Parse::RecDescent::Action' )
46604 }, 'Parse::RecDescent::Production' )
46606 'name' => 'startrule',
46609 }, 'Parse::RecDescent::Rule' ),
46610 '_alternation_1_of_production_1_of_rule_cast_specification' => bless( {
46623 'uncommit' => undef,
46629 'subrule' => 'expression',
46631 'implicit' => undef,
46632 'argcode' => undef,
46635 }, 'Parse::RecDescent::Subrule' )
46638 }, 'Parse::RecDescent::Production' ),
46643 'uncommit' => undef,
46649 'pattern' => 'NULL',
46650 'hashname' => '__PATTERN1__',
46651 'description' => '/NULL/i',
46657 }, 'Parse::RecDescent::Token' )
46660 }, 'Parse::RecDescent::Production' ),
46665 'uncommit' => undef,
46671 'subrule' => 'parameter_marker',
46673 'implicit' => undef,
46674 'argcode' => undef,
46677 }, 'Parse::RecDescent::Subrule' )
46680 }, 'Parse::RecDescent::Production' )
46682 'name' => '_alternation_1_of_production_1_of_rule_cast_specification',
46685 }, 'Parse::RecDescent::Rule' ),
46686 'before' => bless( {
46696 'uncommit' => undef,
46702 'pattern' => 'NO CASCADE BEFORE',
46703 'hashname' => '__PATTERN1__',
46704 'description' => '/NO CASCADE BEFORE/i',
46710 }, 'Parse::RecDescent::Token' )
46713 }, 'Parse::RecDescent::Production' )
46715 'name' => 'before',
46718 }, 'Parse::RecDescent::Rule' ),
46719 '_alternation_1_of_production_83_of_rule_sysibm_function' => bless( {
46729 'uncommit' => undef,
46735 'pattern' => 'UCASE',
46736 'hashname' => '__PATTERN1__',
46737 'description' => '/UCASE/i',
46743 }, 'Parse::RecDescent::Token' )
46746 }, 'Parse::RecDescent::Production' ),
46751 'uncommit' => undef,
46757 'pattern' => 'UPPER',
46758 'hashname' => '__PATTERN1__',
46759 'description' => '/UPPER/i',
46765 }, 'Parse::RecDescent::Token' )
46768 }, 'Parse::RecDescent::Production' )
46770 'name' => '_alternation_1_of_production_83_of_rule_sysibm_function',
46773 }, 'Parse::RecDescent::Rule' ),
46774 'ranking_function' => bless( {
46777 '_alternation_1_of_production_1_of_rule_ranking_function',
46778 'window_partition_clause',
46779 'window_order_clause'
46788 'uncommit' => undef,
46794 'subrule' => '_alternation_1_of_production_1_of_rule_ranking_function',
46796 'implicit' => '/RANK/, or /DENSE_RANK|DENSERANK/i',
46797 'argcode' => undef,
46800 }, 'Parse::RecDescent::Subrule' ),
46802 'pattern' => 'OVER',
46803 'hashname' => '__PATTERN1__',
46804 'description' => '/OVER/i',
46810 }, 'Parse::RecDescent::Token' ),
46813 'hashname' => '__STRING1__',
46814 'description' => '\'(\'',
46817 }, 'Parse::RecDescent::Literal' ),
46819 'subrule' => 'window_partition_clause',
46820 'expected' => undef,
46822 'argcode' => undef,
46828 }, 'Parse::RecDescent::Repetition' ),
46830 'subrule' => 'window_order_clause',
46832 'implicit' => undef,
46833 'argcode' => undef,
46836 }, 'Parse::RecDescent::Subrule' ),
46839 'hashname' => '__STRING2__',
46840 'description' => '\')\'',
46843 }, 'Parse::RecDescent::Literal' )
46846 }, 'Parse::RecDescent::Production' )
46848 'name' => 'ranking_function',
46851 }, 'Parse::RecDescent::Rule' ),
46852 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition' => bless( {
46864 'uncommit' => undef,
46870 'pattern' => 'SELECTIVITY',
46871 'hashname' => '__PATTERN1__',
46872 'description' => '/SELECTIVITY/i',
46878 }, 'Parse::RecDescent::Token' ),
46880 'subrule' => 'numeric_constant',
46882 'implicit' => undef,
46883 'argcode' => undef,
46886 }, 'Parse::RecDescent::Subrule' )
46889 }, 'Parse::RecDescent::Production' )
46891 'name' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_2_of_rule_search_condition',
46894 }, 'Parse::RecDescent::Rule' ),
46895 '_alternation_1_of_production_1_of_rule_sysibm_function' => bless( {
46905 'uncommit' => undef,
46911 'pattern' => 'ABS',
46912 'hashname' => '__PATTERN1__',
46913 'description' => '/ABS/i',
46919 }, 'Parse::RecDescent::Token' )
46922 }, 'Parse::RecDescent::Production' ),
46927 'uncommit' => undef,
46933 'pattern' => 'ABSVAL',
46934 'hashname' => '__PATTERN1__',
46935 'description' => '/ABSVAL/i',
46941 }, 'Parse::RecDescent::Token' )
46944 }, 'Parse::RecDescent::Production' )
46946 'name' => '_alternation_1_of_production_1_of_rule_sysibm_function',
46949 }, 'Parse::RecDescent::Rule' ),
46950 'reference_b' => bless( {
46962 'uncommit' => undef,
46968 'pattern' => 'REFERENCING',
46969 'hashname' => '__PATTERN1__',
46970 'description' => '/REFERENCING/i',
46976 }, 'Parse::RecDescent::Token' ),
46978 'subrule' => 'old_new_corr',
46979 'expected' => undef,
46981 'argcode' => undef,
46984 'repspec' => '0..2',
46987 }, 'Parse::RecDescent::Repetition' ),
46989 'hashname' => '__ACTION1__',
46992 'code' => '{ $return = join(\' \', $item[1], join(\' \', @{$item[2]}) ) }'
46993 }, 'Parse::RecDescent::Action' )
46996 }, 'Parse::RecDescent::Production' )
46998 'name' => 'reference_b',
47001 }, 'Parse::RecDescent::Rule' ),
47002 '_alternation_1_of_production_1_of_rule_simple_when_clause' => bless( {
47005 'search_condition',
47006 '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause'
47015 'uncommit' => undef,
47021 'pattern' => 'WHEN',
47022 'hashname' => '__PATTERN1__',
47023 'description' => '/WHEN/i',
47029 }, 'Parse::RecDescent::Token' ),
47031 'subrule' => 'search_condition',
47033 'implicit' => undef,
47034 'argcode' => undef,
47037 }, 'Parse::RecDescent::Subrule' ),
47039 'pattern' => 'THEN',
47040 'hashname' => '__PATTERN2__',
47041 'description' => '/THEN/i',
47047 }, 'Parse::RecDescent::Token' ),
47049 'subrule' => '_alternation_1_of_production_1_of_rule__alternation_1_of_production_1_of_rule_simple_when_clause',
47051 'implicit' => 'result_expression, or /NULL/i',
47052 'argcode' => undef,
47055 }, 'Parse::RecDescent::Subrule' )
47058 }, 'Parse::RecDescent::Production' )
47060 'name' => '_alternation_1_of_production_1_of_rule_simple_when_clause',
47063 }, 'Parse::RecDescent::Rule' ),
47064 '_alternation_1_of_production_9_of_rule_sysibm_function' => bless( {
47074 'uncommit' => undef,
47080 'pattern' => 'CORRELATION',
47081 'hashname' => '__PATTERN1__',
47082 'description' => '/CORRELATION/i',
47088 }, 'Parse::RecDescent::Token' )
47091 }, 'Parse::RecDescent::Production' ),
47096 'uncommit' => undef,
47102 'pattern' => 'CORR',
47103 'hashname' => '__PATTERN1__',
47104 'description' => '/CORR/',
47110 }, 'Parse::RecDescent::Token' )
47113 }, 'Parse::RecDescent::Production' )
47115 'name' => '_alternation_1_of_production_9_of_rule_sysibm_function',
47118 }, 'Parse::RecDescent::Rule' ),
47119 '_alternation_1_of_production_7_of_rule_sysfun' => bless( {
47129 'uncommit' => undef,
47135 'pattern' => 'CEIL',
47136 'hashname' => '__PATTERN1__',
47137 'description' => '/CEIL/i',
47143 }, 'Parse::RecDescent::Token' )
47146 }, 'Parse::RecDescent::Production' ),
47151 'uncommit' => undef,
47157 'pattern' => 'CEILING',
47158 'hashname' => '__PATTERN1__',
47159 'description' => '/CEILING/i',
47165 }, 'Parse::RecDescent::Token' )
47168 }, 'Parse::RecDescent::Production' )
47170 'name' => '_alternation_1_of_production_7_of_rule_sysfun',
47173 }, 'Parse::RecDescent::Rule' ),
47174 'prevval_expression' => bless( {
47186 'uncommit' => undef,
47192 'pattern' => 'PREVVAL\\s+FOR',
47193 'hashname' => '__PATTERN1__',
47194 'description' => '/PREVVAL\\\\s+FOR/i',
47200 }, 'Parse::RecDescent::Token' ),
47202 'subrule' => 'sequence_name',
47204 'implicit' => undef,
47205 'argcode' => undef,
47208 }, 'Parse::RecDescent::Subrule' )
47211 }, 'Parse::RecDescent::Production' )
47213 'name' => 'prevval_expression',
47216 }, 'Parse::RecDescent::Rule' ),
47217 'where_clause' => bless( {
47230 'uncommit' => undef,
47236 'subrule' => 'WHERE',
47238 'implicit' => undef,
47239 'argcode' => undef,
47242 }, 'Parse::RecDescent::Subrule' ),
47244 'subrule' => 'search_condition',
47246 'implicit' => undef,
47247 'argcode' => undef,
47250 }, 'Parse::RecDescent::Subrule' )
47253 }, 'Parse::RecDescent::Production' )
47255 'name' => 'where_clause',
47258 }, 'Parse::RecDescent::Rule' ),
47259 'group_start' => bless( {
47262 'unsigned_constant'
47271 'uncommit' => undef,
47277 'pattern' => 'UNBOUNDED\\s+PRECEDING',
47278 'hashname' => '__PATTERN1__',
47279 'description' => '/UNBOUNDED\\\\s+PRECEDING/i',
47285 }, 'Parse::RecDescent::Token' )
47288 }, 'Parse::RecDescent::Production' ),
47293 'uncommit' => undef,
47299 'subrule' => 'unsigned_constant',
47301 'implicit' => undef,
47302 'argcode' => undef,
47305 }, 'Parse::RecDescent::Subrule' ),
47307 'pattern' => 'PRECEDING',
47308 'hashname' => '__PATTERN1__',
47309 'description' => '/PRECEDING/i',
47315 }, 'Parse::RecDescent::Token' )
47318 }, 'Parse::RecDescent::Production' ),
47323 'uncommit' => undef,
47329 'pattern' => 'CURRENT\\s+ROW',
47330 'hashname' => '__PATTERN1__',
47331 'description' => '/CURRENT\\\\s+ROW/i',
47337 }, 'Parse::RecDescent::Token' )
47340 }, 'Parse::RecDescent::Production' )
47342 'name' => 'group_start',
47345 }, 'Parse::RecDescent::Rule' ),
47346 'correlation_name' => bless( {
47358 'uncommit' => undef,
47364 'subrule' => 'NAME',
47366 'implicit' => undef,
47367 'argcode' => undef,
47370 }, 'Parse::RecDescent::Subrule' )
47373 }, 'Parse::RecDescent::Production' )
47375 'name' => 'correlation_name',
47378 }, 'Parse::RecDescent::Rule' ),
47379 'SQL_procedure_statement' => bless( {
47389 'uncommit' => undef,
47395 'pattern' => '[^;]*',
47396 'hashname' => '__PATTERN1__',
47397 'description' => '/[^;]*/',
47403 }, 'Parse::RecDescent::Token' ),
47405 'pattern' => '(;|\\z)',
47406 'hashname' => '__PATTERN2__',
47407 'description' => '/(;|\\\\z)/',
47413 }, 'Parse::RecDescent::Token' ),
47415 'hashname' => '__ACTION1__',
47418 'code' => '{ $return = $item[1] . $item[2] }'
47419 }, 'Parse::RecDescent::Action' )
47422 }, 'Parse::RecDescent::Production' )
47424 'name' => 'SQL_procedure_statement',
47427 }, 'Parse::RecDescent::Rule' ),
47428 'group_between' => bless( {
47441 'uncommit' => undef,
47447 'pattern' => 'BETWEEN',
47448 'hashname' => '__PATTERN1__',
47449 'description' => '/BETWEEN/i',
47455 }, 'Parse::RecDescent::Token' ),
47457 'subrule' => 'group_bound1',
47459 'implicit' => undef,
47460 'argcode' => undef,
47463 }, 'Parse::RecDescent::Subrule' ),
47465 'pattern' => 'AND',
47466 'hashname' => '__PATTERN2__',
47467 'description' => '/AND/i',
47473 }, 'Parse::RecDescent::Token' ),
47475 'subrule' => 'group_bound2',
47477 'implicit' => undef,
47478 'argcode' => undef,
47481 }, 'Parse::RecDescent::Subrule' )
47484 }, 'Parse::RecDescent::Production' )
47486 'name' => 'group_between',
47489 }, 'Parse::RecDescent::Rule' ),
47490 'nextval_expression' => bless( {
47502 'uncommit' => undef,
47508 'pattern' => 'NEXTVAL\\s+FOR',
47509 'hashname' => '__PATTERN1__',
47510 'description' => '/NEXTVAL\\\\s+FOR/i',
47516 }, 'Parse::RecDescent::Token' ),
47518 'subrule' => 'sequence_name',
47520 'implicit' => undef,
47521 'argcode' => undef,
47524 }, 'Parse::RecDescent::Subrule' )
47527 }, 'Parse::RecDescent::Production' )
47529 'name' => 'nextval_expression',
47532 }, 'Parse::RecDescent::Rule' ),
47533 'desc_option' => bless( {
47536 '_alternation_1_of_production_1_of_rule_desc_option'
47545 'uncommit' => undef,
47551 'pattern' => 'DESC',
47552 'hashname' => '__PATTERN1__',
47553 'description' => '/DESC/i',
47559 }, 'Parse::RecDescent::Token' ),
47561 'subrule' => '_alternation_1_of_production_1_of_rule_desc_option',
47562 'expected' => '/NULLS\\\\s+FIRST/i, or /NULLS\\\\s+LAST/i',
47564 'argcode' => undef,
47570 }, 'Parse::RecDescent::Repetition' )
47573 }, 'Parse::RecDescent::Production' )
47575 'name' => 'desc_option',
47578 }, 'Parse::RecDescent::Rule' ),
47579 'column_list' => bless( {
47591 'uncommit' => undef,
47599 'hashname' => '__STRING1__',
47600 'description' => '\'(\'',
47603 }, 'Parse::RecDescent::Literal' ),
47605 'expected' => '<leftop: column_name /,/ column_name>',
47607 'name' => '\'column_name(s)\'',
47608 'max' => 100000000,
47609 'leftarg' => bless( {
47610 'subrule' => 'column_name',
47612 'implicit' => undef,
47613 'argcode' => undef,
47616 }, 'Parse::RecDescent::Subrule' ),
47617 'rightarg' => bless( {
47618 'subrule' => 'column_name',
47620 'implicit' => undef,
47621 'argcode' => undef,
47624 }, 'Parse::RecDescent::Subrule' ),
47625 'hashname' => '__DIRECTIVE1__',
47626 'type' => 'leftop',
47629 'hashname' => '__PATTERN1__',
47630 'description' => '/,/',
47636 }, 'Parse::RecDescent::Token' )
47637 }, 'Parse::RecDescent::Operator' ),
47640 'hashname' => '__STRING2__',
47641 'description' => '\')\'',
47644 }, 'Parse::RecDescent::Literal' ),
47646 'hashname' => '__ACTION1__',
47650 $return = join(\' \', \'(\', @{$item[2]}, \')\');
47652 }, 'Parse::RecDescent::Action' )
47655 }, 'Parse::RecDescent::Production' )
47657 'name' => 'column_list',
47660 }, 'Parse::RecDescent::Rule' ),
47661 '_alternation_1_of_production_63_of_rule_sysibm_function' => bless( {
47671 'uncommit' => undef,
47677 'pattern' => 'REGR_INTERCEPT',
47678 'hashname' => '__PATTERN1__',
47679 'description' => '/REGR_INTERCEPT/i',
47685 }, 'Parse::RecDescent::Token' )
47688 }, 'Parse::RecDescent::Production' ),
47693 'uncommit' => undef,
47699 'pattern' => 'REGR_ICPT',
47700 'hashname' => '__PATTERN1__',
47701 'description' => '/REGR_ICPT/i',
47707 }, 'Parse::RecDescent::Token' )
47710 }, 'Parse::RecDescent::Production' )
47712 'name' => '_alternation_1_of_production_63_of_rule_sysibm_function',
47715 }, 'Parse::RecDescent::Rule' ),
47716 'dereference_operation' => bless( {
47719 'scoped_reference_expression',
47721 '_alternation_1_of_production_1_of_rule_dereference_operation'
47730 'uncommit' => undef,
47736 'subrule' => 'scoped_reference_expression',
47738 'implicit' => undef,
47739 'argcode' => undef,
47742 }, 'Parse::RecDescent::Subrule' ),
47745 'hashname' => '__STRING1__',
47746 'description' => '\'->\'',
47749 }, 'Parse::RecDescent::Literal' ),
47751 'subrule' => 'name1',
47753 'implicit' => undef,
47754 'argcode' => undef,
47757 }, 'Parse::RecDescent::Subrule' ),
47759 'subrule' => '_alternation_1_of_production_1_of_rule_dereference_operation',
47760 'expected' => '\'(\'',
47762 'argcode' => undef,
47768 }, 'Parse::RecDescent::Repetition' )
47771 }, 'Parse::RecDescent::Production' )
47773 'name' => 'dereference_operation',
47776 }, 'Parse::RecDescent::Rule' ),
47777 'OUTER' => bless( {
47787 'uncommit' => undef,
47793 'pattern' => 'outer',
47794 'hashname' => '__PATTERN1__',
47795 'description' => '/outer/i',
47801 }, 'Parse::RecDescent::Token' )
47804 }, 'Parse::RecDescent::Production' )
47809 }, 'Parse::RecDescent::Rule' ),
47810 'window_order_clause' => bless( {
47813 '_alternation_1_of_production_1_of_rule_window_order_clause'
47822 'uncommit' => undef,
47829 'pattern' => 'ORDER\\s+BY',
47830 'hashname' => '__PATTERN1__',
47831 'description' => '/ORDER\\\\s+BY/i',
47837 }, 'Parse::RecDescent::Token' ),
47839 'expected' => '<leftop: sort_key_expression /,/ sort_key_expression>',
47841 'name' => '\'_alternation_1_of_production_1_of_rule_window_order_clause(s)\'',
47842 'max' => 100000000,
47843 'leftarg' => bless( {
47844 'subrule' => '_alternation_1_of_production_1_of_rule_window_order_clause',
47846 'implicit' => 'sort_key_expression',
47847 'argcode' => undef,
47850 }, 'Parse::RecDescent::Subrule' ),
47851 'rightarg' => bless( {
47852 'subrule' => '_alternation_1_of_production_1_of_rule_window_order_clause',
47854 'implicit' => 'sort_key_expression',
47855 'argcode' => undef,
47858 }, 'Parse::RecDescent::Subrule' ),
47859 'hashname' => '__DIRECTIVE1__',
47860 'type' => 'leftop',
47863 'hashname' => '__PATTERN2__',
47864 'description' => '/,/',
47870 }, 'Parse::RecDescent::Token' )
47871 }, 'Parse::RecDescent::Operator' )
47874 }, 'Parse::RecDescent::Production' )
47876 'name' => 'window_order_clause',
47879 }, 'Parse::RecDescent::Rule' ),
47880 'TRIGGER' => bless( {
47890 'uncommit' => undef,
47896 'pattern' => 'trigger',
47897 'hashname' => '__PATTERN1__',
47898 'description' => '/trigger/i',
47904 }, 'Parse::RecDescent::Token' )
47907 }, 'Parse::RecDescent::Production' )
47909 'name' => 'TRIGGER',
47912 }, 'Parse::RecDescent::Rule' ),
47913 'comment' => bless( {
47923 'uncommit' => undef,
47929 'pattern' => '^\\s*-{2}.*\\n',
47930 'hashname' => '__PATTERN1__',
47931 'description' => '/^\\\\s*-\\{2\\}.*\\\\n/',
47937 }, 'Parse::RecDescent::Token' ),
47939 'hashname' => '__ACTION1__',
47943 my $comment = $item[1];
47944 $comment =~ s/^\\s*(-{2})\\s*//;
47945 $comment =~ s/\\s*$//;
47946 $return = $comment;
47948 }, 'Parse::RecDescent::Action' )
47951 }, 'Parse::RecDescent::Production' )
47953 'name' => 'comment',
47956 }, 'Parse::RecDescent::Rule' )
47958 }, 'Parse::RecDescent' );