github-linguist 7.9.0 → 7.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/etc.json +260 -1
- data/grammars/hidden.manref.json +1 -1
- data/grammars/hidden.regexp.injection-shell.json +28 -0
- data/grammars/source.4dm.json +57 -1
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +685 -83
- data/grammars/source.agda.json +7 -7
- data/grammars/source.ballerina.json +1 -1
- data/grammars/source.c++.json +4 -4
- data/grammars/source.c.platform.json +584 -33
- data/grammars/source.chapel.json +5 -2
- data/grammars/source.css.json +1 -1
- data/grammars/source.curlrc.json +4 -4
- data/grammars/source.d.json +2 -2
- data/grammars/source.futhark.json +146 -0
- data/grammars/source.gcode.json +2 -2
- data/grammars/source.gedcom.json +196 -0
- data/grammars/source.generic-db.json +41 -0
- data/grammars/source.gfm.blade.json +15 -0
- data/grammars/source.gfm.json +1697 -1439
- data/grammars/source.httpspec.json +1 -1
- data/grammars/source.hx.json +5 -5
- data/grammars/source.hxml.json +2 -2
- data/grammars/source.idris.json +1 -1
- data/grammars/source.inputrc.json +1 -1
- data/grammars/source.isabelle.root.json +1 -1
- data/grammars/source.jison.json +3 -0
- data/grammars/source.jisonlex.json +3 -0
- data/grammars/source.julia.json +1 -1
- data/grammars/source.kotlin.json +17 -51
- data/grammars/source.lcov.json +398 -0
- data/grammars/source.lean.json +1 -1
- data/grammars/source.m2.json +125 -0
- data/grammars/source.man-conf.json +2 -2
- data/grammars/source.modula-3.json +10 -0
- data/grammars/{source.mrc.json → source.msl.json} +114 -99
- data/grammars/source.neon.json +381 -0
- data/grammars/source.objc.platform.json +493 -35
- data/grammars/source.openbsd-pkg.contents.json +128 -0
- data/grammars/source.p4.json +5 -21
- data/grammars/source.perl6fe.json +1 -1
- data/grammars/source.postscript.json +358 -103
- data/grammars/source.prisma.json +1 -1
- data/grammars/source.purescript.json +29 -2
- data/grammars/source.python.json +50 -0
- data/grammars/source.q.json +150 -63
- data/grammars/source.r.json +4 -4
- data/grammars/source.sieve.json +383 -0
- data/grammars/source.solidity.json +1 -1
- data/grammars/source.tags.json +266 -0
- data/grammars/source.ts.json +104 -36
- data/grammars/source.tsx.json +104 -36
- data/grammars/source.v.json +55 -24
- data/grammars/source.viml.json +3 -3
- data/grammars/source.webidl.json +8 -0
- data/grammars/source.wsd.json +25 -19
- data/grammars/source.x86.json +7 -3
- data/grammars/source.zig.json +84 -78
- data/grammars/text.dfy.dafny.json +188 -0
- data/grammars/text.html.php.blade.json +535 -528
- data/grammars/text.openbsd-pkg.desc.json +78 -0
- data/grammars/text.roff.json +49 -1
- data/grammars/text.sfd.json +21 -0
- data/grammars/text.xml.svg.json +8 -2
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +23 -6
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +74 -6
- data/lib/linguist/samples.json +4614 -150
- data/lib/linguist/vendor.yml +64 -62
- metadata +22 -10
- data/grammars/text.html.abl.json +0 -70
@@ -162,7 +162,7 @@
|
|
162
162
|
"request": {
|
163
163
|
"patterns": [
|
164
164
|
{
|
165
|
-
"begin": "^(?=
|
165
|
+
"begin": "^(?=ACL|BASELINE-CONTROL|BIND|CHECKIN|CHECKOUT|CONNECT|COPY|DELETE|GET|HEAD|LABEL|LINK|LOCK|MERGE|MKACTIVITY|MKCALENDAR|MKCOL|MKREDIRECTREF|MKWORKSPACE|MOVE|OPTIONS|ORDERPATCH|PATCH|POST|PRI|PROPFIND|PROPPATCH|PUT|REBIND|REPORT|SEARCH|TRACE|UNBIND|UNCHECKOUT|UNLINK|UNLOCK|UPDATE|UPDATEREDIRECTREF|VERSION-CONTROL\n)",
|
166
166
|
"end": "^(?=\\d\\d\\d)",
|
167
167
|
"patterns": [
|
168
168
|
{
|
data/grammars/source.hx.json
CHANGED
@@ -796,7 +796,7 @@
|
|
796
796
|
]
|
797
797
|
},
|
798
798
|
"import": {
|
799
|
-
"begin": "import",
|
799
|
+
"begin": "import\\b",
|
800
800
|
"end": "$|(;)",
|
801
801
|
"patterns": [
|
802
802
|
{
|
@@ -1170,7 +1170,7 @@
|
|
1170
1170
|
"metadata": {
|
1171
1171
|
"patterns": [
|
1172
1172
|
{
|
1173
|
-
"begin": "(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|
|
1173
|
+
"begin": "(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|unifyMinDynamic|unreflective|unsafe|using|void|volatile)\\b)\\s*(\\()",
|
1174
1174
|
"end": "\\)",
|
1175
1175
|
"patterns": [
|
1176
1176
|
{
|
@@ -1195,7 +1195,7 @@
|
|
1195
1195
|
}
|
1196
1196
|
},
|
1197
1197
|
{
|
1198
|
-
"match": "((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|
|
1198
|
+
"match": "((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|unifyMinDynamic|unreflective|unsafe|using|void|volatile)\\b))",
|
1199
1199
|
"captures": {
|
1200
1200
|
"2": {
|
1201
1201
|
"name": "punctuation.metadata.hx"
|
@@ -1488,7 +1488,7 @@
|
|
1488
1488
|
]
|
1489
1489
|
},
|
1490
1490
|
"package": {
|
1491
|
-
"begin": "package",
|
1491
|
+
"begin": "package\\b",
|
1492
1492
|
"end": "$|(;)",
|
1493
1493
|
"patterns": [
|
1494
1494
|
{
|
@@ -2267,7 +2267,7 @@
|
|
2267
2267
|
}
|
2268
2268
|
},
|
2269
2269
|
"using": {
|
2270
|
-
"begin": "using",
|
2270
|
+
"begin": "using\\b",
|
2271
2271
|
"end": "$|(;)",
|
2272
2272
|
"patterns": [
|
2273
2273
|
{
|
data/grammars/source.hxml.json
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
"end": "\\n",
|
17
17
|
"patterns": [
|
18
18
|
{
|
19
|
-
"include": "source.hx"
|
19
|
+
"include": "source.hx#block-contents"
|
20
20
|
}
|
21
21
|
],
|
22
22
|
"beginCaptures": {
|
@@ -48,7 +48,7 @@
|
|
48
48
|
}
|
49
49
|
},
|
50
50
|
{
|
51
|
-
"match": "(?\u003c!\\w)(--js(on)?|--lua|--swf-(header|version|lib(-extern)?)|--swf|--as3|--neko|--php|--cppia|--cpp|--cppia|--cs|--java-lib
|
51
|
+
"match": "(?\u003c!\\w)(--js(on)?|--lua|--swf-(header|version|lib(-extern)?)|--swf|--as3|--neko|--php|--cppia|--cpp|--cppia|--cs|--java-lib(-extern)?|--java|--jvm|--python|--hl|-p|--class-path|-L|--library|--define|-r|--resource|--cmd|-C|--verbose|--debug|--prompt|--xml|--json|--net-lib|--net-std|--c-arg|--version|--haxelib-global|-h|--main|--server-connect|--server-listen).*$",
|
52
52
|
"captures": {
|
53
53
|
"1": {
|
54
54
|
"name": "keyword.other.hxml"
|
data/grammars/source.idris.json
CHANGED
@@ -496,7 +496,7 @@
|
|
496
496
|
},
|
497
497
|
"prelude_function": {
|
498
498
|
"name": "support.function.prelude.idris",
|
499
|
-
"match": "\\b(abs|acos|
|
499
|
+
"match": "\\b(abs|acos|all|and|any|asin|atan|atan2|break|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|div|drop|dropWhile|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|exp|fail|filter|flip|floor|foldl|foldl1|foldr|foldr1|fromInteger|fst|gcd|getChar|getLine|head|id|init|iterate|last|lcm|length|lines|log|lookup|map|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|null|or|pi|pred|print|product|putChar|putStr|putStrLn|readFile|recip|repeat|replicate|return|reverse|scanl|scanl1|sequence|sequence_|show|sin|sinh|snd|span|splitAt|sqrt|succ|sum|tail|take|takeWhile|tan|tanh|uncurry|unlines|unwords|unzip|unzip3|words|writeFile|zip|zip3|zipWith|zipWith3)\\b"
|
500
500
|
},
|
501
501
|
"prelude_type": {
|
502
502
|
"name": "support.type.prelude.idris",
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"patterns": [
|
5
5
|
{
|
6
6
|
"name": "keyword.control",
|
7
|
-
"match": "\\b(chapter|session|in|description|options|global_theories|theories|files|document_files|sessions)\\b"
|
7
|
+
"match": "\\b(chapter|session|in|description|options|global_theories|theories|files|document_files|sessions|directories)\\b"
|
8
8
|
},
|
9
9
|
{
|
10
10
|
"name": "keyword.other.option",
|
data/grammars/source.jison.json
CHANGED
@@ -4,14 +4,17 @@
|
|
4
4
|
"patterns": [
|
5
5
|
{
|
6
6
|
"begin": "%%",
|
7
|
+
"end": "\\z",
|
7
8
|
"patterns": [
|
8
9
|
{
|
9
10
|
"begin": "%%",
|
11
|
+
"end": "\\z",
|
10
12
|
"patterns": [
|
11
13
|
{
|
12
14
|
"name": "meta.section.epilogue.jison",
|
13
15
|
"contentName": "source.js.embedded.jison",
|
14
16
|
"begin": "\\G",
|
17
|
+
"end": "\\z",
|
15
18
|
"patterns": [
|
16
19
|
{
|
17
20
|
"include": "#epilogue_section"
|
@@ -4,14 +4,17 @@
|
|
4
4
|
"patterns": [
|
5
5
|
{
|
6
6
|
"begin": "%%",
|
7
|
+
"end": "\\z",
|
7
8
|
"patterns": [
|
8
9
|
{
|
9
10
|
"begin": "^%%",
|
11
|
+
"end": "\\z",
|
10
12
|
"patterns": [
|
11
13
|
{
|
12
14
|
"name": "meta.section.user-code.jisonlex",
|
13
15
|
"contentName": "source.js.embedded.jison",
|
14
16
|
"begin": "\\G",
|
17
|
+
"end": "\\z",
|
15
18
|
"patterns": [
|
16
19
|
{
|
17
20
|
"include": "#user_code_section"
|
data/grammars/source.julia.json
CHANGED
@@ -264,7 +264,7 @@
|
|
264
264
|
"patterns": [
|
265
265
|
{
|
266
266
|
"name": "constant.numeric.julia",
|
267
|
-
"match": "((\\b0(x|X)[0-9a-fA-F](_?[0-9a-fA-F])*)|(\\b0o[0-7](_?[0-7])*)|(\\b0b[0-1](_?[0-1])*)|((\\b[0-9](_?[0-9])*\\.?(_?[0-9]*))|(\\.[0-9](_?[0-9])*))([eE][+-]?[0-9](_?[0-9])*)?(im\\b)?|\\bInf(32)?\\b|\\bNaN(32)?\\b)"
|
267
|
+
"match": "((\\b0(x|X)[0-9a-fA-F](_?[0-9a-fA-F])*)|(\\b0o[0-7](_?[0-7])*)|(\\b0b[0-1](_?[0-1])*)|((\\b[0-9](_?[0-9])*\\.?(_?[0-9]*))|(\\.[0-9](_?[0-9])*))([eE][+-]?[0-9](_?[0-9])*)?(im\\b)?|\\bInf(16|32|64)?\\b|\\bNaN(16|32|64)?\\b)"
|
268
268
|
},
|
269
269
|
{
|
270
270
|
"name": "constant.language.julia",
|
data/grammars/source.kotlin.json
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
"patterns": [
|
44
44
|
{
|
45
45
|
"name": "meta.declaration.annotation.kotlin",
|
46
|
-
"begin": "(@[^ (]+)(\\()?",
|
46
|
+
"begin": "((?\u003c!this)@[^ (]+)(\\()?",
|
47
47
|
"end": "(\\)|\\s|$)",
|
48
48
|
"patterns": [
|
49
49
|
{
|
@@ -136,7 +136,7 @@
|
|
136
136
|
"builtin-functions": {
|
137
137
|
"patterns": [
|
138
138
|
{
|
139
|
-
"match": "\\b(apply|also|let|takeIf|run|takeUnless|with|println)\\b\\s*(?={|\\()",
|
139
|
+
"match": "\\b(apply|also|let|takeIf|run|takeUnless|with|print|println)\\b\\s*(?={|\\()",
|
140
140
|
"captures": {
|
141
141
|
"1": {
|
142
142
|
"name": "support.function.kotlin"
|
@@ -337,7 +337,7 @@
|
|
337
337
|
"patterns": [
|
338
338
|
{
|
339
339
|
"name": "keyword.operator.kotlin",
|
340
|
-
"match": "
|
340
|
+
"match": "(\\!in|\\!is|as\\?)"
|
341
341
|
},
|
342
342
|
{
|
343
343
|
"name": "keyword.operator.kotlin",
|
@@ -361,7 +361,7 @@
|
|
361
361
|
},
|
362
362
|
{
|
363
363
|
"name": "storage.modifier.kotlin",
|
364
|
-
"match": "\\b(external|public|private|protected|internal|abstract|final|sealed|enum|open|annotation|override|vararg|typealias|expect|actual|suspend|yield|lateinit)\\b"
|
364
|
+
"match": "\\b(external|public|private|protected|internal|abstract|final|sealed|enum|open|annotation|override|vararg|typealias|expect|actual|suspend|yield|out|in|lateinit)\\b"
|
365
365
|
},
|
366
366
|
{
|
367
367
|
"name": "keyword.control.catch-exception.kotlin",
|
@@ -506,7 +506,7 @@
|
|
506
506
|
{
|
507
507
|
"name": "string.quoted.triple.kotlin",
|
508
508
|
"begin": "\"\"\"",
|
509
|
-
"end": "\"\"\"
|
509
|
+
"end": "\"\"\"",
|
510
510
|
"patterns": [
|
511
511
|
{
|
512
512
|
"include": "#string-content"
|
@@ -546,27 +546,6 @@
|
|
546
546
|
"name": "punctuation.definition.string.end.kotlin"
|
547
547
|
}
|
548
548
|
}
|
549
|
-
},
|
550
|
-
{
|
551
|
-
"name": "string.quoted.single.kotlin",
|
552
|
-
"begin": "'",
|
553
|
-
"end": "'",
|
554
|
-
"patterns": [
|
555
|
-
{
|
556
|
-
"name": "constant.character.escape.kotlin",
|
557
|
-
"match": "\\\\."
|
558
|
-
}
|
559
|
-
],
|
560
|
-
"beginCaptures": {
|
561
|
-
"0": {
|
562
|
-
"name": "punctuation.definition.string.begin.kotlin"
|
563
|
-
}
|
564
|
-
},
|
565
|
-
"endCaptures": {
|
566
|
-
"0": {
|
567
|
-
"name": "punctuation.definition.string.end.kotlin"
|
568
|
-
}
|
569
|
-
}
|
570
549
|
}
|
571
550
|
]
|
572
551
|
},
|
@@ -672,7 +651,15 @@
|
|
672
651
|
},
|
673
652
|
{
|
674
653
|
"name": "entity.name.type.class.kotlin",
|
675
|
-
"match": "((?:[a-zA-Z]\\w*\\.)*[A-Z]+\\w*[a-z]+\\w*)(\\?)"
|
654
|
+
"match": "\\b((?:[a-zA-Z]\\w*\\.)*[A-Z]+\\w*[a-z]+\\w*)(\\?)?\\b",
|
655
|
+
"patterns": [
|
656
|
+
{
|
657
|
+
"include": "#keyword-punctuation"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"include": "#types"
|
661
|
+
}
|
662
|
+
]
|
676
663
|
},
|
677
664
|
{
|
678
665
|
"name": "entity.name.type.class.kotlin",
|
@@ -683,30 +670,6 @@
|
|
683
670
|
}
|
684
671
|
}
|
685
672
|
},
|
686
|
-
{
|
687
|
-
"name": "meta.generic.kotlin",
|
688
|
-
"begin": "\\\u003c",
|
689
|
-
"end": "\\\u003e",
|
690
|
-
"patterns": [
|
691
|
-
{
|
692
|
-
"name": "storage.modifier.kotlin",
|
693
|
-
"match": "\\b(out|in)\\b"
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"include": "#types"
|
697
|
-
}
|
698
|
-
],
|
699
|
-
"beginCaptures": {
|
700
|
-
"0": {
|
701
|
-
"name": "punctuation.definition.generic.begin.kotlin"
|
702
|
-
}
|
703
|
-
},
|
704
|
-
"endCaptures": {
|
705
|
-
"0": {
|
706
|
-
"name": "punctuation.definition.generic.end.kotlin"
|
707
|
-
}
|
708
|
-
}
|
709
|
-
},
|
710
673
|
{
|
711
674
|
"begin": "\\(",
|
712
675
|
"end": "\\)",
|
@@ -726,6 +689,9 @@
|
|
726
689
|
}
|
727
690
|
}
|
728
691
|
},
|
692
|
+
{
|
693
|
+
"include": "#comments"
|
694
|
+
},
|
729
695
|
{
|
730
696
|
"include": "#keyword-punctuation"
|
731
697
|
},
|
@@ -0,0 +1,398 @@
|
|
1
|
+
{
|
2
|
+
"name": "LCOV Tracefile",
|
3
|
+
"scopeName": "source.lcov",
|
4
|
+
"patterns": [
|
5
|
+
{
|
6
|
+
"include": "#main"
|
7
|
+
}
|
8
|
+
],
|
9
|
+
"repository": {
|
10
|
+
"BRDA": {
|
11
|
+
"name": "meta.branch-coverage.lcov",
|
12
|
+
"begin": "^(BRDA)(:)",
|
13
|
+
"end": "$",
|
14
|
+
"patterns": [
|
15
|
+
{
|
16
|
+
"match": "\\G\\s*(\\d+)\\s*(,)\\s*(\\d+)\\s*(,)\\s*(\\d+)\\s*(,)\\s*(?:(\\d+)|(-))",
|
17
|
+
"captures": {
|
18
|
+
"1": {
|
19
|
+
"name": "entity.other.branch.line-number.lcov"
|
20
|
+
},
|
21
|
+
"2": {
|
22
|
+
"patterns": [
|
23
|
+
{
|
24
|
+
"include": "etc#comma"
|
25
|
+
}
|
26
|
+
]
|
27
|
+
},
|
28
|
+
"3": {
|
29
|
+
"name": "entity.other.branch.block-number.lcov"
|
30
|
+
},
|
31
|
+
"4": {
|
32
|
+
"patterns": [
|
33
|
+
{
|
34
|
+
"include": "etc#comma"
|
35
|
+
}
|
36
|
+
]
|
37
|
+
},
|
38
|
+
"5": {
|
39
|
+
"name": "entity.other.branch.branch-number.lcov"
|
40
|
+
},
|
41
|
+
"6": {
|
42
|
+
"patterns": [
|
43
|
+
{
|
44
|
+
"include": "etc#comma"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
},
|
48
|
+
"7": {
|
49
|
+
"name": "entity.other.branch.use-count.lcov"
|
50
|
+
},
|
51
|
+
"8": {
|
52
|
+
"name": "comment.other.never-executed.lcov"
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"beginCaptures": {
|
58
|
+
"1": {
|
59
|
+
"name": "storage.type.var.lcov"
|
60
|
+
},
|
61
|
+
"2": {
|
62
|
+
"patterns": [
|
63
|
+
{
|
64
|
+
"include": "etc#kolon"
|
65
|
+
}
|
66
|
+
]
|
67
|
+
}
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"BRF": {
|
71
|
+
"name": "meta.number-of-branches.found.lcov",
|
72
|
+
"begin": "^(BRF)(:)",
|
73
|
+
"end": "$",
|
74
|
+
"patterns": [
|
75
|
+
{
|
76
|
+
"include": "etc#num"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"beginCaptures": {
|
80
|
+
"1": {
|
81
|
+
"name": "storage.type.var.lcov"
|
82
|
+
},
|
83
|
+
"2": {
|
84
|
+
"patterns": [
|
85
|
+
{
|
86
|
+
"include": "etc#kolon"
|
87
|
+
}
|
88
|
+
]
|
89
|
+
}
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"BRH": {
|
93
|
+
"name": "meta.number-of-branches.found.lcov",
|
94
|
+
"begin": "^(BRH)(:)",
|
95
|
+
"end": "$",
|
96
|
+
"patterns": [
|
97
|
+
{
|
98
|
+
"include": "etc#num"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"beginCaptures": {
|
102
|
+
"1": {
|
103
|
+
"name": "storage.type.var.lcov"
|
104
|
+
},
|
105
|
+
"2": {
|
106
|
+
"patterns": [
|
107
|
+
{
|
108
|
+
"include": "etc#kolon"
|
109
|
+
}
|
110
|
+
]
|
111
|
+
}
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"DA": {
|
115
|
+
"name": "meta.execution-counts.lcov",
|
116
|
+
"begin": "^(DA)(:)",
|
117
|
+
"end": "$",
|
118
|
+
"patterns": [
|
119
|
+
{
|
120
|
+
"match": "\\G\\s*(\\d+)(,)(\\d+)",
|
121
|
+
"captures": {
|
122
|
+
"1": {
|
123
|
+
"name": "constant.numeric.line-number.lcov"
|
124
|
+
},
|
125
|
+
"2": {
|
126
|
+
"patterns": [
|
127
|
+
{
|
128
|
+
"include": "etc#comma"
|
129
|
+
}
|
130
|
+
]
|
131
|
+
},
|
132
|
+
"3": {
|
133
|
+
"name": "constant.numeric.execution-count.lcov"
|
134
|
+
}
|
135
|
+
}
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"match": "(?\u003c=\\d)(,)\\s*(\\S.*)\\s*$",
|
139
|
+
"captures": {
|
140
|
+
"1": {
|
141
|
+
"patterns": [
|
142
|
+
{
|
143
|
+
"include": "etc#comma"
|
144
|
+
}
|
145
|
+
]
|
146
|
+
},
|
147
|
+
"2": {
|
148
|
+
"name": "string.other.md5.checksum.hash.lcov"
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"beginCaptures": {
|
154
|
+
"1": {
|
155
|
+
"name": "storage.type.var.lcov"
|
156
|
+
},
|
157
|
+
"2": {
|
158
|
+
"patterns": [
|
159
|
+
{
|
160
|
+
"include": "etc#kolon"
|
161
|
+
}
|
162
|
+
]
|
163
|
+
}
|
164
|
+
}
|
165
|
+
},
|
166
|
+
"FN": {
|
167
|
+
"name": "meta.function-name.lcov",
|
168
|
+
"begin": "^(FN)(:)[ \\t]*",
|
169
|
+
"end": "\\s*$",
|
170
|
+
"patterns": [
|
171
|
+
{
|
172
|
+
"include": "etc#comma"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"name": "constant.numeric.line-number.function-start.lcov",
|
176
|
+
"match": "\\G\\d+"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"name": "entity.function.name.lcov",
|
180
|
+
"match": "(?!\\d)\\S.*"
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"beginCaptures": {
|
184
|
+
"1": {
|
185
|
+
"name": "storage.type.var.lcov"
|
186
|
+
},
|
187
|
+
"2": {
|
188
|
+
"patterns": [
|
189
|
+
{
|
190
|
+
"include": "etc#kolon"
|
191
|
+
}
|
192
|
+
]
|
193
|
+
}
|
194
|
+
}
|
195
|
+
},
|
196
|
+
"FNDA": {
|
197
|
+
"name": "meta.execution-count.lcov",
|
198
|
+
"begin": "^(FNDA)(:)[ \\t]*",
|
199
|
+
"end": "\\s*$",
|
200
|
+
"patterns": [
|
201
|
+
{
|
202
|
+
"include": "etc#comma"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"name": "constant.numeric.execution-count.lcov",
|
206
|
+
"match": "\\G\\d+"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"name": "entity.function.name.lcov",
|
210
|
+
"match": "(?!\\d)\\S.*"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"beginCaptures": {
|
214
|
+
"1": {
|
215
|
+
"name": "storage.type.var.lcov"
|
216
|
+
},
|
217
|
+
"2": {
|
218
|
+
"patterns": [
|
219
|
+
{
|
220
|
+
"include": "etc#kolon"
|
221
|
+
}
|
222
|
+
]
|
223
|
+
}
|
224
|
+
}
|
225
|
+
},
|
226
|
+
"FNF": {
|
227
|
+
"name": "meta.number-of-functions.found.lcov",
|
228
|
+
"begin": "^(FNF)(:)",
|
229
|
+
"end": "$",
|
230
|
+
"patterns": [
|
231
|
+
{
|
232
|
+
"include": "etc#num"
|
233
|
+
}
|
234
|
+
],
|
235
|
+
"beginCaptures": {
|
236
|
+
"1": {
|
237
|
+
"name": "storage.type.var.lcov"
|
238
|
+
},
|
239
|
+
"2": {
|
240
|
+
"patterns": [
|
241
|
+
{
|
242
|
+
"include": "etc#kolon"
|
243
|
+
}
|
244
|
+
]
|
245
|
+
}
|
246
|
+
}
|
247
|
+
},
|
248
|
+
"FNH": {
|
249
|
+
"name": "meta.number-of-functions.hit.lcov",
|
250
|
+
"begin": "^(FNH)(:)",
|
251
|
+
"end": "$",
|
252
|
+
"patterns": [
|
253
|
+
{
|
254
|
+
"include": "etc#num"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"beginCaptures": {
|
258
|
+
"1": {
|
259
|
+
"name": "storage.type.var.lcov"
|
260
|
+
},
|
261
|
+
"2": {
|
262
|
+
"patterns": [
|
263
|
+
{
|
264
|
+
"include": "etc#kolon"
|
265
|
+
}
|
266
|
+
]
|
267
|
+
}
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"LF": {
|
271
|
+
"name": "meta.number-of-instrumented-lines.lcov",
|
272
|
+
"begin": "^(LF)(:)[ \\t]*",
|
273
|
+
"end": "\\s*$",
|
274
|
+
"patterns": [
|
275
|
+
{
|
276
|
+
"include": "etc#num"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"beginCaptures": {
|
280
|
+
"1": {
|
281
|
+
"name": "storage.type.var.lcov"
|
282
|
+
},
|
283
|
+
"2": {
|
284
|
+
"patterns": [
|
285
|
+
{
|
286
|
+
"include": "etc#kolon"
|
287
|
+
}
|
288
|
+
]
|
289
|
+
}
|
290
|
+
}
|
291
|
+
},
|
292
|
+
"LH": {
|
293
|
+
"name": "meta.number-of-lines-with-non-zero-execution-count.lcov",
|
294
|
+
"begin": "^(LH)(:)[ \\t]*",
|
295
|
+
"end": "\\s*$",
|
296
|
+
"patterns": [
|
297
|
+
{
|
298
|
+
"include": "etc#num"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"beginCaptures": {
|
302
|
+
"1": {
|
303
|
+
"name": "storage.type.var.lcov"
|
304
|
+
},
|
305
|
+
"2": {
|
306
|
+
"patterns": [
|
307
|
+
{
|
308
|
+
"include": "etc#kolon"
|
309
|
+
}
|
310
|
+
]
|
311
|
+
}
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"SF": {
|
315
|
+
"name": "meta.source-file.lcov",
|
316
|
+
"contentName": "entity.name.source-file.path.lcov",
|
317
|
+
"begin": "^(SF)(:)[ \\t]*",
|
318
|
+
"end": "\\s*$",
|
319
|
+
"beginCaptures": {
|
320
|
+
"1": {
|
321
|
+
"name": "storage.type.var.lcov"
|
322
|
+
},
|
323
|
+
"2": {
|
324
|
+
"patterns": [
|
325
|
+
{
|
326
|
+
"include": "etc#kolon"
|
327
|
+
}
|
328
|
+
]
|
329
|
+
}
|
330
|
+
}
|
331
|
+
},
|
332
|
+
"TN": {
|
333
|
+
"name": "meta.test-name.lcov",
|
334
|
+
"contentName": "markup.heading.1.test-name.lcov",
|
335
|
+
"begin": "^(TN)(:)[ \\t]*",
|
336
|
+
"end": "\\s*$",
|
337
|
+
"beginCaptures": {
|
338
|
+
"1": {
|
339
|
+
"name": "storage.type.var.lcov"
|
340
|
+
},
|
341
|
+
"2": {
|
342
|
+
"patterns": [
|
343
|
+
{
|
344
|
+
"include": "etc#kolon"
|
345
|
+
}
|
346
|
+
]
|
347
|
+
}
|
348
|
+
}
|
349
|
+
},
|
350
|
+
"end": {
|
351
|
+
"name": "keyword.control.end-of-record.end.lcov",
|
352
|
+
"match": "^end_of_record\\b"
|
353
|
+
},
|
354
|
+
"main": {
|
355
|
+
"patterns": [
|
356
|
+
{
|
357
|
+
"include": "#TN"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"include": "#SF"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"include": "#FN"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"include": "#FNDA"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"include": "#FNF"
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"include": "#FNH"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"include": "#DA"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"include": "#LH"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"include": "#LF"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"include": "#BRDA"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"include": "#BRF"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"include": "#BRH"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"include": "#end"
|
394
|
+
}
|
395
|
+
]
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}
|