github-linguist 4.8.11 → 4.8.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/source.autoit.json +153 -158
- data/grammars/source.dockerfile.json +78 -67
- data/grammars/source.gdscript.json +228 -233
- data/grammars/source.nginx.json +768 -882
- data/grammars/source.puppet.json +396 -429
- data/grammars/source.systemverilog.json +961 -1110
- data/grammars/text.dart-analysis-output.json +152 -67
- data/lib/linguist/version.rb +1 -1
- metadata +2 -2
data/grammars/source.puppet.json
CHANGED
@@ -1,473 +1,440 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"file_extensions": [
|
2
|
+
"fileTypes": [
|
4
3
|
"pp"
|
5
4
|
],
|
6
|
-
"
|
7
|
-
"
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
5
|
+
"foldingStartMarker": "(^\\s*/\\*|(\\{|\\[|\\()\\s*$)",
|
6
|
+
"foldingStopMarker": "(\\*/|^\\s*(\\}|\\]|\\)))",
|
7
|
+
"keyEquivalent": "^~P",
|
8
|
+
"name": "Puppet",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"include": "#line_comment"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"begin": "^\\s*/\\*",
|
15
|
+
"end": "\\*/",
|
16
|
+
"name": "comment.block.puppet"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"begin": "(?x)^\\s*\n\t\t\t\t\t(node|class)\\s+\n\t\t\t\t\t((?:[-_A-Za-z0-9\".]+::)*[-_A-Za-z0-9\".]+)\\s* # identifier",
|
20
|
+
"captures": {
|
21
|
+
"1": {
|
22
|
+
"name": "storage.type.puppet"
|
23
|
+
},
|
24
|
+
"2": {
|
25
|
+
"name": "entity.name.type.class.puppet"
|
26
|
+
}
|
23
27
|
},
|
24
|
-
{
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
"
|
28
|
+
"end": "(?={)",
|
29
|
+
"name": "meta.definition.class.puppet",
|
30
|
+
"patterns": [
|
31
|
+
{
|
32
|
+
"include": "#variables"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"include": "#constants"
|
29
36
|
},
|
30
|
-
|
31
|
-
|
32
|
-
|
37
|
+
{
|
38
|
+
"include": "#strings"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"include": "#numbers"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"begin": "\\b(inherits)\\b\\s+",
|
45
|
+
"captures": {
|
46
|
+
"1": {
|
47
|
+
"name": "storage.modifier.puppet"
|
48
|
+
}
|
33
49
|
},
|
34
|
-
{
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
"
|
50
|
+
"end": "(?={)",
|
51
|
+
"name": "meta.definition.class.inherits.puppet",
|
52
|
+
"patterns": [
|
53
|
+
{
|
54
|
+
"match": "\\b((?:[-_A-Za-z0-9\".]+::)*[-_A-Za-z0-9\".]+)\\b",
|
55
|
+
"name": "support.type.puppet"
|
56
|
+
}
|
57
|
+
]
|
58
|
+
}
|
59
|
+
]
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"begin": "^\\s*(define)\\s+([a-zA-Z0-9_:]+)\\s*(\\()",
|
63
|
+
"beginCaptures": {
|
64
|
+
"1": {
|
65
|
+
"name": "storage.type.function.puppet"
|
66
|
+
},
|
67
|
+
"2": {
|
68
|
+
"name": "entity.name.function.puppet"
|
69
|
+
},
|
70
|
+
"3": {
|
71
|
+
"name": "punctuation.definition.parameters.begin.puppet"
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"contentName": "meta.function.arguments.puppet",
|
75
|
+
"end": "\\)",
|
76
|
+
"endCaptures": {
|
77
|
+
"1": {
|
78
|
+
"name": "punctuation.definition.parameters.end.puppet"
|
79
|
+
}
|
80
|
+
},
|
81
|
+
"name": "meta.function.puppet",
|
82
|
+
"patterns": [
|
83
|
+
{
|
84
|
+
"captures": {
|
85
|
+
"1": {
|
86
|
+
"name": "variable.other.puppet"
|
39
87
|
},
|
40
|
-
"
|
41
|
-
|
42
|
-
|
43
|
-
"include": "constants"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"include": "strings"
|
88
|
+
"2": {
|
89
|
+
"name": "punctuation.definition.variable.puppet"
|
90
|
+
}
|
47
91
|
},
|
48
|
-
{
|
49
|
-
|
50
|
-
"captures": {
|
51
|
-
"1": "storage.modifier.puppet"
|
52
|
-
},
|
53
|
-
"push": [
|
54
|
-
{
|
55
|
-
"meta_scope": "meta.definition.class.inherits.puppet"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"match": "(?={)",
|
59
|
-
"captures": {
|
60
|
-
"1": "storage.modifier.puppet"
|
61
|
-
},
|
62
|
-
"pop": true
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"match": "\\b((?:[-_A-Za-z0-9\".]+::)*[-_A-Za-z0-9\".]+)\\b",
|
66
|
-
"scope": "support.type.puppet"
|
67
|
-
}
|
68
|
-
]
|
69
|
-
}
|
70
|
-
]
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"match": "^\\s*(define)\\s+([a-zA-Z0-9_:]+)\\s*(\\()",
|
74
|
-
"captures": {
|
75
|
-
"1": "storage.type.function.puppet",
|
76
|
-
"2": "entity.name.function.puppet",
|
77
|
-
"3": "punctuation.definition.parameters.begin.puppet"
|
92
|
+
"match": "((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*(?=,|\\))",
|
93
|
+
"name": "meta.function.argument.no-default.puppet"
|
78
94
|
},
|
79
|
-
|
80
|
-
{
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
"meta_content_scope": "meta.function.arguments.puppet"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"match": "\\)",
|
88
|
-
"captures": {
|
89
|
-
"1": "punctuation.definition.parameters.end.puppet"
|
95
|
+
{
|
96
|
+
"begin": "((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(?:\\s*(=)\\s*)\\s*",
|
97
|
+
"captures": {
|
98
|
+
"1": {
|
99
|
+
"name": "variable.other.puppet"
|
90
100
|
},
|
91
|
-
"
|
92
|
-
|
93
|
-
|
94
|
-
"
|
95
|
-
|
96
|
-
"captures": {
|
97
|
-
"1": "variable.other.puppet",
|
98
|
-
"2": "punctuation.definition.variable.puppet"
|
101
|
+
"2": {
|
102
|
+
"name": "punctuation.definition.variable.puppet"
|
103
|
+
},
|
104
|
+
"3": {
|
105
|
+
"name": "keyword.operator.assignment.puppet"
|
99
106
|
}
|
100
107
|
},
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
"
|
106
|
-
|
107
|
-
|
108
|
-
"push": [
|
109
|
-
{
|
110
|
-
"meta_scope": "meta.function.argument.default.puppet"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"match": "(?=,|\\))",
|
114
|
-
"captures": {
|
115
|
-
"1": "variable.other.puppet",
|
116
|
-
"2": "punctuation.definition.variable.puppet",
|
117
|
-
"3": "keyword.operator.assignment.puppet"
|
118
|
-
},
|
119
|
-
"pop": true
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"include": "parameter-default-types"
|
123
|
-
}
|
124
|
-
]
|
125
|
-
}
|
126
|
-
]
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"match": "^\\s*(\\w+)\\s*{\\s*(\\$[a-zA-Z_]+)\\s*:",
|
130
|
-
"scope": "meta.definition.resource.puppet",
|
131
|
-
"captures": {
|
132
|
-
"1": "storage.type.puppet",
|
133
|
-
"2": "entity.name.section.puppet"
|
108
|
+
"end": "(?=,|\\))",
|
109
|
+
"name": "meta.function.argument.default.puppet",
|
110
|
+
"patterns": [
|
111
|
+
{
|
112
|
+
"include": "#parameter-default-types"
|
113
|
+
}
|
114
|
+
]
|
134
115
|
}
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
"
|
140
|
-
"
|
141
|
-
|
116
|
+
]
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"captures": {
|
120
|
+
"1": {
|
121
|
+
"name": "storage.type.puppet"
|
122
|
+
},
|
123
|
+
"2": {
|
124
|
+
"name": "entity.name.section.puppet"
|
142
125
|
}
|
143
126
|
},
|
144
|
-
{
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
{
|
153
|
-
|
127
|
+
"match": "^\\s*(\\w+)\\s*{\\s*(['\"].+['\"]):",
|
128
|
+
"name": "meta.definition.resource.puppet"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"match": "\\b(case|if|unless|else|elsif)(?!::)",
|
132
|
+
"name": "keyword.control.puppet"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"match": "((\\$?)\"?[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*\"?):(?=\\s+|$)",
|
136
|
+
"name": "entity.name.section.puppet"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"include": "#strings"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"include": "#variable"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"include": "#constants"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"begin": "(?i)\\b(import|include)\\b\\s*",
|
149
|
+
"beginCaptures": {
|
150
|
+
"1": {
|
151
|
+
"name": "keyword.control.import.include.puppet"
|
152
|
+
}
|
154
153
|
},
|
155
|
-
|
156
|
-
|
154
|
+
"end": "(?=\\s|$)",
|
155
|
+
"name": "meta.include.puppet"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"match": "\\b\\w+\\s*(?==>)\\s*",
|
159
|
+
"name": "constant.other.key.puppet"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"match": "(?<={)\\s*\\w+\\s*(?=})",
|
163
|
+
"name": "constant.other.bareword.puppet"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"match": "\\b(escape|gsub|alert|crit|debug|notice|defined|emerg|err|failed|file|generate|include|info|realize|search|tag|tagged|template|warning)\\b",
|
167
|
+
"name": "support.function.puppet"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"repository": {
|
171
|
+
"constants": {
|
172
|
+
"patterns": [
|
173
|
+
{
|
174
|
+
"match": "(?i)\\b(false|true|running|undef|present|absent|file|directory)\\b",
|
175
|
+
"name": "constant.language.puppet"
|
176
|
+
}
|
177
|
+
]
|
178
|
+
},
|
179
|
+
"double-quoted-string": {
|
180
|
+
"begin": "\"",
|
181
|
+
"beginCaptures": {
|
182
|
+
"0": {
|
183
|
+
"name": "punctuation.definition.string.begin.puppet"
|
184
|
+
}
|
157
185
|
},
|
158
|
-
|
159
|
-
|
186
|
+
"end": "\"",
|
187
|
+
"endCaptures": {
|
188
|
+
"0": {
|
189
|
+
"name": "punctuation.definition.string.end.puppet"
|
190
|
+
}
|
160
191
|
},
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
"
|
192
|
+
"name": "string.quoted.double.puppet",
|
193
|
+
"patterns": [
|
194
|
+
{
|
195
|
+
"include": "#escaped_char"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"include": "#variable"
|
199
|
+
}
|
200
|
+
]
|
201
|
+
},
|
202
|
+
"escaped_char": {
|
203
|
+
"match": "\\\\.",
|
204
|
+
"name": "constant.character.escape.puppet"
|
205
|
+
},
|
206
|
+
"line_comment": {
|
207
|
+
"patterns": [
|
208
|
+
{
|
209
|
+
"captures": {
|
210
|
+
"1": {
|
211
|
+
"name": "comment.line.number-sign.puppet"
|
212
|
+
},
|
213
|
+
"2": {
|
214
|
+
"name": "punctuation.definition.comment.puppet"
|
215
|
+
}
|
216
|
+
},
|
217
|
+
"match": "^((#).*$\\n?)",
|
218
|
+
"name": "meta.comment.full-line.puppet"
|
165
219
|
},
|
166
|
-
|
167
|
-
{
|
168
|
-
"
|
220
|
+
{
|
221
|
+
"captures": {
|
222
|
+
"1": {
|
223
|
+
"name": "punctuation.definition.comment.puppet"
|
224
|
+
}
|
169
225
|
},
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
226
|
+
"match": "(#).*$\\n?",
|
227
|
+
"name": "comment.line.number-sign.puppet"
|
228
|
+
}
|
229
|
+
]
|
230
|
+
},
|
231
|
+
"nested_braces": {
|
232
|
+
"begin": "\\{",
|
233
|
+
"captures": {
|
234
|
+
"1": {
|
235
|
+
"name": "punctuation.section.scope.puppet"
|
236
|
+
}
|
175
237
|
},
|
176
|
-
|
177
|
-
|
178
|
-
|
238
|
+
"end": "\\}",
|
239
|
+
"patterns": [
|
240
|
+
{
|
241
|
+
"include": "#escaped_char"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"include": "#nested_braces"
|
245
|
+
}
|
246
|
+
]
|
247
|
+
},
|
248
|
+
"nested_braces_interpolated": {
|
249
|
+
"begin": "\\{",
|
250
|
+
"captures": {
|
251
|
+
"1": {
|
252
|
+
"name": "punctuation.section.scope.puppet"
|
253
|
+
}
|
179
254
|
},
|
180
|
-
|
181
|
-
|
182
|
-
|
255
|
+
"end": "\\}",
|
256
|
+
"patterns": [
|
257
|
+
{
|
258
|
+
"include": "#escaped_char"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"include": "#variable"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"include": "#nested_braces_interpolated"
|
265
|
+
}
|
266
|
+
]
|
267
|
+
},
|
268
|
+
"nested_brackets": {
|
269
|
+
"begin": "\\[",
|
270
|
+
"captures": {
|
271
|
+
"1": {
|
272
|
+
"name": "punctuation.section.scope.puppet"
|
273
|
+
}
|
183
274
|
},
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
],
|
189
|
-
"constants": [
|
190
|
-
{
|
191
|
-
"match": "(?i)\\b(false|true|running|undef|present|absent|file|directory|installed|running|stopped)\\b",
|
192
|
-
"scope": "constant.language.puppet"
|
193
|
-
}
|
194
|
-
],
|
195
|
-
"double-quoted-string": [
|
196
|
-
{
|
197
|
-
"match": "\"",
|
198
|
-
"captures": {
|
199
|
-
"0": "punctuation.definition.string.begin.puppet"
|
275
|
+
"end": "\\]",
|
276
|
+
"patterns": [
|
277
|
+
{
|
278
|
+
"include": "#escaped_char"
|
200
279
|
},
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"include": "escaped_char"
|
214
|
-
},
|
215
|
-
{
|
216
|
-
"include": "variable"
|
217
|
-
}
|
218
|
-
]
|
219
|
-
}
|
220
|
-
],
|
221
|
-
"escaped_char": [
|
222
|
-
{
|
223
|
-
"match": "\\\\.",
|
224
|
-
"scope": "constant.character.escape.puppet"
|
225
|
-
}
|
226
|
-
],
|
227
|
-
"line_comment": [
|
228
|
-
{
|
229
|
-
"match": "^((#).*$\\n?)",
|
230
|
-
"scope": "meta.comment.full-line.puppet",
|
231
|
-
"captures": {
|
232
|
-
"1": "comment.line.number-sign.puppet",
|
233
|
-
"2": "punctuation.definition.comment.puppet"
|
280
|
+
{
|
281
|
+
"include": "#nested_brackets"
|
282
|
+
}
|
283
|
+
]
|
284
|
+
},
|
285
|
+
"nested_brackets_interpolated": {
|
286
|
+
"begin": "\\[",
|
287
|
+
"captures": {
|
288
|
+
"1": {
|
289
|
+
"name": "punctuation.section.scope.puppet"
|
234
290
|
}
|
235
291
|
},
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
292
|
+
"end": "\\]",
|
293
|
+
"patterns": [
|
294
|
+
{
|
295
|
+
"include": "#escaped_char"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"include": "#variable"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"include": "#nested_brackets_interpolated"
|
302
|
+
}
|
303
|
+
]
|
304
|
+
},
|
305
|
+
"nested_parens": {
|
306
|
+
"begin": "\\(",
|
307
|
+
"captures": {
|
308
|
+
"1": {
|
309
|
+
"name": "punctuation.section.scope.puppet"
|
241
310
|
}
|
242
|
-
}
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
"captures": {
|
248
|
-
"1": "punctuation.section.scope.puppet"
|
311
|
+
},
|
312
|
+
"end": "\\)",
|
313
|
+
"patterns": [
|
314
|
+
{
|
315
|
+
"include": "#escaped_char"
|
249
316
|
},
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
],
|
267
|
-
"nested_braces_interpolated": [
|
268
|
-
{
|
269
|
-
"match": "\\{",
|
270
|
-
"captures": {
|
271
|
-
"1": "punctuation.section.scope.puppet"
|
317
|
+
{
|
318
|
+
"include": "#nested_parens"
|
319
|
+
}
|
320
|
+
]
|
321
|
+
},
|
322
|
+
"nested_parens_interpolated": {
|
323
|
+
"begin": "\\(",
|
324
|
+
"captures": {
|
325
|
+
"1": {
|
326
|
+
"name": "punctuation.section.scope.puppet"
|
327
|
+
}
|
328
|
+
},
|
329
|
+
"end": "\\)",
|
330
|
+
"patterns": [
|
331
|
+
{
|
332
|
+
"include": "#escaped_char"
|
272
333
|
},
|
273
|
-
|
274
|
-
|
275
|
-
"match": "\\}",
|
276
|
-
"captures": {
|
277
|
-
"1": "punctuation.section.scope.puppet"
|
278
|
-
},
|
279
|
-
"pop": true
|
280
|
-
},
|
281
|
-
{
|
282
|
-
"include": "escaped_char"
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"include": "variable"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"include": "nested_braces_interpolated"
|
289
|
-
}
|
290
|
-
]
|
291
|
-
}
|
292
|
-
],
|
293
|
-
"nested_brackets": [
|
294
|
-
{
|
295
|
-
"match": "\\[",
|
296
|
-
"captures": {
|
297
|
-
"1": "punctuation.section.scope.puppet"
|
334
|
+
{
|
335
|
+
"include": "#variable"
|
298
336
|
},
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
"include": "escaped_char"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"include": "nested_brackets"
|
312
|
-
}
|
313
|
-
]
|
314
|
-
}
|
315
|
-
],
|
316
|
-
"nested_brackets_interpolated": [
|
317
|
-
{
|
318
|
-
"match": "\\[",
|
319
|
-
"captures": {
|
320
|
-
"1": "punctuation.section.scope.puppet"
|
337
|
+
{
|
338
|
+
"include": "#nested_parens_interpolated"
|
339
|
+
}
|
340
|
+
]
|
341
|
+
},
|
342
|
+
"parameter-default-types": {
|
343
|
+
"patterns": [
|
344
|
+
{
|
345
|
+
"include": "#strings"
|
321
346
|
},
|
322
|
-
|
323
|
-
|
324
|
-
"match": "\\]",
|
325
|
-
"captures": {
|
326
|
-
"1": "punctuation.section.scope.puppet"
|
327
|
-
},
|
328
|
-
"pop": true
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"include": "escaped_char"
|
332
|
-
},
|
333
|
-
{
|
334
|
-
"include": "variable"
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"include": "nested_brackets_interpolated"
|
338
|
-
}
|
339
|
-
]
|
340
|
-
}
|
341
|
-
],
|
342
|
-
"nested_parens": [
|
343
|
-
{
|
344
|
-
"match": "\\(",
|
345
|
-
"captures": {
|
346
|
-
"1": "punctuation.section.scope.puppet"
|
347
|
+
{
|
348
|
+
"include": "#numbers"
|
347
349
|
},
|
348
|
-
|
349
|
-
|
350
|
-
"match": "\\)",
|
351
|
-
"captures": {
|
352
|
-
"1": "punctuation.section.scope.puppet"
|
353
|
-
},
|
354
|
-
"pop": true
|
355
|
-
},
|
356
|
-
{
|
357
|
-
"include": "escaped_char"
|
358
|
-
},
|
359
|
-
{
|
360
|
-
"include": "nested_parens"
|
361
|
-
}
|
362
|
-
]
|
363
|
-
}
|
364
|
-
],
|
365
|
-
"nested_parens_interpolated": [
|
366
|
-
{
|
367
|
-
"match": "\\(",
|
368
|
-
"captures": {
|
369
|
-
"1": "punctuation.section.scope.puppet"
|
350
|
+
{
|
351
|
+
"include": "#variables"
|
370
352
|
},
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
353
|
+
{
|
354
|
+
"match": "=",
|
355
|
+
"name": "keyword.operator.assignment.php"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"begin": "(\\[)",
|
359
|
+
"beginCaptures": {
|
360
|
+
"1": {
|
361
|
+
"name": "punctuation.definition.array.begin.puppet"
|
362
|
+
}
|
381
363
|
},
|
382
|
-
|
383
|
-
|
364
|
+
"end": "\\]",
|
365
|
+
"endCaptures": {
|
366
|
+
"0": {
|
367
|
+
"name": "punctuation.definition.array.end.puppet"
|
368
|
+
}
|
384
369
|
},
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
370
|
+
"name": "meta.array.php",
|
371
|
+
"patterns": [
|
372
|
+
{
|
373
|
+
"include": "#parameter-default-types"
|
374
|
+
}
|
375
|
+
]
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"include": "#constants"
|
379
|
+
}
|
380
|
+
]
|
381
|
+
},
|
382
|
+
"single-quoted-string": {
|
383
|
+
"begin": "'",
|
384
|
+
"beginCaptures": {
|
385
|
+
"0": {
|
386
|
+
"name": "punctuation.definition.string.begin.puppet"
|
387
|
+
}
|
394
388
|
},
|
395
|
-
|
396
|
-
|
397
|
-
"
|
389
|
+
"end": "'",
|
390
|
+
"endCaptures": {
|
391
|
+
"0": {
|
392
|
+
"name": "punctuation.definition.string.end.puppet"
|
393
|
+
}
|
398
394
|
},
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
"
|
395
|
+
"name": "string.quoted.single.puppet",
|
396
|
+
"patterns": [
|
397
|
+
{
|
398
|
+
"include": "#escaped_char"
|
399
|
+
}
|
400
|
+
]
|
401
|
+
},
|
402
|
+
"strings": {
|
403
|
+
"patterns": [
|
404
|
+
{
|
405
|
+
"include": "#double-quoted-string"
|
403
406
|
},
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
"
|
407
|
+
{
|
408
|
+
"include": "#single-quoted-string"
|
409
|
+
}
|
410
|
+
]
|
411
|
+
},
|
412
|
+
"variable": {
|
413
|
+
"patterns": [
|
414
|
+
{
|
415
|
+
"captures": {
|
416
|
+
"1": {
|
417
|
+
"name": "punctuation.definition.variable.puppet"
|
418
|
+
}
|
414
419
|
},
|
415
|
-
|
416
|
-
|
417
|
-
}
|
418
|
-
]
|
419
|
-
},
|
420
|
-
{
|
421
|
-
"include": "constants"
|
422
|
-
}
|
423
|
-
],
|
424
|
-
"single-quoted-string": [
|
425
|
-
{
|
426
|
-
"match": "'",
|
427
|
-
"captures": {
|
428
|
-
"0": "punctuation.definition.string.begin.puppet"
|
420
|
+
"match": "(\\$)([a-zA-Zx7f-xff\\$]|::)([a-zA-Z0-9_x7f-xff\\$]|::)*\\b",
|
421
|
+
"name": "variable.other.readwrite.global.puppet"
|
429
422
|
},
|
430
|
-
|
431
|
-
{
|
432
|
-
"
|
433
|
-
|
434
|
-
{
|
435
|
-
"match": "'",
|
436
|
-
"captures": {
|
437
|
-
"0": "punctuation.definition.string.end.puppet"
|
423
|
+
{
|
424
|
+
"captures": {
|
425
|
+
"1": {
|
426
|
+
"name": "punctuation.definition.variable.puppet"
|
438
427
|
},
|
439
|
-
"
|
428
|
+
"2": {
|
429
|
+
"name": "punctuation.definition.variable.puppet"
|
430
|
+
}
|
440
431
|
},
|
441
|
-
{
|
442
|
-
|
443
|
-
}
|
444
|
-
]
|
445
|
-
}
|
446
|
-
],
|
447
|
-
"strings": [
|
448
|
-
{
|
449
|
-
"include": "double-quoted-string"
|
450
|
-
},
|
451
|
-
{
|
452
|
-
"include": "single-quoted-string"
|
453
|
-
}
|
454
|
-
],
|
455
|
-
"variable": [
|
456
|
-
{
|
457
|
-
"match": "(\\$)([a-zA-Zx7f-xff\\$]|::)([a-zA-Z0-9_x7f-xff\\$]|::)*\\b",
|
458
|
-
"scope": "variable.other.readwrite.global.puppet",
|
459
|
-
"captures": {
|
460
|
-
"1": "punctuation.definition.variable.puppet"
|
461
|
-
}
|
462
|
-
},
|
463
|
-
{
|
464
|
-
"match": "(\\$\\{)(?:[a-zA-Zx7f-xff\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\$]|::)*(\\})",
|
465
|
-
"scope": "variable.other.readwrite.global.puppet",
|
466
|
-
"captures": {
|
467
|
-
"1": "punctuation.definition.variable.puppet",
|
468
|
-
"2": "punctuation.definition.variable.puppet"
|
432
|
+
"match": "(\\$\\{)(?:[a-zA-Zx7f-xff\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\$]|::)*(\\})",
|
433
|
+
"name": "variable.other.readwrite.global.puppet"
|
469
434
|
}
|
470
|
-
|
471
|
-
|
472
|
-
}
|
435
|
+
]
|
436
|
+
}
|
437
|
+
},
|
438
|
+
"scopeName": "source.puppet",
|
439
|
+
"uuid": "AAF4E089-E3C9-4FB9-B099-FD2CCBD4E786"
|
473
440
|
}
|