Kate/Ruby.pm

filter: Statementstmt 30.2% 242 / 801 Branchbran 28.7% 180 / 626 Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 25.9% 20 / 77 Podpod 0.0% 0 / 74 totaltotal 27.9% 443 / 1583 CC 315 SCAR 38.5
CC
315
Cov
30%
parseMemberAccess
144.6
parseNormal
119.0
parsefind_gdl_input
96.4
CRAP 47.0
« Kate/GNU_Gettext.pm ↑ Summary Kate/Modulaminus2.pm »
1 # Copyright (c) 2005 - 2006 Hans Jeuken. All rights reserved.
2 # This program is free software; you can redistribute it and/or
3 # modify it under the same terms as Perl itself.
4  
5 # This file was generated from the 'ruby.xml' file of the syntax highlight
6 # engine of the kate text editor (http://www.kate-editor.org
7  
8 #kate xml version 1.16
9 #kate version 2.4
10 #kate author Stefan Lang (langstefan@gmx.at), Sebastian Vuorinen (sebastian.vuorinen@helsinki.fi)
11 #generated: Sun Feb 3 22:02:06 2008, localtime
12  
13 package Syntax::Highlight::Engine::Kate::Ruby;
14  
15 1 our $VERSION = '0.16';
16  
17 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use base('Syntax::Highlight::Engine::Kate::Template');
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 2 ▶sub new {
Subroutine new: called CC=2 SCAR=6.9
Pod undocumented
22 2 my $proto = shift;
23 2 ▶ my $class = ref($proto) || $proto;
Condition33%1/3
ref $proto || $proto
l!l&&r!l&&!r
020
MC/DC0%0/2
ref $proto || $proto
ref $proto $proto
Truth table33%1/3
A || B
A= ref $protoB= $proto
ABresult
1X1
011
000
24 2 my $self = $class->SUPER::new(@_);
25 2 $self->attributes({
26 'Access Control' => 'Keyword',
27 'Alert' => 'Alert',
28 'Attribute Definition' => 'Others',
29 'Bin' => 'BaseN',
30 'Blockcomment' => 'Comment',
31 'Char' => 'Char',
32 'Class Variable' => 'Others',
33 'Command' => 'String',
34 'Comment' => 'Comment',
35 'Constant' => 'DataType',
36 'Constant Value' => 'DataType',
37 'Data' => 'Normal',
38 'Dec' => 'DecVal',
39 'Default globals' => 'DataType',
40 'Definition' => 'Keyword',
41 'Delimiter' => 'Char',
42 'Error' => 'Error',
43 'Expression' => 'Others',
44 'Float' => 'Float',
45 'GDL input' => 'Others',
46 'Global Constant' => 'DataType',
47 'Global Variable' => 'DataType',
48 'Hex' => 'BaseN',
49 'Instance Variable' => 'Others',
50 'Kernel methods' => 'Normal',
51 'Keyword' => 'Keyword',
52 'Member' => 'Normal',
53 'Message' => 'Normal',
54 'Normal Text' => 'Normal',
55 'Octal' => 'BaseN',
56 'Operator' => 'Char',
57 'Pseudo variable' => 'DecVal',
58 'RDoc Value' => 'Others',
59 'Raw String' => 'String',
60 'Region Marker' => 'Normal',
61 'Regular Expression' => 'Others',
62 'String' => 'String',
63 'Substitution' => 'Others',
64 'Symbol' => 'String',
65 });
66 2 $self->listAdd('access-control',
67 'private',
68 'private_class_method',
69 'protected',
70 'public',
71 'public_class_method',
72 );
73 2 $self->listAdd('attention',
74 'FIXME',
75 'NOTE',
76 'TODO',
77 );
78 2 $self->listAdd('attribute-definitions',
79 'attr_accessor',
80 'attr_reader',
81 'attr_writer',
82 );
83 2 $self->listAdd('default-globals',
84 '$deferr',
85 '$defout',
86 '$stderr',
87 '$stdin',
88 '$stdout',
89 );
90 2 $self->listAdd('definitions',
91 'alias',
92 'class',
93 'def',
94 'module',
95 'undef',
96 );
97 2 $self->listAdd('kernel-methods',
98 'abort',
99 'at_exit',
100 'autoload',
101 'autoload?',
102 'binding',
103 'block_given?',
104 'callcc',
105 'caller',
106 'catch',
107 'chomp',
108 'chomp!',
109 'chop',
110 'chop!',
111 'eval',
112 'exec',
113 'exit',
114 'exit!',
115 'fail',
116 'fork',
117 'format',
118 'getc',
119 'gets',
120 'global_variables',
121 'gsub',
122 'gsub!',
123 'iterator?',
124 'lambda',
125 'load',
126 'local_variables',
127 'loop',
128 'method_missing',
129 'open',
130 'p',
131 'print',
132 'printf',
133 'proc',
134 'putc',
135 'puts',
136 'raise',
137 'rand',
138 'readline',
139 'readlines',
140 'require',
141 'scan',
142 'select',
143 'set_trace_func',
144 'sleep',
145 'split',
146 'sprintf',
147 'srand',
148 'sub',
149 'sub!',
150 'syscall',
151 'system',
152 'test',
153 'throw',
154 'trace_var',
155 'trap',
156 'untrace_var',
157 'warn',
158 );
159 2 $self->listAdd('keywords',
160 'BEGIN',
161 'END',
162 'and',
163 'begin',
164 'break',
165 'case',
166 'defined?',
167 'do',
168 'else',
169 'elsif',
170 'end',
171 'ensure',
172 'for',
173 'if',
174 'in',
175 'include',
176 'next',
177 'not',
178 'or',
179 'redo',
180 'rescue',
181 'retry',
182 'return',
183 'then',
184 'unless',
185 'until',
186 'when',
187 'while',
188 'yield',
189 );
190 2 $self->listAdd('pseudo-variables',
191 '__FILE__',
192 '__LINE__',
193 'caller',
194 'false',
195 'nil',
196 'self',
197 'super',
198 'true',
199 );
200 2 $self->contextdata({
201 'Apostrophed String' => {
202 callback => \&parseApostrophedString,
203 attribute => 'Raw String',
204 },
205 'Command String' => {
206 callback => \&parseCommandString,
207 attribute => 'Command',
208 },
209 'Comment Line' => {
210 callback => \&parseCommentLine,
211 attribute => 'Comment',
212 lineending => '#pop',
213 },
214 'DATA' => {
215 callback => \&parseDATA,
216 attribute => 'Data',
217 },
218 'Embedded documentation' => {
219 callback => \&parseEmbeddeddocumentation,
220 attribute => 'Comment',
221 },
222 'General Comment' => {
223 callback => \&parseGeneralComment,
224 attribute => 'Comment',
225 lineending => '#pop',
226 },
227 'Line Continue' => {
228 callback => \&parseLineContinue,
229 attribute => 'Normal Text',
230 lineending => '#pop',
231 },
232 'Member Access' => {
233 callback => \&parseMemberAccess,
234 attribute => 'Member',
235 lineending => '#pop',
236 },
237 'Normal' => {
238 callback => \&parseNormal,
239 attribute => 'Normal Text',
240 },
241 'Quoted String' => {
242 callback => \&parseQuotedString,
243 attribute => 'String',
244 },
245 'RDoc Label' => {
246 callback => \&parseRDocLabel,
247 attribute => 'RDoc Value',
248 lineending => '#pop',
249 },
250 'RegEx 1' => {
251 callback => \&parseRegEx1,
252 attribute => 'Regular Expression',
253 },
254 'Short Subst' => {
255 callback => \&parseShortSubst,
256 attribute => 'Substitution',
257 lineending => '#pop',
258 },
259 'Subst' => {
260 callback => \&parseSubst,
261 attribute => 'Normal Text',
262 },
263 'apostrophed_indented_heredoc' => {
264 callback => \&parseapostrophed_indented_heredoc,
265 attribute => 'Normal Text',
266 dynamic => 1,
267 },
268 'apostrophed_normal_heredoc' => {
269 callback => \&parseapostrophed_normal_heredoc,
270 attribute => 'Normal Text',
271 dynamic => 1,
272 },
273 'apostrophed_rules' => {
274 callback => \&parseapostrophed_rules,
275 attribute => 'Raw String',
276 },
277 'dq_string_rules' => {
278 callback => \&parsedq_string_rules,
279 attribute => 'String',
280 },
281 'find_gdl_input' => {
282 callback => \&parsefind_gdl_input,
283 attribute => 'Normal Text',
284 lineending => '#pop',
285 },
286 'find_heredoc' => {
287 callback => \&parsefind_heredoc,
288 attribute => 'Normal Text',
289 lineending => '#pop',
290 },
291 'find_indented_heredoc' => {
292 callback => \&parsefind_indented_heredoc,
293 attribute => 'Normal Text',
294 lineending => '#pop',
295 },
296 'gdl_apostrophed_1' => {
297 callback => \&parsegdl_apostrophed_1,
298 attribute => 'Raw String',
299 },
300 'gdl_apostrophed_1_nested' => {
301 callback => \&parsegdl_apostrophed_1_nested,
302 attribute => 'Raw String',
303 },
304 'gdl_apostrophed_2' => {
305 callback => \&parsegdl_apostrophed_2,
306 attribute => 'Raw String',
307 },
308 'gdl_apostrophed_2_nested' => {
309 callback => \&parsegdl_apostrophed_2_nested,
310 attribute => 'Raw String',
311 },
312 'gdl_apostrophed_3' => {
313 callback => \&parsegdl_apostrophed_3,
314 attribute => 'Raw String',
315 },
316 'gdl_apostrophed_3_nested' => {
317 callback => \&parsegdl_apostrophed_3_nested,
318 attribute => 'Raw String',
319 },
320 'gdl_apostrophed_4' => {
321 callback => \&parsegdl_apostrophed_4,
322 attribute => 'Raw String',
323 },
324 'gdl_apostrophed_4_nested' => {
325 callback => \&parsegdl_apostrophed_4_nested,
326 attribute => 'Raw String',
327 },
328 'gdl_apostrophed_5' => {
329 callback => \&parsegdl_apostrophed_5,
330 attribute => 'Raw String',
331 dynamic => 1,
332 },
333 'gdl_dq_string_1' => {
334 callback => \&parsegdl_dq_string_1,
335 attribute => 'String',
336 },
337 'gdl_dq_string_1_nested' => {
338 callback => \&parsegdl_dq_string_1_nested,
339 attribute => 'String',
340 },
341 'gdl_dq_string_2' => {
342 callback => \&parsegdl_dq_string_2,
343 attribute => 'String',
344 },
345 'gdl_dq_string_2_nested' => {
346 callback => \&parsegdl_dq_string_2_nested,
347 attribute => 'String',
348 },
349 'gdl_dq_string_3' => {
350 callback => \&parsegdl_dq_string_3,
351 attribute => 'String',
352 },
353 'gdl_dq_string_3_nested' => {
354 callback => \&parsegdl_dq_string_3_nested,
355 attribute => 'String',
356 },
357 'gdl_dq_string_4' => {
358 callback => \&parsegdl_dq_string_4,
359 attribute => 'String',
360 },
361 'gdl_dq_string_4_nested' => {
362 callback => \&parsegdl_dq_string_4_nested,
363 attribute => 'String',
364 },
365 'gdl_dq_string_5' => {
366 callback => \&parsegdl_dq_string_5,
367 attribute => 'String',
368 dynamic => 1,
369 },
370 'gdl_regexpr_1' => {
371 callback => \&parsegdl_regexpr_1,
372 attribute => 'Regular Expression',
373 },
374 'gdl_regexpr_1_nested' => {
375 callback => \&parsegdl_regexpr_1_nested,
376 attribute => 'Regular Expression',
377 },
378 'gdl_regexpr_2' => {
379 callback => \&parsegdl_regexpr_2,
380 attribute => 'Regular Expression',
381 },
382 'gdl_regexpr_2_nested' => {
383 callback => \&parsegdl_regexpr_2_nested,
384 attribute => 'Regular Expression',
385 },
386 'gdl_regexpr_3' => {
387 callback => \&parsegdl_regexpr_3,
388 attribute => 'Regular Expression',
389 },
390 'gdl_regexpr_3_nested' => {
391 callback => \&parsegdl_regexpr_3_nested,
392 attribute => 'Regular Expression',
393 },
394 'gdl_regexpr_4' => {
395 callback => \&parsegdl_regexpr_4,
396 attribute => 'Regular Expression',
397 },
398 'gdl_regexpr_4_nested' => {
399 callback => \&parsegdl_regexpr_4_nested,
400 attribute => 'Regular Expression',
401 },
402 'gdl_regexpr_5' => {
403 callback => \&parsegdl_regexpr_5,
404 attribute => 'Regular Expression',
405 dynamic => 1,
406 },
407 'gdl_shell_command_1' => {
408 callback => \&parsegdl_shell_command_1,
409 attribute => 'Command',
410 },
411 'gdl_shell_command_1_nested' => {
412 callback => \&parsegdl_shell_command_1_nested,
413 attribute => 'Command',
414 },
415 'gdl_shell_command_2' => {
416 callback => \&parsegdl_shell_command_2,
417 attribute => 'Command',
418 },
419 'gdl_shell_command_2_nested' => {
420 callback => \&parsegdl_shell_command_2_nested,
421 attribute => 'Command',
422 },
423 'gdl_shell_command_3' => {
424 callback => \&parsegdl_shell_command_3,
425 attribute => 'Command',
426 },
427 'gdl_shell_command_3_nested' => {
428 callback => \&parsegdl_shell_command_3_nested,
429 attribute => 'Command',
430 },
431 'gdl_shell_command_4' => {
432 callback => \&parsegdl_shell_command_4,
433 attribute => 'Command',
434 },
435 'gdl_shell_command_4_nested' => {
436 callback => \&parsegdl_shell_command_4_nested,
437 attribute => 'Command',
438 },
439 'gdl_shell_command_5' => {
440 callback => \&parsegdl_shell_command_5,
441 attribute => 'Command',
442 dynamic => 1,
443 },
444 'gdl_token_array_1' => {
445 callback => \&parsegdl_token_array_1,
446 attribute => 'String',
447 },
448 'gdl_token_array_1_nested' => {
449 callback => \&parsegdl_token_array_1_nested,
450 attribute => 'String',
451 },
452 'gdl_token_array_2' => {
453 callback => \&parsegdl_token_array_2,
454 attribute => 'String',
455 },
456 'gdl_token_array_2_nested' => {
457 callback => \&parsegdl_token_array_2_nested,
458 attribute => 'String',
459 },
460 'gdl_token_array_3' => {
461 callback => \&parsegdl_token_array_3,
462 attribute => 'String',
463 },
464 'gdl_token_array_3_nested' => {
465 callback => \&parsegdl_token_array_3_nested,
466 attribute => 'String',
467 },
468 'gdl_token_array_4' => {
469 callback => \&parsegdl_token_array_4,
470 attribute => 'String',
471 },
472 'gdl_token_array_4_nested' => {
473 callback => \&parsegdl_token_array_4_nested,
474 attribute => 'String',
475 },
476 'gdl_token_array_5' => {
477 callback => \&parsegdl_token_array_5,
478 attribute => 'String',
479 dynamic => 1,
480 },
481 'heredoc_rules' => {
482 callback => \&parseheredoc_rules,
483 attribute => 'Normal Text',
484 },
485 'indented_heredoc' => {
486 callback => \&parseindented_heredoc,
487 attribute => 'Normal Text',
488 dynamic => 1,
489 },
490 'normal_heredoc' => {
491 callback => \&parsenormal_heredoc,
492 attribute => 'Normal Text',
493 dynamic => 1,
494 },
495 'regexpr_rules' => {
496 callback => \&parseregexpr_rules,
497 attribute => 'Regular Expression',
498 },
499 'shell_command_rules' => {
500 callback => \&parseshell_command_rules,
501 attribute => 'Command',
502 },
503 'token_array_rules' => {
504 callback => \&parsetoken_array_rules,
505 attribute => 'String',
506 },
507 });
508 2 $self->deliminators('\\s||\\.|\\(|\\)|:|\\+|,|-|<|=|>|\\%|\\&|\\*|\\/|;|\\[|\\]|\\^|\\{|\\||\\}|\\~|\\\\|\\!|\\?');
509 2 $self->basecontext('Normal');
510 2 $self->keywordscase(0);
511 2 $self->initialize;
512 2 bless ($self, $class);
513 2 return $self;
514 }
515  
516 0 ▶sub language {
Subroutine language: not called CC=1 SCAR=6.9
Pod undocumented
517 0 return 'Ruby';
518 }
519  
520 68 ▶sub parseApostrophedString {
Subroutine parseApostrophedString: called CC=4 SCAR=14.8
Pod undocumented
521 68 my ($self, $text) = @_;
522 # String => '\\'
523 # attribute => 'String'
524 # context => '#stay'
525 # type => 'StringDetect'
526 68 ▶ if ($self->testStringDetect($text, '\\\\', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\\\\", 0, 0, 0, undef, 0, "#stay", "String")) 0 68 68
527 0 return 1
528 }
529 # String => '\\\''
530 # attribute => 'String'
531 # context => '#stay'
532 # type => 'RegExpr'
533 68 ▶ if ($self->testRegExpr($text, '\\\\\\\'', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\\\'", 0, 0, 0, undef, 0, "#stay", "String")) 0 68 68
534 0 return 1
535 }
536 # attribute => 'Raw String'
537 # char => '''
538 # context => '#pop'
539 # type => 'DetectChar'
540 68 ▶ if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, '#pop', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "#pop", "Raw String")) 8 60 68
541 8 return 1
542 }
543 60 return 0;
544 };
545  
546 0 ▶sub parseCommandString {
Subroutine parseCommandString: not called CC=7 SCAR=40.3
Pod undocumented
547 0 my ($self, $text) = @_;
548 # String => '\\'
549 # attribute => 'String'
550 # context => '#stay'
551 # type => 'StringDetect'
552 0 ▶ if ($self->testStringDetect($text, '\\\\', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\\\\", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
553 0 return 1
554 }
555 # String => '\\\`'
556 # attribute => 'String'
557 # context => '#stay'
558 # type => 'RegExpr'
559 0 ▶ if ($self->testRegExpr($text, '\\\\\\`', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\\\`", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
560 0 return 1
561 }
562 # String => '#@{1,2}'
563 # attribute => 'Substitution'
564 # context => 'Short Subst'
565 # type => 'RegExpr'
566 0 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, 'Short Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "Short Subst", "Substitution")) 0 0 0
567 0 return 1
568 }
569 # attribute => 'Substitution'
570 # char => '#'
571 # char1 => '{'
572 # context => 'Subst'
573 # type => 'Detect2Chars'
574 0 ▶ if ($self->testDetect2Chars($text, '#', '{', 0, 0, 0, undef, 0, 'Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "#", "{", 0, 0, 0, undef, 0, "Subst", "Substitution")) 0 0 0
575 0 return 1
576 }
577 # attribute => 'Char'
578 # context => '#pop'
579 # type => 'HlCChar'
580 0 ▶ if ($self->testHlCChar($text, 0, undef, 0, '#pop', 'Char')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testHlCChar($text, 0, undef, 0, "#pop", "Char")) 0 0 0
581 0 return 1
582 }
583 # attribute => 'Command'
584 # char => '`'
585 # context => '#pop'
586 # type => 'DetectChar'
587 0 ▶ if ($self->testDetectChar($text, '`', 0, 0, 0, undef, 0, '#pop', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "`", 0, 0, 0, undef, 0, "#pop", "Command")) 0 0 0
588 0 return 1
589 }
590 0 return 0;
591 };
592  
593 608 ▶sub parseCommentLine {
Subroutine parseCommentLine: called CC=3 SCAR=12.7
Pod undocumented
594 608 my ($self, $text) = @_;
595 # String => '\w\:\:\s'
596 # attribute => 'Comment'
597 # context => 'RDoc Label'
598 # type => 'RegExpr'
599 608 ▶ if ($self->testRegExpr($text, '\\w\\:\\:\\s', 0, 0, 0, undef, 0, 'RDoc Label', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\w\\:\\:\\s", 0, 0, 0, undef, 0, "RDoc Label", "Comment")) 0 608 608
600 0 return 1
601 }
602 # String => 'attention'
603 # attribute => 'Alert'
604 # context => '#stay'
605 # type => 'keyword'
606 608 ▶ if ($self->testKeyword($text, 'attention', 0, undef, 0, '#stay', 'Alert')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "attention", 0, undef, 0, "#stay", "Alert")) 0 608 608
607 0 return 1
608 }
609 608 return 0;
610 };
611  
612 0 ▶sub parseDATA {
Subroutine parseDATA: not called CC=1 SCAR=6.9
Pod undocumented
613 0 my ($self, $text) = @_;
614 0 return 0;
615 };
616  
617 0 ▶sub parseEmbeddeddocumentation {
Subroutine parseEmbeddeddocumentation: not called CC=2 SCAR=17.9
Pod undocumented
618 0 my ($self, $text) = @_;
619 # String => '=end'
620 # attribute => 'Comment'
621 # column => '0'
622 # context => '#pop'
623 # endRegion => 'comment block'
624 # type => 'StringDetect'
625 0 ▶ if ($self->testStringDetect($text, '=end', 0, 0, 0, 0, 0, '#pop', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "=end", 0, 0, 0, 0, 0, "#pop", "Comment")) 0 0 0
626 0 return 1
627 }
628 0 return 0;
629 };
630  
631 1388 ▶sub parseGeneralComment {
Subroutine parseGeneralComment: called CC=2 SCAR=7.6
Pod undocumented
632 1388 my ($self, $text) = @_;
633 # String => 'attention'
634 # attribute => 'Dec'
635 # context => '#stay'
636 # type => 'keyword'
637 1388 ▶ if ($self->testKeyword($text, 'attention', 0, undef, 0, '#stay', 'Dec')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "attention", 0, undef, 0, "#stay", "Dec")) 0 1388 1388
638 0 return 1
639 }
640 1388 return 0;
641 };
642  
643 0 ▶sub parseLineContinue {
Subroutine parseLineContinue: not called CC=4 SCAR=30.0
Pod undocumented
644 0 my ($self, $text) = @_;
645 # String => '(while|until)\b(?!.*\bdo\b)'
646 # attribute => 'Keyword'
647 # context => '#stay'
648 # firstNonSpace => 'true'
649 # type => 'RegExpr'
650 0 ▶ if ($self->testRegExpr($text, '(while|until)\\b(?!.*\\bdo\\b)', 0, 0, 0, undef, 1, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(while|until)\\b(?!.*\\bdo\\b)", 0, 0, 0, undef, 1, "#stay", "Keyword")) 0 0 0
651 0 return 1
652 }
653 # String => '(if|unless)\b'
654 # attribute => 'Keyword'
655 # context => '#stay'
656 # firstNonSpace => 'true'
657 # type => 'RegExpr'
658 0 ▶ if ($self->testRegExpr($text, '(if|unless)\\b', 0, 0, 0, undef, 1, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(if|unless)\\b", 0, 0, 0, undef, 1, "#stay", "Keyword")) 0 0 0
659 0 return 1
660 }
661 # context => 'Normal'
662 # type => 'IncludeRules'
663 0 ▶ if ($self->includeRules('Normal', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("Normal", $text)) 0 0 0
664 0 return 1
665 }
666 0 return 0;
667 };
668  
669 6 ▶sub parseMemberAccess {
Subroutine parseMemberAccess: called CC=13 SCAR=49.7
Pod undocumented
670 6 my ($self, $text) = @_;
671 # String => '\.?[_a-z]\w*(\?|\!)?(?=[^\w\d\.\:])'
672 # attribute => 'Message'
673 # context => '#pop'
674 # type => 'RegExpr'
675 6 ▶ if ($self->testRegExpr($text, '\\.?[_a-z]\\w*(\\?|\\!)?(?=[^\\w\\d\\.\\:])', 0, 0, 0, undef, 0, '#pop', 'Message')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\.?[_a-z]\\w*(\\?|\\!)?(?=[^\\w\\d\\.\\:])", 0, 0, 0, undef, 0, "#pop", "Message")) 6 0 6
676 6 return 1
677 }
678 # String => '\.?[_a-z]\w*(\?|\!)?'
679 # attribute => 'Message'
680 # context => '#stay'
681 # type => 'RegExpr'
682 0 ▶ if ($self->testRegExpr($text, '\\.?[_a-z]\\w*(\\?|\\!)?', 0, 0, 0, undef, 0, '#stay', 'Message')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\.?[_a-z]\\w*(\\?|\\!)?", 0, 0, 0, undef, 0, "#stay", "Message")) 0 0 0
683 0 return 1
684 }
685 # String => '[A-Z]+_*(\d|[a-z])\w*(?=[^\w\d\.\:])'
686 # attribute => 'Constant'
687 # context => '#pop'
688 # type => 'RegExpr'
689 0 ▶ if ($self->testRegExpr($text, '[A-Z]+_*(\\d|[a-z])\\w*(?=[^\\w\\d\\.\\:])', 0, 0, 0, undef, 0, '#pop', 'Constant')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "[A-Z]+_*(\\d|[a-z])\\w*(?=[^\\w\\d\\.\\:])", 0, 0, 0, undef, 0, "#pop", "Constant")) 0 0 0
690 0 return 1
691 }
692 # String => '[A-Z]+_*([0-9]|[a-z])\w*'
693 # attribute => 'Constant'
694 # context => '#stay'
695 # type => 'RegExpr'
696 0 ▶ if ($self->testRegExpr($text, '[A-Z]+_*([0-9]|[a-z])\\w*', 0, 0, 0, undef, 0, '#stay', 'Constant')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "[A-Z]+_*([0-9]|[a-z])\\w*", 0, 0, 0, undef, 0, "#stay", "Constant")) 0 0 0
697 0 return 1
698 }
699 # String => '[_A-Z][_A-Z0-9]*(?=[^\w\d\.\:])'
700 # attribute => 'Constant Value'
701 # context => '#pop'
702 # type => 'RegExpr'
703 0 ▶ if ($self->testRegExpr($text, '[_A-Z][_A-Z0-9]*(?=[^\\w\\d\\.\\:])', 0, 0, 0, undef, 0, '#pop', 'Constant Value')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "[_A-Z][_A-Z0-9]*(?=[^\\w\\d\\.\\:])", 0, 0, 0, undef, 0, "#pop", "Constant Value")) 0 0 0
704 0 return 1
705 }
706 # String => '[_A-Z][_A-Z0-9]*'
707 # attribute => 'Constant Value'
708 # context => '#stay'
709 # type => 'RegExpr'
710 0 ▶ if ($self->testRegExpr($text, '[_A-Z][_A-Z0-9]*', 0, 0, 0, undef, 0, '#stay', 'Constant Value')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "[_A-Z][_A-Z0-9]*", 0, 0, 0, undef, 0, "#stay", "Constant Value")) 0 0 0
711 0 return 1
712 }
713 # attribute => 'Operator'
714 # char => ':'
715 # char1 => ':'
716 # context => '#stay'
717 # type => 'Detect2Chars'
718 0 ▶ if ($self->testDetect2Chars($text, ':', ':', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, ":", ":", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 0 0
719 0 return 1
720 }
721 # attribute => 'Member'
722 # char => '.'
723 # context => '#stay'
724 # type => 'DetectChar'
725 0 ▶ if ($self->testDetectChar($text, '.', 0, 0, 0, undef, 0, '#stay', 'Member')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ".", 0, 0, 0, undef, 0, "#stay", "Member")) 0 0 0
726 0 return 1
727 }
728 # String => '=+-*/%|&[]{}~'
729 # attribute => 'Operator'
730 # context => '#pop'
731 # type => 'AnyChar'
732 0 ▶ if ($self->testAnyChar($text, '=+-*/%|&[]{}~', 0, 0, undef, 0, '#pop', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testAnyChar($text, "=+-*/%|&[]{}~", 0, 0, undef, 0, "#pop", "Operator")) 0 0 0
733 0 return 1
734 }
735 # attribute => 'Comment'
736 # char => '#'
737 # context => '#pop'
738 # type => 'DetectChar'
739 0 ▶ if ($self->testDetectChar($text, '#', 0, 0, 0, undef, 0, '#pop', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "#", 0, 0, 0, undef, 0, "#pop", "Comment")) 0 0 0
740 0 return 1
741 }
742 # String => '()\'
743 # attribute => 'Normal Text'
744 # context => '#pop'
745 # type => 'AnyChar'
746 0 ▶ if ($self->testAnyChar($text, '()\\', 0, 0, undef, 0, '#pop', 'Normal Text')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testAnyChar($text, "()\\", 0, 0, undef, 0, "#pop", "Normal Text")) 0 0 0
747 0 return 1
748 }
749 # String => '\W'
750 # attribute => 'Member'
751 # context => '#pop'
752 # type => 'RegExpr'
753 0 ▶ if ($self->testRegExpr($text, '\\W', 0, 0, 0, undef, 0, '#pop', 'Member')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\W", 0, 0, 0, undef, 0, "#pop", "Member")) 0 0 0
754 0 return 1
755 }
756 0 return 0;
757 };
758  
759 2630 ▶sub parseNormal {
Subroutine parseNormal: called CC=69 SCAR=47.8
Pod undocumented
760 2630 my ($self, $text) = @_;
761 # attribute => 'Normal Text'
762 # context => 'Line Continue'
763 # type => 'LineContinue'
764 2630 ▶ if ($self->testLineContinue($text, 0, undef, 0, 'Line Continue', 'Normal Text')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testLineContinue($text, 0, undef, 0, "Line Continue", "Normal Text")) 0 2630 2630
765 0 return 1
766 }
767 # String => '__END__$'
768 # attribute => 'Keyword'
769 # column => '0'
770 # context => 'DATA'
771 # type => 'RegExpr'
772 2630 ▶ if ($self->testRegExpr($text, '__END__$', 0, 0, 0, 0, 0, 'DATA', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "__END__\$", 0, 0, 0, 0, 0, "DATA", "Keyword")) 0 2630 2630
773 0 return 1
774 }
775 # String => '#!\/.*'
776 # attribute => 'Keyword'
777 # column => '0'
778 # context => '#stay'
779 # type => 'RegExpr'
780 2630 ▶ if ($self->testRegExpr($text, '#!\\/.*', 0, 0, 0, 0, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#!\\/.*", 0, 0, 0, 0, 0, "#stay", "Keyword")) 0 2630 2630
781 0 return 1
782 }
783 # String => '(\=|\(|\[|\{)\s*(if|unless|while|until)\b'
784 # attribute => 'Keyword'
785 # beginRegion => 'def block'
786 # context => '#stay'
787 # type => 'RegExpr'
788 2630 ▶ if ($self->testRegExpr($text, '(\\=|\\(|\\[|\\{)\\s*(if|unless|while|until)\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(\\=|\\(|\\[|\\{)\\s*(if|unless|while|until)\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 2 2628 2630
789 2 return 1
790 }
791 # String => '(while|until)\b(?!.*\bdo\b)'
792 # attribute => 'Keyword'
793 # beginRegion => 'def block'
794 # context => '#stay'
795 # firstNonSpace => 'true'
796 # type => 'RegExpr'
797 2628 ▶ if ($self->testRegExpr($text, '(while|until)\\b(?!.*\\bdo\\b)', 0, 0, 0, undef, 1, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(while|until)\\b(?!.*\\bdo\\b)", 0, 0, 0, undef, 1, "#stay", "Keyword")) 4 2624 2628
798 4 return 1
799 }
800 # String => '\;\s*(while|until)\b(?!.*\bdo\b)'
801 # attribute => 'Keyword'
802 # beginRegion => 'def block'
803 # context => '#stay'
804 # type => 'RegExpr'
805 2624 ▶ if ($self->testRegExpr($text, '\\;\\s*(while|until)\\b(?!.*\\bdo\\b)', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\;\\s*(while|until)\\b(?!.*\\bdo\\b)", 0, 0, 0, undef, 0, "#stay", "Keyword")) 0 2624 2624
806 0 return 1
807 }
808 # String => '(if|unless)\b'
809 # attribute => 'Keyword'
810 # beginRegion => 'def block'
811 # context => '#stay'
812 # firstNonSpace => 'true'
813 # type => 'RegExpr'
814 2624 ▶ if ($self->testRegExpr($text, '(if|unless)\\b', 0, 0, 0, undef, 1, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(if|unless)\\b", 0, 0, 0, undef, 1, "#stay", "Keyword")) 8 2616 2624
815 8 return 1
816 }
817 # String => '\;\s*(if|unless)\b'
818 # attribute => 'Keyword'
819 # beginRegion => 'def block'
820 # context => '#stay'
821 # type => 'RegExpr'
822 2616 ▶ if ($self->testRegExpr($text, '\\;\\s*(if|unless)\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\;\\s*(if|unless)\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 0 2616 2616
823 0 return 1
824 }
825 # String => '\bclass\b'
826 # attribute => 'Keyword'
827 # beginRegion => 'def block'
828 # context => '#stay'
829 # type => 'RegExpr'
830 2616 ▶ if ($self->testRegExpr($text, '\\bclass\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bclass\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 2 2614 2616
831 2 return 1
832 }
833 # String => '\bmodule\b'
834 # attribute => 'Keyword'
835 # beginRegion => 'def block'
836 # context => '#stay'
837 # type => 'RegExpr'
838 2614 ▶ if ($self->testRegExpr($text, '\\bmodule\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bmodule\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 2 2612 2614
839 2 return 1
840 }
841 # String => '\bbegin\b'
842 # attribute => 'Keyword'
843 # beginRegion => 'def block'
844 # context => '#stay'
845 # type => 'RegExpr'
846 2612 ▶ if ($self->testRegExpr($text, '\\bbegin\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bbegin\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 0 2612 2612
847 0 return 1
848 }
849 # String => '\bfor\b(?!.*\bdo\b)'
850 # attribute => 'Keyword'
851 # beginRegion => 'def block'
852 # context => '#stay'
853 # type => 'RegExpr'
854 2612 ▶ if ($self->testRegExpr($text, '\\bfor\\b(?!.*\\bdo\\b)', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bfor\\b(?!.*\\bdo\\b)", 0, 0, 0, undef, 0, "#stay", "Keyword")) 2 2610 2612
855 2 return 1
856 }
857 # String => '\bcase\b'
858 # attribute => 'Keyword'
859 # beginRegion => 'def block'
860 # context => '#stay'
861 # type => 'RegExpr'
862 2610 ▶ if ($self->testRegExpr($text, '\\bcase\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bcase\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 8 2602 2610
863 8 return 1
864 }
865 # String => '\bdo\b'
866 # attribute => 'Keyword'
867 # beginRegion => 'def block'
868 # context => '#stay'
869 # type => 'RegExpr'
870 2602 ▶ if ($self->testRegExpr($text, '\\bdo\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bdo\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 10 2592 2602
871 10 return 1
872 }
873 # String => '\bdef\b'
874 # attribute => 'Keyword'
875 # beginRegion => 'def block'
876 # context => '#stay'
877 # type => 'RegExpr'
878 2592 ▶ if ($self->testRegExpr($text, '\\bdef\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bdef\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 16 2576 2592
879 16 return 1
880 }
881 # String => '\bend\b'
882 # attribute => 'Keyword'
883 # context => '#stay'
884 # endRegion => 'def block'
885 # type => 'RegExpr'
886 2576 ▶ if ($self->testRegExpr($text, '\\bend\\b', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\bend\\b", 0, 0, 0, undef, 0, "#stay", "Keyword")) 48 2528 2576
887 48 return 1
888 }
889 # String => '(\b|^\s*)(else|elsif|rescue|ensure)(\s+|$)'
890 # attribute => 'Keyword'
891 # beginRegion => 'def block'
892 # context => '#stay'
893 # endRegion => 'def block'
894 # type => 'RegExpr'
895 2528 ▶ if ($self->testRegExpr($text, '(\\b|^\\s*)(else|elsif|rescue|ensure)(\\s+|$)', 0, 0, 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "(\\b|^\\s*)(else|elsif|rescue|ensure)(\\s+|\$)", 0, 0, 0, undef, 0, "#stay", "Keyword")) 20 2508 2528
896 20 return 1
897 }
898 # String => '...'
899 # attribute => 'Operator'
900 # context => '#stay'
901 # type => 'StringDetect'
902 2508 ▶ if ($self->testStringDetect($text, '...', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "...", 0, 0, 0, undef, 0, "#stay", "Operator")) 2 2506 2508
903 2 return 1
904 }
905 # attribute => 'Operator'
906 # char => '.'
907 # char1 => '.'
908 # context => '#stay'
909 # type => 'Detect2Chars'
910 2506 ▶ if ($self->testDetect2Chars($text, '.', '.', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, ".", ".", 0, 0, 0, undef, 0, "#stay", "Operator")) 4 2502 2506
911 4 return 1
912 }
913 # String => '\.[_a-z][_a-zA-Z0-9]*(\?|\!|\b)'
914 # attribute => 'Message'
915 # context => '#stay'
916 # type => 'RegExpr'
917 2502 ▶ if ($self->testRegExpr($text, '\\.[_a-z][_a-zA-Z0-9]*(\\?|\\!|\\b)', 0, 0, 0, undef, 0, '#stay', 'Message')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\.[_a-z][_a-zA-Z0-9]*(\\?|\\!|\\b)", 0, 0, 0, undef, 0, "#stay", "Message")) 64 2438 2502
918 64 return 1
919 }
920 # String => '\s\?(\\M\-)?(\\C\-)?\\?\S'
921 # attribute => 'Dec'
922 # context => '#stay'
923 # type => 'RegExpr'
924 2438 ▶ if ($self->testRegExpr($text, '\\s\\?(\\\\M\\-)?(\\\\C\\-)?\\\\?\\S', 0, 0, 0, undef, 0, '#stay', 'Dec')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s\\?(\\\\M\\-)?(\\\\C\\-)?\\\\?\\S", 0, 0, 0, undef, 0, "#stay", "Dec")) 0 2438 2438
925 0 return 1
926 }
927 # String => 'keywords'
928 # attribute => 'Keyword'
929 # context => '#stay'
930 # type => 'keyword'
931 2438 ▶ if ($self->testKeyword($text, 'keywords', 0, undef, 0, '#stay', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword")) 56 2382 2438
932 56 return 1
933 }
934 # String => 'attribute-definitions'
935 # attribute => 'Attribute Definition'
936 # context => '#stay'
937 # type => 'keyword'
938 2382 ▶ if ($self->testKeyword($text, 'attribute-definitions', 0, undef, 0, '#stay', 'Attribute Definition')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "attribute-definitions", 0, undef, 0, "#stay", "Attribute Definition")) 0 2382 2382
939 0 return 1
940 }
941 # String => 'access-control'
942 # attribute => 'Access Control'
943 # context => '#stay'
944 # type => 'keyword'
945 2382 ▶ if ($self->testKeyword($text, 'access-control', 0, undef, 0, '#stay', 'Access Control')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "access-control", 0, undef, 0, "#stay", "Access Control")) 2 2380 2382
946 2 return 1
947 }
948 # String => 'definitions'
949 # attribute => 'Definition'
950 # context => '#stay'
951 # type => 'keyword'
952 2380 ▶ if ($self->testKeyword($text, 'definitions', 0, undef, 0, '#stay', 'Definition')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "definitions", 0, undef, 0, "#stay", "Definition")) 0 2380 2380
953 0 return 1
954 }
955 # String => 'pseudo-variables'
956 # attribute => 'Pseudo variable'
957 # context => '#stay'
958 # type => 'keyword'
959 2380 ▶ if ($self->testKeyword($text, 'pseudo-variables', 0, undef, 0, '#stay', 'Pseudo variable')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "pseudo-variables", 0, undef, 0, "#stay", "Pseudo variable")) 0 2380 2380
960 0 return 1
961 }
962 # String => 'default-globals'
963 # attribute => 'Default globals'
964 # context => '#stay'
965 # type => 'keyword'
966 2380 ▶ if ($self->testKeyword($text, 'default-globals', 0, undef, 0, '#stay', 'Default globals')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "default-globals", 0, undef, 0, "#stay", "Default globals")) 2 2378 2380
967 2 return 1
968 }
969 # String => 'kernel-methods'
970 # attribute => 'Kernel methods'
971 # context => '#stay'
972 # type => 'keyword'
973 2378 ▶ if ($self->testKeyword($text, 'kernel-methods', 0, undef, 0, '#stay', 'Kernel methods')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "kernel-methods", 0, undef, 0, "#stay", "Kernel methods")) 32 2346 2378
974 32 return 1
975 }
976 # String => '\$[a-zA-Z_0-9]+'
977 # attribute => 'Global Variable'
978 # context => '#stay'
979 # type => 'RegExpr'
980 2346 ▶ if ($self->testRegExpr($text, '\\$[a-zA-Z_0-9]+', 0, 0, 0, undef, 0, '#stay', 'Global Variable')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\$[a-zA-Z_0-9]+", 0, 0, 0, undef, 0, "#stay", "Global Variable")) 12 2334 2346
981 12 return 1
982 }
983 # String => '\$\-[a-zA-z_]\b'
984 # attribute => 'Global Variable'
985 # context => '#stay'
986 # type => 'RegExpr'
987 2334 ▶ if ($self->testRegExpr($text, '\\$\\-[a-zA-z_]\\b', 0, 0, 0, undef, 0, '#stay', 'Global Variable')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\$\\-[a-zA-z_]\\b", 0, 0, 0, undef, 0, "#stay", "Global Variable")) 0 2334 2334
988 0 return 1
989 }
990 # String => '\$[\d_*`\!:?'/\\\-\&]'
991 # attribute => 'Default globals'
992 # context => '#stay'
993 # type => 'RegExpr'
994 2334 ▶ if ($self->testRegExpr($text, '\\$[\\d_*`\\!:?\'/\\\\\\-\\&]', 0, 0, 0, undef, 0, '#stay', 'Default globals')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\$[\\d_*`\\!:?'/\\\\\\-\\&]", 0, 0, 0, undef, 0, "#stay", "Default globals")) 4 2330 2334
995 4 return 1
996 }
997 # String => '\b[_A-Z]+[A-Z_0-9]+\b'
998 # attribute => 'Global Constant'
999 # context => '#stay'
1000 # type => 'RegExpr'
1001 2330 ▶ if ($self->testRegExpr($text, '\\b[_A-Z]+[A-Z_0-9]+\\b', 0, 0, 0, undef, 0, '#stay', 'Global Constant')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\b[_A-Z]+[A-Z_0-9]+\\b", 0, 0, 0, undef, 0, "#stay", "Global Constant")) 8 2322 2330
1002 8 return 1
1003 }
1004 # String => '\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\b'
1005 # attribute => 'Constant'
1006 # context => '#stay'
1007 # type => 'RegExpr'
1008 2322 ▶ if ($self->testRegExpr($text, '\\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\\b', 0, 0, 0, undef, 0, '#stay', 'Constant')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\\b", 0, 0, 0, undef, 0, "#stay", "Constant")) 24 2298 2322
1009 24 return 1
1010 }
1011 # String => '\b\-?0[xX][_0-9a-fA-F]+'
1012 # attribute => 'Hex'
1013 # context => '#stay'
1014 # type => 'RegExpr'
1015 2298 ▶ if ($self->testRegExpr($text, '\\b\\-?0[xX][_0-9a-fA-F]+', 0, 0, 0, undef, 0, '#stay', 'Hex')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\b\\-?0[xX][_0-9a-fA-F]+", 0, 0, 0, undef, 0, "#stay", "Hex")) 0 2298 2298
1016 0 return 1
1017 }
1018 # String => '\b\-?0[bB][_01]+'
1019 # attribute => 'Bin'
1020 # context => '#stay'
1021 # type => 'RegExpr'
1022 2298 ▶ if ($self->testRegExpr($text, '\\b\\-?0[bB][_01]+', 0, 0, 0, undef, 0, '#stay', 'Bin')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\b\\-?0[bB][_01]+", 0, 0, 0, undef, 0, "#stay", "Bin")) 0 2298 2298
1023 0 return 1
1024 }
1025 # String => '\b\-?0[1-7][_0-7]*'
1026 # attribute => 'Octal'
1027 # context => '#stay'
1028 # type => 'RegExpr'
1029 2298 ▶ if ($self->testRegExpr($text, '\\b\\-?0[1-7][_0-7]*', 0, 0, 0, undef, 0, '#stay', 'Octal')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\b\\-?0[1-7][_0-7]*", 0, 0, 0, undef, 0, "#stay", "Octal")) 0 2298 2298
1030 0 return 1
1031 }
1032 # String => '\b\-?[0-9][0-9_]*\.[0-9][0-9_]*([eE]\-?[1-9][0-9]*(\.[0-9]*)?)?'
1033 # attribute => 'Float'
1034 # context => '#stay'
1035 # type => 'RegExpr'
1036 2298 ▶ if ($self->testRegExpr($text, '\\b\\-?[0-9][0-9_]*\\.[0-9][0-9_]*([eE]\\-?[1-9][0-9]*(\\.[0-9]*)?)?', 0, 0, 0, undef, 0, '#stay', 'Float')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\b\\-?[0-9][0-9_]*\\.[0-9][0-9_]*([eE]\\-?[1-9][0-9]*(\\.[0-9]*)?)?", 0, 0, 0, undef, 0, "#stay", "Float")) 0 2298 2298
1037 0 return 1
1038 }
1039 # String => '\b\-?[1-9][0-9_]*\b'
1040 # attribute => 'Dec'
1041 # context => '#stay'
1042 # type => 'RegExpr'
1043 2298 ▶ if ($self->testRegExpr($text, '\\b\\-?[1-9][0-9_]*\\b', 0, 0, 0, undef, 0, '#stay', 'Dec')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\b\\-?[1-9][0-9_]*\\b", 0, 0, 0, undef, 0, "#stay", "Dec")) 34 2264 2298
1044 34 return 1
1045 }
1046 # attribute => 'Dec'
1047 # context => '#stay'
1048 # type => 'Int'
1049 2264 ▶ if ($self->testInt($text, 0, undef, 0, '#stay', 'Dec')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testInt($text, 0, undef, 0, "#stay", "Dec")) 10 2254 2264
1050 10 return 1
1051 }
1052 # attribute => 'Char'
1053 # context => '#stay'
1054 # type => 'HlCChar'
1055 2254 ▶ if ($self->testHlCChar($text, 0, undef, 0, '#stay', 'Char')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testHlCChar($text, 0, undef, 0, "#stay", "Char")) 8 2246 2254
1056 8 return 1
1057 }
1058 # String => '=begin'
1059 # attribute => 'Blockcomment'
1060 # beginRegion => 'comment block'
1061 # column => '0'
1062 # context => 'Embedded documentation'
1063 # type => 'StringDetect'
1064 2246 ▶ if ($self->testStringDetect($text, '=begin', 0, 0, 0, 0, 0, 'Embedded documentation', 'Blockcomment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "=begin", 0, 0, 0, 0, 0, "Embedded documentation", "Blockcomment")) 0 2246 2246
1065 0 return 1
1066 }
1067 # String => '\s*<<-(?=\w+|["'])'
1068 # attribute => 'Operator'
1069 # beginRegion => 'HereDocument'
1070 # context => 'find_indented_heredoc'
1071 # type => 'RegExpr'
1072 2246 ▶ if ($self->testRegExpr($text, '\\s*<<-(?=\\w+|["\'])', 0, 0, 0, undef, 0, 'find_indented_heredoc', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*<<-(?=\\w+|[\"'])", 0, 0, 0, undef, 0, "find_indented_heredoc", "Operator")) 2 2244 2246
1073 2 return 1
1074 }
1075 # String => '\s*<<(?=\w+|["'])'
1076 # attribute => 'Operator'
1077 # beginRegion => 'HereDocument'
1078 # context => 'find_heredoc'
1079 # type => 'RegExpr'
1080 2244 ▶ if ($self->testRegExpr($text, '\\s*<<(?=\\w+|["\'])', 0, 0, 0, undef, 0, 'find_heredoc', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*<<(?=\\w+|[\"'])", 0, 0, 0, undef, 0, "find_heredoc", "Operator")) 0 2244 2244
1081 0 return 1
1082 }
1083 # attribute => 'Operator'
1084 # char => '.'
1085 # context => '#stay'
1086 # type => 'DetectChar'
1087 2244 ▶ if ($self->testDetectChar($text, '.', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ".", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 2244 2244
1088 0 return 1
1089 }
1090 # attribute => 'Operator'
1091 # char => '&'
1092 # char1 => '&'
1093 # context => '#stay'
1094 # type => 'Detect2Chars'
1095 2244 ▶ if ($self->testDetect2Chars($text, '&', '&', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "&", "&", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 2244 2244
1096 0 return 1
1097 }
1098 # attribute => 'Operator'
1099 # char => '|'
1100 # char1 => '|'
1101 # context => '#stay'
1102 # type => 'Detect2Chars'
1103 2244 ▶ if ($self->testDetect2Chars($text, '|', '|', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "|", "|", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 2244 2244
1104 0 return 1
1105 }
1106 # String => '\s[\?\:\%/]\s'
1107 # attribute => 'Operator'
1108 # context => '#stay'
1109 # type => 'RegExpr'
1110 2244 ▶ if ($self->testRegExpr($text, '\\s[\\?\\:\\%/]\\s', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s[\\?\\:\\%/]\\s", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 2244 2244
1111 0 return 1
1112 }
1113 # String => '[|&<>\^\+*~\-=]+'
1114 # attribute => 'Operator'
1115 # context => '#stay'
1116 # type => 'RegExpr'
1117 2244 ▶ if ($self->testRegExpr($text, '[|&<>\\^\\+*~\\-=]+', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "[|&<>\\^\\+*~\\-=]+", 0, 0, 0, undef, 0, "#stay", "Operator")) 64 2180 2244
1118 64 return 1
1119 }
1120 # String => '\s!'
1121 # attribute => 'Operator'
1122 # context => '#stay'
1123 # type => 'RegExpr'
1124 2180 ▶ if ($self->testRegExpr($text, '\\s!', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s!", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 2180 2180
1125 0 return 1
1126 }
1127 # String => '/=\s'
1128 # attribute => 'Operator'
1129 # context => '#stay'
1130 # insensitive => '0'
1131 # type => 'RegExpr'
1132 2180 ▶ if ($self->testRegExpr($text, '/=\\s', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "/=\\s", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 2180 2180
1133 0 return 1
1134 }
1135 # String => '%='
1136 # attribute => 'Operator'
1137 # context => '#stay'
1138 # insensitive => '0'
1139 # type => 'StringDetect'
1140 2180 ▶ if ($self->testStringDetect($text, '%=', 0, 0, 0, undef, 0, '#stay', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "%=", 0, 0, 0, undef, 0, "#stay", "Operator")) 0 2180 2180
1141 0 return 1
1142 }
1143 # attribute => 'Operator'
1144 # char => ':'
1145 # char1 => ':'
1146 # context => 'Member Access'
1147 # type => 'Detect2Chars'
1148 2180 ▶ if ($self->testDetect2Chars($text, ':', ':', 0, 0, 0, undef, 0, 'Member Access', 'Operator')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, ":", ":", 0, 0, 0, undef, 0, "Member Access", "Operator")) 6 2174 2180
1149 6 return 1
1150 }
1151 # String => ':[a-zA-Z_][a-zA-Z0-9_]*'
1152 # attribute => 'Symbol'
1153 # context => '#stay'
1154 # type => 'RegExpr'
1155 2174 ▶ if ($self->testRegExpr($text, ':[a-zA-Z_][a-zA-Z0-9_]*', 0, 0, 0, undef, 0, '#stay', 'Symbol')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, ":[a-zA-Z_][a-zA-Z0-9_]*", 0, 0, 0, undef, 0, "#stay", "Symbol")) 0 2174 2174
1156 0 return 1
1157 }
1158 # attribute => 'String'
1159 # char => '"'
1160 # context => 'Quoted String'
1161 # type => 'DetectChar'
1162 2174 ▶ if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'Quoted String', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "Quoted String", "String")) 64 2110 2174
1163 64 return 1
1164 }
1165 # attribute => 'Raw String'
1166 # char => '''
1167 # context => 'Apostrophed String'
1168 # type => 'DetectChar'
1169 2110 ▶ if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, 'Apostrophed String', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "Apostrophed String", "Raw String")) 8 2102 2110
1170 8 return 1
1171 }
1172 # attribute => 'Command'
1173 # char => '`'
1174 # context => 'Command String'
1175 # type => 'DetectChar'
1176 2102 ▶ if ($self->testDetectChar($text, '`', 0, 0, 0, undef, 0, 'Command String', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "`", 0, 0, 0, undef, 0, "Command String", "Command")) 0 2102 2102
1177 0 return 1
1178 }
1179 # String => '?#'
1180 # attribute => 'Normal Text'
1181 # context => '#stay'
1182 # type => 'StringDetect'
1183 2102 ▶ if ($self->testStringDetect($text, '?#', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "?#", 0, 0, 0, undef, 0, "#stay", "Normal Text")) 0 2102 2102
1184 0 return 1
1185 }
1186 # String => '#\s*BEGIN.*$'
1187 # attribute => 'Comment'
1188 # beginRegion => 'marker'
1189 # column => '0'
1190 # context => '#stay'
1191 # type => 'RegExpr'
1192 2102 ▶ if ($self->testRegExpr($text, '#\\s*BEGIN.*$', 0, 0, 0, 0, 0, '#stay', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\\s*BEGIN.*\$", 0, 0, 0, 0, 0, "#stay", "Comment")) 0 2102 2102
1193 0 return 1
1194 }
1195 # String => '#\s*END.*$'
1196 # attribute => 'Comment'
1197 # column => '0'
1198 # context => '#stay'
1199 # endRegion => 'marker'
1200 # type => 'RegExpr'
1201 2102 ▶ if ($self->testRegExpr($text, '#\\s*END.*$', 0, 0, 0, 0, 0, '#stay', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\\s*END.*\$", 0, 0, 0, 0, 0, "#stay", "Comment")) 0 2102 2102
1202 0 return 1
1203 }
1204 # String => '#'
1205 # attribute => 'Comment'
1206 # context => 'Comment Line'
1207 # firstNonSpace => 'true'
1208 # type => 'RegExpr'
1209 2102 ▶ if ($self->testRegExpr($text, '#', 0, 0, 0, undef, 1, 'Comment Line', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#", 0, 0, 0, undef, 1, "Comment Line", "Comment")) 14 2088 2102
1210 14 return 1
1211 }
1212 # String => '\s#'
1213 # attribute => 'Comment'
1214 # context => 'General Comment'
1215 # type => 'RegExpr'
1216 2088 ▶ if ($self->testRegExpr($text, '\\s#', 0, 0, 0, undef, 0, 'General Comment', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s#", 0, 0, 0, undef, 0, "General Comment", "Comment")) 60 2028 2088
1217 60 return 1
1218 }
1219 # String => '[\[\]]+'
1220 # attribute => 'Delimiter'
1221 # context => '#stay'
1222 # type => 'RegExpr'
1223 2028 ▶ if ($self->testRegExpr($text, '[\\[\\]]+', 0, 0, 0, undef, 0, '#stay', 'Delimiter')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "[\\[\\]]+", 0, 0, 0, undef, 0, "#stay", "Delimiter")) 44 1984 2028
1224 44 return 1
1225 }
1226 # attribute => 'Delimiter'
1227 # beginRegion => 'def block'
1228 # char => '{'
1229 # context => '#stay'
1230 # type => 'DetectChar'
1231 1984 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, '#stay', 'Delimiter')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Delimiter")) 4 1980 1984
1232 4 return 1
1233 }
1234 # attribute => 'Delimiter'
1235 # char => '}'
1236 # context => '#stay'
1237 # endRegion => 'def block'
1238 # type => 'DetectChar'
1239 1980 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#stay', 'Delimiter')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Delimiter")) 4 1976 1980
1240 4 return 1
1241 }
1242 # String => '@[a-zA-Z_0-9]+'
1243 # attribute => 'Instance Variable'
1244 # context => '#stay'
1245 # type => 'RegExpr'
1246 1976 ▶ if ($self->testRegExpr($text, '@[a-zA-Z_0-9]+', 0, 0, 0, undef, 0, '#stay', 'Instance Variable')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\@[a-zA-Z_0-9]+", 0, 0, 0, undef, 0, "#stay", "Instance Variable")) 14 1962 1976
1247 14 return 1
1248 }
1249 # String => '@@[a-zA-Z_0-9]+'
1250 # attribute => 'Class Variable'
1251 # context => '#stay'
1252 # type => 'RegExpr'
1253 1962 ▶ if ($self->testRegExpr($text, '@@[a-zA-Z_0-9]+', 0, 0, 0, undef, 0, '#stay', 'Class Variable')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\@\@[a-zA-Z_0-9]+", 0, 0, 0, undef, 0, "#stay", "Class Variable")) 0 1962 1962
1254 0 return 1
1255 }
1256 # attribute => 'Regular Expression'
1257 # char => '/'
1258 # context => 'RegEx 1'
1259 # type => 'DetectChar'
1260 1962 ▶ if ($self->testDetectChar($text, '/', 0, 0, 0, undef, 0, 'RegEx 1', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "/", 0, 0, 0, undef, 0, "RegEx 1", "Regular Expression")) 18 1944 1962
1261 18 return 1
1262 }
1263 # String => '\s*[%](?=[Qqxw]?[^\s])'
1264 # attribute => 'GDL input'
1265 # beginRegion => 'GdlInput'
1266 # context => 'find_gdl_input'
1267 # type => 'RegExpr'
1268 1944 ▶ if ($self->testRegExpr($text, '\\s*[%](?=[Qqxw]?[^\\s])', 0, 0, 0, undef, 0, 'find_gdl_input', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*[%](?=[Qqxw]?[^\\s])", 0, 0, 0, undef, 0, "find_gdl_input", "GDL input")) 4 1940 1944
1269 4 return 1
1270 }
1271 1940 return 0;
1272 };
1273  
1274 614 ▶sub parseQuotedString {
Subroutine parseQuotedString: called CC=6 SCAR=19.1
Pod undocumented
1275 614 my ($self, $text) = @_;
1276 # String => '\\'
1277 # attribute => 'String'
1278 # context => '#stay'
1279 # type => 'StringDetect'
1280 614 ▶ if ($self->testStringDetect($text, '\\\\', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\\\\", 0, 0, 0, undef, 0, "#stay", "String")) 0 614 614
1281 0 return 1
1282 }
1283 # String => '\\\"'
1284 # attribute => 'String'
1285 # context => '#stay'
1286 # type => 'RegExpr'
1287 614 ▶ if ($self->testRegExpr($text, '\\\\\\"', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\\\\"", 0, 0, 0, undef, 0, "#stay", "String")) 0 614 614
1288 0 return 1
1289 }
1290 # String => '#@{1,2}'
1291 # attribute => 'Substitution'
1292 # context => 'Short Subst'
1293 # type => 'RegExpr'
1294 614 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, 'Short Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "Short Subst", "Substitution")) 0 614 614
1295 0 return 1
1296 }
1297 # attribute => 'Substitution'
1298 # char => '#'
1299 # char1 => '{'
1300 # context => 'Subst'
1301 # type => 'Detect2Chars'
1302 614 ▶ if ($self->testDetect2Chars($text, '#', '{', 0, 0, 0, undef, 0, 'Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "#", "{", 0, 0, 0, undef, 0, "Subst", "Substitution")) 4 610 614
1303 4 return 1
1304 }
1305 # attribute => 'String'
1306 # char => '"'
1307 # context => '#pop'
1308 # type => 'DetectChar'
1309 610 ▶ if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String")) 64 546 610
1310 64 return 1
1311 }
1312 546 return 0;
1313 };
1314  
1315 0 ▶sub parseRDocLabel {
Subroutine parseRDocLabel: not called CC=1 SCAR=6.9
Pod undocumented
1316 0 my ($self, $text) = @_;
1317 0 return 0;
1318 };
1319  
1320 234 ▶sub parseRegEx1 {
Subroutine parseRegEx1: called CC=6 SCAR=18.3
Pod undocumented
1321 234 my ($self, $text) = @_;
1322 # String => '\\\/'
1323 # attribute => 'Regular Expression'
1324 # context => '#stay'
1325 # type => 'RegExpr'
1326 234 ▶ if ($self->testRegExpr($text, '\\\\\\/', 0, 0, 0, undef, 0, '#stay', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\\\/", 0, 0, 0, undef, 0, "#stay", "Regular Expression")) 2 232 234
1327 2 return 1
1328 }
1329 # String => '[^\\]$'
1330 # attribute => 'Regular Expression'
1331 # context => '#pop'
1332 # type => 'RegExpr'
1333 232 ▶ if ($self->testRegExpr($text, '[^\\\\]$', 0, 0, 0, undef, 0, '#pop', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "[^\\\\]\$", 0, 0, 0, undef, 0, "#pop", "Regular Expression")) 0 232 232
1334 0 return 1
1335 }
1336 # String => '#@{1,2}'
1337 # attribute => 'Substitution'
1338 # context => 'Short Subst'
1339 # type => 'RegExpr'
1340 232 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, 'Short Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "Short Subst", "Substitution")) 0 232 232
1341 0 return 1
1342 }
1343 # attribute => 'Substitution'
1344 # char => '#'
1345 # char1 => '{'
1346 # context => 'Subst'
1347 # type => 'Detect2Chars'
1348 232 ▶ if ($self->testDetect2Chars($text, '#', '{', 0, 0, 0, undef, 0, 'Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "#", "{", 0, 0, 0, undef, 0, "Subst", "Substitution")) 2 230 232
1349 2 return 1
1350 }
1351 # String => '/[uiomxn]*'
1352 # attribute => 'Regular Expression'
1353 # context => '#pop'
1354 # type => 'RegExpr'
1355 230 ▶ if ($self->testRegExpr($text, '/[uiomxn]*', 0, 0, 0, undef, 0, '#pop', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "/[uiomxn]*", 0, 0, 0, undef, 0, "#pop", "Regular Expression")) 18 212 230
1356 18 return 1
1357 }
1358 212 return 0;
1359 };
1360  
1361 0 ▶sub parseShortSubst {
Subroutine parseShortSubst: not called CC=3 SCAR=24.8
Pod undocumented
1362 0 my ($self, $text) = @_;
1363 # String => '#@{1,2}'
1364 # attribute => 'Substitution'
1365 # context => '#stay'
1366 # type => 'RegExpr'
1367 0 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, '#stay', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "#stay", "Substitution")) 0 0 0
1368 0 return 1
1369 }
1370 # String => '\w(?!\w)'
1371 # attribute => 'Substitution'
1372 # context => '#pop'
1373 # type => 'RegExpr'
1374 0 ▶ if ($self->testRegExpr($text, '\\w(?!\\w)', 0, 0, 0, undef, 0, '#pop', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\w(?!\\w)", 0, 0, 0, undef, 0, "#pop", "Substitution")) 0 0 0
1375 0 return 1
1376 }
1377 0 return 0;
1378 };
1379  
1380 68 ▶sub parseSubst {
Subroutine parseSubst: called CC=3 SCAR=11.0
Pod undocumented
1381 68 my ($self, $text) = @_;
1382 # attribute => 'Substitution'
1383 # char => '}'
1384 # context => '#pop'
1385 # type => 'DetectChar'
1386 68 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "Substitution")) 8 60 68
1387 8 return 1
1388 }
1389 # context => 'Normal'
1390 # type => 'IncludeRules'
1391 60 ▶ if ($self->includeRules('Normal', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("Normal", $text)) 6 54 60
1392 6 return 1
1393 }
1394 54 return 0;
1395 };
1396  
1397 0 ▶sub parseapostrophed_indented_heredoc {
Subroutine parseapostrophed_indented_heredoc: not called CC=2 SCAR=17.9
Pod undocumented
1398 0 my ($self, $text) = @_;
1399 # String => '%1$'
1400 # attribute => 'Keyword'
1401 # context => '#pop#pop'
1402 # dynamic => 'true'
1403 # endRegion => 'HereDocument'
1404 # firstNonSpace => 'true'
1405 # type => 'RegExpr'
1406 0 ▶ if ($self->testRegExpr($text, '%1$', 0, 1, 0, undef, 1, '#pop#pop', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "%1\$", 0, 1, 0, undef, 1, "#pop#pop", "Keyword")) 0 0 0
1407 0 return 1
1408 }
1409 0 return 0;
1410 };
1411  
1412 0 ▶sub parseapostrophed_normal_heredoc {
Subroutine parseapostrophed_normal_heredoc: not called CC=2 SCAR=17.9
Pod undocumented
1413 0 my ($self, $text) = @_;
1414 # String => '%1$'
1415 # attribute => 'Keyword'
1416 # column => '0'
1417 # context => '#pop#pop'
1418 # dynamic => 'true'
1419 # endRegion => 'HereDocument'
1420 # type => 'RegExpr'
1421 0 ▶ if ($self->testRegExpr($text, '%1$', 0, 1, 0, 0, 0, '#pop#pop', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "%1\$", 0, 1, 0, 0, 0, "#pop#pop", "Keyword")) 0 0 0
1422 0 return 1
1423 }
1424 0 return 0;
1425 };
1426  
1427 0 ▶sub parseapostrophed_rules {
Subroutine parseapostrophed_rules: not called CC=2 SCAR=17.9
Pod undocumented
1428 0 my ($self, $text) = @_;
1429 # attribute => 'Raw String'
1430 # char => '\'
1431 # char1 => '\'
1432 # context => '#stay'
1433 # type => 'Detect2Chars'
1434 0 ▶ if ($self->testDetect2Chars($text, '\\', '\\', 0, 0, 0, undef, 0, '#stay', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "\\", 0, 0, 0, undef, 0, "#stay", "Raw String")) 0 0 0
1435 0 return 1
1436 }
1437 0 return 0;
1438 };
1439  
1440 20 ▶sub parsedq_string_rules {
Subroutine parsedq_string_rules: called CC=4 SCAR=16.6
Pod undocumented
1441 20 my ($self, $text) = @_;
1442 # attribute => 'String'
1443 # char => '\'
1444 # char1 => '\'
1445 # context => '#stay'
1446 # type => 'Detect2Chars'
1447 20 ▶ if ($self->testDetect2Chars($text, '\\', '\\', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "\\", 0, 0, 0, undef, 0, "#stay", "String")) 0 20 20
1448 0 return 1
1449 }
1450 # String => '#@{1,2}'
1451 # attribute => 'Substitution'
1452 # context => 'Short Subst'
1453 # type => 'RegExpr'
1454 20 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, 'Short Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "Short Subst", "Substitution")) 0 20 20
1455 0 return 1
1456 }
1457 # attribute => 'Substitution'
1458 # char => '#'
1459 # char1 => '{'
1460 # context => 'Subst'
1461 # type => 'Detect2Chars'
1462 20 ▶ if ($self->testDetect2Chars($text, '#', '{', 0, 0, 0, undef, 0, 'Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "#", "{", 0, 0, 0, undef, 0, "Subst", "Substitution")) 0 20 20
1463 0 return 1
1464 }
1465 20 return 0;
1466 };
1467  
1468 4 ▶sub parsefind_gdl_input {
Subroutine parsefind_gdl_input: called CC=26 SCAR=45.7
Pod undocumented
1469 4 my ($self, $text) = @_;
1470 # String => 'w\('
1471 # attribute => 'GDL input'
1472 # context => 'gdl_token_array_1'
1473 # type => 'RegExpr'
1474 4 ▶ if ($self->testRegExpr($text, 'w\\(', 0, 0, 0, undef, 0, 'gdl_token_array_1', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "w\\(", 0, 0, 0, undef, 0, "gdl_token_array_1", "GDL input")) 0 4 4
1475 0 return 1
1476 }
1477 # String => 'w\{'
1478 # attribute => 'GDL input'
1479 # context => 'gdl_token_array_2'
1480 # type => 'RegExpr'
1481 4 ▶ if ($self->testRegExpr($text, 'w\\{', 0, 0, 0, undef, 0, 'gdl_token_array_2', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "w\\{", 0, 0, 0, undef, 0, "gdl_token_array_2", "GDL input")) 0 4 4
1482 0 return 1
1483 }
1484 # String => 'w\['
1485 # attribute => 'GDL input'
1486 # context => 'gdl_token_array_3'
1487 # type => 'RegExpr'
1488 4 ▶ if ($self->testRegExpr($text, 'w\\[', 0, 0, 0, undef, 0, 'gdl_token_array_3', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "w\\[", 0, 0, 0, undef, 0, "gdl_token_array_3", "GDL input")) 2 2 4
1489 2 return 1
1490 }
1491 # String => 'w<'
1492 # attribute => 'GDL input'
1493 # context => 'gdl_token_array_4'
1494 # type => 'RegExpr'
1495 2 ▶ if ($self->testRegExpr($text, 'w<', 0, 0, 0, undef, 0, 'gdl_token_array_4', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "w<", 0, 0, 0, undef, 0, "gdl_token_array_4", "GDL input")) 0 2 2
1496 0 return 1
1497 }
1498 # String => 'w([^\s\w])'
1499 # attribute => 'GDL input'
1500 # context => 'gdl_token_array_5'
1501 # type => 'RegExpr'
1502 2 ▶ if ($self->testRegExpr($text, 'w([^\\s\\w])', 0, 0, 0, undef, 0, 'gdl_token_array_5', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "w([^\\s\\w])", 0, 0, 0, undef, 0, "gdl_token_array_5", "GDL input")) 0 2 2
1503 0 return 1
1504 }
1505 # String => 'q\('
1506 # attribute => 'GDL input'
1507 # context => 'gdl_apostrophed_1'
1508 # type => 'RegExpr'
1509 2 ▶ if ($self->testRegExpr($text, 'q\\(', 0, 0, 0, undef, 0, 'gdl_apostrophed_1', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "q\\(", 0, 0, 0, undef, 0, "gdl_apostrophed_1", "GDL input")) 0 2 2
1510 0 return 1
1511 }
1512 # String => 'q\{'
1513 # attribute => 'GDL input'
1514 # context => 'gdl_apostrophed_2'
1515 # type => 'RegExpr'
1516 2 ▶ if ($self->testRegExpr($text, 'q\\{', 0, 0, 0, undef, 0, 'gdl_apostrophed_2', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "q\\{", 0, 0, 0, undef, 0, "gdl_apostrophed_2", "GDL input")) 0 2 2
1517 0 return 1
1518 }
1519 # String => 'q\['
1520 # attribute => 'GDL input'
1521 # context => 'gdl_apostrophed_3'
1522 # type => 'RegExpr'
1523 2 ▶ if ($self->testRegExpr($text, 'q\\[', 0, 0, 0, undef, 0, 'gdl_apostrophed_3', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "q\\[", 0, 0, 0, undef, 0, "gdl_apostrophed_3", "GDL input")) 0 2 2
1524 0 return 1
1525 }
1526 # String => 'q<'
1527 # attribute => 'GDL input'
1528 # context => 'gdl_apostrophed_4'
1529 # type => 'RegExpr'
1530 2 ▶ if ($self->testRegExpr($text, 'q<', 0, 0, 0, undef, 0, 'gdl_apostrophed_4', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "q<", 0, 0, 0, undef, 0, "gdl_apostrophed_4", "GDL input")) 0 2 2
1531 0 return 1
1532 }
1533 # String => 'q([^\s\w])'
1534 # attribute => 'GDL input'
1535 # context => 'gdl_apostrophed_5'
1536 # type => 'RegExpr'
1537 2 ▶ if ($self->testRegExpr($text, 'q([^\\s\\w])', 0, 0, 0, undef, 0, 'gdl_apostrophed_5', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "q([^\\s\\w])", 0, 0, 0, undef, 0, "gdl_apostrophed_5", "GDL input")) 0 2 2
1538 0 return 1
1539 }
1540 # String => 'x\('
1541 # attribute => 'GDL input'
1542 # context => 'gdl_shell_command_1'
1543 # type => 'RegExpr'
1544 2 ▶ if ($self->testRegExpr($text, 'x\\(', 0, 0, 0, undef, 0, 'gdl_shell_command_1', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "x\\(", 0, 0, 0, undef, 0, "gdl_shell_command_1", "GDL input")) 0 2 2
1545 0 return 1
1546 }
1547 # String => 'x\{'
1548 # attribute => 'GDL input'
1549 # context => 'gdl_shell_command_2'
1550 # type => 'RegExpr'
1551 2 ▶ if ($self->testRegExpr($text, 'x\\{', 0, 0, 0, undef, 0, 'gdl_shell_command_2', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "x\\{", 0, 0, 0, undef, 0, "gdl_shell_command_2", "GDL input")) 0 2 2
1552 0 return 1
1553 }
1554 # String => 'x\['
1555 # attribute => 'GDL input'
1556 # context => 'gdl_shell_command_3'
1557 # type => 'RegExpr'
1558 2 ▶ if ($self->testRegExpr($text, 'x\\[', 0, 0, 0, undef, 0, 'gdl_shell_command_3', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "x\\[", 0, 0, 0, undef, 0, "gdl_shell_command_3", "GDL input")) 0 2 2
1559 0 return 1
1560 }
1561 # String => 'x<'
1562 # attribute => 'GDL input'
1563 # context => 'gdl_shell_command_4'
1564 # type => 'RegExpr'
1565 2 ▶ if ($self->testRegExpr($text, 'x<', 0, 0, 0, undef, 0, 'gdl_shell_command_4', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "x<", 0, 0, 0, undef, 0, "gdl_shell_command_4", "GDL input")) 0 2 2
1566 0 return 1
1567 }
1568 # String => 'x([^\s\w])'
1569 # attribute => 'GDL input'
1570 # context => 'gdl_shell_command_5'
1571 # type => 'RegExpr'
1572 2 ▶ if ($self->testRegExpr($text, 'x([^\\s\\w])', 0, 0, 0, undef, 0, 'gdl_shell_command_5', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "x([^\\s\\w])", 0, 0, 0, undef, 0, "gdl_shell_command_5", "GDL input")) 0 2 2
1573 0 return 1
1574 }
1575 # String => 'r\('
1576 # attribute => 'GDL input'
1577 # context => 'gdl_regexpr_1'
1578 # type => 'RegExpr'
1579 2 ▶ if ($self->testRegExpr($text, 'r\\(', 0, 0, 0, undef, 0, 'gdl_regexpr_1', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "r\\(", 0, 0, 0, undef, 0, "gdl_regexpr_1", "GDL input")) 0 2 2
1580 0 return 1
1581 }
1582 # String => 'r\{'
1583 # attribute => 'GDL input'
1584 # context => 'gdl_regexpr_2'
1585 # type => 'RegExpr'
1586 2 ▶ if ($self->testRegExpr($text, 'r\\{', 0, 0, 0, undef, 0, 'gdl_regexpr_2', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "r\\{", 0, 0, 0, undef, 0, "gdl_regexpr_2", "GDL input")) 0 2 2
1587 0 return 1
1588 }
1589 # String => 'r\['
1590 # attribute => 'GDL input'
1591 # context => 'gdl_regexpr_3'
1592 # type => 'RegExpr'
1593 2 ▶ if ($self->testRegExpr($text, 'r\\[', 0, 0, 0, undef, 0, 'gdl_regexpr_3', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "r\\[", 0, 0, 0, undef, 0, "gdl_regexpr_3", "GDL input")) 0 2 2
1594 0 return 1
1595 }
1596 # String => 'r<'
1597 # attribute => 'GDL input'
1598 # context => 'gdl_regexpr_4'
1599 # type => 'RegExpr'
1600 2 ▶ if ($self->testRegExpr($text, 'r<', 0, 0, 0, undef, 0, 'gdl_regexpr_4', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "r<", 0, 0, 0, undef, 0, "gdl_regexpr_4", "GDL input")) 0 2 2
1601 0 return 1
1602 }
1603 # String => 'r([^\s\w])'
1604 # attribute => 'GDL input'
1605 # context => 'gdl_regexpr_5'
1606 # type => 'RegExpr'
1607 2 ▶ if ($self->testRegExpr($text, 'r([^\\s\\w])', 0, 0, 0, undef, 0, 'gdl_regexpr_5', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "r([^\\s\\w])", 0, 0, 0, undef, 0, "gdl_regexpr_5", "GDL input")) 0 2 2
1608 0 return 1
1609 }
1610 # String => 'Q?\('
1611 # attribute => 'GDL input'
1612 # context => 'gdl_dq_string_1'
1613 # type => 'RegExpr'
1614 2 ▶ if ($self->testRegExpr($text, 'Q?\\(', 0, 0, 0, undef, 0, 'gdl_dq_string_1', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "Q?\\(", 0, 0, 0, undef, 0, "gdl_dq_string_1", "GDL input")) 0 2 2
1615 0 return 1
1616 }
1617 # String => 'Q?\{'
1618 # attribute => 'GDL input'
1619 # context => 'gdl_dq_string_2'
1620 # type => 'RegExpr'
1621 2 ▶ if ($self->testRegExpr($text, 'Q?\\{', 0, 0, 0, undef, 0, 'gdl_dq_string_2', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "Q?\\{", 0, 0, 0, undef, 0, "gdl_dq_string_2", "GDL input")) 0 2 2
1622 0 return 1
1623 }
1624 # String => 'Q?\['
1625 # attribute => 'GDL input'
1626 # context => 'gdl_dq_string_3'
1627 # type => 'RegExpr'
1628 2 ▶ if ($self->testRegExpr($text, 'Q?\\[', 0, 0, 0, undef, 0, 'gdl_dq_string_3', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "Q?\\[", 0, 0, 0, undef, 0, "gdl_dq_string_3", "GDL input")) 0 2 2
1629 0 return 1
1630 }
1631 # String => 'Q?<'
1632 # attribute => 'GDL input'
1633 # context => 'gdl_dq_string_4'
1634 # type => 'RegExpr'
1635 2 ▶ if ($self->testRegExpr($text, 'Q?<', 0, 0, 0, undef, 0, 'gdl_dq_string_4', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "Q?<", 0, 0, 0, undef, 0, "gdl_dq_string_4", "GDL input")) 0 2 2
1636 0 return 1
1637 }
1638 # String => 'Q?([^\s\w])'
1639 # attribute => 'GDL input'
1640 # context => 'gdl_dq_string_5'
1641 # type => 'RegExpr'
1642 2 ▶ if ($self->testRegExpr($text, 'Q?([^\\s\\w])', 0, 0, 0, undef, 0, 'gdl_dq_string_5', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "Q?([^\\s\\w])", 0, 0, 0, undef, 0, "gdl_dq_string_5", "GDL input")) 2 0 2
1643 2 return 1
1644 }
1645 0 return 0;
1646 };
1647  
1648 0 ▶sub parsefind_heredoc {
Subroutine parsefind_heredoc: not called CC=3 SCAR=24.8
Pod undocumented
1649 0 my ($self, $text) = @_;
1650 # String => ''(\w+)''
1651 # attribute => 'Keyword'
1652 # context => 'apostrophed_normal_heredoc'
1653 # type => 'RegExpr'
1654 0 ▶ if ($self->testRegExpr($text, '\'(\\w+)\'', 0, 0, 0, undef, 0, 'apostrophed_normal_heredoc', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "'(\\w+)'", 0, 0, 0, undef, 0, "apostrophed_normal_heredoc", "Keyword")) 0 0 0
1655 0 return 1
1656 }
1657 # String => '"?(\w+)"?'
1658 # attribute => 'Keyword'
1659 # context => 'normal_heredoc'
1660 # type => 'RegExpr'
1661 0 ▶ if ($self->testRegExpr($text, '"?(\\w+)"?', 0, 0, 0, undef, 0, 'normal_heredoc', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\"?(\\w+)\"?", 0, 0, 0, undef, 0, "normal_heredoc", "Keyword")) 0 0 0
1662 0 return 1
1663 }
1664 0 return 0;
1665 };
1666  
1667 2 ▶sub parsefind_indented_heredoc {
Subroutine parsefind_indented_heredoc: called CC=3 SCAR=12.7
Pod undocumented
1668 2 my ($self, $text) = @_;
1669 # String => ''(\w+)''
1670 # attribute => 'Keyword'
1671 # context => 'apostrophed_indented_heredoc'
1672 # type => 'RegExpr'
1673 2 ▶ if ($self->testRegExpr($text, '\'(\\w+)\'', 0, 0, 0, undef, 0, 'apostrophed_indented_heredoc', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "'(\\w+)'", 0, 0, 0, undef, 0, "apostrophed_indented_heredoc", "Keyword")) 0 2 2
1674 0 return 1
1675 }
1676 # String => '"?(\w+)"?'
1677 # attribute => 'Keyword'
1678 # context => 'indented_heredoc'
1679 # type => 'RegExpr'
1680 2 ▶ if ($self->testRegExpr($text, '"?(\\w+)"?', 0, 0, 0, undef, 0, 'indented_heredoc', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\"?(\\w+)\"?", 0, 0, 0, undef, 0, "indented_heredoc", "Keyword")) 2 0 2
1681 2 return 1
1682 }
1683 0 return 0;
1684 };
1685  
1686 0 ▶sub parsegdl_apostrophed_1 {
Subroutine parsegdl_apostrophed_1: not called CC=5 SCAR=34.0
Pod undocumented
1687 0 my ($self, $text) = @_;
1688 # context => 'apostrophed_rules'
1689 # type => 'IncludeRules'
1690 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1691 0 return 1
1692 }
1693 # attribute => 'Raw String'
1694 # char => '\'
1695 # char1 => ')'
1696 # context => '#stay'
1697 # type => 'Detect2Chars'
1698 0 ▶ if ($self->testDetect2Chars($text, '\\', ')', 0, 0, 0, undef, 0, '#stay', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ")", 0, 0, 0, undef, 0, "#stay", "Raw String")) 0 0 0
1699 0 return 1
1700 }
1701 # attribute => 'Raw String'
1702 # char => '('
1703 # context => 'gdl_apostrophed_1_nested'
1704 # type => 'DetectChar'
1705 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_apostrophed_1_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_apostrophed_1_nested", "Raw String")) 0 0 0
1706 0 return 1
1707 }
1708 # attribute => 'GDL input'
1709 # char => ')'
1710 # context => '#pop#pop'
1711 # endRegion => 'GdlInput'
1712 # type => 'DetectChar'
1713 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
1714 0 return 1
1715 }
1716 0 return 0;
1717 };
1718  
1719 0 ▶sub parsegdl_apostrophed_1_nested {
Subroutine parsegdl_apostrophed_1_nested: not called CC=4 SCAR=30.0
Pod undocumented
1720 0 my ($self, $text) = @_;
1721 # context => 'apostrophed_rules'
1722 # type => 'IncludeRules'
1723 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1724 0 return 1
1725 }
1726 # attribute => 'Raw String'
1727 # char => '('
1728 # context => 'gdl_apostrophed_1_nested'
1729 # type => 'DetectChar'
1730 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_apostrophed_1_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_apostrophed_1_nested", "Raw String")) 0 0 0
1731 0 return 1
1732 }
1733 # attribute => 'Raw String'
1734 # char => ')'
1735 # context => '#pop'
1736 # type => 'DetectChar'
1737 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "Raw String")) 0 0 0
1738 0 return 1
1739 }
1740 0 return 0;
1741 };
1742  
1743 0 ▶sub parsegdl_apostrophed_2 {
Subroutine parsegdl_apostrophed_2: not called CC=5 SCAR=34.0
Pod undocumented
1744 0 my ($self, $text) = @_;
1745 # context => 'apostrophed_rules'
1746 # type => 'IncludeRules'
1747 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1748 0 return 1
1749 }
1750 # attribute => 'Raw String'
1751 # char => '\'
1752 # char1 => '}'
1753 # context => '#stay'
1754 # type => 'Detect2Chars'
1755 0 ▶ if ($self->testDetect2Chars($text, '\\', '}', 0, 0, 0, undef, 0, '#stay', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "}", 0, 0, 0, undef, 0, "#stay", "Raw String")) 0 0 0
1756 0 return 1
1757 }
1758 # attribute => 'GDL input'
1759 # char => '}'
1760 # context => '#pop#pop'
1761 # endRegion => 'GdlInput'
1762 # type => 'DetectChar'
1763 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
1764 0 return 1
1765 }
1766 # attribute => 'Raw String'
1767 # char => '{'
1768 # context => 'gdl_apostrophed_2_nested'
1769 # type => 'DetectChar'
1770 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_apostrophed_2_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_apostrophed_2_nested", "Raw String")) 0 0 0
1771 0 return 1
1772 }
1773 0 return 0;
1774 };
1775  
1776 0 ▶sub parsegdl_apostrophed_2_nested {
Subroutine parsegdl_apostrophed_2_nested: not called CC=4 SCAR=30.0
Pod undocumented
1777 0 my ($self, $text) = @_;
1778 # context => 'apostrophed_rules'
1779 # type => 'IncludeRules'
1780 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1781 0 return 1
1782 }
1783 # attribute => 'Raw String'
1784 # char => '{'
1785 # context => 'gdl_apostrophed_2_nested'
1786 # type => 'DetectChar'
1787 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_apostrophed_2_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_apostrophed_2_nested", "Raw String")) 0 0 0
1788 0 return 1
1789 }
1790 # attribute => 'Raw String'
1791 # char => '}'
1792 # context => '#pop'
1793 # type => 'DetectChar'
1794 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "Raw String")) 0 0 0
1795 0 return 1
1796 }
1797 0 return 0;
1798 };
1799  
1800 0 ▶sub parsegdl_apostrophed_3 {
Subroutine parsegdl_apostrophed_3: not called CC=5 SCAR=34.0
Pod undocumented
1801 0 my ($self, $text) = @_;
1802 # context => 'apostrophed_rules'
1803 # type => 'IncludeRules'
1804 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1805 0 return 1
1806 }
1807 # attribute => 'Raw String'
1808 # char => '\'
1809 # char1 => ']'
1810 # context => '#stay'
1811 # type => 'Detect2Chars'
1812 0 ▶ if ($self->testDetect2Chars($text, '\\', ']', 0, 0, 0, undef, 0, '#stay', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "]", 0, 0, 0, undef, 0, "#stay", "Raw String")) 0 0 0
1813 0 return 1
1814 }
1815 # attribute => 'Raw String'
1816 # char => '['
1817 # context => 'gdl_apostrophed_3_nested'
1818 # type => 'DetectChar'
1819 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_apostrophed_3_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_apostrophed_3_nested", "Raw String")) 0 0 0
1820 0 return 1
1821 }
1822 # attribute => 'GDL input'
1823 # char => ']'
1824 # context => '#pop#pop'
1825 # endRegion => 'GdlInput'
1826 # type => 'DetectChar'
1827 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
1828 0 return 1
1829 }
1830 0 return 0;
1831 };
1832  
1833 0 ▶sub parsegdl_apostrophed_3_nested {
Subroutine parsegdl_apostrophed_3_nested: not called CC=4 SCAR=30.0
Pod undocumented
1834 0 my ($self, $text) = @_;
1835 # context => 'apostrophed_rules'
1836 # type => 'IncludeRules'
1837 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1838 0 return 1
1839 }
1840 # attribute => 'Raw String'
1841 # char => '['
1842 # context => 'gdl_apostrophed_3_nested'
1843 # type => 'DetectChar'
1844 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_apostrophed_3_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_apostrophed_3_nested", "Raw String")) 0 0 0
1845 0 return 1
1846 }
1847 # attribute => 'Raw String'
1848 # char => ']'
1849 # context => '#pop'
1850 # type => 'DetectChar'
1851 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop", "Raw String")) 0 0 0
1852 0 return 1
1853 }
1854 0 return 0;
1855 };
1856  
1857 0 ▶sub parsegdl_apostrophed_4 {
Subroutine parsegdl_apostrophed_4: not called CC=5 SCAR=34.0
Pod undocumented
1858 0 my ($self, $text) = @_;
1859 # context => 'apostrophed_rules'
1860 # type => 'IncludeRules'
1861 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1862 0 return 1
1863 }
1864 # attribute => 'Raw String'
1865 # char => '\'
1866 # char1 => '>'
1867 # context => '#stay'
1868 # type => 'Detect2Chars'
1869 0 ▶ if ($self->testDetect2Chars($text, '\\', '>', 0, 0, 0, undef, 0, '#stay', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ">", 0, 0, 0, undef, 0, "#stay", "Raw String")) 0 0 0
1870 0 return 1
1871 }
1872 # attribute => 'Raw String'
1873 # char => '<'
1874 # context => 'gdl_apostrophed_4_nested'
1875 # type => 'DetectChar'
1876 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_apostrophed_4_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_apostrophed_4_nested", "Raw String")) 0 0 0
1877 0 return 1
1878 }
1879 # attribute => 'GDL input'
1880 # char => '>'
1881 # context => '#pop#pop'
1882 # endRegion => 'GdlInput'
1883 # type => 'DetectChar'
1884 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
1885 0 return 1
1886 }
1887 0 return 0;
1888 };
1889  
1890 0 ▶sub parsegdl_apostrophed_4_nested {
Subroutine parsegdl_apostrophed_4_nested: not called CC=4 SCAR=30.0
Pod undocumented
1891 0 my ($self, $text) = @_;
1892 # context => 'apostrophed_rules'
1893 # type => 'IncludeRules'
1894 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1895 0 return 1
1896 }
1897 # attribute => 'Raw String'
1898 # char => '<'
1899 # context => 'gdl_apostrophed_4_nested'
1900 # type => 'DetectChar'
1901 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_apostrophed_4_nested', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_apostrophed_4_nested", "Raw String")) 0 0 0
1902 0 return 1
1903 }
1904 # attribute => 'Raw String'
1905 # char => '>'
1906 # context => '#pop'
1907 # type => 'DetectChar'
1908 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop", "Raw String")) 0 0 0
1909 0 return 1
1910 }
1911 0 return 0;
1912 };
1913  
1914 0 ▶sub parsegdl_apostrophed_5 {
Subroutine parsegdl_apostrophed_5: not called CC=4 SCAR=30.0
Pod undocumented
1915 0 my ($self, $text) = @_;
1916 # context => 'apostrophed_rules'
1917 # type => 'IncludeRules'
1918 0 ▶ if ($self->includeRules('apostrophed_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("apostrophed_rules", $text)) 0 0 0
1919 0 return 1
1920 }
1921 # String => '\\%1'
1922 # attribute => 'Raw String'
1923 # context => '#stay'
1924 # dynamic => 'true'
1925 # type => 'RegExpr'
1926 0 ▶ if ($self->testRegExpr($text, '\\\\%1', 0, 1, 0, undef, 0, '#stay', 'Raw String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\%1", 0, 1, 0, undef, 0, "#stay", "Raw String")) 0 0 0
1927 0 return 1
1928 }
1929 # String => '\s*%1'
1930 # attribute => 'GDL input'
1931 # context => '#pop#pop'
1932 # dynamic => 'true'
1933 # endRegion => 'GdlInput'
1934 # type => 'RegExpr'
1935 0 ▶ if ($self->testRegExpr($text, '\\s*%1', 0, 1, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*%1", 0, 1, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
1936 0 return 1
1937 }
1938 0 return 0;
1939 };
1940  
1941 0 ▶sub parsegdl_dq_string_1 {
Subroutine parsegdl_dq_string_1: not called CC=5 SCAR=34.0
Pod undocumented
1942 0 my ($self, $text) = @_;
1943 # context => 'dq_string_rules'
1944 # type => 'IncludeRules'
1945 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
1946 0 return 1
1947 }
1948 # attribute => 'String'
1949 # char => '\'
1950 # char1 => ')'
1951 # context => '#stay'
1952 # type => 'Detect2Chars'
1953 0 ▶ if ($self->testDetect2Chars($text, '\\', ')', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ")", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
1954 0 return 1
1955 }
1956 # attribute => 'String'
1957 # char => '('
1958 # context => 'gdl_dq_string_1_nested'
1959 # type => 'DetectChar'
1960 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_dq_string_1_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_dq_string_1_nested", "String")) 0 0 0
1961 0 return 1
1962 }
1963 # attribute => 'GDL input'
1964 # char => ')'
1965 # context => '#pop#pop'
1966 # endRegion => 'GdlInput'
1967 # type => 'DetectChar'
1968 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
1969 0 return 1
1970 }
1971 0 return 0;
1972 };
1973  
1974 0 ▶sub parsegdl_dq_string_1_nested {
Subroutine parsegdl_dq_string_1_nested: not called CC=4 SCAR=30.0
Pod undocumented
1975 0 my ($self, $text) = @_;
1976 # context => 'dq_string_rules'
1977 # type => 'IncludeRules'
1978 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
1979 0 return 1
1980 }
1981 # attribute => 'String'
1982 # char => '('
1983 # context => 'gdl_dq_string_1_nested'
1984 # type => 'DetectChar'
1985 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_dq_string_1_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_dq_string_1_nested", "String")) 0 0 0
1986 0 return 1
1987 }
1988 # attribute => 'String'
1989 # char => ')'
1990 # context => '#pop'
1991 # type => 'DetectChar'
1992 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
1993 0 return 1
1994 }
1995 0 return 0;
1996 };
1997  
1998 0 ▶sub parsegdl_dq_string_2 {
Subroutine parsegdl_dq_string_2: not called CC=5 SCAR=34.0
Pod undocumented
1999 0 my ($self, $text) = @_;
2000 # context => 'dq_string_rules'
2001 # type => 'IncludeRules'
2002 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
2003 0 return 1
2004 }
2005 # attribute => 'String'
2006 # char => '\'
2007 # char1 => '}'
2008 # context => '#stay'
2009 # type => 'Detect2Chars'
2010 0 ▶ if ($self->testDetect2Chars($text, '\\', '}', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "}", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
2011 0 return 1
2012 }
2013 # attribute => 'GDL input'
2014 # char => '}'
2015 # context => '#pop#pop'
2016 # endRegion => 'GdlInput'
2017 # type => 'DetectChar'
2018 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2019 0 return 1
2020 }
2021 # attribute => 'String'
2022 # char => '{'
2023 # context => 'gdl_dq_string_2_nested'
2024 # type => 'DetectChar'
2025 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_dq_string_2_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_dq_string_2_nested", "String")) 0 0 0
2026 0 return 1
2027 }
2028 0 return 0;
2029 };
2030  
2031 0 ▶sub parsegdl_dq_string_2_nested {
Subroutine parsegdl_dq_string_2_nested: not called CC=4 SCAR=30.0
Pod undocumented
2032 0 my ($self, $text) = @_;
2033 # attribute => 'String'
2034 # char => '{'
2035 # context => 'gdl_dq_string_2_nested'
2036 # type => 'DetectChar'
2037 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_dq_string_2_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_dq_string_2_nested", "String")) 0 0 0
2038 0 return 1
2039 }
2040 # attribute => 'String'
2041 # char => '}'
2042 # context => '#pop'
2043 # type => 'DetectChar'
2044 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
2045 0 return 1
2046 }
2047 # context => 'dq_string_rules'
2048 # type => 'IncludeRules'
2049 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
2050 0 return 1
2051 }
2052 0 return 0;
2053 };
2054  
2055 0 ▶sub parsegdl_dq_string_3 {
Subroutine parsegdl_dq_string_3: not called CC=5 SCAR=34.0
Pod undocumented
2056 0 my ($self, $text) = @_;
2057 # context => 'dq_string_rules'
2058 # type => 'IncludeRules'
2059 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
2060 0 return 1
2061 }
2062 # attribute => 'String'
2063 # char => '\'
2064 # char1 => ']'
2065 # context => '#stay'
2066 # type => 'Detect2Chars'
2067 0 ▶ if ($self->testDetect2Chars($text, '\\', ']', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "]", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
2068 0 return 1
2069 }
2070 # attribute => 'String'
2071 # char => '['
2072 # context => 'gdl_dq_string_3_nested'
2073 # type => 'DetectChar'
2074 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_dq_string_3_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_dq_string_3_nested", "String")) 0 0 0
2075 0 return 1
2076 }
2077 # attribute => 'GDL input'
2078 # char => ']'
2079 # context => '#pop#pop'
2080 # endRegion => 'GdlInput'
2081 # type => 'DetectChar'
2082 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2083 0 return 1
2084 }
2085 0 return 0;
2086 };
2087  
2088 0 ▶sub parsegdl_dq_string_3_nested {
Subroutine parsegdl_dq_string_3_nested: not called CC=4 SCAR=30.0
Pod undocumented
2089 0 my ($self, $text) = @_;
2090 # attribute => 'String'
2091 # char => '['
2092 # context => 'gdl_dq_string_3_nested'
2093 # type => 'DetectChar'
2094 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_dq_string_3_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_dq_string_3_nested", "String")) 0 0 0
2095 0 return 1
2096 }
2097 # attribute => 'String'
2098 # char => ']'
2099 # context => '#pop'
2100 # type => 'DetectChar'
2101 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
2102 0 return 1
2103 }
2104 # context => 'dq_string_rules'
2105 # type => 'IncludeRules'
2106 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
2107 0 return 1
2108 }
2109 0 return 0;
2110 };
2111  
2112 0 ▶sub parsegdl_dq_string_4 {
Subroutine parsegdl_dq_string_4: not called CC=5 SCAR=34.0
Pod undocumented
2113 0 my ($self, $text) = @_;
2114 # context => 'dq_string_rules'
2115 # type => 'IncludeRules'
2116 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
2117 0 return 1
2118 }
2119 # attribute => 'String'
2120 # char => '\'
2121 # char1 => '>'
2122 # context => '#stay'
2123 # type => 'Detect2Chars'
2124 0 ▶ if ($self->testDetect2Chars($text, '\\', '>', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ">", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
2125 0 return 1
2126 }
2127 # attribute => 'String'
2128 # char => '<'
2129 # context => 'gdl_dq_string_4_nested'
2130 # type => 'DetectChar'
2131 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_dq_string_4_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_dq_string_4_nested", "String")) 0 0 0
2132 0 return 1
2133 }
2134 # attribute => 'GDL input'
2135 # char => '>'
2136 # context => '#pop#pop'
2137 # endRegion => 'GdlInput'
2138 # type => 'DetectChar'
2139 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2140 0 return 1
2141 }
2142 0 return 0;
2143 };
2144  
2145 0 ▶sub parsegdl_dq_string_4_nested {
Subroutine parsegdl_dq_string_4_nested: not called CC=4 SCAR=30.0
Pod undocumented
2146 0 my ($self, $text) = @_;
2147 # attribute => 'String'
2148 # char => '<'
2149 # context => 'gdl_dq_string_4_nested'
2150 # type => 'DetectChar'
2151 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_dq_string_4_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_dq_string_4_nested", "String")) 0 0 0
2152 0 return 1
2153 }
2154 # attribute => 'String'
2155 # char => '>'
2156 # context => '#pop'
2157 # type => 'DetectChar'
2158 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
2159 0 return 1
2160 }
2161 # context => 'dq_string_rules'
2162 # type => 'IncludeRules'
2163 0 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 0 0
2164 0 return 1
2165 }
2166 0 return 0;
2167 };
2168  
2169 20 ▶sub parsegdl_dq_string_5 {
Subroutine parsegdl_dq_string_5: called CC=4 SCAR=14.8
Pod undocumented
2170 20 my ($self, $text) = @_;
2171 # context => 'dq_string_rules'
2172 # type => 'IncludeRules'
2173 20 ▶ if ($self->includeRules('dq_string_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("dq_string_rules", $text)) 0 20 20
2174 0 return 1
2175 }
2176 # String => '\\%1'
2177 # attribute => 'String'
2178 # context => '#stay'
2179 # dynamic => 'true'
2180 # type => 'RegExpr'
2181 20 ▶ if ($self->testRegExpr($text, '\\\\%1', 0, 1, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\%1", 0, 1, 0, undef, 0, "#stay", "String")) 0 20 20
2182 0 return 1
2183 }
2184 # String => '\s*%1'
2185 # attribute => 'GDL input'
2186 # context => '#pop#pop'
2187 # dynamic => 'true'
2188 # endRegion => 'GdlInput'
2189 # type => 'RegExpr'
2190 20 ▶ if ($self->testRegExpr($text, '\\s*%1', 0, 1, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*%1", 0, 1, 0, undef, 0, "#pop#pop", "GDL input")) 2 18 20
2191 2 return 1
2192 }
2193 18 return 0;
2194 };
2195  
2196 0 ▶sub parsegdl_regexpr_1 {
Subroutine parsegdl_regexpr_1: not called CC=5 SCAR=34.0
Pod undocumented
2197 0 my ($self, $text) = @_;
2198 # context => 'regexpr_rules'
2199 # type => 'IncludeRules'
2200 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2201 0 return 1
2202 }
2203 # attribute => 'Regular Expression'
2204 # char => '\'
2205 # char1 => ')'
2206 # context => '#stay'
2207 # type => 'Detect2Chars'
2208 0 ▶ if ($self->testDetect2Chars($text, '\\', ')', 0, 0, 0, undef, 0, '#stay', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ")", 0, 0, 0, undef, 0, "#stay", "Regular Expression")) 0 0 0
2209 0 return 1
2210 }
2211 # attribute => 'Regular Expression'
2212 # char => '('
2213 # context => 'gdl_regexpr_1_nested'
2214 # type => 'DetectChar'
2215 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_regexpr_1_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_regexpr_1_nested", "Regular Expression")) 0 0 0
2216 0 return 1
2217 }
2218 # String => '\)[uiomxn]*'
2219 # attribute => 'GDL input'
2220 # context => '#pop#pop'
2221 # endRegion => 'GdlInput'
2222 # type => 'RegExpr'
2223 0 ▶ if ($self->testRegExpr($text, '\\)[uiomxn]*', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\)[uiomxn]*", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2224 0 return 1
2225 }
2226 0 return 0;
2227 };
2228  
2229 0 ▶sub parsegdl_regexpr_1_nested {
Subroutine parsegdl_regexpr_1_nested: not called CC=4 SCAR=30.0
Pod undocumented
2230 0 my ($self, $text) = @_;
2231 # context => 'regexpr_rules'
2232 # type => 'IncludeRules'
2233 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2234 0 return 1
2235 }
2236 # attribute => 'Regular Expression'
2237 # char => '('
2238 # context => 'gdl_regexpr_1_nested'
2239 # type => 'DetectChar'
2240 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_regexpr_1_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_regexpr_1_nested", "Regular Expression")) 0 0 0
2241 0 return 1
2242 }
2243 # attribute => 'Regular Expression'
2244 # char => ')'
2245 # context => '#pop'
2246 # type => 'DetectChar'
2247 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "Regular Expression")) 0 0 0
2248 0 return 1
2249 }
2250 0 return 0;
2251 };
2252  
2253 0 ▶sub parsegdl_regexpr_2 {
Subroutine parsegdl_regexpr_2: not called CC=5 SCAR=34.0
Pod undocumented
2254 0 my ($self, $text) = @_;
2255 # context => 'regexpr_rules'
2256 # type => 'IncludeRules'
2257 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2258 0 return 1
2259 }
2260 # attribute => 'Regular Expression'
2261 # char => '\'
2262 # char1 => '}'
2263 # context => '#stay'
2264 # type => 'Detect2Chars'
2265 0 ▶ if ($self->testDetect2Chars($text, '\\', '}', 0, 0, 0, undef, 0, '#stay', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "}", 0, 0, 0, undef, 0, "#stay", "Regular Expression")) 0 0 0
2266 0 return 1
2267 }
2268 # String => '\}[uiomxn]*'
2269 # attribute => 'GDL input'
2270 # context => '#pop#pop'
2271 # endRegion => 'GdlInput'
2272 # type => 'RegExpr'
2273 0 ▶ if ($self->testRegExpr($text, '\\}[uiomxn]*', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\}[uiomxn]*", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2274 0 return 1
2275 }
2276 # attribute => 'Regular Expression'
2277 # char => '{'
2278 # context => 'gdl_regexpr_2_nested'
2279 # type => 'DetectChar'
2280 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_regexpr_2_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_regexpr_2_nested", "Regular Expression")) 0 0 0
2281 0 return 1
2282 }
2283 0 return 0;
2284 };
2285  
2286 0 ▶sub parsegdl_regexpr_2_nested {
Subroutine parsegdl_regexpr_2_nested: not called CC=4 SCAR=30.0
Pod undocumented
2287 0 my ($self, $text) = @_;
2288 # context => 'regexpr_rules'
2289 # type => 'IncludeRules'
2290 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2291 0 return 1
2292 }
2293 # attribute => 'Regular Expression'
2294 # char => '{'
2295 # context => 'gdl_regexpr_2_nested'
2296 # type => 'DetectChar'
2297 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_regexpr_2_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_regexpr_2_nested", "Regular Expression")) 0 0 0
2298 0 return 1
2299 }
2300 # attribute => 'Regular Expression'
2301 # char => '}'
2302 # context => '#pop'
2303 # type => 'DetectChar'
2304 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "Regular Expression")) 0 0 0
2305 0 return 1
2306 }
2307 0 return 0;
2308 };
2309  
2310 0 ▶sub parsegdl_regexpr_3 {
Subroutine parsegdl_regexpr_3: not called CC=5 SCAR=34.0
Pod undocumented
2311 0 my ($self, $text) = @_;
2312 # context => 'regexpr_rules'
2313 # type => 'IncludeRules'
2314 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2315 0 return 1
2316 }
2317 # attribute => 'Regular Expression'
2318 # char => '\'
2319 # char1 => ']'
2320 # context => '#stay'
2321 # type => 'Detect2Chars'
2322 0 ▶ if ($self->testDetect2Chars($text, '\\', ']', 0, 0, 0, undef, 0, '#stay', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "]", 0, 0, 0, undef, 0, "#stay", "Regular Expression")) 0 0 0
2323 0 return 1
2324 }
2325 # attribute => 'Regular Expression'
2326 # char => '['
2327 # context => 'gdl_regexpr_3_nested'
2328 # type => 'DetectChar'
2329 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_regexpr_3_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_regexpr_3_nested", "Regular Expression")) 0 0 0
2330 0 return 1
2331 }
2332 # String => '\][uiomxn]*'
2333 # attribute => 'GDL input'
2334 # context => '#pop#pop'
2335 # endRegion => 'GdlInput'
2336 # type => 'RegExpr'
2337 0 ▶ if ($self->testRegExpr($text, '\\][uiomxn]*', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\][uiomxn]*", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2338 0 return 1
2339 }
2340 0 return 0;
2341 };
2342  
2343 0 ▶sub parsegdl_regexpr_3_nested {
Subroutine parsegdl_regexpr_3_nested: not called CC=4 SCAR=30.0
Pod undocumented
2344 0 my ($self, $text) = @_;
2345 # context => 'regexpr_rules'
2346 # type => 'IncludeRules'
2347 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2348 0 return 1
2349 }
2350 # attribute => 'Regular Expression'
2351 # char => '['
2352 # context => 'gdl_regexpr_3_nested'
2353 # type => 'DetectChar'
2354 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_regexpr_3_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_regexpr_3_nested", "Regular Expression")) 0 0 0
2355 0 return 1
2356 }
2357 # attribute => 'Regular Expression'
2358 # char => ']'
2359 # context => '#pop'
2360 # type => 'DetectChar'
2361 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop", "Regular Expression")) 0 0 0
2362 0 return 1
2363 }
2364 0 return 0;
2365 };
2366  
2367 0 ▶sub parsegdl_regexpr_4 {
Subroutine parsegdl_regexpr_4: not called CC=5 SCAR=34.0
Pod undocumented
2368 0 my ($self, $text) = @_;
2369 # context => 'regexpr_rules'
2370 # type => 'IncludeRules'
2371 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2372 0 return 1
2373 }
2374 # attribute => 'Regular Expression'
2375 # char => '\'
2376 # char1 => '>'
2377 # context => '#stay'
2378 # type => 'Detect2Chars'
2379 0 ▶ if ($self->testDetect2Chars($text, '\\', '>', 0, 0, 0, undef, 0, '#stay', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ">", 0, 0, 0, undef, 0, "#stay", "Regular Expression")) 0 0 0
2380 0 return 1
2381 }
2382 # attribute => 'Regular Expression'
2383 # char => '<'
2384 # context => 'gdl_regexpr_4_nested'
2385 # type => 'DetectChar'
2386 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_regexpr_4_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_regexpr_4_nested", "Regular Expression")) 0 0 0
2387 0 return 1
2388 }
2389 # String => '>[uiomxn]*'
2390 # attribute => 'GDL input'
2391 # context => '#pop#pop'
2392 # endRegion => 'GdlInput'
2393 # type => 'RegExpr'
2394 0 ▶ if ($self->testRegExpr($text, '>[uiomxn]*', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, ">[uiomxn]*", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2395 0 return 1
2396 }
2397 0 return 0;
2398 };
2399  
2400 0 ▶sub parsegdl_regexpr_4_nested {
Subroutine parsegdl_regexpr_4_nested: not called CC=4 SCAR=30.0
Pod undocumented
2401 0 my ($self, $text) = @_;
2402 # context => 'regexpr_rules'
2403 # type => 'IncludeRules'
2404 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2405 0 return 1
2406 }
2407 # attribute => 'Regular Expression'
2408 # char => '<'
2409 # context => 'gdl_regexpr_4_nested'
2410 # type => 'DetectChar'
2411 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_regexpr_4_nested', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_regexpr_4_nested", "Regular Expression")) 0 0 0
2412 0 return 1
2413 }
2414 # attribute => 'Regular Expression'
2415 # char => '>'
2416 # context => '#pop'
2417 # type => 'DetectChar'
2418 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop", "Regular Expression")) 0 0 0
2419 0 return 1
2420 }
2421 0 return 0;
2422 };
2423  
2424 0 ▶sub parsegdl_regexpr_5 {
Subroutine parsegdl_regexpr_5: not called CC=4 SCAR=30.0
Pod undocumented
2425 0 my ($self, $text) = @_;
2426 # context => 'regexpr_rules'
2427 # type => 'IncludeRules'
2428 0 ▶ if ($self->includeRules('regexpr_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("regexpr_rules", $text)) 0 0 0
2429 0 return 1
2430 }
2431 # String => '\\%1'
2432 # attribute => 'Regular Expression'
2433 # context => '#stay'
2434 # dynamic => 'true'
2435 # type => 'RegExpr'
2436 0 ▶ if ($self->testRegExpr($text, '\\\\%1', 0, 1, 0, undef, 0, '#stay', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\%1", 0, 1, 0, undef, 0, "#stay", "Regular Expression")) 0 0 0
2437 0 return 1
2438 }
2439 # String => '\s*%1[uiomxn]*'
2440 # attribute => 'GDL input'
2441 # context => '#pop#pop'
2442 # dynamic => 'true'
2443 # endRegion => 'GdlInput'
2444 # type => 'RegExpr'
2445 0 ▶ if ($self->testRegExpr($text, '\\s*%1[uiomxn]*', 0, 1, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*%1[uiomxn]*", 0, 1, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2446 0 return 1
2447 }
2448 0 return 0;
2449 };
2450  
2451 0 ▶sub parsegdl_shell_command_1 {
Subroutine parsegdl_shell_command_1: not called CC=5 SCAR=34.0
Pod undocumented
2452 0 my ($self, $text) = @_;
2453 # context => 'shell_command_rules'
2454 # type => 'IncludeRules'
2455 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2456 0 return 1
2457 }
2458 # attribute => 'Command'
2459 # char => '\'
2460 # char1 => ')'
2461 # context => '#stay'
2462 # type => 'Detect2Chars'
2463 0 ▶ if ($self->testDetect2Chars($text, '\\', ')', 0, 0, 0, undef, 0, '#stay', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ")", 0, 0, 0, undef, 0, "#stay", "Command")) 0 0 0
2464 0 return 1
2465 }
2466 # attribute => 'Command'
2467 # char => '('
2468 # context => 'gdl_shell_command_1_nested'
2469 # type => 'DetectChar'
2470 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_shell_command_1_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_shell_command_1_nested", "Command")) 0 0 0
2471 0 return 1
2472 }
2473 # attribute => 'GDL input'
2474 # char => ')'
2475 # context => '#pop#pop'
2476 # endRegion => 'GdlInput'
2477 # type => 'DetectChar'
2478 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2479 0 return 1
2480 }
2481 0 return 0;
2482 };
2483  
2484 0 ▶sub parsegdl_shell_command_1_nested {
Subroutine parsegdl_shell_command_1_nested: not called CC=4 SCAR=30.0
Pod undocumented
2485 0 my ($self, $text) = @_;
2486 # context => 'shell_command_rules'
2487 # type => 'IncludeRules'
2488 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2489 0 return 1
2490 }
2491 # attribute => 'Command'
2492 # char => '('
2493 # context => 'gdl_shell_command_1_nested'
2494 # type => 'DetectChar'
2495 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_shell_command_1_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_shell_command_1_nested", "Command")) 0 0 0
2496 0 return 1
2497 }
2498 # attribute => 'Command'
2499 # char => ')'
2500 # context => '#pop'
2501 # type => 'DetectChar'
2502 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "Command")) 0 0 0
2503 0 return 1
2504 }
2505 0 return 0;
2506 };
2507  
2508 0 ▶sub parsegdl_shell_command_2 {
Subroutine parsegdl_shell_command_2: not called CC=5 SCAR=34.0
Pod undocumented
2509 0 my ($self, $text) = @_;
2510 # context => 'shell_command_rules'
2511 # type => 'IncludeRules'
2512 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2513 0 return 1
2514 }
2515 # attribute => 'Command'
2516 # char => '\'
2517 # char1 => '}'
2518 # context => '#stay'
2519 # type => 'Detect2Chars'
2520 0 ▶ if ($self->testDetect2Chars($text, '\\', '}', 0, 0, 0, undef, 0, '#stay', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "}", 0, 0, 0, undef, 0, "#stay", "Command")) 0 0 0
2521 0 return 1
2522 }
2523 # attribute => 'GDL input'
2524 # char => '}'
2525 # context => '#pop#pop'
2526 # endRegion => 'GdlInput'
2527 # type => 'DetectChar'
2528 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2529 0 return 1
2530 }
2531 # attribute => 'Command'
2532 # char => '{'
2533 # context => 'gdl_shell_command_2_nested'
2534 # type => 'DetectChar'
2535 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_shell_command_2_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_shell_command_2_nested", "Command")) 0 0 0
2536 0 return 1
2537 }
2538 0 return 0;
2539 };
2540  
2541 0 ▶sub parsegdl_shell_command_2_nested {
Subroutine parsegdl_shell_command_2_nested: not called CC=4 SCAR=30.0
Pod undocumented
2542 0 my ($self, $text) = @_;
2543 # context => 'shell_command_rules'
2544 # type => 'IncludeRules'
2545 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2546 0 return 1
2547 }
2548 # attribute => 'Command'
2549 # char => '{'
2550 # context => 'gdl_shell_command_2_nested'
2551 # type => 'DetectChar'
2552 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_shell_command_2_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_shell_command_2_nested", "Command")) 0 0 0
2553 0 return 1
2554 }
2555 # attribute => 'Command'
2556 # char => '}'
2557 # context => '#pop'
2558 # type => 'DetectChar'
2559 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "Command")) 0 0 0
2560 0 return 1
2561 }
2562 0 return 0;
2563 };
2564  
2565 0 ▶sub parsegdl_shell_command_3 {
Subroutine parsegdl_shell_command_3: not called CC=5 SCAR=34.0
Pod undocumented
2566 0 my ($self, $text) = @_;
2567 # context => 'shell_command_rules'
2568 # type => 'IncludeRules'
2569 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2570 0 return 1
2571 }
2572 # attribute => 'Command'
2573 # char => '\'
2574 # char1 => ']'
2575 # context => '#stay'
2576 # type => 'Detect2Chars'
2577 0 ▶ if ($self->testDetect2Chars($text, '\\', ']', 0, 0, 0, undef, 0, '#stay', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "]", 0, 0, 0, undef, 0, "#stay", "Command")) 0 0 0
2578 0 return 1
2579 }
2580 # attribute => 'Command'
2581 # char => '['
2582 # context => 'gdl_shell_command_3_nested'
2583 # type => 'DetectChar'
2584 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_shell_command_3_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_shell_command_3_nested", "Command")) 0 0 0
2585 0 return 1
2586 }
2587 # attribute => 'GDL input'
2588 # char => ']'
2589 # context => '#pop#pop'
2590 # endRegion => 'GdlInput'
2591 # type => 'DetectChar'
2592 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2593 0 return 1
2594 }
2595 0 return 0;
2596 };
2597  
2598 0 ▶sub parsegdl_shell_command_3_nested {
Subroutine parsegdl_shell_command_3_nested: not called CC=4 SCAR=30.0
Pod undocumented
2599 0 my ($self, $text) = @_;
2600 # context => 'shell_command_rules'
2601 # type => 'IncludeRules'
2602 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2603 0 return 1
2604 }
2605 # attribute => 'Command'
2606 # char => '['
2607 # context => 'gdl_shell_command_3_nested'
2608 # type => 'DetectChar'
2609 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_shell_command_3_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_shell_command_3_nested", "Command")) 0 0 0
2610 0 return 1
2611 }
2612 # attribute => 'Command'
2613 # char => ']'
2614 # context => '#pop'
2615 # type => 'DetectChar'
2616 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop", "Command")) 0 0 0
2617 0 return 1
2618 }
2619 0 return 0;
2620 };
2621  
2622 0 ▶sub parsegdl_shell_command_4 {
Subroutine parsegdl_shell_command_4: not called CC=5 SCAR=34.0
Pod undocumented
2623 0 my ($self, $text) = @_;
2624 # context => 'shell_command_rules'
2625 # type => 'IncludeRules'
2626 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2627 0 return 1
2628 }
2629 # attribute => 'Command'
2630 # char => '\'
2631 # char1 => '>'
2632 # context => '#stay'
2633 # type => 'Detect2Chars'
2634 0 ▶ if ($self->testDetect2Chars($text, '\\', '>', 0, 0, 0, undef, 0, '#stay', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ">", 0, 0, 0, undef, 0, "#stay", "Command")) 0 0 0
2635 0 return 1
2636 }
2637 # attribute => 'Command'
2638 # char => '<'
2639 # context => 'gdl_shell_command_4_nested'
2640 # type => 'DetectChar'
2641 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_shell_command_4_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_shell_command_4_nested", "Command")) 0 0 0
2642 0 return 1
2643 }
2644 # attribute => 'GDL input'
2645 # char => '>'
2646 # context => '#pop#pop'
2647 # endRegion => 'GdlInput'
2648 # type => 'DetectChar'
2649 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2650 0 return 1
2651 }
2652 0 return 0;
2653 };
2654  
2655 0 ▶sub parsegdl_shell_command_4_nested {
Subroutine parsegdl_shell_command_4_nested: not called CC=4 SCAR=30.0
Pod undocumented
2656 0 my ($self, $text) = @_;
2657 # context => 'shell_command_rules'
2658 # type => 'IncludeRules'
2659 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2660 0 return 1
2661 }
2662 # attribute => 'Command'
2663 # char => '<'
2664 # context => 'gdl_shell_command_4_nested'
2665 # type => 'DetectChar'
2666 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_shell_command_4_nested', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_shell_command_4_nested", "Command")) 0 0 0
2667 0 return 1
2668 }
2669 # attribute => 'Command'
2670 # char => '>'
2671 # context => '#pop'
2672 # type => 'DetectChar'
2673 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop", "Command")) 0 0 0
2674 0 return 1
2675 }
2676 0 return 0;
2677 };
2678  
2679 0 ▶sub parsegdl_shell_command_5 {
Subroutine parsegdl_shell_command_5: not called CC=4 SCAR=30.0
Pod undocumented
2680 0 my ($self, $text) = @_;
2681 # context => 'shell_command_rules'
2682 # type => 'IncludeRules'
2683 0 ▶ if ($self->includeRules('shell_command_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("shell_command_rules", $text)) 0 0 0
2684 0 return 1
2685 }
2686 # String => '\\%1'
2687 # attribute => 'Command'
2688 # context => '#stay'
2689 # dynamic => 'true'
2690 # type => 'RegExpr'
2691 0 ▶ if ($self->testRegExpr($text, '\\\\%1', 0, 1, 0, undef, 0, '#stay', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\%1", 0, 1, 0, undef, 0, "#stay", "Command")) 0 0 0
2692 0 return 1
2693 }
2694 # String => '\s*%1'
2695 # attribute => 'GDL input'
2696 # context => '#pop#pop'
2697 # dynamic => 'true'
2698 # endRegion => 'GdlInput'
2699 # type => 'RegExpr'
2700 0 ▶ if ($self->testRegExpr($text, '\\s*%1', 0, 1, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*%1", 0, 1, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2701 0 return 1
2702 }
2703 0 return 0;
2704 };
2705  
2706 0 ▶sub parsegdl_token_array_1 {
Subroutine parsegdl_token_array_1: not called CC=5 SCAR=34.0
Pod undocumented
2707 0 my ($self, $text) = @_;
2708 # context => 'token_array_rules'
2709 # type => 'IncludeRules'
2710 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2711 0 return 1
2712 }
2713 # attribute => 'String'
2714 # char => '\'
2715 # char1 => ')'
2716 # context => '#stay'
2717 # type => 'Detect2Chars'
2718 0 ▶ if ($self->testDetect2Chars($text, '\\', ')', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ")", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
2719 0 return 1
2720 }
2721 # attribute => 'String'
2722 # char => '('
2723 # context => 'gdl_token_array_1_nested'
2724 # type => 'DetectChar'
2725 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_token_array_1_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_token_array_1_nested", "String")) 0 0 0
2726 0 return 1
2727 }
2728 # attribute => 'GDL input'
2729 # char => ')'
2730 # context => '#pop#pop'
2731 # endRegion => 'GdlInput'
2732 # type => 'DetectChar'
2733 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2734 0 return 1
2735 }
2736 0 return 0;
2737 };
2738  
2739 0 ▶sub parsegdl_token_array_1_nested {
Subroutine parsegdl_token_array_1_nested: not called CC=4 SCAR=30.0
Pod undocumented
2740 0 my ($self, $text) = @_;
2741 # context => 'token_array_rules'
2742 # type => 'IncludeRules'
2743 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2744 0 return 1
2745 }
2746 # attribute => 'String'
2747 # char => '('
2748 # context => 'gdl_token_array_1_nested'
2749 # type => 'DetectChar'
2750 0 ▶ if ($self->testDetectChar($text, '(', 0, 0, 0, undef, 0, 'gdl_token_array_1_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "gdl_token_array_1_nested", "String")) 0 0 0
2751 0 return 1
2752 }
2753 # attribute => 'String'
2754 # char => ')'
2755 # context => '#pop'
2756 # type => 'DetectChar'
2757 0 ▶ if ($self->testDetectChar($text, ')', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
2758 0 return 1
2759 }
2760 0 return 0;
2761 };
2762  
2763 0 ▶sub parsegdl_token_array_2 {
Subroutine parsegdl_token_array_2: not called CC=5 SCAR=34.0
Pod undocumented
2764 0 my ($self, $text) = @_;
2765 # context => 'token_array_rules'
2766 # type => 'IncludeRules'
2767 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2768 0 return 1
2769 }
2770 # attribute => 'String'
2771 # char => '\'
2772 # char1 => '}'
2773 # context => '#stay'
2774 # type => 'Detect2Chars'
2775 0 ▶ if ($self->testDetect2Chars($text, '\\', '}', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "}", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
2776 0 return 1
2777 }
2778 # attribute => 'GDL input'
2779 # char => '}'
2780 # context => '#pop#pop'
2781 # endRegion => 'GdlInput'
2782 # type => 'DetectChar'
2783 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2784 0 return 1
2785 }
2786 # attribute => 'String'
2787 # char => '{'
2788 # context => 'gdl_token_array_2_nested'
2789 # type => 'DetectChar'
2790 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_token_array_2_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_token_array_2_nested", "String")) 0 0 0
2791 0 return 1
2792 }
2793 0 return 0;
2794 };
2795  
2796 0 ▶sub parsegdl_token_array_2_nested {
Subroutine parsegdl_token_array_2_nested: not called CC=4 SCAR=30.0
Pod undocumented
2797 0 my ($self, $text) = @_;
2798 # context => 'token_array_rules'
2799 # type => 'IncludeRules'
2800 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2801 0 return 1
2802 }
2803 # attribute => 'String'
2804 # char => '{'
2805 # context => 'gdl_token_array_2_nested'
2806 # type => 'DetectChar'
2807 0 ▶ if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, 'gdl_token_array_2_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "gdl_token_array_2_nested", "String")) 0 0 0
2808 0 return 1
2809 }
2810 # attribute => 'String'
2811 # char => '}'
2812 # context => '#pop'
2813 # type => 'DetectChar'
2814 0 ▶ if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
2815 0 return 1
2816 }
2817 0 return 0;
2818 };
2819  
2820 126 ▶sub parsegdl_token_array_3 {
Subroutine parsegdl_token_array_3: called CC=5 SCAR=17.8
Pod undocumented
2821 126 my ($self, $text) = @_;
2822 # context => 'token_array_rules'
2823 # type => 'IncludeRules'
2824 126 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 126 126
2825 0 return 1
2826 }
2827 # attribute => 'String'
2828 # char => '\'
2829 # char1 => ']'
2830 # context => '#stay'
2831 # type => 'Detect2Chars'
2832 126 ▶ if ($self->testDetect2Chars($text, '\\', ']', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "]", 0, 0, 0, undef, 0, "#stay", "String")) 0 126 126
2833 0 return 1
2834 }
2835 # attribute => 'String'
2836 # char => '['
2837 # context => 'gdl_token_array_3_nested'
2838 # type => 'DetectChar'
2839 126 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_token_array_3_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_token_array_3_nested", "String")) 0 126 126
2840 0 return 1
2841 }
2842 # attribute => 'GDL input'
2843 # char => ']'
2844 # context => '#pop#pop'
2845 # endRegion => 'GdlInput'
2846 # type => 'DetectChar'
2847 126 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 2 124 126
2848 2 return 1
2849 }
2850 124 return 0;
2851 };
2852  
2853 0 ▶sub parsegdl_token_array_3_nested {
Subroutine parsegdl_token_array_3_nested: not called CC=4 SCAR=30.0
Pod undocumented
2854 0 my ($self, $text) = @_;
2855 # context => 'token_array_rules'
2856 # type => 'IncludeRules'
2857 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2858 0 return 1
2859 }
2860 # attribute => 'String'
2861 # char => '['
2862 # context => 'gdl_token_array_3_nested'
2863 # type => 'DetectChar'
2864 0 ▶ if ($self->testDetectChar($text, '[', 0, 0, 0, undef, 0, 'gdl_token_array_3_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "[", 0, 0, 0, undef, 0, "gdl_token_array_3_nested", "String")) 0 0 0
2865 0 return 1
2866 }
2867 # attribute => 'String'
2868 # char => ']'
2869 # context => '#pop'
2870 # type => 'DetectChar'
2871 0 ▶ if ($self->testDetectChar($text, ']', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "]", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
2872 0 return 1
2873 }
2874 0 return 0;
2875 };
2876  
2877 0 ▶sub parsegdl_token_array_4 {
Subroutine parsegdl_token_array_4: not called CC=5 SCAR=34.0
Pod undocumented
2878 0 my ($self, $text) = @_;
2879 # context => 'token_array_rules'
2880 # type => 'IncludeRules'
2881 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2882 0 return 1
2883 }
2884 # attribute => 'String'
2885 # char => '\'
2886 # char1 => '>'
2887 # context => '#stay'
2888 # type => 'Detect2Chars'
2889 0 ▶ if ($self->testDetect2Chars($text, '\\', '>', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", ">", 0, 0, 0, undef, 0, "#stay", "String")) 0 0 0
2890 0 return 1
2891 }
2892 # attribute => 'String'
2893 # char => '<'
2894 # context => 'gdl_token_array_4_nested'
2895 # type => 'DetectChar'
2896 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_token_array_4_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_token_array_4_nested", "String")) 0 0 0
2897 0 return 1
2898 }
2899 # attribute => 'GDL input'
2900 # char => '>'
2901 # context => '#pop#pop'
2902 # endRegion => 'GdlInput'
2903 # type => 'DetectChar'
2904 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2905 0 return 1
2906 }
2907 0 return 0;
2908 };
2909  
2910 0 ▶sub parsegdl_token_array_4_nested {
Subroutine parsegdl_token_array_4_nested: not called CC=4 SCAR=30.0
Pod undocumented
2911 0 my ($self, $text) = @_;
2912 # context => 'token_array_rules'
2913 # type => 'IncludeRules'
2914 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2915 0 return 1
2916 }
2917 # attribute => 'String'
2918 # char => '<'
2919 # context => 'gdl_token_array_4_nested'
2920 # type => 'DetectChar'
2921 0 ▶ if ($self->testDetectChar($text, '<', 0, 0, 0, undef, 0, 'gdl_token_array_4_nested', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, "<", 0, 0, 0, undef, 0, "gdl_token_array_4_nested", "String")) 0 0 0
2922 0 return 1
2923 }
2924 # attribute => 'String'
2925 # char => '>'
2926 # context => '#pop'
2927 # type => 'DetectChar'
2928 0 ▶ if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetectChar($text, ">", 0, 0, 0, undef, 0, "#pop", "String")) 0 0 0
2929 0 return 1
2930 }
2931 0 return 0;
2932 };
2933  
2934 0 ▶sub parsegdl_token_array_5 {
Subroutine parsegdl_token_array_5: not called CC=4 SCAR=30.0
Pod undocumented
2935 0 my ($self, $text) = @_;
2936 # context => 'token_array_rules'
2937 # type => 'IncludeRules'
2938 0 ▶ if ($self->includeRules('token_array_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("token_array_rules", $text)) 0 0 0
2939 0 return 1
2940 }
2941 # String => '\\%1'
2942 # attribute => 'String'
2943 # context => '#stay'
2944 # dynamic => 'true'
2945 # type => 'RegExpr'
2946 0 ▶ if ($self->testRegExpr($text, '\\\\%1', 0, 1, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\\\%1", 0, 1, 0, undef, 0, "#stay", "String")) 0 0 0
2947 0 return 1
2948 }
2949 # String => '\s*%1'
2950 # attribute => 'GDL input'
2951 # context => '#pop#pop'
2952 # dynamic => 'true'
2953 # endRegion => 'GdlInput'
2954 # type => 'RegExpr'
2955 0 ▶ if ($self->testRegExpr($text, '\\s*%1', 0, 1, 0, undef, 0, '#pop#pop', 'GDL input')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "\\s*%1", 0, 1, 0, undef, 0, "#pop#pop", "GDL input")) 0 0 0
2956 0 return 1
2957 }
2958 0 return 0;
2959 };
2960  
2961 2992 ▶sub parseheredoc_rules {
Subroutine parseheredoc_rules: called CC=3 SCAR=11.2
Pod undocumented
2962 2992 my ($self, $text) = @_;
2963 # String => '#@{1,2}'
2964 # attribute => 'Substitution'
2965 # context => 'Short Subst'
2966 # type => 'RegExpr'
2967 2992 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, 'Short Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "Short Subst", "Substitution")) 0 2992 2992
2968 0 return 1
2969 }
2970 # attribute => 'Substitution'
2971 # char => '#'
2972 # char1 => '{'
2973 # context => 'Subst'
2974 # type => 'Detect2Chars'
2975 2992 ▶ if ($self->testDetect2Chars($text, '#', '{', 0, 0, 0, undef, 0, 'Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "#", "{", 0, 0, 0, undef, 0, "Subst", "Substitution")) 2 2990 2992
2976 2 return 1
2977 }
2978 2990 return 0;
2979 };
2980  
2981 2992 ▶sub parseindented_heredoc {
Subroutine parseindented_heredoc: called CC=3 SCAR=11.2
Pod undocumented
2982 2992 my ($self, $text) = @_;
2983 # String => '%1$'
2984 # attribute => 'Keyword'
2985 # context => '#pop#pop'
2986 # dynamic => 'true'
2987 # endRegion => 'HereDocument'
2988 # firstNonSpace => 'true'
2989 # type => 'RegExpr'
2990 2992 ▶ if ($self->testRegExpr($text, '%1$', 0, 1, 0, undef, 1, '#pop#pop', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "%1\$", 0, 1, 0, undef, 1, "#pop#pop", "Keyword")) 0 2992 2992
2991 0 return 1
2992 }
2993 # context => 'heredoc_rules'
2994 # type => 'IncludeRules'
2995 2992 ▶ if ($self->includeRules('heredoc_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("heredoc_rules", $text)) 2 2990 2992
2996 2 return 1
2997 }
2998 2990 return 0;
2999 };
3000  
3001 0 ▶sub parsenormal_heredoc {
Subroutine parsenormal_heredoc: not called CC=3 SCAR=24.8
Pod undocumented
3002 0 my ($self, $text) = @_;
3003 # String => '%1$'
3004 # attribute => 'Keyword'
3005 # column => '0'
3006 # context => '#pop#pop'
3007 # dynamic => 'true'
3008 # endRegion => 'HereDocument'
3009 # type => 'RegExpr'
3010 0 ▶ if ($self->testRegExpr($text, '%1$', 0, 1, 0, 0, 0, '#pop#pop', 'Keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "%1\$", 0, 1, 0, 0, 0, "#pop#pop", "Keyword")) 0 0 0
3011 0 return 1
3012 }
3013 # context => 'heredoc_rules'
3014 # type => 'IncludeRules'
3015 0 ▶ if ($self->includeRules('heredoc_rules', $text)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->includeRules("heredoc_rules", $text)) 0 0 0
3016 0 return 1
3017 }
3018 0 return 0;
3019 };
3020  
3021 0 ▶sub parseregexpr_rules {
Subroutine parseregexpr_rules: not called CC=4 SCAR=30.0
Pod undocumented
3022 0 my ($self, $text) = @_;
3023 # attribute => 'Regular Expression'
3024 # char => '\'
3025 # char1 => '\'
3026 # context => '#stay'
3027 # type => 'Detect2Chars'
3028 0 ▶ if ($self->testDetect2Chars($text, '\\', '\\', 0, 0, 0, undef, 0, '#stay', 'Regular Expression')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "\\", 0, 0, 0, undef, 0, "#stay", "Regular Expression")) 0 0 0
3029 0 return 1
3030 }
3031 # String => '#@{1,2}'
3032 # attribute => 'Substitution'
3033 # context => 'Short Subst'
3034 # type => 'RegExpr'
3035 0 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, 'Short Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "Short Subst", "Substitution")) 0 0 0
3036 0 return 1
3037 }
3038 # attribute => 'Substitution'
3039 # char => '#'
3040 # char1 => '{'
3041 # context => 'Subst'
3042 # type => 'Detect2Chars'
3043 0 ▶ if ($self->testDetect2Chars($text, '#', '{', 0, 0, 0, undef, 0, 'Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "#", "{", 0, 0, 0, undef, 0, "Subst", "Substitution")) 0 0 0
3044 0 return 1
3045 }
3046 0 return 0;
3047 };
3048  
3049 0 ▶sub parseshell_command_rules {
Subroutine parseshell_command_rules: not called CC=4 SCAR=30.0
Pod undocumented
3050 0 my ($self, $text) = @_;
3051 # attribute => 'Command'
3052 # char => '\'
3053 # char1 => '\'
3054 # context => '#stay'
3055 # type => 'Detect2Chars'
3056 0 ▶ if ($self->testDetect2Chars($text, '\\', '\\', 0, 0, 0, undef, 0, '#stay', 'Command')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "\\", "\\", 0, 0, 0, undef, 0, "#stay", "Command")) 0 0 0
3057 0 return 1
3058 }
3059 # String => '#@{1,2}'
3060 # attribute => 'Substitution'
3061 # context => 'Short Subst'
3062 # type => 'RegExpr'
3063 0 ▶ if ($self->testRegExpr($text, '#@{1,2}', 0, 0, 0, undef, 0, 'Short Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "#\@{1,2}", 0, 0, 0, undef, 0, "Short Subst", "Substitution")) 0 0 0
3064 0 return 1
3065 }
3066 # attribute => 'Substitution'
3067 # char => '#'
3068 # char1 => '{'
3069 # context => 'Subst'
3070 # type => 'Detect2Chars'
3071 0 ▶ if ($self->testDetect2Chars($text, '#', '{', 0, 0, 0, undef, 0, 'Subst', 'Substitution')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testDetect2Chars($text, "#", "{", 0, 0, 0, undef, 0, "Subst", "Substitution")) 0 0 0
3072 0 return 1
3073 }
3074 0 return 0;
3075 };
3076  
3077 126 ▶sub parsetoken_array_rules {
Subroutine parsetoken_array_rules: called CC=2 SCAR=7.6
Pod undocumented
3078 126 my ($self, $text) = @_;
3079 # String => '\\'
3080 # attribute => 'String'
3081 # context => '#stay'
3082 # type => 'StringDetect'
3083 126 ▶ if ($self->testStringDetect($text, '\\\\', 0, 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testStringDetect($text, "\\\\", 0, 0, 0, undef, 0, "#stay", "String")) 0 126 126
3084 0 return 1
3085 }
3086 126 return 0;
3087 };
3088  
3089  
3090 1 1;
3091  
3092 __END__
« Kate/GNU_Gettext.pm ↑ Summary Kate/Modulaminus2.pm »