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,322 @@
|
|
1
|
+
{
|
2
|
+
"comment": "A work in progress--improves over the existing in that it populates symbols, and handles comments more gracefully.",
|
3
|
+
"fileTypes": [
|
4
|
+
"sas"
|
5
|
+
],
|
6
|
+
"foldingStartMarker": "(?i:(proc|data|%macro).*;$)",
|
7
|
+
"foldingStopMarker": "(?i:(run|quit|%mend)\\s?);",
|
8
|
+
"name": "SAS Program",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"include": "#starComment"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"include": "#blockComment"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"include": "#constant"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"include": "#quote"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"include": "#operator"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"begin": "\\b(?i:(data))\\s+",
|
27
|
+
"beginCaptures": {
|
28
|
+
"1": {
|
29
|
+
"name": "keyword.other.sas"
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"comment": "Begins a DATA step and provides names for any output SAS data sets, views, or programs.",
|
33
|
+
"end": "(;)",
|
34
|
+
"patterns": [
|
35
|
+
{
|
36
|
+
"include": "#blockComment"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"include": "#dataSet"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"captures": {
|
43
|
+
"1": {
|
44
|
+
"name": "keyword.other.sas"
|
45
|
+
},
|
46
|
+
"2": {
|
47
|
+
"name": "keyword.other.sas"
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"match": "(?i:(?:(stack|pgm|view|source)\\s?=\\s?)|(debug|nesting|nolist))"
|
51
|
+
}
|
52
|
+
]
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"begin": "\\b(?i:(set|update|modify|merge))\\s+",
|
56
|
+
"beginCaptures": {
|
57
|
+
"1": {
|
58
|
+
"name": "support.function.sas"
|
59
|
+
},
|
60
|
+
"2": {
|
61
|
+
"name": "entity.name.class.sas"
|
62
|
+
},
|
63
|
+
"3": {
|
64
|
+
"name": "entity.name.class.sas"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"comment": "DATA set File-Handling Statements for DATA step",
|
68
|
+
"end": "(;)",
|
69
|
+
"patterns": [
|
70
|
+
{
|
71
|
+
"include": "#blockComment"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"include": "#dataSet"
|
75
|
+
}
|
76
|
+
]
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"match": "(?i:\\b(if|while|until|for|do|end|then|else|run|quit|cancel)\\b)",
|
80
|
+
"name": "keyword.control.sas"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"captures": {
|
84
|
+
"1": {
|
85
|
+
"name": "support.class.sas"
|
86
|
+
},
|
87
|
+
"3": {
|
88
|
+
"name": "entity.name.function.sas"
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"match": "(?i:(%(macro|mend|do|if|then|end|while|until|goto|include)\\b))\\s*(\\w*)",
|
92
|
+
"name": "keyword.other.sas"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"begin": "(?i:\\bproc\\s*sql\\b.*)",
|
96
|
+
"comment": "Looks like for this to work there must be a *name* as well as the patterns/include bit.",
|
97
|
+
"end": "(?i:\\bquit\\s*;)",
|
98
|
+
"name": "meta.sql.sas",
|
99
|
+
"patterns": [
|
100
|
+
{
|
101
|
+
"include": "#starComment"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"include": "#blockComment"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"include": "source.sql"
|
108
|
+
}
|
109
|
+
]
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"match": "(?i:\\b(by|label|format)\\b)",
|
113
|
+
"name": "keyword.datastep.sas"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"captures": {
|
117
|
+
"1": {
|
118
|
+
"name": "support.function.sas"
|
119
|
+
},
|
120
|
+
"2": {
|
121
|
+
"name": "support.class.sas"
|
122
|
+
}
|
123
|
+
},
|
124
|
+
"match": "(?i:\\b(proc (\\w+))\\b)",
|
125
|
+
"name": "meta.function-call.sas"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"match": "(?i:\\b(_n_|_error_)\\b)",
|
129
|
+
"name": "variable.language.sas"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"captures": {
|
133
|
+
"1": {
|
134
|
+
"name": "support.class.sas"
|
135
|
+
}
|
136
|
+
},
|
137
|
+
"match": "\\b(?i:(_all_|_character_|_cmd_|_freq_|_i_|_infile_|_last_|_msg_|_null_|_numeric_|_temporary_|_type_|abort|abs|addr|adjrsq|airy|alpha|alter|altlog|altprint|and|arcos|array|arsin|as|atan|attrc|attrib|attrn|authserver|autoexec|awscontrol|awsdef|awsmenu|awsmenumerge|awstitle|backward|band|base|betainv|between|blocksize|blshift|bnot|bor|brshift|bufno|bufsize|bxor|by|byerr|byline|byte|calculated|call|cards|cards4|catcache|cbufno|cdf|ceil|center|cexist|change|chisq|cinv|class|cleanup|close|cnonct|cntllev|coalesce|codegen|col|collate|collin|column|comamid|comaux1|comaux2|comdef|compbl|compound|compress|config|continue|convert|cos|cosh|cpuid|create|cross|crosstab|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|datalines|datalines4|datejul|datepart|datetime|day|dbcslang|dbcstype|dclose|ddm|delete|delimiter|depdb|depdbsl|depsl|depsyd|deptab|dequote|descending|descript|design=|device|dflang|dhms|dif|digamma|dim|dinfo|display|distinct|dkricond|dkrocond|dlm|dnum|do|dopen|doptname|doptnum|dread|drop|dropnote|dsname|dsnferr|echo|else|emaildlg|emailid|emailpw|emailserver|emailsys|encrypt|end|endsas|engine|eof|eov|erf|erfc|error|errorcheck|errors|exist|exp|fappend|fclose|fcol|fdelete|feedback|fetch|fetchobs|fexist|fget|file|fileclose|fileexist|filefmt|filename|fileref|filevar|finfo|finv|fipname|fipnamel|fipstate|first|firstobs|floor|fmterr|fmtsearch|fnonct|fnote|font|fontalias|footnote[1-9]?|fopen|foptname|foptnum|force|formatted|formchar|formdelim|formdlim|forward|fpoint|fpos|fput|fread|frewind|frlen|from|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|go|goto|group|gwindow|hbar|hbound|helpenv|helploc|hms|honorappearance|hosthelp|hostprint|hour|hpct|html|hvar|ibessel|ibr|id|if|index|indexc|indexw|initcmd|initstmt|inner|input|inputc|inputn|inr|insert|int|intck|intnx|into|intrr|invaliddata|irr|is|jbessel|join|juldate|keep|kentb|kurtosis|label|lag|last|lbound|leave|left|length|levels|lgamma|lib|libname|library|libref|line|linesize|link|list|log|log10|log2|logpdf|logpmf|logsdf|lostcard|lowcase|lrecl|ls|macro|macrogen|maps|mautosource|max|maxdec|maxr|mdy|mean|measures|median|memtype|merge|merror|min|minute|missing|missover|mlogic|mod|mode|model|modify|month|mopen|mort|mprint|mrecall|msglevel|msymtabmax|mvarsize|myy|n|nest|netpv|new|news|nmiss|no|nobatch|nobs|nocaps|nocardimage|nocenter|nocharcode|nocmdmac|nocol|nocum|nodate|nodbcs|nodetails|nodmr|nodms|nodmsbatch|nodup|nodupkey|noduplicates|noechoauto|noequals|noerrorabend|noexitwindows|nofullstimer|noicon|noimplmac|noint|nolist|noloadlist|nomiss|nomlogic|nomprint|nomrecall|nomsgcase|nomstored|nomultenvappl|nonotes|nonumber|noobs|noovp|nopad|nopercent|noprint|noprintinit|normal|norow|norsasuser|nosetinit|nosource2|nosplash|nosymbolgen|note|notes|notitle|notitles|notsorted|noverbose|noxsync|noxwait|npv|null|number|numkeys|nummousekeys|nway|obs|ods|on|open|option|order|ordinal|otherwise|out|outer|outp=|output|over|ovp|p(1|5|10|25|50|75|90|95|99)|pad|pad2|page|pageno|pagesize|paired|parm|parmcards|path|pathdll|pathname|pdf|peek|peekc|pfkey|pmf|point|poisson|poke|position|printer|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probsig|probt|procleave|prt|ps|put|putc|putn|pw|pwreq|qtr|quote|r|ranbin|rancau|ranexp|rangam|range|ranks|rannor|ranpoi|rantbl|rantri|ranuni|read|recfm|register|regr|remote|remove|rename|repeat|replace|resolve|retain|return|reuse|reverse|rewind|right|round|rsquare|rtf|rtrace|rtraceloc|s|s2|samploc|sasautos|sascontrol|sasfrscr|sashelp|sasmsg|sasmstore|sasscript|sasuser|saving|scan|sdf|second|select|selection|separated|seq|serror|set|setcomm|setot|sign|simple|sin|sinh|siteinfo|skewness|skip|sle|sls|sortedby|sortpgm|sortseq|sortsize|soundex|source2|spedis|splashlocation|split|spool|sqrt|start|std|stderr|stdin|stfips|stimer|stname|stnamel|stop|stopover|subgroup|subpopn|substr|sum|sumwgt|symbol|symbolgen|symget|symput|sysget|sysin|sysleave|sysmsg|sysparm|sysprint|sysprintfont|sysprod|sysrc|system|t|table|tables|tan|tanh|tapeclose|tbufsize|terminal|test|then|timepart|tinv|title[1-9]?|tnonct|to|today|tol|tooldef|totper|transformout|translate|trantab|tranwrd|trigamma|trim|trimn|trunc|truncover|type|unformatted|uniform|union|until|upcase|update|user|usericon|uss|validate|value|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vnferr|vtype|vtypex|weekday|weight|when|where|while|wincharset|window|work|workinit|workterm|write|wsum|x|xsync|xwait|yearcutoff|yes|yyq|zipfips|zipname|zipnamel|zipstate))\\b",
|
138
|
+
"name": "support.function.sas"
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"repository": {
|
142
|
+
"blockComment": {
|
143
|
+
"begin": "\\/\\*",
|
144
|
+
"end": "\\*\\/",
|
145
|
+
"name": "comment.block.slashstar.sas"
|
146
|
+
},
|
147
|
+
"constant": {
|
148
|
+
"patterns": [
|
149
|
+
{
|
150
|
+
"comment": "numeric constant",
|
151
|
+
"match": "(?<![&\\}])\\b[0-9]*\\.?[0-9]+([eEdD][-+]?[0-9]+)?\\b",
|
152
|
+
"name": "constant.numeric.sas"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"comment": "single quote date constant",
|
156
|
+
"match": "(')(\\d{1,2}(?i:(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec))\\d{2,4})(')([dD])\\b",
|
157
|
+
"name": "constant.numeric.date.single.sas"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"comment": "double quote date constant",
|
161
|
+
"match": "(\")(\\d{1,2}(?i:(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec))\\d{2,4})(\")([dD])\\b",
|
162
|
+
"name": "constant.numeric.date.double.sas"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"comment": "single quote time constant",
|
166
|
+
"match": "(')(\\d{1,2}:\\d{1,2}(:\\d{1,2}(\\.\\d+)?)?([aApP][mM])?)(')([tT])",
|
167
|
+
"name": "constant.numeric.time.single.sas"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"comment": "single quote time constant",
|
171
|
+
"match": "(')(\\d{1,2}:\\d{1,2}(:\\d{1,2}(\\.\\d+)?)?([aApP][mM])?)(')([tT])",
|
172
|
+
"name": "constant.numeric.time.single.sas"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"comment": "single quote name literal",
|
176
|
+
"match": "(')([^']+)(')([nN])",
|
177
|
+
"name": "constant.language.name-literal.single.sas"
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"comment": "double quote name literal",
|
181
|
+
"match": "(\")([^\"]+)(\")([nN])",
|
182
|
+
"name": "constant.language.name-literal.double.sas"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"comment": "single quote bit testing constant",
|
186
|
+
"match": "(')([01]+)(')([bB])",
|
187
|
+
"name": "constant.character.bit.single.sas"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"comment": "double quote bit testing constant",
|
191
|
+
"match": "(\")([01]+)(\")([bB])",
|
192
|
+
"name": "constant.character.bit.double.sas"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"comment": "single quote hexidecimal constant",
|
196
|
+
"match": "(')(([a-fA-F0-9]{2})+)(')([xX])",
|
197
|
+
"name": "constant.character.hex.single.sas"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"comment": "double quote hexidecimal constant",
|
201
|
+
"match": "(\")(([a-fA-F0-9]{2})+)(\")([xX])",
|
202
|
+
"name": "constant.character.hex.double.sas"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"comment": "single quote datetime constant",
|
206
|
+
"match": "(')(\\d{1,2}(?i:(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec))\\d{2,4}:\\d{1,2}:\\d{1,2}(:\\d{1,2}(\\.\\d+)?)?([aApP][mM])?)(')([dD][tT])",
|
207
|
+
"name": "constant.numeric.datetime.single.sas"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"comment": "double quote datetime constant",
|
211
|
+
"match": "(\")(\\d{1,2}(?i:(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec))\\d{2,4}:\\d{1,2}:\\d{1,2}(:\\d{1,2}(\\.\\d+)?)?([aApP][mM])?)(\")([dD][tT])",
|
212
|
+
"name": "constant.numeric.datetime.single.sas"
|
213
|
+
}
|
214
|
+
]
|
215
|
+
},
|
216
|
+
"dataSet": {
|
217
|
+
"patterns": [
|
218
|
+
{
|
219
|
+
"begin": "((\\w+)\\.)?(\\w+)\\s?\\(",
|
220
|
+
"beginCaptures": {
|
221
|
+
"2": {
|
222
|
+
"name": "entity.name.class.libref.sas"
|
223
|
+
},
|
224
|
+
"3": {
|
225
|
+
"name": "entity.name.class.dsname.sas"
|
226
|
+
}
|
227
|
+
},
|
228
|
+
"comment": "data set with options",
|
229
|
+
"end": "\\)",
|
230
|
+
"patterns": [
|
231
|
+
{
|
232
|
+
"include": "#dataSetOptions"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"include": "#blockComment"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"include": "#constant"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"include": "#quote"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"include": "#operator"
|
245
|
+
}
|
246
|
+
]
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"captures": {
|
250
|
+
"2": {
|
251
|
+
"name": "entity.name.class.libref.sas"
|
252
|
+
},
|
253
|
+
"3": {
|
254
|
+
"name": "entity.name.class.dsname.sas"
|
255
|
+
}
|
256
|
+
},
|
257
|
+
"comment": "data set without options",
|
258
|
+
"match": "\\b((\\w+)\\.)?(\\w+)\\b"
|
259
|
+
}
|
260
|
+
]
|
261
|
+
},
|
262
|
+
"dataSetOptions": {
|
263
|
+
"patterns": [
|
264
|
+
{
|
265
|
+
"match": "(?<=\\s|\\(|\\))(?i:ALTER|BUFNO|BUFSIZE|CNTLLEV|COMPRESS|DLDMGACTION|ENCRYPT|ENCRYPTKEY|EXTENDOBSCOUNTER|GENMAX|GENNUM|INDEX|LABEL|OBSBUF|OUTREP|PW|PWREQ|READ|REPEMPTY|REPLACE|REUSE|ROLE|SORTEDBY|SPILL|TOBSNO|TYPE|WRITE|FILECLOSE|FIRSTOBS|IN|OBS|POINTOBS|WHERE|WHEREUP|IDXNAME|IDXWHERE|DROP|KEEP|RENAME)\\s?=",
|
266
|
+
"name": "keyword.other.sas"
|
267
|
+
}
|
268
|
+
]
|
269
|
+
},
|
270
|
+
"operator": {
|
271
|
+
"patterns": [
|
272
|
+
{
|
273
|
+
"match": "([\\+\\-\\*\\^\\/])",
|
274
|
+
"name": "keyword.operator.arithmetic.sas"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"match": "\\b(?i:(eq|ne|gt|lt|ge|le|in|not|&|and|or|min|max))\\b",
|
278
|
+
"name": "keyword.operator.comparison.sas"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"match": "([¬<>^~]?=(:)?|>|<|\\||!|¦|¬|^|~|<>|><|\\|\\|)",
|
282
|
+
"name": "keyword.operator.sas"
|
283
|
+
}
|
284
|
+
]
|
285
|
+
},
|
286
|
+
"quote": {
|
287
|
+
"patterns": [
|
288
|
+
{
|
289
|
+
"begin": "(')",
|
290
|
+
"comment": "single quoted string block",
|
291
|
+
"end": "(')(?![bdntx])",
|
292
|
+
"name": "string.quoted.single.sas"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"begin": "(\")",
|
296
|
+
"comment": "double quoted string block",
|
297
|
+
"end": "(\")(?![bdndtx])",
|
298
|
+
"name": "string.quoted.double.sas"
|
299
|
+
}
|
300
|
+
]
|
301
|
+
},
|
302
|
+
"starComment": {
|
303
|
+
"patterns": [
|
304
|
+
{
|
305
|
+
"include": "#blockcomment"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"begin": "(?<=;)[\\s%]*\\*",
|
309
|
+
"end": ";",
|
310
|
+
"name": "comment.line.inline.star.sas"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"begin": "^[\\s%]*\\*",
|
314
|
+
"end": ";",
|
315
|
+
"name": "comment.line.start.sas"
|
316
|
+
}
|
317
|
+
]
|
318
|
+
}
|
319
|
+
},
|
320
|
+
"scopeName": "source.sas",
|
321
|
+
"uuid": "7e721b1e-6265-4865-bc4b-308d49affba1"
|
322
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"comment": "A work in progress--improves over the existing in that it populates symbols, and handles comments more gracefully.",
|
3
|
+
"fileTypes": [
|
4
|
+
"log"
|
5
|
+
],
|
6
|
+
"name": "SAS Log",
|
7
|
+
"patterns": [
|
8
|
+
{
|
9
|
+
"comment": "Note line",
|
10
|
+
"match": "^NOTE:.*",
|
11
|
+
"name": "variable.source.saslog"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"comment": "Error line",
|
15
|
+
"match": "(^(ERROR|WARNING)|Uninitialized| remerg|invalid).*",
|
16
|
+
"name": "invalid.source.saslog"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"comment": "Info line",
|
20
|
+
"match": "^INFO.*",
|
21
|
+
"name": "string.source.saslog"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"scopeName": "source.sas_log",
|
25
|
+
"uuid": "4f05f7b5-30a7-43d7-9410-1bb65ce2b3b3"
|
26
|
+
}
|
@@ -0,0 +1,248 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"sass",
|
4
|
+
"scss"
|
5
|
+
],
|
6
|
+
"foldingStartMarker": "/\\*|^#|^\\*|^\\b|^\\.",
|
7
|
+
"foldingStopMarker": "\\*/|^\\s*$",
|
8
|
+
"keyEquivalent": "^~S",
|
9
|
+
"name": "Sass",
|
10
|
+
"patterns": [
|
11
|
+
{
|
12
|
+
"captures": {
|
13
|
+
"1": {
|
14
|
+
"name": "punctuation.definition.entity.scss"
|
15
|
+
},
|
16
|
+
"2": {
|
17
|
+
"name": "entity.other.attribute-name.attribute.scss"
|
18
|
+
},
|
19
|
+
"3": {
|
20
|
+
"name": "punctuation.separator.operator.scss"
|
21
|
+
},
|
22
|
+
"4": {
|
23
|
+
"name": "string.unquoted.attribute-value.scss"
|
24
|
+
},
|
25
|
+
"5": {
|
26
|
+
"name": "string.quoted.double.attribute-value.scss"
|
27
|
+
},
|
28
|
+
"6": {
|
29
|
+
"name": "punctuation.definition.string.begin.scss"
|
30
|
+
},
|
31
|
+
"7": {
|
32
|
+
"name": "punctuation.definition.string.end.scss"
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"match": "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?>(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])",
|
36
|
+
"name": "meta.attribute-selector.scss"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"match": "(?<=@include|@mixin)\\s[a-zA-Z0-9_-]+",
|
40
|
+
"name": "support.function.name.sass"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"match": "(@media\\s(all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)*)|(@else\\s(if)*)|@[a-zA-Z-]+",
|
44
|
+
"name": "keyword.control.at-rule.css.sass"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"include": "#variable"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"include": "#placeholder-selector"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"match": "[a-z-]+(?=:)|\\b(from|through|to|in)\\b",
|
54
|
+
"name": "support.type.property-name.css.sass"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"match": "@(import|for|else|each|mixin|include|charset|import|media|page|namespace|extend)\\s[\\%\\/\\.\\w-]*\\b",
|
58
|
+
"name": "keyword.control.at-rule.sass"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"match": "!(important|default|optional)",
|
62
|
+
"name": "keyword.other.important.css.sass"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"match": "\\*",
|
66
|
+
"name": "entity.name.tag.wildcard.scss"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"match": "(?<=[\\d])(ch|cm|deg|dpi|dpcm|dppx|em|ex|grad|in|mm|ms|pc|pt|px|rad|rem|turn|s|vh|vmin|vw)\\b|%",
|
70
|
+
"name": "keyword.other.unit.scss"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"match": "\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",
|
74
|
+
"name": "keyword.control.untitled"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"match": "(?<![!<>=a-zA-Z0-9_-]|[<>=a-zA-Z0-9_-] )[=+][a-zA-Z0-9_-]+",
|
78
|
+
"name": "keyword.control.mixin-shorthand.sass"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"begin": "'",
|
82
|
+
"end": "'",
|
83
|
+
"name": "string.quoted.single.sass",
|
84
|
+
"patterns": [
|
85
|
+
{
|
86
|
+
"match": "\\\\.",
|
87
|
+
"name": "constant.character.escaped.sass"
|
88
|
+
}
|
89
|
+
]
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"begin": "\"",
|
93
|
+
"end": "\"",
|
94
|
+
"name": "string.quoted.double.sass",
|
95
|
+
"patterns": [
|
96
|
+
{
|
97
|
+
"match": "\\\\.",
|
98
|
+
"name": "constant.character.escaped.sass"
|
99
|
+
}
|
100
|
+
]
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"match": "[\\.%][a-zA-Z0-9_-]+",
|
104
|
+
"name": "entity.other.attribute-name.class.sass"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"match": "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
108
|
+
"name": "constant.other.rgb-value.sass"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"match": "!(important|default|optional)",
|
112
|
+
"name": "keyword.other.important.css.sass"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"match": "#[a-zA-Z0-9_-]+",
|
116
|
+
"name": "entity.other.attribute-name.id.sass"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"match": "[!\\$][a-zA-Z0-9_-]+",
|
120
|
+
"name": "variable.parameter.sass"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"begin": "/\\*",
|
124
|
+
"end": "\\*/",
|
125
|
+
"name": "comment.block.sass"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"begin": "//",
|
129
|
+
"end": "$\\n?",
|
130
|
+
"name": "comment.line.double-slash.sass"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"match": "(-|\\+)?\\s*[0-9]+(\\.[0-9]+)?",
|
134
|
+
"name": "constant.numeric.sass"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"match": "\\b(whitespace|wait|w-resize|visible|rect|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b",
|
138
|
+
"name": "support.constant.property-value.sass"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"match": "(left|right|true|false|top|bottom)(?!:)",
|
142
|
+
"name": "constant.string.sass"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"begin": "(headings|stylesheet-url|rgba?|hsla?|ie-hex-str|red|green|blue|alpha|opacity|hue|saturation|lightness|prefixed|prefix|-moz|-svg|-css2|-pie|-webkit|-ms|-o|-khtml|font-(?:files|url)|grid-image|image-(?:width|height|url|color)|sprites?|sprite-(?:map|map-name|file|url|position)|inline-(?:font-files|image)|opposite-position|grad-point|grad-end-position|color-stops|color-stops-in-percentages|grad-color-stops|(?:radial|linear)-(?:gradient|svg-gradient)|opacify|fade-?in|transparentize|fade-?out|lighten|darken|saturate|desaturate|grayscale|adjust-(?:hue|lightness|saturation|color)|scale-(?:lightness|saturation|color)|change-color|spin|complement|invert|mix|-compass-(?:list|space-list|slice|nth|list-size)|blank|compact|nth|first-value-of|join|length|append|nest|append-selector|headers|enumerate|range|percentage|unitless|unit|if|type-of|comparable|elements-of-type|quote|unquote|escape|e|sin|cos|tan|abs|round|ceil|floor|pi|translate(?:X|Y))\\s*(\\()",
|
146
|
+
"beginCaptures": {
|
147
|
+
"1": {
|
148
|
+
"name": "support.function.misc.scss"
|
149
|
+
},
|
150
|
+
"2": {
|
151
|
+
"name": "punctuation.section.function.scss"
|
152
|
+
}
|
153
|
+
},
|
154
|
+
"end": "(\\))",
|
155
|
+
"endCaptures": {
|
156
|
+
"1": {
|
157
|
+
"name": "punctuation.section.function.scss"
|
158
|
+
}
|
159
|
+
},
|
160
|
+
"patterns": [
|
161
|
+
{
|
162
|
+
"include": "#double-quoted"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"include": "#single-quoted"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"include": "#variable"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"match": "\\^|\\$|\\*|~",
|
172
|
+
"name": "keyword.other.regex.sass"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"include": "#parameters"
|
176
|
+
}
|
177
|
+
]
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"match": "&",
|
181
|
+
"name": "keyword.control.untitled"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"match": ":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)",
|
185
|
+
"name": "entity.other.attribute-name.tag.pseudo-class"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"match": "::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)",
|
189
|
+
"name": "entity.other.attribute-name.tag.pseudo-element"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"match": "\\b(-webkit-[A-Za-z]+|-moz-[A-Za-z]+|-o-[A-Za-z]+|-ms-[A-Za-z]+|-khtml-[A-Za-z]+|[0-9]{1,3}\\%|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|grid-rows|grid-columns|grid|gap|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-group|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|backface-visibility|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation|alignment-baseline|alignment-adjust|alignment|align-last|align|after|adjust)\\b",
|
193
|
+
"name": "support.type.property-name.sass"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"match": "(\\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\\b)",
|
197
|
+
"name": "support.constant.font-name.sass"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"match": "(?>-(webkit|moz|ms|o|apple|khtml|xv|wap|epub)[a-zA-Z0-9_-]+)(?!\\()",
|
201
|
+
"name": "support.type.property-name.sass"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"match": "(?<=\\s\\s)-?\\w\\n?",
|
205
|
+
"name": "helper.sublime.property-name.sass"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"match": "(?<=\\w: )\\w\\n?",
|
209
|
+
"name": "helper.sublime.property-value.sass"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"repository": {
|
213
|
+
"nested-parens": {
|
214
|
+
"begin": "\\(",
|
215
|
+
"captures": {
|
216
|
+
"0": {
|
217
|
+
"name": "punctuation.section.scope.sass"
|
218
|
+
}
|
219
|
+
},
|
220
|
+
"end": "\\)",
|
221
|
+
"patterns": [
|
222
|
+
{
|
223
|
+
"include": "#nested-parens"
|
224
|
+
}
|
225
|
+
]
|
226
|
+
},
|
227
|
+
"double-quoted": {
|
228
|
+
"begin": "\"",
|
229
|
+
"end": "\"",
|
230
|
+
"name": "string.quoted.double.css.sass"
|
231
|
+
},
|
232
|
+
"single-quoted": {
|
233
|
+
"begin": "'",
|
234
|
+
"end": "'",
|
235
|
+
"name": "string.quoted.single.css.sass"
|
236
|
+
},
|
237
|
+
"variable": {
|
238
|
+
"match": "\\$[a-zA-Z0-9_-]+",
|
239
|
+
"name": "variable"
|
240
|
+
},
|
241
|
+
"placeholder-selector": {
|
242
|
+
"match": "%[a-zA-Z0-9_-]+",
|
243
|
+
"name": "entity.other.attribute-name.placeholder-selector.sass"
|
244
|
+
}
|
245
|
+
},
|
246
|
+
"scopeName": "source.sass",
|
247
|
+
"uuid": "0AB51F6F-7780-4BF2-BEE3-5405ABA6A6B9"
|
248
|
+
}
|