tm-grammars 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/NOTICE +6565 -0
- package/README.md +211 -0
- package/grammars/abap.json +380 -0
- package/grammars/actionscript-3.json +951 -0
- package/grammars/ada.json +3874 -0
- package/grammars/apache.json +562 -0
- package/grammars/apex.json +3203 -0
- package/grammars/apl.json +1479 -0
- package/grammars/applescript.json +1406 -0
- package/grammars/ara.json +428 -0
- package/grammars/asm.json +1741 -0
- package/grammars/astro.json +776 -0
- package/grammars/awk.json +388 -0
- package/grammars/ballerina.json +3768 -0
- package/grammars/bat.json +783 -0
- package/grammars/beancount.json +831 -0
- package/grammars/berry.json +172 -0
- package/grammars/bibtex.json +315 -0
- package/grammars/bicep.json +239 -0
- package/grammars/blade.json +3870 -0
- package/grammars/c.json +3552 -0
- package/grammars/cadence.json +738 -0
- package/grammars/clarity.json +877 -0
- package/grammars/clojure.json +426 -0
- package/grammars/cmake.json +143 -0
- package/grammars/cobol.json +1124 -0
- package/grammars/codeql.json +1540 -0
- package/grammars/coffee.json +1311 -0
- package/grammars/cpp-macro.json +9498 -0
- package/grammars/cpp.json +16635 -0
- package/grammars/crystal.json +1866 -0
- package/grammars/csharp.json +5722 -0
- package/grammars/css.json +1860 -0
- package/grammars/csv.json +46 -0
- package/grammars/cue.json +1128 -0
- package/grammars/cypher.json +353 -0
- package/grammars/d.json +3185 -0
- package/grammars/dart.json +522 -0
- package/grammars/dax.json +185 -0
- package/grammars/diff.json +155 -0
- package/grammars/docker.json +97 -0
- package/grammars/dream-maker.json +640 -0
- package/grammars/elixir.json +1014 -0
- package/grammars/elm.json +751 -0
- package/grammars/erb.json +156 -0
- package/grammars/erlang.json +1757 -0
- package/grammars/fish.json +189 -0
- package/grammars/fsharp.json +1831 -0
- package/grammars/gdresource.json +290 -0
- package/grammars/gdscript.json +969 -0
- package/grammars/gdshader.json +405 -0
- package/grammars/gherkin.json +133 -0
- package/grammars/git-commit.json +85 -0
- package/grammars/git-rebase.json +56 -0
- package/grammars/glimmer-js.json +98 -0
- package/grammars/glimmer-ts.json +98 -0
- package/grammars/glsl.json +57 -0
- package/grammars/gnuplot.json +892 -0
- package/grammars/go.json +1012 -0
- package/grammars/graphql.json +1295 -0
- package/grammars/groovy.json +1378 -0
- package/grammars/hack.json +2650 -0
- package/grammars/haml.json +598 -0
- package/grammars/handlebars.json +848 -0
- package/grammars/haskell.json +2431 -0
- package/grammars/hcl.json +787 -0
- package/grammars/hjson.json +821 -0
- package/grammars/hlsl.json +212 -0
- package/grammars/html.json +93 -0
- package/grammars/imba.json +2696 -0
- package/grammars/ini.json +108 -0
- package/grammars/java.json +1885 -0
- package/grammars/javascript.json +5984 -0
- package/grammars/jinja-html.json +16 -0
- package/grammars/jinja.json +345 -0
- package/grammars/jison.json +715 -0
- package/grammars/jsdoc.json +21 -0
- package/grammars/json.json +208 -0
- package/grammars/json5.json +244 -0
- package/grammars/jsonc.json +208 -0
- package/grammars/jsonl.json +208 -0
- package/grammars/jsonnet.json +211 -0
- package/grammars/jssm.json +159 -0
- package/grammars/jsx.json +5984 -0
- package/grammars/julia.json +1061 -0
- package/grammars/kotlin.json +580 -0
- package/grammars/kusto.json +687 -0
- package/grammars/latex.json +2395 -0
- package/grammars/less.json +5012 -0
- package/grammars/liquid.json +990 -0
- package/grammars/lisp.json +121 -0
- package/grammars/logo.json +55 -0
- package/grammars/lua.json +956 -0
- package/grammars/make.json +629 -0
- package/grammars/markdown.json +3066 -0
- package/grammars/marko.json +1344 -0
- package/grammars/matlab.json +1131 -0
- package/grammars/mdc.json +571 -0
- package/grammars/mdx.json +5629 -0
- package/grammars/mermaid.json +1382 -0
- package/grammars/mojo.json +4153 -0
- package/grammars/narrat.json +227 -0
- package/grammars/nextflow.json +298 -0
- package/grammars/nginx.json +2121 -0
- package/grammars/nim.json +1522 -0
- package/grammars/nix.json +1200 -0
- package/grammars/nushell.json +1047 -0
- package/grammars/objective-c.json +3750 -0
- package/grammars/objective-cpp.json +7242 -0
- package/grammars/ocaml.json +2967 -0
- package/grammars/pascal.json +154 -0
- package/grammars/perl.json +2971 -0
- package/grammars/php.json +4024 -0
- package/grammars/plsql.json +241 -0
- package/grammars/postcss.json +377 -0
- package/grammars/powerquery.json +349 -0
- package/grammars/powershell.json +1024 -0
- package/grammars/prisma.json +443 -0
- package/grammars/prolog.json +298 -0
- package/grammars/proto.json +507 -0
- package/grammars/pug.json +1033 -0
- package/grammars/puppet.json +777 -0
- package/grammars/purescript.json +871 -0
- package/grammars/python.json +4208 -0
- package/grammars/r.json +637 -0
- package/grammars/raku.json +310 -0
- package/grammars/razor.json +1813 -0
- package/grammars/reg.json +136 -0
- package/grammars/rel.json +200 -0
- package/grammars/riscv.json +298 -0
- package/grammars/rst.json +734 -0
- package/grammars/ruby.json +2769 -0
- package/grammars/rust.json +1171 -0
- package/grammars/sas.json +302 -0
- package/grammars/sass.json +618 -0
- package/grammars/scala.json +1313 -0
- package/grammars/scheme.json +384 -0
- package/grammars/scss.json +1874 -0
- package/grammars/shaderlab.json +199 -0
- package/grammars/shellscript.json +2025 -0
- package/grammars/shellsession.json +33 -0
- package/grammars/smalltalk.json +235 -0
- package/grammars/solidity.json +1210 -0
- package/grammars/sparql.json +45 -0
- package/grammars/splunk.json +91 -0
- package/grammars/sql.json +631 -0
- package/grammars/ssh-config.json +88 -0
- package/grammars/stata.json +3050 -0
- package/grammars/stylus.json +1208 -0
- package/grammars/svelte.json +1171 -0
- package/grammars/swift.json +4203 -0
- package/grammars/system-verilog.json +1063 -0
- package/grammars/tasl.json +292 -0
- package/grammars/tcl.json +291 -0
- package/grammars/tex.json +281 -0
- package/grammars/toml.json +431 -0
- package/grammars/tsx.json +5984 -0
- package/grammars/turtle.json +261 -0
- package/grammars/twig.json +1394 -0
- package/grammars/typescript.json +5735 -0
- package/grammars/v.json +1001 -0
- package/grammars/vb.json +232 -0
- package/grammars/verilog.json +305 -0
- package/grammars/vhdl.json +1484 -0
- package/grammars/viml.json +445 -0
- package/grammars/vue-html.json +559 -0
- package/grammars/vue.json +1237 -0
- package/grammars/vyper.json +5415 -0
- package/grammars/wasm.json +831 -0
- package/grammars/wenyan.json +129 -0
- package/grammars/wgsl.json +391 -0
- package/grammars/wolfram.json +2370 -0
- package/grammars/xml.json +382 -0
- package/grammars/xsl.json +89 -0
- package/grammars/yaml.json +616 -0
- package/grammars/zenscript.json +257 -0
- package/grammars/zig.json +312 -0
- package/index.d.ts +18 -0
- package/index.js +2165 -0
- package/package.json +46 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "PL/SQL",
|
|
3
|
+
"fileTypes": [
|
|
4
|
+
"sql",
|
|
5
|
+
"ddl",
|
|
6
|
+
"dml",
|
|
7
|
+
"pkh",
|
|
8
|
+
"pks",
|
|
9
|
+
"pkb",
|
|
10
|
+
"pck",
|
|
11
|
+
"pls",
|
|
12
|
+
"plb"
|
|
13
|
+
],
|
|
14
|
+
"foldingStartMarker": "(?i)^\\s*(begin|if|loop)\\b",
|
|
15
|
+
"foldingStopMarker": "(?i)^\\s*(end)\\b",
|
|
16
|
+
"name": "plsql",
|
|
17
|
+
"patterns": [
|
|
18
|
+
{
|
|
19
|
+
"begin": "/\\*",
|
|
20
|
+
"end": "\\*/",
|
|
21
|
+
"name": "comment.block.oracle"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"match": "--.*$",
|
|
25
|
+
"name": "comment.line.double-dash.oracle"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"match": "(?i)(?:^\\s*)rem(?:\\s+.*$)",
|
|
29
|
+
"name": "comment.line.sqlplus.oracle"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"match": "(?i)(?:^\\s*)prompt(?:\\s+.*$)",
|
|
33
|
+
"name": "comment.line.sqlplus-prompt.oracle"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"captures": {
|
|
37
|
+
"1": {
|
|
38
|
+
"name": "keyword.other.oracle"
|
|
39
|
+
},
|
|
40
|
+
"2": {
|
|
41
|
+
"name": "keyword.other.oracle"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"match": "(?i)^\\s*(create)(\\s+or\\s+replace)?\\s+",
|
|
45
|
+
"name": "meta.create.oracle"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"captures": {
|
|
49
|
+
"1": {
|
|
50
|
+
"name": "keyword.other.oracle"
|
|
51
|
+
},
|
|
52
|
+
"2": {
|
|
53
|
+
"name": "keyword.other.oracle"
|
|
54
|
+
},
|
|
55
|
+
"3": {
|
|
56
|
+
"name": "entity.name.type.oracle"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"match": "(?i)\\b(package)(\\s+body)?\\s+(\\S+)",
|
|
60
|
+
"name": "meta.package.oracle"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"captures": {
|
|
64
|
+
"1": {
|
|
65
|
+
"name": "keyword.other.oracle"
|
|
66
|
+
},
|
|
67
|
+
"2": {
|
|
68
|
+
"name": "entity.name.type.oracle"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"match": "(?i)\\b(type)\\s+\"([^\"]+)\"",
|
|
72
|
+
"name": "meta.type.oracle"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"captures": {
|
|
76
|
+
"1": {
|
|
77
|
+
"name": "keyword.other.oracle"
|
|
78
|
+
},
|
|
79
|
+
"2": {
|
|
80
|
+
"name": "entity.name.function.oracle"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"match": "(?i)^\\s*(function|procedure)\\s+\"?([-a-z0-9_]+)\"?",
|
|
84
|
+
"name": "meta.procedure.oracle"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"match": "[!<>:]?=|<>|<|>|\\+|(?<!\\.)\\*|-|(?<!^)/|\\|\\|",
|
|
88
|
+
"name": "keyword.operator.oracle"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"match": "(?i)\\b(true|false|null|is\\s+(not\\s+)?null)\\b",
|
|
92
|
+
"name": "constant.language.oracle"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"match": "\\b\\d+(\\.\\d+)?\\b",
|
|
96
|
+
"name": "constant.numeric.oracle"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"match": "(?i)\\b(if|elsif|else|end\\s+if|loop|end\\s+loop|for|while|case|end\\s+case|continue|return|goto)\\b",
|
|
100
|
+
"name": "keyword.control.oracle"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"match": "(?i)\\b(or|and|not|like)\\b",
|
|
104
|
+
"name": "keyword.other.oracle"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"match": "(?i)\\b(%(isopen|found|notfound|rowcount)|commit|rollback|sqlerrm)\\b",
|
|
108
|
+
"name": "support.function.oracle"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"match": "(?i)\\b(sql|sqlcode)\\b",
|
|
112
|
+
"name": "variable.language.oracle"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"match": "(?i)\\b(ascii|asciistr|chr|compose|concat|convert|decompose|dump|initcap|instr|instrb|instrc|instr2|instr4|unistr|length|lengthb|lengthc|length2|length4|lower|lpad|ltrim|nchr|replace|rpad|rtrim|soundex|substr|translate|trim|upper|vsize)\\b",
|
|
116
|
+
"name": "support.function.builtin.char.oracle"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"match": "(?i)\\b(add_months|current_date|current_timestamp|dbtimezone|last_day|localtimestamp|months_between|new_time|next_day|round|sessiontimezone|sysdate|tz_offset|systimestamp)\\b",
|
|
120
|
+
"name": "support.function.builtin.date.oracle"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"match": "(?i)\\b(avg|count|sum|max|min|median|corr|corr_\\w+|covar_(pop|samp)|cume_dist|dense_rank|first|group_id|grouping|grouping_id|last|percentile_cont|percentile_disc|percent_rank|rank|regr_\\w+|row_number|stats_binomial_test|stats_crosstab|stats_f_test|stats_ks_test|stats_mode|stats_mw_test|stats_one_way_anova|stats_t_test_\\w+|stats_wsr_test|stddev|stddev_pop|stddev_samp|var_pop|var_samp|variance)\\b",
|
|
124
|
+
"name": "support.function.builtin.aggregate.oracle"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"match": "(?i)\\b(bfilename|cardinality|coalesce|decode|empty_(blob|clob)|lag|lead|listagg|lnnvl|nanvl|nullif|nvl|nvl2|sys_(context|guid|typeid|connect_by_path|extract_utc)|uid|(current\\s+)?user|userenv|cardinality|(bulk\\s+)?collect|powermultiset(_by_cardinality)?|ora_hash|standard_hash|execute\\s+immediate|alter\\s+session)\\b",
|
|
128
|
+
"name": "support.function.builtin.advanced.oracle"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"match": "(?i)\\b(bin_to_num|cast|chartorowid|from_tz|hextoraw|numtodsinterval|numtoyminterval|rawtohex|rawtonhex|to_char|to_clob|to_date|to_dsinterval|to_lob|to_multi_byte|to_nclob|to_number|to_single_byte|to_timestamp|to_timestamp_tz|to_yminterval|scn_to_timestamp|timestamp_to_scn|rowidtochar|rowidtonchar|to_binary_double|to_binary_float|to_blob|to_nchar|con_dbid_to_id|con_guid_to_id|con_name_to_id|con_uid_to_id)\\b",
|
|
132
|
+
"name": "support.function.builtin.convert.oracle"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"match": "(?i)\\b(abs|acos|asin|atan|atan2|bit_(and|or|xor)|ceil|cos|cosh|exp|extract|floor|greatest|least|ln|log|mod|power|remainder|round|sign|sin|sinh|sqrt|tan|tanh|trunc)\\b",
|
|
136
|
+
"name": "support.function.builtin.math.oracle"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"match": "(?i)\\b(\\.(count|delete|exists|extend|first|last|limit|next|prior|trim|reverse))\\b",
|
|
140
|
+
"name": "support.function.builtin.collection.oracle"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"match": "(?i)\\b(cluster_details|cluster_distance|cluster_id|cluster_probability|cluster_set|feature_details|feature_id|feature_set|feature_value|prediction|prediction_bounds|prediction_cost|prediction_details|prediction_probability|prediction_set)\\b",
|
|
144
|
+
"name": "support.function.builtin.data_mining.oracle"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"match": "(?i)\\b(appendchildxml|deletexml|depth|extract|existsnode|extractvalue|insertchildxml|insertxmlbefore|xmlcast|xmldiff|xmlelement|xmlexists|xmlisvalid|insertchildxmlafter|insertchildxmlbefore|path|sys_dburigen|sys_xmlagg|sys_xmlgen|updatexml|xmlagg|xmlcdata|xmlcolattval|xmlcomment|xmlconcat|xmlforest|xmlparse|xmlpi|xmlquery|xmlroot|xmlsequence|xmlserialize|xmltable|xmltransform)\\b",
|
|
148
|
+
"name": "support.function.builtin.xml.oracle"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"match": "(?i)\\b(pragma\\s+(autonomous_transaction|serially_reusable|restrict_references|exception_init|inline))\\b",
|
|
152
|
+
"name": "keyword.other.pragma.oracle"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"match": "(?i)\\b(p(i|o|io)_[-a-z0-9_]+)\\b",
|
|
156
|
+
"name": "variable.parameter.oracle"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"match": "(?i)\\b(l_[-a-z0-9_]+)\\b",
|
|
160
|
+
"name": "variable.other.oracle"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"match": "(?i):\\b(new|old)\\b",
|
|
164
|
+
"name": "variable.trigger.oracle"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"match": "(?i)\\b(connect\\s+by\\s+(nocycle\\s+)?(prior|level)|connect_by_(root|icycle)|level|start\\s+with)\\b",
|
|
168
|
+
"name": "keyword.hierarchical.sql.oracle"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"match": "(?i)\\b(language|name|java|c)\\b",
|
|
172
|
+
"name": "keyword.wrapper.oracle"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"match": "(?i)\\b(end|then|deterministic|exception|when|declare|begin|in|out|nocopy|is|as|exit|open|fetch|into|close|subtype|type|rowtype|default|exclusive|mode|lock|record|index\\s+by|result_cache|constant|comment|\\.(nextval|currval))\\b",
|
|
176
|
+
"name": "keyword.other.oracle"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"match": "(?i)\\b(grant|revoke|alter|drop|force|add|check|constraint|primary\\s+key|foreign\\s+key|references|unique(\\s+index)?|column|sequence|increment\\s+by|cache|(materialized\\s+)?view|trigger|storage|tablespace|pct(free|used)|(init|max)trans|logging)\\b",
|
|
180
|
+
"name": "keyword.other.ddl.oracle"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"match": "(?i)\\b(with|select|from|where|order\\s+(siblings\\s+)?by|group\\s+by|rollup|cube|((left|right|cross|natural)\\s+(outer\\s+)?)?join|on|asc|desc|update|set|insert|into|values|delete|distinct|union|minus|intersect|having|limit|table|between|like|of|row|(range|rows)\\s+between|nulls\\s+first|nulls\\s+last|before|after|all|any|exists|rownum|cursor|returning|over|partition\\s+by|merge|using|matched|pivot|unpivot)\\b",
|
|
184
|
+
"name": "keyword.other.sql.oracle"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"match": "(?i)\\b(define|whenever\\s+sqlerror|exec|timing\\s+start|timing\\s+stop)\\b",
|
|
188
|
+
"name": "keyword.other.sqlplus.oracle"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"match": "(?i)\\b(access_into_null|case_not_found|collection_is_null|cursor_already_open|dup_val_on_index|invalid_cursor|invalid_number|login_denied|no_data_found|not_logged_on|program_error|rowtype_mismatch|self_is_null|storage_error|subscript_beyond_count|subscript_outside_limit|sys_invalid_rowid|timeout_on_resource|too_many_rows|value_error|zero_divide|others)\\b",
|
|
192
|
+
"name": "support.type.exception.oracle"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"captures": {
|
|
196
|
+
"3": {
|
|
197
|
+
"name": "support.class.oracle"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"match": "(?i)\\b((dbms|utl|owa|apex)_\\w+\\.(\\w+))\\b",
|
|
201
|
+
"name": "support.function.oracle"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"captures": {
|
|
205
|
+
"3": {
|
|
206
|
+
"name": "support.class.oracle"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"match": "(?i)\\b((htf|htp)\\.(\\w+))\\b",
|
|
210
|
+
"name": "support.function.oracle"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"captures": {
|
|
214
|
+
"3": {
|
|
215
|
+
"name": "support.class.user-defined.oracle"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"match": "(?i)\\b((\\w+_pkg|pkg_\\w+)\\.(\\w+))\\b",
|
|
219
|
+
"name": "support.function.user-defined.oracle"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"match": "(?i)\\b(raise|raise_application_error)\\b",
|
|
223
|
+
"name": "support.function.oracle"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"begin": "'",
|
|
227
|
+
"end": "'",
|
|
228
|
+
"name": "string.quoted.single.oracle"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"begin": "\"",
|
|
232
|
+
"end": "\"",
|
|
233
|
+
"name": "string.quoted.double.oracle"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"match": "(?i)\\b(char|varchar|varchar2|nchar|nvarchar2|boolean|date|timestamp(\\s+with(\\s+local)?\\s+time\\s+zone)?|interval\\s*day(\\(\\d*\\))?\\s*to\\s*month|interval\\s*year(\\(\\d*\\))?\\s*to\\s*second(\\(\\d*\\))?|xmltype|blob|clob|nclob|bfile|long|long\\s+raw|raw|number|integer|decimal|smallint|float|binary_(float|double|integer)|pls_(float|double|integer)|rowid|urowid|vararray|natural|naturaln|positive|positiven|signtype|simple_(float|double|integer))\\b",
|
|
237
|
+
"name": "storage.type.oracle"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"scopeName": "source.plsql.oracle"
|
|
241
|
+
}
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "PostCSS",
|
|
3
|
+
"fileTypes": [
|
|
4
|
+
"pcss",
|
|
5
|
+
"postcss"
|
|
6
|
+
],
|
|
7
|
+
"foldingStartMarker": "/\\*|^#|^\\*|^\\b|^\\.",
|
|
8
|
+
"foldingStopMarker": "\\*/|^\\s*$",
|
|
9
|
+
"name": "postcss",
|
|
10
|
+
"patterns": [
|
|
11
|
+
{
|
|
12
|
+
"begin": "/\\*",
|
|
13
|
+
"end": "\\*/",
|
|
14
|
+
"name": "comment.block.postcss",
|
|
15
|
+
"patterns": [
|
|
16
|
+
{
|
|
17
|
+
"include": "#comment-tag"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"include": "#double-slash"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"include": "#double-quoted"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"include": "#single-quoted"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"include": "#interpolation"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"include": "#placeholder-selector"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"include": "#variable"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"include": "#variable-root-css"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"include": "#numeric"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"include": "#unit"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"include": "#flag"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"include": "#dotdotdot"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"begin": "@include",
|
|
56
|
+
"captures": {
|
|
57
|
+
"0": {
|
|
58
|
+
"name": "keyword.control.at-rule.css.postcss"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"end": "(?=\\n|\\(|{|;)",
|
|
62
|
+
"name": "support.function.name.postcss.library"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"begin": "@mixin|@function",
|
|
66
|
+
"captures": {
|
|
67
|
+
"0": {
|
|
68
|
+
"name": "keyword.control.at-rule.css.postcss"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"end": "$\\n?|(?=\\(|{)",
|
|
72
|
+
"name": "support.function.name.postcss.no-completions",
|
|
73
|
+
"patterns": [
|
|
74
|
+
{
|
|
75
|
+
"match": "[\\w-]+",
|
|
76
|
+
"name": "entity.name.function"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"match": "(?<=@import)\\s[\\w/.*-]+",
|
|
82
|
+
"name": "string.quoted.double.css.postcss"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"begin": "@",
|
|
86
|
+
"end": "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))|(?=;)",
|
|
87
|
+
"name": "keyword.control.at-rule.css.postcss"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"begin": "#",
|
|
91
|
+
"end": "$\\n?|(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>)",
|
|
92
|
+
"name": "entity.other.attribute-name.id.css.postcss",
|
|
93
|
+
"patterns": [
|
|
94
|
+
{
|
|
95
|
+
"include": "#interpolation"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"include": "#pseudo-class"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"begin": "\\.|(?<=&)(-|_)",
|
|
104
|
+
"end": "$\\n?|(?=\\s|,|;|\\(|\\)|\\[|{|>)",
|
|
105
|
+
"name": "entity.other.attribute-name.class.css.postcss",
|
|
106
|
+
"patterns": [
|
|
107
|
+
{
|
|
108
|
+
"include": "#interpolation"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"include": "#pseudo-class"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"begin": "\\[",
|
|
117
|
+
"end": "\\]",
|
|
118
|
+
"name": "entity.other.attribute-selector.postcss",
|
|
119
|
+
"patterns": [
|
|
120
|
+
{
|
|
121
|
+
"include": "#double-quoted"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"include": "#single-quoted"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"match": "\\^|\\$|\\*|~",
|
|
128
|
+
"name": "keyword.other.regex.postcss"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"match": "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+",
|
|
134
|
+
"name": "entity.other.attribute-name.pseudo-class.css.postcss"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"begin": ":",
|
|
138
|
+
"end": "$\\n?|(?=;|\\s\\(|and\\(|{|}|\\),)",
|
|
139
|
+
"name": "meta.property-list.css.postcss",
|
|
140
|
+
"patterns": [
|
|
141
|
+
{
|
|
142
|
+
"include": "#double-slash"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"include": "#double-quoted"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"include": "#single-quoted"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"include": "#interpolation"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"include": "#variable"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"include": "#rgb-value"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"include": "#numeric"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"include": "#unit"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"include": "#flag"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"include": "#function"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"include": "#function-content"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"include": "#function-content-var"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"include": "#operator"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"include": "#parent-selector"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"include": "#property-value"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"include": "#rgb-value"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"include": "#function"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"include": "#function-content"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"begin": "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&",
|
|
199
|
+
"end": "(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>|-|_)",
|
|
200
|
+
"name": "entity.name.tag.css.postcss.symbol",
|
|
201
|
+
"patterns": [
|
|
202
|
+
{
|
|
203
|
+
"include": "#interpolation"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"include": "#pseudo-class"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"include": "#operator"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"match": "[a-z-]+((?=:|#{))",
|
|
215
|
+
"name": "support.type.property-name.css.postcss"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"include": "#reserved-words"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"include": "#property-value"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"repository": {
|
|
225
|
+
"comment-tag": {
|
|
226
|
+
"begin": "{{",
|
|
227
|
+
"end": "}}",
|
|
228
|
+
"name": "comment.tags.postcss",
|
|
229
|
+
"patterns": [
|
|
230
|
+
{
|
|
231
|
+
"match": "[\\w-]+",
|
|
232
|
+
"name": "comment.tag.postcss"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
"dotdotdot": {
|
|
237
|
+
"match": "\\.{3}",
|
|
238
|
+
"name": "variable.other"
|
|
239
|
+
},
|
|
240
|
+
"double-quoted": {
|
|
241
|
+
"begin": "\"",
|
|
242
|
+
"end": "\"",
|
|
243
|
+
"name": "string.quoted.double.css.postcss",
|
|
244
|
+
"patterns": [
|
|
245
|
+
{
|
|
246
|
+
"include": "#quoted-interpolation"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"double-slash": {
|
|
251
|
+
"begin": "//",
|
|
252
|
+
"end": "$",
|
|
253
|
+
"name": "comment.line.postcss",
|
|
254
|
+
"patterns": [
|
|
255
|
+
{
|
|
256
|
+
"include": "#comment-tag"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"flag": {
|
|
261
|
+
"match": "!(important|default|optional|global)",
|
|
262
|
+
"name": "keyword.other.important.css.postcss"
|
|
263
|
+
},
|
|
264
|
+
"function": {
|
|
265
|
+
"match": "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()",
|
|
266
|
+
"name": "support.function.name.postcss"
|
|
267
|
+
},
|
|
268
|
+
"function-content": {
|
|
269
|
+
"match": "(?<=url\\(|format\\(|attr\\().+?(?=\\))",
|
|
270
|
+
"name": "string.quoted.double.css.postcss"
|
|
271
|
+
},
|
|
272
|
+
"function-content-var": {
|
|
273
|
+
"match": "(?<=var\\()[\\w-]+(?=\\))",
|
|
274
|
+
"name": "variable.parameter.postcss"
|
|
275
|
+
},
|
|
276
|
+
"interpolation": {
|
|
277
|
+
"begin": "#{",
|
|
278
|
+
"end": "}",
|
|
279
|
+
"name": "support.function.interpolation.postcss",
|
|
280
|
+
"patterns": [
|
|
281
|
+
{
|
|
282
|
+
"include": "#variable"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"include": "#numeric"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"include": "#operator"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"include": "#unit"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"include": "#double-quoted"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"include": "#single-quoted"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
"numeric": {
|
|
302
|
+
"match": "(-|\\.)?[0-9]+(\\.[0-9]+)?",
|
|
303
|
+
"name": "constant.numeric.css.postcss"
|
|
304
|
+
},
|
|
305
|
+
"operator": {
|
|
306
|
+
"match": "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~",
|
|
307
|
+
"name": "keyword.operator.postcss"
|
|
308
|
+
},
|
|
309
|
+
"parent-selector": {
|
|
310
|
+
"match": "&",
|
|
311
|
+
"name": "entity.name.tag.css.postcss"
|
|
312
|
+
},
|
|
313
|
+
"placeholder-selector": {
|
|
314
|
+
"begin": "(?<!\\d)%(?!\\d)",
|
|
315
|
+
"end": "$\\n?|\\s|(?=;|{)",
|
|
316
|
+
"name": "entity.other.attribute-name.placeholder-selector.postcss"
|
|
317
|
+
},
|
|
318
|
+
"property-value": {
|
|
319
|
+
"match": "[\\w-]+",
|
|
320
|
+
"name": "meta.property-value.css.postcss, support.constant.property-value.css.postcss"
|
|
321
|
+
},
|
|
322
|
+
"pseudo-class": {
|
|
323
|
+
"match": ":[a-z:-]+",
|
|
324
|
+
"name": "entity.other.attribute-name.pseudo-class.css.postcss"
|
|
325
|
+
},
|
|
326
|
+
"quoted-interpolation": {
|
|
327
|
+
"begin": "#{",
|
|
328
|
+
"end": "}",
|
|
329
|
+
"name": "support.function.interpolation.postcss",
|
|
330
|
+
"patterns": [
|
|
331
|
+
{
|
|
332
|
+
"include": "#variable"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"include": "#numeric"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"include": "#operator"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"include": "#unit"
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"reserved-words": {
|
|
346
|
+
"match": "\\b(false|from|in|not|null|through|to|true)\\b",
|
|
347
|
+
"name": "support.type.property-name.css.postcss"
|
|
348
|
+
},
|
|
349
|
+
"rgb-value": {
|
|
350
|
+
"match": "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
|
351
|
+
"name": "constant.other.color.rgb-value.css.postcss"
|
|
352
|
+
},
|
|
353
|
+
"single-quoted": {
|
|
354
|
+
"begin": "'",
|
|
355
|
+
"end": "'",
|
|
356
|
+
"name": "string.quoted.single.css.postcss",
|
|
357
|
+
"patterns": [
|
|
358
|
+
{
|
|
359
|
+
"include": "#quoted-interpolation"
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
"unit": {
|
|
364
|
+
"match": "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)",
|
|
365
|
+
"name": "keyword.other.unit.css.postcss"
|
|
366
|
+
},
|
|
367
|
+
"variable": {
|
|
368
|
+
"match": "\\$[\\w-]+",
|
|
369
|
+
"name": "variable.parameter.postcss"
|
|
370
|
+
},
|
|
371
|
+
"variable-root-css": {
|
|
372
|
+
"match": "(?<!&)--[\\w-]+",
|
|
373
|
+
"name": "variable.parameter.postcss"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"scopeName": "source.css.postcss"
|
|
377
|
+
}
|