File Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Doxygen.pm
Criterion Covered Total %
statement 142 252 56.3
branch 89 180 49.4
condition 1 3 33.3
subroutine 18 28 64.2
pod 0 25 0.0
total 250 488 51.2


line stmt bran cond sub pod time code
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 'doxygen.xml' file of the syntax highlight
6             # engine of the kate text editor (http://www.kate-editor.org
7              
8             #kate xml version 1.25
9             #kate version 2.4
10             #kate author Dominik Haumann (dhdev@gmx.de)
11             #generated: Sun Feb 3 22:02:04 2008, localtime
12              
13             package Syntax::Highlight::Engine::Kate::Doxygen;
14              
15             our $VERSION = '0.14';
16              
17 1     1   5 use strict;
  1         2  
  1         25  
18 1     1   4 use warnings;
  1         2  
  1         22  
19 1     1   4 use base('Syntax::Highlight::Engine::Kate::Template');
  1         1  
  1         2544  
20              
21             sub new {
22 6     6 0 603 my $proto = shift;
23 6   33     28 my $class = ref($proto) || $proto;
24 6         43 my $self = $class->SUPER::new(@_);
25 6         72 $self->attributes({
26             'Comment' => 'Reserved',
27             'Description' => 'Function',
28             'HTML Comment' => 'Comment',
29             'HTML Tag' => 'Keyword',
30             'Identifier' => 'Others',
31             'Normal Text' => 'Normal',
32             'Tags' => 'Keyword',
33             'Types' => 'DataType',
34             'Word' => 'Operator',
35             });
36 6         44 $self->listAdd('TagOnly',
37             '@#',
38             '@$',
39             '@@',
40             '@\\\\',
41             '@arg',
42             '@attention',
43             '@author',
44             '@callgraph',
45             '@code',
46             '@dot',
47             '@else',
48             '@endcode',
49             '@enddot',
50             '@endhtmlonly',
51             '@endif',
52             '@endlatexonly',
53             '@endlink',
54             '@endmanonly',
55             '@endverbatim',
56             '@endxmlonly',
57             '@f$',
58             '@f[',
59             '@f]',
60             '@hideinitializer',
61             '@htmlonly',
62             '@interface',
63             '@internal',
64             '@invariant',
65             '@latexonly',
66             '@li',
67             '@manonly',
68             '@n',
69             '@nosubgrouping',
70             '@note',
71             '@only',
72             '@par',
73             '@post',
74             '@pre',
75             '@remarks',
76             '@return',
77             '@returns',
78             '@sa',
79             '@see',
80             '@showinitializer',
81             '@since',
82             '@test',
83             '@todo',
84             '@verbatim',
85             '@warning',
86             '@xmlonly',
87             '@~',
88             '\\\\#',
89             '\\\\$',
90             '\\\\@',
91             '\\\\\\\\',
92             '\\\\arg',
93             '\\\\attention',
94             '\\\\author',
95             '\\\\callgraph',
96             '\\\\code',
97             '\\\\dot',
98             '\\\\else',
99             '\\\\endcode',
100             '\\\\enddot',
101             '\\\\endhtmlonly',
102             '\\\\endif',
103             '\\\\endlatexonly',
104             '\\\\endlink',
105             '\\\\endmanonly',
106             '\\\\endverbatim',
107             '\\\\endxmlonly',
108             '\\\\f$',
109             '\\\\f[',
110             '\\\\f]',
111             '\\\\hideinitializer',
112             '\\\\htmlonly',
113             '\\\\interface',
114             '\\\\internal',
115             '\\\\invariant',
116             '\\\\latexonly',
117             '\\\\li',
118             '\\\\manonly',
119             '\\\\n',
120             '\\\\nosubgrouping',
121             '\\\\note',
122             '\\\\only',
123             '\\\\par',
124             '\\\\post',
125             '\\\\pre',
126             '\\\\remarks',
127             '\\\\return',
128             '\\\\returns',
129             '\\\\sa',
130             '\\\\see',
131             '\\\\showinitializer',
132             '\\\\since',
133             '\\\\test',
134             '\\\\todo',
135             '\\\\verbatim',
136             '\\\\warning',
137             '\\\\xmlonly',
138             '\\\\~',
139             );
140 6         36 $self->listAdd('TagString',
141             '@addindex',
142             '@brief',
143             '@bug',
144             '@date',
145             '@deprecated',
146             '@fn',
147             '@ingroup',
148             '@line',
149             '@mainpage',
150             '@name',
151             '@overload',
152             '@short',
153             '@skip',
154             '@skipline',
155             '@typedef',
156             '@until',
157             '@var',
158             '\\\\addindex',
159             '\\\\brief',
160             '\\\\bug',
161             '\\\\date',
162             '\\\\deprecated',
163             '\\\\fn',
164             '\\\\ingroup',
165             '\\\\line',
166             '\\\\mainpage',
167             '\\\\name',
168             '\\\\overload',
169             '\\\\short',
170             '\\\\skip',
171             '\\\\skipline',
172             '\\\\typedef',
173             '\\\\until',
174             '\\\\var',
175             );
176 6         37 $self->listAdd('TagWord',
177             '@a',
178             '@addtogroup',
179             '@anchor',
180             '@b',
181             '@c',
182             '@class',
183             '@copydoc',
184             '@def',
185             '@dontinclude',
186             '@dotfile',
187             '@e',
188             '@elseif',
189             '@em',
190             '@enum',
191             '@example',
192             '@exception',
193             '@exceptions',
194             '@file',
195             '@htmlinclude',
196             '@if',
197             '@ifnot',
198             '@include',
199             '@link',
200             '@namespace',
201             '@p',
202             '@package',
203             '@param',
204             '@ref',
205             '@relates',
206             '@relatesalso',
207             '@retval',
208             '@throw',
209             '@throws',
210             '@verbinclude',
211             '@version',
212             '@xrefitem',
213             '\\\\a',
214             '\\\\addtogroup',
215             '\\\\anchor',
216             '\\\\b',
217             '\\\\c',
218             '\\\\class',
219             '\\\\copydoc',
220             '\\\\def',
221             '\\\\dontinclude',
222             '\\\\dotfile',
223             '\\\\e',
224             '\\\\elseif',
225             '\\\\em',
226             '\\\\enum',
227             '\\\\example',
228             '\\\\exception',
229             '\\\\exceptions',
230             '\\\\file',
231             '\\\\htmlinclude',
232             '\\\\if',
233             '\\\\ifnot',
234             '\\\\include',
235             '\\\\link',
236             '\\\\namespace',
237             '\\\\p',
238             '\\\\package',
239             '\\\\param',
240             '\\\\ref',
241             '\\\\relates',
242             '\\\\relatesalso',
243             '\\\\retval',
244             '\\\\throw',
245             '\\\\throws',
246             '\\\\verbinclude',
247             '\\\\version',
248             '\\\\xrefitem',
249             );
250 6         19 $self->listAdd('TagWordString',
251             '@defgroup',
252             '@page',
253             '@paragraph',
254             '@section',
255             '@struct',
256             '@subsection',
257             '@subsubsection',
258             '@union',
259             '@weakgroup',
260             '\\\\defgroup',
261             '\\\\page',
262             '\\\\paragraph',
263             '\\\\section',
264             '\\\\struct',
265             '\\\\subsection',
266             '\\\\subsubsection',
267             '\\\\union',
268             '\\\\weakgroup',
269             );
270 6         20 $self->listAdd('TagWordWord',
271             '@image',
272             '\\\\image',
273             );
274 6         353 $self->contextdata({
275             'BlockComment' => {
276             callback => \&parseBlockComment,
277             attribute => 'Comment',
278             },
279             'LineComment' => {
280             callback => \&parseLineComment,
281             attribute => 'Comment',
282             lineending => '#pop',
283             },
284             'ML_Tag2ndWord' => {
285             callback => \&parseML_Tag2ndWord,
286             attribute => 'Comment',
287             lineending => '#pop',
288             },
289             'ML_TagString' => {
290             callback => \&parseML_TagString,
291             attribute => 'Comment',
292             lineending => '#pop',
293             },
294             'ML_TagWord' => {
295             callback => \&parseML_TagWord,
296             attribute => 'Comment',
297             lineending => '#pop',
298             },
299             'ML_TagWordString' => {
300             callback => \&parseML_TagWordString,
301             attribute => 'Comment',
302             lineending => '#pop',
303             },
304             'ML_TagWordWord' => {
305             callback => \&parseML_TagWordWord,
306             attribute => 'Comment',
307             lineending => '#pop',
308             },
309             'ML_htmlcomment' => {
310             callback => \&parseML_htmlcomment,
311             attribute => 'HTML Comment',
312             },
313             'ML_htmltag' => {
314             callback => \&parseML_htmltag,
315             attribute => 'Identifier',
316             },
317             'ML_identifiers' => {
318             callback => \&parseML_identifiers,
319             attribute => 'Identifier',
320             },
321             'ML_types1' => {
322             callback => \&parseML_types1,
323             attribute => 'Types',
324             },
325             'ML_types2' => {
326             callback => \&parseML_types2,
327             attribute => 'Types',
328             },
329             'Normal' => {
330             callback => \&parseNormal,
331             attribute => 'Normal Text',
332             },
333             'SL_Tag2ndWord' => {
334             callback => \&parseSL_Tag2ndWord,
335             attribute => 'Comment',
336             lineending => '#pop',
337             },
338             'SL_TagString' => {
339             callback => \&parseSL_TagString,
340             attribute => 'Comment',
341             lineending => '#pop',
342             },
343             'SL_TagWord' => {
344             callback => \&parseSL_TagWord,
345             attribute => 'Comment',
346             lineending => '#pop',
347             },
348             'SL_TagWordString' => {
349             callback => \&parseSL_TagWordString,
350             attribute => 'Comment',
351             lineending => '#pop',
352             },
353             'SL_TagWordWord' => {
354             callback => \&parseSL_TagWordWord,
355             attribute => 'Comment',
356             lineending => '#pop',
357             },
358             'SL_htmlcomment' => {
359             callback => \&parseSL_htmlcomment,
360             attribute => 'HTML Comment',
361             lineending => '#pop',
362             },
363             'SL_htmltag' => {
364             callback => \&parseSL_htmltag,
365             attribute => 'Identifier',
366             lineending => '#pop',
367             },
368             'SL_identifiers' => {
369             callback => \&parseSL_identifiers,
370             attribute => 'Identifier',
371             lineending => '#pop',
372             },
373             'SL_types1' => {
374             callback => \&parseSL_types1,
375             attribute => 'Types',
376             lineending => '#pop',
377             },
378             'SL_types2' => {
379             callback => \&parseSL_types2,
380             attribute => 'Types',
381             lineending => '#pop',
382             },
383             });
384 6         29 $self->deliminators('\\s||\\.|\\(|\\)|:|\\!|\\+|,|-|<|=|>|\\%|\\&|\\*|\\/|;|\\?|\\[|\\]|\\^|\\{|\\||\\}|\\\\|\\$|\\~');
385 6         19 $self->basecontext('Normal');
386 6         28 $self->keywordscase(0);
387 6         20 $self->initialize;
388 6         15 bless ($self, $class);
389 6         41 return $self;
390             }
391              
392             sub language {
393 0     0 0 0 return 'Doxygen';
394             }
395              
396             sub parseBlockComment {
397 2702     2702 0 4016 my ($self, $text) = @_;
398             # type => 'DetectSpaces'
399 2702 100       5993 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef)) {
400 170         367 return 1
401             }
402             # attribute => 'Comment'
403             # char => '*'
404             # char1 => '/'
405             # context => '#pop'
406             # endRegion => 'BlockComment'
407             # type => 'Detect2Chars'
408 2532 100       5534 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Comment')) {
409 206         430 return 1
410             }
411             # context => '##Alerts'
412             # type => 'IncludeRules'
413 2326 50       4836 if ($self->includePlugin('Alerts', $text)) {
414 0         0 return 1
415             }
416             # String => 'TagOnly'
417             # attribute => 'Tags'
418             # context => '#stay'
419             # type => 'keyword'
420 2326 50       5767 if ($self->testKeyword($text, 'TagOnly', 0, undef, 0, '#stay', 'Tags')) {
421 0         0 return 1
422             }
423             # String => 'TagWord'
424             # attribute => 'Tags'
425             # context => 'ML_TagWord'
426             # type => 'keyword'
427 2326 100       5400 if ($self->testKeyword($text, 'TagWord', 0, undef, 0, 'ML_TagWord', 'Tags')) {
428 8         18 return 1
429             }
430             # String => 'TagWordWord'
431             # attribute => 'Tags'
432             # context => 'ML_TagWordWord'
433             # type => 'keyword'
434 2318 50       5128 if ($self->testKeyword($text, 'TagWordWord', 0, undef, 0, 'ML_TagWordWord', 'Tags')) {
435 0         0 return 1
436             }
437             # String => 'TagString'
438             # attribute => 'Tags'
439             # context => 'ML_TagString'
440             # type => 'keyword'
441 2318 50       4785 if ($self->testKeyword($text, 'TagString', 0, undef, 0, 'ML_TagString', 'Tags')) {
442 0         0 return 1
443             }
444             # String => 'TagWordString'
445             # attribute => 'Tags'
446             # context => 'ML_TagWordString'
447             # type => 'keyword'
448 2318 50       4699 if ($self->testKeyword($text, 'TagWordString', 0, undef, 0, 'ML_TagWordString', 'Tags')) {
449 0         0 return 1
450             }
451             # type => 'DetectIdentifier'
452 2318 100       5124 if ($self->testDetectIdentifier($text, 0, undef, 0, '#stay', undef)) {
453 876         1930 return 1
454             }
455             # String => '\\(<|>)'
456             # attribute => 'Tags'
457             # context => '#stay'
458             # type => 'RegExpr'
459 1442 50       3275 if ($self->testRegExpr($text, '\\\\(<|>)', 0, 0, 0, undef, 0, '#stay', 'Tags')) {
460 0         0 return 1
461             }
462             # attribute => 'Comment'
463             # char => '<'
464             # char1 => '<'
465             # context => '#stay'
466             # type => 'Detect2Chars'
467 1442 50       3652 if ($self->testDetect2Chars($text, '<', '<', 0, 0, 0, undef, 0, '#stay', 'Comment')) {
468 0         0 return 1
469             }
470             # String => '<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*'
471             # attribute => 'HTML Tag'
472             # context => 'ML_htmltag'
473             # type => 'RegExpr'
474 1442 100       2974 if ($self->testRegExpr($text, '<\\s*\\/?\\s*[a-zA-Z_:][a-zA-Z0-9._:-]*', 0, 0, 0, undef, 0, 'ML_htmltag', 'HTML Tag')) {
475 122         244 return 1
476             }
477             # String => ''
754             # attribute => 'HTML Comment'
755             # context => '#pop'
756             # type => 'StringDetect'
757 40 100       94 if ($self->testStringDetect($text, '-->', 0, 0, 0, undef, 0, '#pop', 'HTML Comment')) {
758 2         6 return 1
759             }
760 38         62 return 0;
761             };
762              
763             sub parseML_htmltag {
764 730     730 0 1034 my ($self, $text) = @_;
765             # attribute => 'Comment'
766             # char => '*'
767             # char1 => '/'
768             # context => '#pop'
769             # lookAhead => 'true'
770             # type => 'Detect2Chars'
771 730 100       1618 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment')) {
772 60         115 return 1
773             }
774             # attribute => 'HTML Tag'
775             # char => '/'
776             # char1 => '>'
777             # context => '#pop'
778             # type => 'Detect2Chars'
779 670 50       1344 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag')) {
780 0         0 return 1
781             }
782             # attribute => 'HTML Tag'
783             # char => '>'
784             # context => '#pop'
785             # type => 'DetectChar'
786 670 100       1408 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag')) {
787 62         114 return 1
788             }
789             # String => '\s*=\s*'
790             # attribute => 'Identifier'
791             # context => 'ML_identifiers'
792             # type => 'RegExpr'
793 608 100       1240 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'ML_identifiers', 'Identifier')) {
794 92         215 return 1
795             }
796 516         900 return 0;
797             };
798              
799             sub parseML_identifiers {
800 110     110 0 183 my ($self, $text) = @_;
801             # attribute => 'Comment'
802             # char => '*'
803             # char1 => '/'
804             # context => '#pop'
805             # lookAhead => 'true'
806             # type => 'Detect2Chars'
807 110 100       279 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment')) {
808 30         67 return 1
809             }
810             # String => '\s*#?[a-zA-Z0-9]*'
811             # attribute => 'String'
812             # context => '#pop'
813             # type => 'RegExpr'
814 80 50       234 if ($self->testRegExpr($text, '\\s*#?[a-zA-Z0-9]*', 0, 0, 0, undef, 0, '#pop', 'String')) {
815 0         0 return 1
816             }
817             # attribute => 'Types'
818             # char => '''
819             # context => 'ML_types1'
820             # type => 'DetectChar'
821 80 100       217 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, 'ML_types1', 'Types')) {
822 24         52 return 1
823             }
824             # attribute => 'Types'
825             # char => '"'
826             # context => 'ML_types2'
827             # type => 'DetectChar'
828 56 50       146 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'ML_types2', 'Types')) {
829 56         107 return 1
830             }
831 0         0 return 0;
832             };
833              
834             sub parseML_types1 {
835 114     114 0 166 my ($self, $text) = @_;
836             # attribute => 'Comment'
837             # char => '*'
838             # char1 => '/'
839             # context => '#pop'
840             # lookAhead => 'true'
841             # type => 'Detect2Chars'
842 114 100       234 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment')) {
843 8         17 return 1
844             }
845             # attribute => 'Types'
846             # char => '''
847             # context => '#pop#pop'
848             # type => 'DetectChar'
849 106 100       238 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
850 16         33 return 1
851             }
852 90         140 return 0;
853             };
854              
855             sub parseML_types2 {
856 316     316 0 460 my ($self, $text) = @_;
857             # attribute => 'Comment'
858             # char => '*'
859             # char1 => '/'
860             # context => '#pop'
861             # lookAhead => 'true'
862             # type => 'Detect2Chars'
863 316 100       662 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 1, undef, 0, '#pop', 'Comment')) {
864 10         21 return 1
865             }
866             # attribute => 'Types'
867             # char => '"'
868             # context => '#pop#pop'
869             # type => 'DetectChar'
870 306 100       637 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
871 46         110 return 1
872             }
873 260         407 return 0;
874             };
875              
876             sub parseNormal {
877 13754     13754 0 20644 my ($self, $text) = @_;
878             # String => '//(!|(/(?=[^/]|$)))
879             # attribute => 'Comment'
880             # context => 'LineComment'
881             # type => 'RegExpr'
882 13754 100       29251 if ($self->testRegExpr($text, '//(!|(/(?=[^/]|$)))
883 88         203 return 1
884             }
885             # String => '/\*(\*[^*/]|!|\*$)
886             # attribute => 'Comment'
887             # beginRegion => 'BlockComment'
888             # context => 'BlockComment'
889             # type => 'RegExpr'
890 13666 100       31803 if ($self->testRegExpr($text, '/\\*(\\*[^*/]|!|\\*$)
891 206         536 return 1
892             }
893 13460         28528 return 0;
894             };
895              
896             sub parseSL_Tag2ndWord {
897 0     0 0 0 my ($self, $text) = @_;
898             # type => 'DetectSpaces'
899 0 0       0 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef)) {
900 0         0 return 1
901             }
902             # String => '\S\s'
903             # attribute => 'Word'
904             # context => '#pop'
905             # type => 'RegExpr'
906 0 0       0 if ($self->testRegExpr($text, '\\S\\s', 0, 0, 0, undef, 0, '#pop', 'Word')) {
907 0         0 return 1
908             }
909             # String => '\S'
910             # attribute => 'Word'
911             # context => '#stay'
912             # type => 'RegExpr'
913 0 0       0 if ($self->testRegExpr($text, '\\S', 0, 0, 0, undef, 0, '#stay', 'Word')) {
914 0         0 return 1
915             }
916 0         0 return 0;
917             };
918              
919             sub parseSL_TagString {
920 0     0 0 0 my ($self, $text) = @_;
921             # type => 'DetectSpaces'
922 0 0       0 if ($self->testDetectSpaces($text, 0, undef, 0, '#stay', undef)) {
923 0         0 return 1
924             }
925             # String => ''
1034             # attribute => 'HTML Comment'
1035             # context => '#pop'
1036             # type => 'StringDetect'
1037 8 100       25 if ($self->testStringDetect($text, '-->', 0, 0, 0, undef, 0, '#pop', 'HTML Comment')) {
1038 2         4 return 1
1039             }
1040 6         11 return 0;
1041             };
1042              
1043             sub parseSL_htmltag {
1044 330     330 0 480 my ($self, $text) = @_;
1045             # attribute => 'HTML Tag'
1046             # char => '/'
1047             # char1 => '>'
1048             # context => '#pop'
1049             # type => 'Detect2Chars'
1050 330 100       732 if ($self->testDetect2Chars($text, '/', '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag')) {
1051 4         9 return 1
1052             }
1053             # attribute => 'HTML Tag'
1054             # char => '>'
1055             # context => '#pop'
1056             # type => 'DetectChar'
1057 326 100       669 if ($self->testDetectChar($text, '>', 0, 0, 0, undef, 0, '#pop', 'HTML Tag')) {
1058 30         57 return 1
1059             }
1060             # String => '\s*=\s*'
1061             # attribute => 'Identifier'
1062             # context => 'SL_identifiers'
1063             # type => 'RegExpr'
1064 296 100       597 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'SL_identifiers', 'Identifier')) {
1065 46         94 return 1
1066             }
1067 250         463 return 0;
1068             };
1069              
1070             sub parseSL_identifiers {
1071 54     54 0 78 my ($self, $text) = @_;
1072             # String => '\s*#?[a-zA-Z0-9]*'
1073             # attribute => 'String'
1074             # context => '#pop'
1075             # type => 'RegExpr'
1076 54 50       119 if ($self->testRegExpr($text, '\\s*#?[a-zA-Z0-9]*', 0, 0, 0, undef, 0, '#pop', 'String')) {
1077 0         0 return 1
1078             }
1079             # attribute => 'Types'
1080             # char => '''
1081             # context => 'SL_types1'
1082             # type => 'DetectChar'
1083 54 100       133 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, 'SL_types1', 'Types')) {
1084 12         23 return 1
1085             }
1086             # attribute => 'Types'
1087             # char => '"'
1088             # context => 'SL_types2'
1089             # type => 'DetectChar'
1090 42 100       104 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'SL_types2', 'Types')) {
1091 34         72 return 1
1092             }
1093 8         15 return 0;
1094             };
1095              
1096             sub parseSL_types1 {
1097 84     84 0 118 my ($self, $text) = @_;
1098             # attribute => 'Types'
1099             # char => '''
1100             # context => '#pop#pop'
1101             # type => 'DetectChar'
1102 84 100       168 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
1103 12         27 return 1
1104             }
1105 72         115 return 0;
1106             };
1107              
1108             sub parseSL_types2 {
1109 216     216 0 293 my ($self, $text) = @_;
1110             # attribute => 'Types'
1111             # char => '"'
1112             # context => '#pop#pop'
1113             # type => 'DetectChar'
1114 216 100       426 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
1115 34         69 return 1
1116             }
1117 182         286 return 0;
1118             };
1119              
1120              
1121             1;
1122              
1123             __END__