github-linguist-grammars 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/grammars/file.lasso.json +713 -0
- data/grammars/module.ceylon.json +54 -0
- data/grammars/objdump.x86asm.json +73 -0
- data/grammars/source.Inform7.json +45 -0
- data/grammars/source.Kotlin.json +774 -0
- data/grammars/source.LS.json +104 -0
- data/grammars/source.MCPOST.json +68 -0
- data/grammars/source.MOD.json +70 -0
- data/grammars/source.abap.json +176 -0
- data/grammars/source.abl.json +138 -0
- data/grammars/source.actionscript.3.json +1571 -0
- data/grammars/source.acucobol.json +16 -0
- data/grammars/source.ada.json +140 -0
- data/grammars/source.agda.json +254 -0
- data/grammars/source.ahk.json +171 -0
- data/grammars/source.alloy.json +44 -0
- data/grammars/source.ampl.json +157 -0
- data/grammars/source.antlr.json +300 -0
- data/grammars/source.apache-config.json +352 -0
- data/grammars/source.apache-config.mod_perl.json +70 -0
- data/grammars/source.apl.json +442 -0
- data/grammars/source.applescript.json +1385 -0
- data/grammars/source.apt.json +25 -0
- data/grammars/source.asm.x86.json +182 -0
- data/grammars/source.asp.json +157 -0
- data/grammars/source.aspectj.json +963 -0
- data/grammars/source.ats.json +170 -0
- data/grammars/source.autoit.3.json +132 -0
- data/grammars/source.awk.json +388 -0
- data/grammars/source.befunge.json +38 -0
- data/grammars/source.bf.json +36 -0
- data/grammars/source.bison.json +59 -0
- data/grammars/source.blitzmax.json +912 -0
- data/grammars/source.boo.json +452 -0
- data/grammars/source.brightauthorproject.json +29 -0
- data/grammars/source.brightscript.json +158 -0
- data/grammars/source.bro.json +409 -0
- data/grammars/source.bsv.json +283 -0
- data/grammars/source.c++.json +364 -0
- data/grammars/source.c++.qt.json +37 -0
- data/grammars/source.c.ec.json +39 -0
- data/grammars/source.c.json +727 -0
- data/grammars/source.c.platform.json +154 -0
- data/grammars/source.cache.cmake.json +75 -0
- data/grammars/source.cake.json +16 -0
- data/grammars/source.camlp4.ocaml.json +63 -0
- data/grammars/source.capnp.json +93 -0
- data/grammars/source.ceylon.json +77 -0
- data/grammars/source.cfscript.cfc.json +170 -0
- data/grammars/source.cfscript.json +744 -0
- data/grammars/source.chapel.json +240 -0
- data/grammars/source.cirru.json +66 -0
- data/grammars/source.clarion.json +159 -0
- data/grammars/source.clips.json +80 -0
- data/grammars/source.clojure.json +397 -0
- data/grammars/source.cm.json +54 -0
- data/grammars/source.cmake.json +181 -0
- data/grammars/source.cobol.json +528 -0
- data/grammars/source.coffee.json +678 -0
- data/grammars/source.compiled-papyrus.json +11 -0
- data/grammars/source.cool.json +103 -0
- data/grammars/source.coq.json +62 -0
- data/grammars/source.crystal.json +2760 -0
- data/grammars/source.cs.json +556 -0
- data/grammars/source.css.json +630 -0
- data/grammars/source.css.less.json +276 -0
- data/grammars/source.css.mss.json +256 -0
- data/grammars/source.csx.json +16 -0
- data/grammars/source.cuda-c++.json +137 -0
- data/grammars/source.cython.json +2108 -0
- data/grammars/source.d.json +722 -0
- data/grammars/source.dart.json +763 -0
- data/grammars/source.desktop.json +90 -0
- data/grammars/source.diff.json +162 -0
- data/grammars/source.dockerfile.json +89 -0
- data/grammars/source.dosbatch.json +70 -0
- data/grammars/source.dot.json +126 -0
- data/grammars/source.dylan.json +217 -0
- data/grammars/source.eiffel.json +138 -0
- data/grammars/source.elixir.json +737 -0
- data/grammars/source.elm.json +355 -0
- data/grammars/source.erazor.json +126 -0
- data/grammars/source.erlang.json +1674 -0
- data/grammars/source.essl.json +50 -0
- data/grammars/source.factor.json +260 -0
- data/grammars/source.fan.json +188 -0
- data/grammars/source.fancy.json +270 -0
- data/grammars/source.fish.json +214 -0
- data/grammars/source.forth.json +101 -0
- data/grammars/source.fortran.json +499 -0
- data/grammars/source.fortran.modern.json +226 -0
- data/grammars/source.fsharp.json +403 -0
- data/grammars/source.gap.json +167 -0
- data/grammars/source.gcode.json +25 -0
- data/grammars/source.gdscript.json +154 -0
- data/grammars/source.gfm.json +1270 -0
- data/grammars/source.glsl.json +71 -0
- data/grammars/source.gnuplot.json +276 -0
- data/grammars/source.go.json +552 -0
- data/grammars/source.golo.json +182 -0
- data/grammars/source.gosu.2.json +163 -0
- data/grammars/source.grace.json +679 -0
- data/grammars/source.groovy.gradle.json +73 -0
- data/grammars/source.groovy.json +1385 -0
- data/grammars/source.harbour.json +450 -0
- data/grammars/source.haskell.json +449 -0
- data/grammars/source.haxe.2.json +1243 -0
- data/grammars/source.hss.1.json +464 -0
- data/grammars/source.httpspec.json +287 -0
- data/grammars/source.hxml.json +26 -0
- data/grammars/source.hy.json +270 -0
- data/grammars/source.idl-dlm.json +112 -0
- data/grammars/source.idl.json +267 -0
- data/grammars/source.idris.json +537 -0
- data/grammars/source.ini.json +113 -0
- data/grammars/source.inno.json +65 -0
- data/grammars/source.io.json +164 -0
- data/grammars/source.ioke.json +272 -0
- data/grammars/source.isabelle.root.json +68 -0
- data/grammars/source.isabelle.theory.json +106 -0
- data/grammars/source.j.json +49 -0
- data/grammars/source.jade.json +1009 -0
- data/grammars/source.jasmin.json +299 -0
- data/grammars/source.java-properties.json +97 -0
- data/grammars/source.java.json +1026 -0
- data/grammars/source.jcl.json +49 -0
- data/grammars/source.jflex.json +490 -0
- data/grammars/source.jq.json +218 -0
- data/grammars/source.js.json +948 -0
- data/grammars/source.js.jsx.json +2937 -0
- data/grammars/source.js.objj.json +424 -0
- data/grammars/source.js.regexp.json +150 -0
- data/grammars/source.js.regexp.replacement.json +30 -0
- data/grammars/source.json.json +149 -0
- data/grammars/source.julia.json +407 -0
- data/grammars/source.lean.json +145 -0
- data/grammars/source.lid.json +23 -0
- data/grammars/source.lilypond.json +623 -0
- data/grammars/source.lisp.json +111 -0
- data/grammars/source.litcoffee.json +669 -0
- data/grammars/source.livescript.json +616 -0
- data/grammars/source.llvm.json +71 -0
- data/grammars/source.logos.json +31 -0
- data/grammars/source.logtalk.json +315 -0
- data/grammars/source.loomscript.json +214 -0
- data/grammars/source.lsl.json +216 -0
- data/grammars/source.lua.json +191 -0
- data/grammars/source.makefile.json +474 -0
- data/grammars/source.makegen.json +13 -0
- data/grammars/source.man.json +53 -0
- data/grammars/source.mask.json +701 -0
- data/grammars/source.mata.json +133 -0
- data/grammars/source.mathematica.json +429 -0
- data/grammars/source.matlab.json +776 -0
- data/grammars/source.mercury.json +251 -0
- data/grammars/source.ml.json +291 -0
- data/grammars/source.modelica.json +142 -0
- data/grammars/source.modula2.json +103 -0
- data/grammars/source.monkey.json +701 -0
- data/grammars/source.moonscript.json +149 -0
- data/grammars/source.mupad.json +149 -0
- data/grammars/source.nant-build.json +86 -0
- data/grammars/source.ncl.json +66 -0
- data/grammars/source.nemerle.json +137 -0
- data/grammars/source.nesc.json +27 -0
- data/grammars/source.netlinx.erb.json +47 -0
- data/grammars/source.netlinx.json +768 -0
- data/grammars/source.nginx.json +797 -0
- data/grammars/source.nim.json +1150 -0
- data/grammars/source.nim_filter.json +133 -0
- data/grammars/source.nimcfg.json +116 -0
- data/grammars/source.ninja.json +66 -0
- data/grammars/source.nit.json +238 -0
- data/grammars/source.nix.json +1200 -0
- data/grammars/source.nmml.json +87 -0
- data/grammars/source.nsis.json +150 -0
- data/grammars/source.objc++.json +19 -0
- data/grammars/source.objc.json +918 -0
- data/grammars/source.objc.platform.json +277 -0
- data/grammars/source.ocaml.json +1426 -0
- data/grammars/source.ocamllex.json +305 -0
- data/grammars/source.ocamlyacc.json +346 -0
- data/grammars/source.octave.json +451 -0
- data/grammars/source.ooc.json +692 -0
- data/grammars/source.opa.json +206 -0
- data/grammars/source.opal.json +415 -0
- data/grammars/source.opalsysdefs.json +70 -0
- data/grammars/source.opencobol.json +65 -0
- data/grammars/source.ox.json +97 -0
- data/grammars/source.oz.json +84 -0
- data/grammars/source.papyrus-assembly.json +266 -0
- data/grammars/source.papyrus.json +231 -0
- data/grammars/source.parrot.pir.json +117 -0
- data/grammars/source.pascal.json +150 -0
- data/grammars/source.perl.6.json +310 -0
- data/grammars/source.perl.json +2413 -0
- data/grammars/source.php.zephir.json +362 -0
- data/grammars/source.pig_latin.json +172 -0
- data/grammars/source.pike.json +62 -0
- data/grammars/source.plsql.oracle.json +642 -0
- data/grammars/source.po.json +232 -0
- data/grammars/source.pogoscript.json +85 -0
- data/grammars/source.postscript.json +231 -0
- data/grammars/source.powershell.json +755 -0
- data/grammars/source.processing.json +885 -0
- data/grammars/source.prolog.eclipse.json +206 -0
- data/grammars/source.prolog.json +292 -0
- data/grammars/source.protobuf.json +395 -0
- data/grammars/source.pubspec.json +13 -0
- data/grammars/source.puppet.json +494 -0
- data/grammars/source.purescript.json +818 -0
- data/grammars/source.pyjade.json +1010 -0
- data/grammars/source.python.django.json +34 -0
- data/grammars/source.python.json +1960 -0
- data/grammars/source.python.salt.json +13 -0
- data/grammars/source.qmake.json +217 -0
- data/grammars/source.qml.json +195 -0
- data/grammars/source.r.json +203 -0
- data/grammars/source.racket.json +119 -0
- data/grammars/source.rebol.json +647 -0
- data/grammars/source.red.json +652 -0
- data/grammars/source.regexp.babel.json +190 -0
- data/grammars/source.regexp.python.json +187 -0
- data/grammars/source.regexp.spin.json +188 -0
- data/grammars/source.ruby.json +1956 -0
- data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
- data/grammars/source.rust.json +269 -0
- data/grammars/source.sas.json +322 -0
- data/grammars/source.sas_log.json +26 -0
- data/grammars/source.sass.json +248 -0
- data/grammars/source.sbt.json +36 -0
- data/grammars/source.scad.json +152 -0
- data/grammars/source.scala.json +739 -0
- data/grammars/source.scaml.json +466 -0
- data/grammars/source.scheme.json +370 -0
- data/grammars/source.scilab.json +103 -0
- data/grammars/source.scss.json +1321 -0
- data/grammars/source.shell.json +1212 -0
- data/grammars/source.smali.json +1668 -0
- data/grammars/source.smalltalk.json +135 -0
- data/grammars/source.smt.json +173 -0
- data/grammars/source.sp.json +118 -0
- data/grammars/source.sparql.json +23 -0
- data/grammars/source.spin.json +936 -0
- data/grammars/source.sqf.json +112 -0
- data/grammars/source.sql.json +473 -0
- data/grammars/source.stata.json +208 -0
- data/grammars/source.strings.json +53 -0
- data/grammars/source.stylus.json +1021 -0
- data/grammars/source.swift.json +965 -0
- data/grammars/source.systemverilog.json +1050 -0
- data/grammars/source.tcl.json +277 -0
- data/grammars/source.tea.json +180 -0
- data/grammars/source.thrift.json +704 -0
- data/grammars/source.toml.json +327 -0
- data/grammars/source.ts.json +1094 -0
- data/grammars/source.tsx.json +1324 -0
- data/grammars/source.turtle.json +505 -0
- data/grammars/source.txl.json +62 -0
- data/grammars/source.ucfconstraints.json +72 -0
- data/grammars/source.vala.json +814 -0
- data/grammars/source.varnish.vcl.json +343 -0
- data/grammars/source.vbnet.json +338 -0
- data/grammars/source.verilog.json +302 -0
- data/grammars/source.vhdl.json +1349 -0
- data/grammars/source.viml.json +224 -0
- data/grammars/source.webidl.json +814 -0
- data/grammars/source.x10.json +68 -0
- data/grammars/source.x86asm.json +47 -0
- data/grammars/source.xc.json +379 -0
- data/grammars/source.xq.json +241 -0
- data/grammars/source.xquery.json +193 -0
- data/grammars/source.xtend.json +733 -0
- data/grammars/source.yaml.json +334 -0
- data/grammars/source.yaml.salt.json +348 -0
- data/grammars/text.bibtex.json +251 -0
- data/grammars/text.cfml.basic.json +736 -0
- data/grammars/text.dart-analysis-output.json +162 -0
- data/grammars/text.dart-doccomments.json +19 -0
- data/grammars/text.elixir.json +45 -0
- data/grammars/text.gherkin.feature.json +135 -0
- data/grammars/text.groff.json +113 -0
- data/grammars/text.haml.json +299 -0
- data/grammars/text.html.abl.json +24 -0
- data/grammars/text.html.asciidoc.json +492 -0
- data/grammars/text.html.asdoc.json +541 -0
- data/grammars/text.html.asp.json +58 -0
- data/grammars/text.html.basic.json +552 -0
- data/grammars/text.html.cfm.json +811 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.django.json +69 -0
- data/grammars/text.html.elixir.json +18 -0
- data/grammars/text.html.erb.json +157 -0
- data/grammars/text.html.erlang.yaws.json +72 -0
- data/grammars/text.html.factor.json +27 -0
- data/grammars/text.html.handlebars.json +783 -0
- data/grammars/text.html.jsp.json +1203 -0
- data/grammars/text.html.liquid.json +35 -0
- data/grammars/text.html.mako.json +729 -0
- data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
- data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
- data/grammars/text.html.mediawiki.json +972 -0
- data/grammars/text.html.php.json +2607 -0
- data/grammars/text.html.slash.json +313 -0
- data/grammars/text.html.smarty.json +216 -0
- data/grammars/text.html.ssp.json +49 -0
- data/grammars/text.html.tcl.json +44 -0
- data/grammars/text.html.twig.json +1353 -0
- data/grammars/text.html.vue.json +642 -0
- data/grammars/text.idl-idldoc.json +14 -0
- data/grammars/text.junit-test-report.json +92 -0
- data/grammars/text.log.latex.json +86 -0
- data/grammars/text.python.console.json +25 -0
- data/grammars/text.python.traceback.json +46 -0
- data/grammars/text.rdoc.json +48 -0
- data/grammars/text.restructuredtext.json +561 -0
- data/grammars/text.robot.json +73 -0
- data/grammars/text.shell-session.json +48 -0
- data/grammars/text.slim.json +527 -0
- data/grammars/text.tex.json +271 -0
- data/grammars/text.tex.latex.beamer.json +63 -0
- data/grammars/text.tex.latex.haskell.json +56 -0
- data/grammars/text.tex.latex.json +1013 -0
- data/grammars/text.tex.latex.memoir.json +99 -0
- data/grammars/text.tex.latex.rd.json +117 -0
- data/grammars/text.xml.ant.json +202 -0
- data/grammars/text.xml.flex-config.json +2634 -0
- data/grammars/text.xml.genshi.json +34 -0
- data/grammars/text.xml.json +364 -0
- data/grammars/text.xml.pom.json +774 -0
- data/grammars/text.xml.xsl.json +94 -0
- data/grammars/text.zone_file.json +72 -0
- data/lib/linguist/grammars.rb +13 -0
- metadata +389 -0
@@ -0,0 +1,251 @@
|
|
1
|
+
{
|
2
|
+
"comment": "Grammar based on description from http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#comment\n\t\n\tTODO: Does not support @preamble\n\t",
|
3
|
+
"fileTypes": [
|
4
|
+
"bib"
|
5
|
+
],
|
6
|
+
"name": "BibTeX",
|
7
|
+
"patterns": [
|
8
|
+
{
|
9
|
+
"begin": "@Comment",
|
10
|
+
"beginCaptures": {
|
11
|
+
"0": {
|
12
|
+
"name": "punctuation.definition.comment.bibtex"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"end": "$\\n?",
|
16
|
+
"name": "comment.line.at-sign.bibtex"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"begin": "((@)String)\\s*(\\{)\\s*([a-zA-Z]*)",
|
20
|
+
"beginCaptures": {
|
21
|
+
"1": {
|
22
|
+
"name": "keyword.other.string-constant.bibtex"
|
23
|
+
},
|
24
|
+
"2": {
|
25
|
+
"name": "punctuation.definition.keyword.bibtex"
|
26
|
+
},
|
27
|
+
"3": {
|
28
|
+
"name": "punctuation.section.string-constant.begin.bibtex"
|
29
|
+
},
|
30
|
+
"4": {
|
31
|
+
"name": "variable.other.bibtex"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"end": "\\}",
|
35
|
+
"endCaptures": {
|
36
|
+
"0": {
|
37
|
+
"name": "punctuation.section.string-constant.end.bibtex"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"name": "meta.string-constant.braces.bibtex",
|
41
|
+
"patterns": [
|
42
|
+
{
|
43
|
+
"include": "#string_content"
|
44
|
+
}
|
45
|
+
]
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"begin": "((@)String)\\s*(\\()\\s*([a-zA-Z]*)",
|
49
|
+
"beginCaptures": {
|
50
|
+
"1": {
|
51
|
+
"name": "keyword.other.string-constant.bibtex"
|
52
|
+
},
|
53
|
+
"2": {
|
54
|
+
"name": "punctuation.definition.keyword.bibtex"
|
55
|
+
},
|
56
|
+
"3": {
|
57
|
+
"name": "punctuation.section.string-constant.begin.bibtex"
|
58
|
+
},
|
59
|
+
"4": {
|
60
|
+
"name": "variable.other.bibtex"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"end": "\\)",
|
64
|
+
"endCaptures": {
|
65
|
+
"0": {
|
66
|
+
"name": "punctuation.section.string-constant.end.bibtex"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"name": "meta.string-constant.parenthesis.bibtex",
|
70
|
+
"patterns": [
|
71
|
+
{
|
72
|
+
"include": "#string_content"
|
73
|
+
}
|
74
|
+
]
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"begin": "((@)[a-zA-Z]+)\\s*(\\{)\\s*([^\\s,]*)",
|
78
|
+
"beginCaptures": {
|
79
|
+
"1": {
|
80
|
+
"name": "keyword.other.entry-type.bibtex"
|
81
|
+
},
|
82
|
+
"2": {
|
83
|
+
"name": "punctuation.definition.keyword.bibtex"
|
84
|
+
},
|
85
|
+
"3": {
|
86
|
+
"name": "punctuation.section.entry.begin.bibtex"
|
87
|
+
},
|
88
|
+
"4": {
|
89
|
+
"name": "entity.name.type.entry-key.bibtex"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"end": "\\}",
|
93
|
+
"endCaptures": {
|
94
|
+
"0": {
|
95
|
+
"name": "punctuation.section.entry.end.bibtex"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"name": "meta.entry.braces.bibtex",
|
99
|
+
"patterns": [
|
100
|
+
{
|
101
|
+
"begin": "([a-zA-Z0-9\\!\\$\\&\\*\\+\\-\\.\\/\\:\\;\\<\\>\\?\\[\\]\\^\\_\\`\\|]+)\\s*(\\=)",
|
102
|
+
"beginCaptures": {
|
103
|
+
"1": {
|
104
|
+
"name": "string.unquoted.key.bibtex"
|
105
|
+
},
|
106
|
+
"2": {
|
107
|
+
"name": "punctuation.separator.key-value.bibtex"
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"end": "(?=[,}])",
|
111
|
+
"name": "meta.key-assignment.bibtex",
|
112
|
+
"patterns": [
|
113
|
+
{
|
114
|
+
"include": "#string_content"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"include": "#integer"
|
118
|
+
}
|
119
|
+
]
|
120
|
+
}
|
121
|
+
]
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"begin": "((@)[a-zA-Z]+)\\s*(\\()\\s*([^\\s,]*)",
|
125
|
+
"beginCaptures": {
|
126
|
+
"1": {
|
127
|
+
"name": "keyword.other.entry-type.bibtex"
|
128
|
+
},
|
129
|
+
"2": {
|
130
|
+
"name": "punctuation.definition.keyword.bibtex"
|
131
|
+
},
|
132
|
+
"3": {
|
133
|
+
"name": "punctuation.section.entry.begin.bibtex"
|
134
|
+
},
|
135
|
+
"4": {
|
136
|
+
"name": "entity.name.type.entry-key.bibtex"
|
137
|
+
}
|
138
|
+
},
|
139
|
+
"end": "\\)",
|
140
|
+
"endCaptures": {
|
141
|
+
"0": {
|
142
|
+
"name": "punctuation.section.entry.end.bibtex"
|
143
|
+
}
|
144
|
+
},
|
145
|
+
"name": "meta.entry.parenthesis.bibtex",
|
146
|
+
"patterns": [
|
147
|
+
{
|
148
|
+
"begin": "([a-zA-Z0-9\\!\\$\\&\\*\\+\\-\\.\\/\\:\\;\\<\\>\\?\\[\\]\\^\\_\\`\\|]+)\\s*(\\=)",
|
149
|
+
"beginCaptures": {
|
150
|
+
"1": {
|
151
|
+
"name": "string.unquoted.key.bibtex"
|
152
|
+
},
|
153
|
+
"2": {
|
154
|
+
"name": "punctuation.separator.key-value.bibtex"
|
155
|
+
}
|
156
|
+
},
|
157
|
+
"end": "(?=[,)])",
|
158
|
+
"name": "meta.key-assignment.bibtex",
|
159
|
+
"patterns": [
|
160
|
+
{
|
161
|
+
"include": "#string_content"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"include": "#integer"
|
165
|
+
}
|
166
|
+
]
|
167
|
+
}
|
168
|
+
]
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"begin": "[^@\\n]",
|
172
|
+
"end": "(?=@)",
|
173
|
+
"name": "comment.block.bibtex"
|
174
|
+
}
|
175
|
+
],
|
176
|
+
"repository": {
|
177
|
+
"integer": {
|
178
|
+
"match": "\\d+",
|
179
|
+
"name": "constant.numeric.bibtex"
|
180
|
+
},
|
181
|
+
"nested_braces": {
|
182
|
+
"begin": "\\{",
|
183
|
+
"beginCaptures": {
|
184
|
+
"0": {
|
185
|
+
"name": "punctuation.definition.group.begin.bibtex"
|
186
|
+
}
|
187
|
+
},
|
188
|
+
"end": "\\}",
|
189
|
+
"endCaptures": {
|
190
|
+
"0": {
|
191
|
+
"name": "punctuation.definition.group.end.bibtex"
|
192
|
+
}
|
193
|
+
},
|
194
|
+
"patterns": [
|
195
|
+
{
|
196
|
+
"include": "#nested_braces"
|
197
|
+
}
|
198
|
+
]
|
199
|
+
},
|
200
|
+
"string_content": {
|
201
|
+
"patterns": [
|
202
|
+
{
|
203
|
+
"begin": "\"",
|
204
|
+
"beginCaptures": {
|
205
|
+
"0": {
|
206
|
+
"name": "punctuation.definition.string.begin.bibtex"
|
207
|
+
}
|
208
|
+
},
|
209
|
+
"end": "\"",
|
210
|
+
"endCaptures": {
|
211
|
+
"0": {
|
212
|
+
"name": "punctuation.definition.string.end.bibtex"
|
213
|
+
}
|
214
|
+
},
|
215
|
+
"name": "string.quoted.double.bibtex",
|
216
|
+
"patterns": [
|
217
|
+
{
|
218
|
+
"include": "#nested_braces"
|
219
|
+
}
|
220
|
+
]
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"begin": "\\{",
|
224
|
+
"beginCaptures": {
|
225
|
+
"0": {
|
226
|
+
"name": "punctuation.definition.string.begin.bibtex"
|
227
|
+
}
|
228
|
+
},
|
229
|
+
"end": "\\}",
|
230
|
+
"endCaptures": {
|
231
|
+
"0": {
|
232
|
+
"name": "punctuation.definition.string.end.bibtex"
|
233
|
+
}
|
234
|
+
},
|
235
|
+
"name": "string.quoted.other.braces.bibtex",
|
236
|
+
"patterns": [
|
237
|
+
{
|
238
|
+
"match": "@",
|
239
|
+
"name": "invalid.illegal.at-sign.bibtex"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"include": "#nested_braces"
|
243
|
+
}
|
244
|
+
]
|
245
|
+
}
|
246
|
+
]
|
247
|
+
}
|
248
|
+
},
|
249
|
+
"scopeName": "text.bibtex",
|
250
|
+
"uuid": "47F30BA1-6B1D-11D9-9A60-000D93589AF6"
|
251
|
+
}
|
@@ -0,0 +1,736 @@
|
|
1
|
+
{
|
2
|
+
"name": "CFML (do not use)",
|
3
|
+
"patterns": [
|
4
|
+
{
|
5
|
+
"begin": "(?:^\\s+)?(<)((?i:cfscript))(?![^>]*/>)",
|
6
|
+
"captures": {
|
7
|
+
"0": {
|
8
|
+
"name": "meta.tag.block.cf.script.cfml"
|
9
|
+
},
|
10
|
+
"1": {
|
11
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
12
|
+
},
|
13
|
+
"2": {
|
14
|
+
"name": "entity.name.tag.cf.script.cfml"
|
15
|
+
},
|
16
|
+
"3": {
|
17
|
+
"name": "punctuation.definition.tag.end.cfml"
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"end": "(</)((?i:cfscript))(>)(?:\\s*\\n)?",
|
21
|
+
"patterns": [
|
22
|
+
{
|
23
|
+
"begin": "(>)",
|
24
|
+
"beginCaptures": {
|
25
|
+
"0": {
|
26
|
+
"name": "meta.tag.block.cf.script.cfml"
|
27
|
+
},
|
28
|
+
"1": {
|
29
|
+
"name": "punctuation.definition.tag.end.cfml"
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"contentName": "source.cfscript.embedded.cfml",
|
33
|
+
"end": "(?=</(?i:cfscript))",
|
34
|
+
"patterns": [
|
35
|
+
{
|
36
|
+
"include": "source.cfscript"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"begin": "(</?)((?i:cffunction))\\b",
|
44
|
+
"beginCaptures": {
|
45
|
+
"1": {
|
46
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
47
|
+
},
|
48
|
+
"2": {
|
49
|
+
"name": "entity.name.tag.cf.function.cfml"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"end": "(>)",
|
53
|
+
"endCaptures": {
|
54
|
+
"1": {
|
55
|
+
"name": "punctuation.definition.tag.end.cfml"
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"name": "meta.tag.block.cf.function.cfml",
|
59
|
+
"patterns": [
|
60
|
+
{
|
61
|
+
"include": "#func-name-attribute"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"include": "#tag-stuff"
|
65
|
+
}
|
66
|
+
]
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"begin": "(<)(?i:(cfset|cfreturn))\\b",
|
70
|
+
"beginCaptures": {
|
71
|
+
"1": {
|
72
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
73
|
+
},
|
74
|
+
"2": {
|
75
|
+
"name": "entity.name.tag.cf.inline.declaration.cfml"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"end": "((?:\\s?/)?>)",
|
79
|
+
"endCaptures": {
|
80
|
+
"1": {
|
81
|
+
"name": "punctuation.definition.tag.end.cfml"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"name": "meta.tag.inline.cf.any.cfml",
|
85
|
+
"contentName": "source.cfscript.embedded.cfml",
|
86
|
+
"patterns": [
|
87
|
+
{
|
88
|
+
"include": "#cfcomments"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"include": "source.cfscript"
|
92
|
+
}
|
93
|
+
]
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"begin": "(?x)\n\t\t\t\t(<)\n\t\t\t\t\t(?i:\n\t\t\t\t\t\t(cf(queryparam|location|forward|import|param|break|abort|flush\n\t\t\t\t\t\t\t|setting|test|dump|content|include|catch|continue\n\t\t\t\t\t\t\t|file|log|object|invoke|throw|property|htmlhead\n\t\t\t\t\t\t\t|header|argument|exit|trace)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\\b\n\t\t\t\t\t)\n\t\t\t",
|
97
|
+
"beginCaptures": {
|
98
|
+
"1": {
|
99
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
100
|
+
},
|
101
|
+
"2": {
|
102
|
+
"name": "entity.name.tag.cf.inline.other.cfml"
|
103
|
+
}
|
104
|
+
},
|
105
|
+
"end": "((?:\\s?/)?>)",
|
106
|
+
"endCaptures": {
|
107
|
+
"1": {
|
108
|
+
"name": "punctuation.definition.tag.end.cfml"
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"name": "meta.tag.inline.cf.any.cfml",
|
112
|
+
"patterns": [
|
113
|
+
{
|
114
|
+
"include": "#tag-stuff"
|
115
|
+
}
|
116
|
+
]
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"begin": "(?:^\\s+)?(<)((?i:cfquery))\\b(?![^>]*/>)",
|
120
|
+
"captures": {
|
121
|
+
"0": {
|
122
|
+
"name": "meta.tag.block.cf.query.cfml"
|
123
|
+
},
|
124
|
+
"1": {
|
125
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
126
|
+
},
|
127
|
+
"2": {
|
128
|
+
"name": "entity.name.tag.cf.query.cfml"
|
129
|
+
},
|
130
|
+
"3": {
|
131
|
+
"name": "punctuation.definition.tag.end.cfml"
|
132
|
+
}
|
133
|
+
},
|
134
|
+
"end": "(</)((?i:cfquery))(>)(?:\\s*\\n)?",
|
135
|
+
"patterns": [
|
136
|
+
{
|
137
|
+
"begin": "(?<=cfquery)\\s",
|
138
|
+
"end": "(?=>)",
|
139
|
+
"name": "meta.tag.block.cf.output.cfml",
|
140
|
+
"patterns": [
|
141
|
+
{
|
142
|
+
"include": "#qry-name-attribute"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"include": "#tag-stuff"
|
146
|
+
}
|
147
|
+
]
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"begin": "(>)",
|
151
|
+
"beginCaptures": {
|
152
|
+
"0": {
|
153
|
+
"name": "meta.tag.block.cf.query.cfml"
|
154
|
+
},
|
155
|
+
"1": {
|
156
|
+
"name": "punctuation.definition.tag.end.cfml"
|
157
|
+
}
|
158
|
+
},
|
159
|
+
"contentName": "source.sql.embedded.cfml",
|
160
|
+
"end": "(?=</(?i:cfquery))",
|
161
|
+
"patterns": [
|
162
|
+
{
|
163
|
+
"include": "#string-double-quoted"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"include": "#string-single-quoted"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"include": "#embedded-tags"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"begin": "(</?)((?i:(?:cfqueryparam))\\b)",
|
173
|
+
"beginCaptures": {
|
174
|
+
"1": {
|
175
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
176
|
+
},
|
177
|
+
"2": {
|
178
|
+
"name": "entity.name.tag.cf.inline.param.cfml"
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"end": "((?:\\s?/)?>)",
|
182
|
+
"endCaptures": {
|
183
|
+
"1": {
|
184
|
+
"name": "punctuation.definition.tag.end.cfml"
|
185
|
+
}
|
186
|
+
},
|
187
|
+
"name": "meta.tag.inline.cf.query-param.cfml",
|
188
|
+
"patterns": [
|
189
|
+
{
|
190
|
+
"include": "#tag-stuff"
|
191
|
+
}
|
192
|
+
]
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"include": "#nest-hash"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"include": "source.sql"
|
199
|
+
}
|
200
|
+
]
|
201
|
+
}
|
202
|
+
]
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"include": "#embedded-tags"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"begin": "(?x)\n\t\t\t\t(</?)\n\t\t\t\t(?i:\n\t\t\t\t\t(cf((output)|(savecontent)|([\\w\\-_.]+)))\n\t\t\t\t)\n\t\t\t\t\\b\n\t\t\t",
|
209
|
+
"beginCaptures": {
|
210
|
+
"1": {
|
211
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
212
|
+
},
|
213
|
+
"2": {
|
214
|
+
"name": "entity.name.tag.cf.block.other.cfml"
|
215
|
+
}
|
216
|
+
},
|
217
|
+
"end": "(>)",
|
218
|
+
"endCaptures": {
|
219
|
+
"1": {
|
220
|
+
"name": "punctuation.definition.tag.end.cfml"
|
221
|
+
}
|
222
|
+
},
|
223
|
+
"name": "meta.tag.block.cf.other.cfml",
|
224
|
+
"patterns": [
|
225
|
+
{
|
226
|
+
"include": "#tag-stuff"
|
227
|
+
}
|
228
|
+
]
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"repository": {
|
232
|
+
"embedded-tags": {
|
233
|
+
"patterns": [
|
234
|
+
{
|
235
|
+
"include": "#cfcomments"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"include": "#conditionals"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"include": "#flow-control"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"include": "#exception-handling"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"include": "#cfoutput"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"include": "#cfmail"
|
251
|
+
}
|
252
|
+
]
|
253
|
+
},
|
254
|
+
"flow-control": {
|
255
|
+
"patterns": [
|
256
|
+
{
|
257
|
+
"begin": "(?x)\n\t\t\t\t\t\t(</?)\n\t\t\t\t\t\t(?i:\n\t\t\t\t\t\t\t(cfloop)|(cfswitch)|(cf(?:default)?case)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\\b\n\t\t\t\t\t",
|
258
|
+
"beginCaptures": {
|
259
|
+
"1": {
|
260
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
261
|
+
},
|
262
|
+
"2": {
|
263
|
+
"name": "entity.name.tag.cf.flow-control.loop.cfml"
|
264
|
+
},
|
265
|
+
"3": {
|
266
|
+
"name": "entity.name.tag.cf.flow-control.switch.cfml"
|
267
|
+
},
|
268
|
+
"4": {
|
269
|
+
"name": "entity.name.tag.cf.flow-control.case.cfml"
|
270
|
+
}
|
271
|
+
},
|
272
|
+
"end": "(>)",
|
273
|
+
"endCaptures": {
|
274
|
+
"1": {
|
275
|
+
"name": "punctuation.definition.tag.end.cfml"
|
276
|
+
}
|
277
|
+
},
|
278
|
+
"name": "meta.tag.block.cf.flow-control.cfml",
|
279
|
+
"patterns": [
|
280
|
+
{
|
281
|
+
"include": "#tag-stuff"
|
282
|
+
}
|
283
|
+
]
|
284
|
+
}
|
285
|
+
]
|
286
|
+
},
|
287
|
+
"exception-handling": {
|
288
|
+
"patterns": [
|
289
|
+
{
|
290
|
+
"begin": "(?x)\n\t\t\t\t\t\t(</?)\n\t\t\t\t\t\t(?i:\n\t\t\t\t\t\t\t(cftry)|(cfcatch)|(cflock)|(cffinally|cferror|cfrethrow|cfthrow)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\\b\n\t\t\t\t\t",
|
291
|
+
"beginCaptures": {
|
292
|
+
"1": {
|
293
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
294
|
+
},
|
295
|
+
"2": {
|
296
|
+
"name": "entity.name.tag.cf.exception.try.cfml"
|
297
|
+
},
|
298
|
+
"3": {
|
299
|
+
"name": "entity.name.tag.cf.exception.catch.cfml"
|
300
|
+
},
|
301
|
+
"4": {
|
302
|
+
"name": "entity.name.tag.cf.lock.cfml"
|
303
|
+
},
|
304
|
+
"5": {
|
305
|
+
"name": "entity.name.tag.cf.exception.other.cfml"
|
306
|
+
}
|
307
|
+
},
|
308
|
+
"end": "(>)",
|
309
|
+
"endCaptures": {
|
310
|
+
"1": {
|
311
|
+
"name": "punctuation.definition.tag.end.cfml"
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"name": "meta.tag.block.cf.exceptions.cfml",
|
315
|
+
"patterns": [
|
316
|
+
{
|
317
|
+
"include": "#tag-stuff"
|
318
|
+
}
|
319
|
+
]
|
320
|
+
}
|
321
|
+
]
|
322
|
+
},
|
323
|
+
"conditionals": {
|
324
|
+
"patterns": [
|
325
|
+
{
|
326
|
+
"begin": "(</?)((?i:cfif))\\b",
|
327
|
+
"beginCaptures": {
|
328
|
+
"1": {
|
329
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
330
|
+
},
|
331
|
+
"2": {
|
332
|
+
"name": "entity.name.tag.cf.conditional.cfml"
|
333
|
+
}
|
334
|
+
},
|
335
|
+
"end": "(>)",
|
336
|
+
"endCaptures": {
|
337
|
+
"1": {
|
338
|
+
"name": "punctuation.definition.tag.end.cfml"
|
339
|
+
}
|
340
|
+
},
|
341
|
+
"name": "meta.tag.block.cf.conditional.cfml",
|
342
|
+
"contentName": "source.cfscript.embedded.cfml",
|
343
|
+
"patterns": [
|
344
|
+
{
|
345
|
+
"include": "source.cfscript"
|
346
|
+
}
|
347
|
+
]
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"begin": "(</?)(?i:(cfelseif|cfelse))",
|
351
|
+
"captures": {
|
352
|
+
"1": {
|
353
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
354
|
+
},
|
355
|
+
"2": {
|
356
|
+
"name": "entity.name.tag.cf.conditional.cfml"
|
357
|
+
}
|
358
|
+
},
|
359
|
+
"end": "(>)",
|
360
|
+
"endCaptures": {
|
361
|
+
"1": {
|
362
|
+
"name": "punctuation.definition.tag.end.cfml"
|
363
|
+
}
|
364
|
+
},
|
365
|
+
"name": "meta.tag.inline.cf.conditional.cfml",
|
366
|
+
"contentName": "source.cfscript.embedded.cfml",
|
367
|
+
"patterns": [
|
368
|
+
{
|
369
|
+
"include": "source.cfscript"
|
370
|
+
}
|
371
|
+
]
|
372
|
+
}
|
373
|
+
]
|
374
|
+
},
|
375
|
+
"cfoutput": {
|
376
|
+
"begin": "(?:^\\s+)?(<)((?i:cfoutput))\\b(?![^>]*/>)",
|
377
|
+
"captures": {
|
378
|
+
"0": {
|
379
|
+
"name": "meta.tag.block.cf.output.cfml"
|
380
|
+
},
|
381
|
+
"1": {
|
382
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
383
|
+
},
|
384
|
+
"2": {
|
385
|
+
"name": "entity.name.tag.cf.output.cfml"
|
386
|
+
},
|
387
|
+
"3": {
|
388
|
+
"name": "punctuation.definition.tag.end.cfml"
|
389
|
+
}
|
390
|
+
},
|
391
|
+
"end": "(</)((?i:cfoutput))(>)(?:\\s*\\n)?",
|
392
|
+
"patterns": [
|
393
|
+
{
|
394
|
+
"begin": "(?<=cfoutput)\\s",
|
395
|
+
"end": "(?=>)",
|
396
|
+
"name": "meta.tag.block.cf.output.cfml",
|
397
|
+
"patterns": [
|
398
|
+
{
|
399
|
+
"include": "#tag-stuff"
|
400
|
+
}
|
401
|
+
]
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"begin": "(>)",
|
405
|
+
"beginCaptures": {
|
406
|
+
"0": {
|
407
|
+
"name": "meta.tag.block.cf.output.cfml"
|
408
|
+
},
|
409
|
+
"1": {
|
410
|
+
"name": "punctuation.definition.tag.end.cfml"
|
411
|
+
}
|
412
|
+
},
|
413
|
+
"end": "(?=</(?i:cfoutput))",
|
414
|
+
"contentName": "meta.scope.between-output-tags.cfml",
|
415
|
+
"patterns": [
|
416
|
+
{
|
417
|
+
"include": "#nest-hash"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"include": "text.html.cfm"
|
421
|
+
}
|
422
|
+
]
|
423
|
+
}
|
424
|
+
]
|
425
|
+
},
|
426
|
+
"cfmail": {
|
427
|
+
"begin": "(?:^\\s+)?(<)((?i:cfmail))\\b(?![^>]*/>)",
|
428
|
+
"captures": {
|
429
|
+
"0": {
|
430
|
+
"name": "meta.tag.block.cf.mail.cfml"
|
431
|
+
},
|
432
|
+
"1": {
|
433
|
+
"name": "punctuation.definition.tag.begin.cfml"
|
434
|
+
},
|
435
|
+
"2": {
|
436
|
+
"name": "entity.name.tag.cf.mail.cfml"
|
437
|
+
},
|
438
|
+
"3": {
|
439
|
+
"name": "punctuation.definition.tag.end.cfml"
|
440
|
+
}
|
441
|
+
},
|
442
|
+
"end": "(</)((?i:cfmail))(>)(?:\\s*\\n)?",
|
443
|
+
"patterns": [
|
444
|
+
{
|
445
|
+
"begin": "(?<=cfmail)\\s",
|
446
|
+
"end": "(?=>)",
|
447
|
+
"name": "meta.tag.block.cf.mail.cfml",
|
448
|
+
"patterns": [
|
449
|
+
{
|
450
|
+
"include": "#tag-stuff"
|
451
|
+
}
|
452
|
+
]
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"begin": "(>)",
|
456
|
+
"beginCaptures": {
|
457
|
+
"0": {
|
458
|
+
"name": "meta.tag.block.cf.mail.cfml"
|
459
|
+
},
|
460
|
+
"1": {
|
461
|
+
"name": "punctuation.definition.tag.end.cfml"
|
462
|
+
}
|
463
|
+
},
|
464
|
+
"end": "(?=</(?i:cfmail))",
|
465
|
+
"contentName": "meta.scope.between-mail-tags.cfml",
|
466
|
+
"patterns": [
|
467
|
+
{
|
468
|
+
"include": "#nest-hash"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"include": "text.html.cfm"
|
472
|
+
}
|
473
|
+
]
|
474
|
+
}
|
475
|
+
]
|
476
|
+
},
|
477
|
+
"func-name-attribute": {
|
478
|
+
"begin": "\\b(name)\\b\\s*(=)",
|
479
|
+
"captures": {
|
480
|
+
"1": {
|
481
|
+
"name": "entity.other.attribute-name.cfml"
|
482
|
+
},
|
483
|
+
"2": {
|
484
|
+
"name": "punctuation.separator.key-value.cfml"
|
485
|
+
}
|
486
|
+
},
|
487
|
+
"end": "(?<='|\")",
|
488
|
+
"name": "meta.attribute-with-value.name.cfml",
|
489
|
+
"patterns": [
|
490
|
+
{
|
491
|
+
"begin": "\"",
|
492
|
+
"beginCaptures": {
|
493
|
+
"0": {
|
494
|
+
"name": "punctuation.definition.string.begin.cfml"
|
495
|
+
}
|
496
|
+
},
|
497
|
+
"contentName": "meta.toc-list.function.cfml",
|
498
|
+
"end": "\"",
|
499
|
+
"endCaptures": {
|
500
|
+
"0": {
|
501
|
+
"name": "punctuation.definition.string.end.cfml"
|
502
|
+
}
|
503
|
+
},
|
504
|
+
"name": "string.quoted.double.cfml",
|
505
|
+
"patterns": [
|
506
|
+
{
|
507
|
+
"include": "#entities"
|
508
|
+
}
|
509
|
+
]
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"begin": "'",
|
513
|
+
"beginCaptures": {
|
514
|
+
"0": {
|
515
|
+
"name": "punctuation.definition.string.begin.cfml"
|
516
|
+
}
|
517
|
+
},
|
518
|
+
"contentName": "meta.toc-list.function.cfml",
|
519
|
+
"end": "'",
|
520
|
+
"endCaptures": {
|
521
|
+
"0": {
|
522
|
+
"name": "punctuation.definition.string.end.cfml"
|
523
|
+
}
|
524
|
+
},
|
525
|
+
"name": "string.quoted.single.cfml",
|
526
|
+
"patterns": [
|
527
|
+
{
|
528
|
+
"include": "#entities"
|
529
|
+
}
|
530
|
+
]
|
531
|
+
}
|
532
|
+
]
|
533
|
+
},
|
534
|
+
"qry-name-attribute": {
|
535
|
+
"begin": "\\b(name)\\b\\s*(=)",
|
536
|
+
"captures": {
|
537
|
+
"1": {
|
538
|
+
"name": "entity.other.attribute-name.cfml"
|
539
|
+
},
|
540
|
+
"2": {
|
541
|
+
"name": "punctuation.separator.key-value.cfml"
|
542
|
+
}
|
543
|
+
},
|
544
|
+
"end": "(?<='|\")",
|
545
|
+
"name": "meta.attribute-with-value.name.cfml",
|
546
|
+
"patterns": [
|
547
|
+
{
|
548
|
+
"begin": "\"",
|
549
|
+
"beginCaptures": {
|
550
|
+
"0": {
|
551
|
+
"name": "punctuation.definition.string.begin.cfml"
|
552
|
+
}
|
553
|
+
},
|
554
|
+
"contentName": "meta.toc-list.query.cfml",
|
555
|
+
"end": "\"",
|
556
|
+
"endCaptures": {
|
557
|
+
"0": {
|
558
|
+
"name": "punctuation.definition.string.end.cfml"
|
559
|
+
}
|
560
|
+
},
|
561
|
+
"name": "string.quoted.double.cfml",
|
562
|
+
"patterns": [
|
563
|
+
{
|
564
|
+
"include": "#entities"
|
565
|
+
}
|
566
|
+
]
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"begin": "'",
|
570
|
+
"beginCaptures": {
|
571
|
+
"0": {
|
572
|
+
"name": "punctuation.definition.string.begin.cfml"
|
573
|
+
}
|
574
|
+
},
|
575
|
+
"contentName": "meta.toc-list.query.name.cfml",
|
576
|
+
"end": "'",
|
577
|
+
"endCaptures": {
|
578
|
+
"0": {
|
579
|
+
"name": "punctuation.definition.string.end.cfml"
|
580
|
+
}
|
581
|
+
},
|
582
|
+
"name": "string.quoted.single.cfml",
|
583
|
+
"patterns": [
|
584
|
+
{
|
585
|
+
"include": "#entities"
|
586
|
+
}
|
587
|
+
]
|
588
|
+
}
|
589
|
+
]
|
590
|
+
},
|
591
|
+
"cfcomments": {
|
592
|
+
"patterns": [
|
593
|
+
{
|
594
|
+
"match": "<!---.*?--->",
|
595
|
+
"name": "comment.line.cfml"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"begin": "<!---",
|
599
|
+
"captures": {
|
600
|
+
"0": {
|
601
|
+
"name": "punctuation.definition.comment.cfml"
|
602
|
+
}
|
603
|
+
},
|
604
|
+
"end": "--->",
|
605
|
+
"name": "comment.block.cfml",
|
606
|
+
"patterns": [
|
607
|
+
{
|
608
|
+
"include": "#cfcomments"
|
609
|
+
}
|
610
|
+
]
|
611
|
+
}
|
612
|
+
]
|
613
|
+
},
|
614
|
+
"tag-stuff": {
|
615
|
+
"patterns": [
|
616
|
+
{
|
617
|
+
"include": "#cfcomments"
|
618
|
+
},
|
619
|
+
{
|
620
|
+
"include": "#tag-generic-attribute"
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"include": "#string-double-quoted"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"include": "#string-single-quoted"
|
627
|
+
}
|
628
|
+
]
|
629
|
+
},
|
630
|
+
"tag-generic-attribute": {
|
631
|
+
"match": "\\b([a-zA-Z\\-:]+)",
|
632
|
+
"name": "entity.other.attribute-name.cfml"
|
633
|
+
},
|
634
|
+
"string-double-quoted": {
|
635
|
+
"begin": "\"",
|
636
|
+
"beginCaptures": {
|
637
|
+
"0": {
|
638
|
+
"name": "punctuation.definition.string.begin.cfml"
|
639
|
+
}
|
640
|
+
},
|
641
|
+
"end": "\"",
|
642
|
+
"endCaptures": {
|
643
|
+
"0": {
|
644
|
+
"name": "punctuation.definition.string.end.cfml"
|
645
|
+
}
|
646
|
+
},
|
647
|
+
"name": "string.quoted.double.cfml",
|
648
|
+
"patterns": [
|
649
|
+
{
|
650
|
+
"include": "#nest-hash"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"include": "#entities"
|
654
|
+
}
|
655
|
+
]
|
656
|
+
},
|
657
|
+
"string-single-quoted": {
|
658
|
+
"begin": "'",
|
659
|
+
"beginCaptures": {
|
660
|
+
"0": {
|
661
|
+
"name": "punctuation.definition.string.begin.cfml"
|
662
|
+
}
|
663
|
+
},
|
664
|
+
"end": "'",
|
665
|
+
"endCaptures": {
|
666
|
+
"0": {
|
667
|
+
"name": "punctuation.definition.string.end.cfml"
|
668
|
+
}
|
669
|
+
},
|
670
|
+
"name": "string.quoted.single.cfml",
|
671
|
+
"patterns": [
|
672
|
+
{
|
673
|
+
"include": "#nest-hash"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"include": "#entities"
|
677
|
+
}
|
678
|
+
]
|
679
|
+
},
|
680
|
+
"entities": {
|
681
|
+
"patterns": [
|
682
|
+
{
|
683
|
+
"captures": {
|
684
|
+
"1": {
|
685
|
+
"name": "punctuation.definition.entity.cfml"
|
686
|
+
},
|
687
|
+
"3": {
|
688
|
+
"name": "punctuation.definition.entity.cfml"
|
689
|
+
}
|
690
|
+
},
|
691
|
+
"match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
|
692
|
+
"name": "constant.character.entity.cfml"
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"match": "&",
|
696
|
+
"name": "invalid.illegal.bad-ampersand.cfml"
|
697
|
+
}
|
698
|
+
]
|
699
|
+
},
|
700
|
+
"nest-hash": {
|
701
|
+
"patterns": [
|
702
|
+
{
|
703
|
+
"match": "##",
|
704
|
+
"name": "string.escaped.hash.cfml"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"match": "(?x)\n\t\t\t\t\t\t\t(\\#)\n\t\t\t\t\t\t\t(?!\t\t# zero width negative lookahead assertion\n\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t([\\w$]+\t# assertion for plain variables or function names including currency symbol \"$\"\n\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t(\\[.*\\])\t\t\t\t# asserts a match for anything in square brackets\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\(.*\\))\t\t\t\t# or anything in parens\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\.[\\w$]+)\t\t\t\t# or zero or more \"dot\" notated variables\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\s*[\\+\\-\\*\\/&]\\s*[\\w$]+)\t# or simple arithmentic operators + concatenation\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\s*&\\s*[\"|'].+[\"|']) \t# or concatenation with a quoted string\n\t\t\t\t\t\t\t\t\t\t)*\t\t# asserts preceeding square brackets, parens, dot notated vars or arithmetic zero or more times\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t(\\(.*\\))\t # asserts a match for anything in parens\n\t\t\t\t\t\t\t\t)\\#\t\t# asserts closing hash\n\t\t\t\t\t\t\t)",
|
708
|
+
"name": "invalid.illegal.unescaped.hash.cfml"
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"begin": "(?x)\n\t\t\t\t\t\t\t(\\#)\n\t\t\t\t\t\t\t(?=\t\t# zero width negative lookahead assertion\n\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t([\\w$]+\t# assertion for plain variables or function names including currency symbol \"$\"\n\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t(\\[.*\\])\t\t\t\t# asserts a match for anything in square brackets\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\(.*\\))\t\t\t\t# or anything in parens\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\.[\\w$]+)\t\t\t\t# or zero or more \"dot\" notated variables\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\s*[\\+\\-\\*\\/&]\\s*[\\w$]+)\t# or simple arithmentic operators + concatenation\n\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t(\\s*&\\s*[\"|'].+[\"|']) \t# or concatenation with a quoted string\n\t\t\t\t\t\t\t\t\t\t)*\t\t# asserts preceeding square brackets, parens, dot notated vars or arithmetic zero or more times\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t(\\(.*\\))\t # asserts a match for anything in parens\n\t\t\t\t\t\t\t\t)\\#\t\t# asserts closing hash\n\t\t\t\t\t\t\t)",
|
712
|
+
"beginCaptures": {
|
713
|
+
"1": {
|
714
|
+
"name": "punctuation.definition.hash.begin.cfml"
|
715
|
+
}
|
716
|
+
},
|
717
|
+
"end": "(#)",
|
718
|
+
"endCaptures": {
|
719
|
+
"1": {
|
720
|
+
"name": "punctuation.definition.hash.end.cfml"
|
721
|
+
}
|
722
|
+
},
|
723
|
+
"contentName": "source.cfscript.embedded.cfml",
|
724
|
+
"name": "meta.name.interpolated.hash.cfml",
|
725
|
+
"patterns": [
|
726
|
+
{
|
727
|
+
"include": "source.cfscript"
|
728
|
+
}
|
729
|
+
]
|
730
|
+
}
|
731
|
+
]
|
732
|
+
}
|
733
|
+
},
|
734
|
+
"scopeName": "text.cfml.basic",
|
735
|
+
"uuid": "C48DE6D0-4226-11E1-B86C-0800200C9A66"
|
736
|
+
}
|