| line |
true |
false |
branch |
|
260
|
0 |
0 |
if ($self->testDetect2Chars($text, "\\", "'", 0, 0, 0, undef, 0, "#stay", "Char")) |
|
268
|
0 |
0 |
if ($self->testDetect2Chars($text, "\\", "\\", 0, 0, 0, undef, 0, "#stay", "Char")) |
|
275
|
0 |
0 |
if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "#pop", "Char")) |
|
289
|
0 |
0 |
if ($self->testDetect2Chars($text, "*", "/", 0, 0, 0, undef, 0, "#pop", "Comment")) |
|
303
|
0 |
0 |
if ($self->testDetect2Chars($text, "+", "/", 0, 0, 0, undef, 0, "#pop", "Comment")) |
|
320
|
0 |
0 |
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "Hex")) |
|
332
|
0 |
0 |
if ($self->testKeyword($text, "types", 0, undef, 0, "#pop", "Type")) |
|
339
|
0 |
0 |
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "#stay", "Normal Text")) |
|
346
|
0 |
0 |
if ($self->testKeyword($text, "ltypes", 0, undef, 0, "#stay", "Linkage Type")) |
|
353
|
0 |
0 |
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
360
|
0 |
0 |
if ($self->testDetectChar($text, ";", 0, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
372
|
0 |
0 |
if ($self->testDetectChar($text, ",", 0, 0, 0, undef, 0, "#stay", "Normal Text")) |
|
379
|
0 |
0 |
if ($self->testDetectChar($text, ";", 0, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
387
|
0 |
0 |
if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "CommentLine", "Comment")) |
|
396
|
0 |
0 |
if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "CommentBlockA", "Comment")) |
|
405
|
0 |
0 |
if ($self->testDetect2Chars($text, "/", "+", 0, 0, 0, undef, 0, "CommentBlockB", "Comment")) |
|
417
|
0 |
0 |
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "#stay", "Normal Text")) |
|
424
|
0 |
0 |
if ($self->testKeyword($text, "ptypes", 0, undef, 0, "#stay", "Version Type")) |
|
431
|
0 |
0 |
if ($self->testKeyword($text, "vtypes", 0, undef, 0, "#stay", "Version Type")) |
|
439
|
0 |
0 |
if ($self->testRegExpr($text, "[_a-z][\\w]*", 1, 0, 0, undef, 0, "#pop", "Keyword")) |
|
446
|
0 |
0 |
if ($self->testDetectChar($text, ",", 0, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
453
|
0 |
0 |
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
465
|
0 |
0 |
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "String")) |
|
477
|
0 |
0 |
if ($self->testDetectChar($text, "=", 0, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
484
|
0 |
0 |
if ($self->testDetectChar($text, "(", 0, 0, 0, undef, 0, "#stay", "Normal Text")) |
|
491
|
0 |
0 |
if ($self->testKeyword($text, "vtypes", 0, undef, 0, "#stay", "Version Type")) |
|
499
|
0 |
0 |
if ($self->testRegExpr($text, "\\w", 1, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
506
|
0 |
0 |
if ($self->testDetectChar($text, ")", 0, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
518
|
0 |
0 |
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "#pop", "Wysiwyg")) |
|
525
|
0 |
0 |
if ($self->testDetectChar($text, "`", 0, 0, 0, undef, 0, "#pop", "Wysiwyg")) |
|
537
|
0 |
0 |
if ($self->testKeyword($text, "keywords", 0, undef, 0, "#stay", "Keyword")) |
|
544
|
0 |
0 |
if ($self->testKeyword($text, "modules", 0, undef, 0, "ModuleName", "Module")) |
|
551
|
0 |
0 |
if ($self->testKeyword($text, "types", 0, undef, 0, "#stay", "Type")) |
|
558
|
0 |
0 |
if ($self->testKeyword($text, "phobos", 0, undef, 0, "#stay", "Phobos Library")) |
|
565
|
0 |
0 |
if ($self->testKeyword($text, "linkage", 0, undef, 0, "Linkage", "Linkage")) |
|
572
|
0 |
0 |
if ($self->testKeyword($text, "debug", 0, undef, 0, "#stay", "Debug")) |
|
579
|
0 |
0 |
if ($self->testKeyword($text, "assert", 0, undef, 0, "#stay", "Assert")) |
|
586
|
0 |
0 |
if ($self->testKeyword($text, "pragma", 0, undef, 0, "Pragmas", "Pragma")) |
|
593
|
0 |
0 |
if ($self->testKeyword($text, "version", 0, undef, 0, "Version", "Version")) |
|
600
|
0 |
0 |
if ($self->testKeyword($text, "unittest", 0, undef, 0, "#stay", "Unit Test")) |
|
608
|
0 |
0 |
if ($self->testDetect2Chars($text, "r", "\"", 0, 0, 0, undef, 0, "Wysiwyg", "Wysiwyg")) |
|
616
|
0 |
0 |
if ($self->testDetect2Chars($text, "x", "\"", 0, 0, 0, undef, 0, "Hex", "Hex")) |
|
624
|
0 |
0 |
if ($self->testRegExpr($text, "[_a-z][\\w]*", 1, 0, 0, undef, 0, "#pop", "Normal Text")) |
|
631
|
0 |
0 |
if ($self->testRegExpr($text, "\\#[ ]*line", 0, 0, 0, undef, 0, "#pop", "Pragma")) |
|
638
|
0 |
0 |
if ($self->testRegExpr($text, "\\\\[n|t|\"]", 0, 0, 0, undef, 0, "#pop", "Escape String")) |
|
645
|
0 |
0 |
if ($self->testRegExpr($text, "(\\\\r\\\\n)", 0, 0, 0, undef, 0, "#pop", "Escape String")) |
|
652
|
0 |
0 |
if ($self->testRegExpr($text, "\\\\0[0-7]+", 0, 0, 0, undef, 0, "#pop", "Escape String")) |
|
660
|
0 |
0 |
if ($self->testRegExpr($text, "\\\\u[\\d]+", 1, 0, 0, undef, 0, "#pop", "Escape String")) |
|
667
|
0 |
0 |
if ($self->testRegExpr($text, "\\\\x[\\da-fA-F]+", 0, 0, 0, undef, 0, "#pop", "Escape String")) |
|
675
|
0 |
0 |
if ($self->testRegExpr($text, "0b[01]+[_01]*[ ]*\\.\\.[ ]*0b[01]+[_01]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Binary")) |
|
683
|
0 |
0 |
if ($self->testRegExpr($text, "0[0-7]+[_0-7]*[ ]*\\.\\.[ ]*0[0-7]+[_0-7]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Octal")) |
|
691
|
0 |
0 |
if ($self->testRegExpr($text, "0x[\\da-f]+[_\\da-f]*[ ]*\\.\\.[ ]*0x[\\da-f]+[_\\da-f]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Hex")) |
|
699
|
0 |
0 |
if ($self->testRegExpr($text, "[\\d]+[_\\d]*(UL|LU|U|L)?[ ]*\\.\\.[ ]*[\\d]+[_\\d]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Integer")) |
|
707
|
0 |
0 |
if ($self->testRegExpr($text, "[\\d]*[_\\d]*\\.[_\\d]*(e-|e|e\\+)?[\\d]+[_\\d]*(F|L|I|FI|LI|)?", 1, 0, 0, undef, 0, "#pop", "Float")) |
|
715
|
0 |
0 |
if ($self->testRegExpr($text, "[\\d]*[_\\d]*\\.?[_\\d]*(e-|e|e\\+)[\\d]+[_\\d]*(F|L|I|FI|LI|)?", 1, 0, 0, undef, 0, "#pop", "Float")) |
|
723
|
0 |
0 |
if ($self->testRegExpr($text, "0x[\\da-f]+[_\\da-f]*\\.[_\\da-f]*(p-|p|p\\+)?[\\da-f]+[_\\da-f]*(F|L|I|FI|LI)?", 1, 0, 0, undef, 0, "#pop", "Float")) |
|
731
|
0 |
0 |
if ($self->testRegExpr($text, "0x[\\da-f]+[_\\da-f]*\\.?[_\\da-f]*(p-|p|p\\+)[\\da-f]+[_\\da-f]*(F|L|I|FI|LI)?", 1, 0, 0, undef, 0, "#pop", "Float")) |
|
739
|
0 |
0 |
if ($self->testRegExpr($text, "0B[01]+[_01]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Binary")) |
|
747
|
0 |
0 |
if ($self->testRegExpr($text, "0[0-7]+[_0-7]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Octal")) |
|
755
|
0 |
0 |
if ($self->testRegExpr($text, "0x[\\da-f]+[_\\da-f]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Hex")) |
|
763
|
0 |
0 |
if ($self->testRegExpr($text, "[\\d]+[_\\d]*(UL|LU|U|L)?", 1, 0, 0, undef, 0, "#pop", "Integer")) |
|
770
|
0 |
0 |
if ($self->testDetectChar($text, "'", 0, 0, 0, undef, 0, "Char", "Char")) |
|
777
|
0 |
0 |
if ($self->testDetectChar($text, "\"", 0, 0, 0, undef, 0, "String", "String")) |
|
784
|
0 |
0 |
if ($self->testDetectChar($text, "`", 0, 0, 0, undef, 0, "Wysiwyg", "Wysiwyg")) |
|
792
|
0 |
0 |
if ($self->testDetect2Chars($text, "/", "/", 0, 0, 0, undef, 0, "CommentLine", "Comment")) |
|
801
|
0 |
0 |
if ($self->testDetect2Chars($text, "/", "*", 0, 0, 0, undef, 0, "CommentBlockA", "Comment")) |
|
810
|
0 |
0 |
if ($self->testDetect2Chars($text, "/", "+", 0, 0, 0, undef, 0, "CommentBlockB", "Comment")) |
|
818
|
0 |
0 |
if ($self->testDetectChar($text, "{", 0, 0, 0, undef, 0, "#stay", "Normal Text")) |
|
826
|
0 |
0 |
if ($self->testDetectChar($text, "}", 0, 0, 0, undef, 0, "#stay", "Normal Text")) |