IncludeCPP 3.6.0__py3-none-any.whl → 3.7.1__py3-none-any.whl
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.
- includecpp/__init__.py +1 -1
- includecpp/cli/commands.py +418 -0
- includecpp/core/cssl/CSSL_DOCUMENTATION.md +275 -13
- includecpp/core/cssl/cssl_builtins.py +114 -0
- includecpp/core/cssl/cssl_builtins.pyi +1393 -0
- includecpp/core/cssl/cssl_parser.py +174 -59
- includecpp/core/cssl/cssl_runtime.py +273 -1
- includecpp/core/cssl/cssl_types.py +224 -2
- includecpp/vscode/cssl/package.json +24 -4
- includecpp/vscode/cssl/snippets/cssl.snippets.json +1080 -0
- includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json +127 -7
- {includecpp-3.6.0.dist-info → includecpp-3.7.1.dist-info}/METADATA +1 -1
- {includecpp-3.6.0.dist-info → includecpp-3.7.1.dist-info}/RECORD +17 -15
- {includecpp-3.6.0.dist-info → includecpp-3.7.1.dist-info}/WHEEL +0 -0
- {includecpp-3.6.0.dist-info → includecpp-3.7.1.dist-info}/entry_points.txt +0 -0
- {includecpp-3.6.0.dist-info → includecpp-3.7.1.dist-info}/licenses/LICENSE +0 -0
- {includecpp-3.6.0.dist-info → includecpp-3.7.1.dist-info}/top_level.txt +0 -0
|
@@ -6,15 +6,21 @@
|
|
|
6
6
|
{ "include": "#comments" },
|
|
7
7
|
{ "include": "#strings" },
|
|
8
8
|
{ "include": "#numbers" },
|
|
9
|
+
{ "include": "#class-definition" },
|
|
9
10
|
{ "include": "#keywords" },
|
|
10
11
|
{ "include": "#types" },
|
|
11
12
|
{ "include": "#function-modifiers" },
|
|
12
13
|
{ "include": "#injection-operators" },
|
|
14
|
+
{ "include": "#namespace-functions" },
|
|
13
15
|
{ "include": "#filter-helpers" },
|
|
16
|
+
{ "include": "#this-access" },
|
|
17
|
+
{ "include": "#captured-references" },
|
|
14
18
|
{ "include": "#global-references" },
|
|
15
19
|
{ "include": "#shared-references" },
|
|
20
|
+
{ "include": "#instance-references" },
|
|
16
21
|
{ "include": "#module-references" },
|
|
17
22
|
{ "include": "#function-calls" },
|
|
23
|
+
{ "include": "#builtins" },
|
|
18
24
|
{ "include": "#operators" },
|
|
19
25
|
{ "include": "#constants" }
|
|
20
26
|
],
|
|
@@ -71,6 +77,44 @@
|
|
|
71
77
|
{
|
|
72
78
|
"name": "constant.numeric.integer.cssl",
|
|
73
79
|
"match": "\\b[0-9]+\\b"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "constant.numeric.hex.cssl",
|
|
83
|
+
"match": "\\b0x[0-9A-Fa-f]+\\b"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"class-definition": {
|
|
88
|
+
"patterns": [
|
|
89
|
+
{
|
|
90
|
+
"name": "meta.class.cssl",
|
|
91
|
+
"begin": "\\b(class)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\{",
|
|
92
|
+
"beginCaptures": {
|
|
93
|
+
"1": { "name": "keyword.other.class.cssl" },
|
|
94
|
+
"2": { "name": "entity.name.class.cssl" }
|
|
95
|
+
},
|
|
96
|
+
"end": "\\}",
|
|
97
|
+
"patterns": [
|
|
98
|
+
{ "include": "#comments" },
|
|
99
|
+
{ "include": "#function-definition" },
|
|
100
|
+
{ "include": "#types" },
|
|
101
|
+
{ "include": "#this-access" },
|
|
102
|
+
{ "include": "#strings" },
|
|
103
|
+
{ "include": "#numbers" },
|
|
104
|
+
{ "include": "#operators" }
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"function-definition": {
|
|
110
|
+
"patterns": [
|
|
111
|
+
{
|
|
112
|
+
"name": "meta.function.cssl",
|
|
113
|
+
"match": "\\b(void|int|string|float|bool|dynamic|[A-Z][a-zA-Z0-9_]*)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\(",
|
|
114
|
+
"captures": {
|
|
115
|
+
"1": { "name": "storage.type.cssl" },
|
|
116
|
+
"2": { "name": "entity.name.function.cssl" }
|
|
117
|
+
}
|
|
74
118
|
}
|
|
75
119
|
]
|
|
76
120
|
},
|
|
@@ -80,6 +124,10 @@
|
|
|
80
124
|
"name": "keyword.control.cssl",
|
|
81
125
|
"match": "\\b(if|else|elif|while|for|foreach|in|range|switch|case|default|break|continue|return|try|catch|finally|throw)\\b"
|
|
82
126
|
},
|
|
127
|
+
{
|
|
128
|
+
"name": "keyword.other.class.cssl",
|
|
129
|
+
"match": "\\b(class|new|this)\\b"
|
|
130
|
+
},
|
|
83
131
|
{
|
|
84
132
|
"name": "keyword.other.cssl",
|
|
85
133
|
"match": "\\b(service-init|service-run|service-include|struct|structure|define|main|package|package-includes|exec|as|global|include|get|payload)\\b"
|
|
@@ -102,11 +150,11 @@
|
|
|
102
150
|
},
|
|
103
151
|
{
|
|
104
152
|
"name": "storage.type.container.cssl",
|
|
105
|
-
"match": "\\b(array|vector|stack|datastruct|dataspace|shuffled|iterator|combo|openquote)\\b"
|
|
153
|
+
"match": "\\b(array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|instance)\\b"
|
|
106
154
|
},
|
|
107
155
|
{
|
|
108
156
|
"name": "storage.type.generic.cssl",
|
|
109
|
-
"match": "\\b(array|vector|stack|datastruct|dataspace|shuffled|iterator|combo|openquote)\\s*<",
|
|
157
|
+
"match": "\\b(array|vector|stack|list|dictionary|dict|map|datastruct|dataspace|shuffled|iterator|combo|openquote|instance)\\s*<",
|
|
110
158
|
"captures": {
|
|
111
159
|
"1": { "name": "storage.type.container.cssl" }
|
|
112
160
|
}
|
|
@@ -124,12 +172,32 @@
|
|
|
124
172
|
"injection-operators": {
|
|
125
173
|
"patterns": [
|
|
126
174
|
{
|
|
127
|
-
"name": "keyword.operator.injection.cssl",
|
|
175
|
+
"name": "keyword.operator.injection.infuse.cssl",
|
|
128
176
|
"match": "(\\+<<==|<<==|-<<==|==>>\\+|==>>|-==>>)"
|
|
129
177
|
},
|
|
130
178
|
{
|
|
131
|
-
"name": "keyword.operator.
|
|
179
|
+
"name": "keyword.operator.injection.brute.cssl",
|
|
132
180
|
"match": "(\\+<==|<==|-<==|==>\\+|==>|-==>)"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "keyword.operator.flow.cssl",
|
|
184
|
+
"match": "(->|<-)"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
"namespace-functions": {
|
|
189
|
+
"patterns": [
|
|
190
|
+
{
|
|
191
|
+
"name": "support.function.namespace.json.cssl",
|
|
192
|
+
"match": "\\bjson::(read|write|parse|stringify|pretty|get|set|has|keys|values|merge)\\b"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "support.function.namespace.instance.cssl",
|
|
196
|
+
"match": "\\binstance::(getMethods|getClasses|getVars|getAll|call|has|type|exists)\\b"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "support.function.namespace.string.cssl",
|
|
200
|
+
"match": "\\bstring::(where|contains|not|startsWith|endsWith|length|lenght|cut|cutAfter|value)\\b"
|
|
133
201
|
}
|
|
134
202
|
]
|
|
135
203
|
},
|
|
@@ -141,6 +209,26 @@
|
|
|
141
209
|
}
|
|
142
210
|
]
|
|
143
211
|
},
|
|
212
|
+
"this-access": {
|
|
213
|
+
"patterns": [
|
|
214
|
+
{
|
|
215
|
+
"name": "variable.language.this.cssl",
|
|
216
|
+
"match": "\\bthis\\s*->"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "variable.language.this.member.cssl",
|
|
220
|
+
"match": "(?<=this->)[a-zA-Z_][a-zA-Z0-9_]*"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"captured-references": {
|
|
225
|
+
"patterns": [
|
|
226
|
+
{
|
|
227
|
+
"name": "variable.other.captured.cssl",
|
|
228
|
+
"match": "%[a-zA-Z_][a-zA-Z0-9_]*"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
144
232
|
"global-references": {
|
|
145
233
|
"patterns": [
|
|
146
234
|
{
|
|
@@ -165,6 +253,14 @@
|
|
|
165
253
|
}
|
|
166
254
|
]
|
|
167
255
|
},
|
|
256
|
+
"instance-references": {
|
|
257
|
+
"patterns": [
|
|
258
|
+
{
|
|
259
|
+
"name": "storage.type.instance.cssl",
|
|
260
|
+
"match": "\\binstance<\"[^\"]+\">"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
168
264
|
"module-references": {
|
|
169
265
|
"patterns": [
|
|
170
266
|
{
|
|
@@ -178,10 +274,30 @@
|
|
|
178
274
|
{
|
|
179
275
|
"name": "entity.name.function.cssl",
|
|
180
276
|
"match": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\s*(?=\\()"
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"builtins": {
|
|
281
|
+
"patterns": [
|
|
282
|
+
{
|
|
283
|
+
"name": "support.function.builtin.io.cssl",
|
|
284
|
+
"match": "\\b(printl|print|println|input|read|readline|write|writeline)\\b"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "support.function.builtin.type.cssl",
|
|
288
|
+
"match": "\\b(len|type|toInt|toFloat|toString|toBool|typeof)\\b"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "support.function.builtin.control.cssl",
|
|
292
|
+
"match": "\\b(exit|sleep|range|isavailable)\\b"
|
|
181
293
|
},
|
|
182
294
|
{
|
|
183
|
-
"name": "support.function.builtin.cssl",
|
|
184
|
-
"match": "\\b(
|
|
295
|
+
"name": "support.function.builtin.special.cssl",
|
|
296
|
+
"match": "\\b(OpenFind|share|shared)\\b"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "support.variable.builtin.parameter.cssl",
|
|
300
|
+
"match": "\\bparameter\\.(get|return|count|all|has|returns)\\b"
|
|
185
301
|
}
|
|
186
302
|
]
|
|
187
303
|
},
|
|
@@ -193,7 +309,7 @@
|
|
|
193
309
|
},
|
|
194
310
|
{
|
|
195
311
|
"name": "keyword.operator.arithmetic.cssl",
|
|
196
|
-
"match": "(
|
|
312
|
+
"match": "(\\+\\+|--|\\+=|-=|\\*=|/=|\\+|-|\\*|/|%)"
|
|
197
313
|
},
|
|
198
314
|
{
|
|
199
315
|
"name": "keyword.operator.logical.cssl",
|
|
@@ -202,6 +318,10 @@
|
|
|
202
318
|
{
|
|
203
319
|
"name": "keyword.operator.assignment.cssl",
|
|
204
320
|
"match": "="
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "keyword.operator.member.cssl",
|
|
324
|
+
"match": "\\."
|
|
205
325
|
}
|
|
206
326
|
]
|
|
207
327
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
includecpp/__init__.py,sha256=
|
|
1
|
+
includecpp/__init__.py,sha256=SV4ypMkGhJOYELGfsU013Q8nWsO-LKnAZDcdpy3mkok,1672
|
|
2
2
|
includecpp/__init__.pyi,sha256=c4gZW7_XQXcp6FBcTi5W7zXTmCtbgQhlC4cyeVqtRRM,7253
|
|
3
3
|
includecpp/__main__.py,sha256=d6QK0PkvUe1ENofpmHRAg3bwNbZr8PiRscfI3-WRfVg,72
|
|
4
4
|
includecpp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
includecpp/cli/__init__.py,sha256=Yda-4a5QJb_tKu35YQNfc5lu-LewTsM5abqNNkzS47M,113
|
|
6
|
-
includecpp/cli/commands.py,sha256=
|
|
6
|
+
includecpp/cli/commands.py,sha256=Mz1eFYSXWzi4C3lOnihscpQ0GXnkOjPoP9bIa0CnoW4,339806
|
|
7
7
|
includecpp/cli/config_parser.py,sha256=KveeYUg2TA9sC5hKVzYYfgdNm2WfLG5y7_yxgBWn9yM,4886
|
|
8
8
|
includecpp/core/__init__.py,sha256=L1bT6oikTjdto-6Px7DpjePtM07ymo3Bnov1saZzsGg,390
|
|
9
9
|
includecpp/core/ai_integration.py,sha256=PW6yFDqdXjfchpfKTKg59AOLhLry9kqJEGf_65BztrY,87603
|
|
@@ -19,15 +19,16 @@ includecpp/core/exceptions.py,sha256=szeF4qdzi_q8hBBZi7mJxkliyQ0crplkLYe0ymlBGtk
|
|
|
19
19
|
includecpp/core/path_discovery.py,sha256=jI0oSq6Hsd4LKXmU4dOiGSrXcEO_KWMXfQ5_ylBmXvU,2561
|
|
20
20
|
includecpp/core/project_ui.py,sha256=la2EQZKmUkJGuJxnbs09hH1ZhBh9bfndo6okzZsk2dQ,141134
|
|
21
21
|
includecpp/core/settings_ui.py,sha256=B2SlwgdplF2KiBk5UYf2l8Jjifjd0F-FmBP0DPsVCEQ,11798
|
|
22
|
-
includecpp/core/cssl/CSSL_DOCUMENTATION.md,sha256=
|
|
22
|
+
includecpp/core/cssl/CSSL_DOCUMENTATION.md,sha256=5zNNIBOjFh_ZpbKIgKw2pHicsjAyqde6Tq2faa-1I5I,40035
|
|
23
23
|
includecpp/core/cssl/__init__.py,sha256=TYRlyheTw5OYkkmUxJYpAjyyQShu6NF4igYZYE76eR0,1811
|
|
24
|
-
includecpp/core/cssl/cssl_builtins.py,sha256=
|
|
24
|
+
includecpp/core/cssl/cssl_builtins.py,sha256=MJtWF7PeWkasxxkpN2zaCjeIJoQw5BPy-jQNYberMQo,85010
|
|
25
|
+
includecpp/core/cssl/cssl_builtins.pyi,sha256=Zc__PCO9FDaTPPG92zgK6_QoeMohbs0xlv6YGPubEdQ,31010
|
|
25
26
|
includecpp/core/cssl/cssl_events.py,sha256=nupIcXW_Vjdud7zCU6hdwkQRQ0MujlPM7Tk2u7eDAiY,21013
|
|
26
27
|
includecpp/core/cssl/cssl_modules.py,sha256=cUg0-zdymMnWWTsA_BUrW5dx4R04dHpKcUhm-Wfiwwo,103006
|
|
27
|
-
includecpp/core/cssl/cssl_parser.py,sha256=
|
|
28
|
-
includecpp/core/cssl/cssl_runtime.py,sha256=
|
|
28
|
+
includecpp/core/cssl/cssl_parser.py,sha256=BbB_kiB__e6PMpNuj9esxGK-MYtjHfoGIhluxqXHvEo,106146
|
|
29
|
+
includecpp/core/cssl/cssl_runtime.py,sha256=YSUUaHlpkbKB3ZFuqbbWPEb4riwDuPus8DaE45bw07E,124648
|
|
29
30
|
includecpp/core/cssl/cssl_syntax.py,sha256=vgI-dgj6gs9cOHwNRff6JbwZZYW_fYutnwCkznlgZiE,17006
|
|
30
|
-
includecpp/core/cssl/cssl_types.py,sha256=
|
|
31
|
+
includecpp/core/cssl/cssl_types.py,sha256=XftmkvjxL-mKMz6HiTtnruG6P7haM21gFm7P9Caovug,48213
|
|
31
32
|
includecpp/generator/__init__.py,sha256=Rsy41bwimaEloD3gDRR_znPfIJzIsCFuWZgCTJBLJlc,62
|
|
32
33
|
includecpp/generator/parser.cpp,sha256=hbhHdtFH65rzp6prnARN9pNFF_ssr0NseVVcxq0fJh4,76833
|
|
33
34
|
includecpp/generator/parser.h,sha256=EDm0b-pEesIIIQQ2PvH5h2qwlqJU9BH8SiMV7MWbsTo,11073
|
|
@@ -37,11 +38,12 @@ includecpp/templates/cpp.proj.template,sha256=Iy-L8I4Cl3tIgBMx1Qp5h6gURvkqOAqyod
|
|
|
37
38
|
includecpp/vscode/__init__.py,sha256=yLKw-_7MTX1Rx3jLk5JjharJQfFXbwtZVE7YqHpM7yg,39
|
|
38
39
|
includecpp/vscode/cssl/__init__.py,sha256=rQJAx5X05v-mAwqX1Qb-rbZO219iR73MziFNRUCNUIo,31
|
|
39
40
|
includecpp/vscode/cssl/language-configuration.json,sha256=vBZSVBpV0UFlTO4d0aQrhTpR4lHje0Tb2n889k9W_Uc,986
|
|
40
|
-
includecpp/vscode/cssl/package.json,sha256=
|
|
41
|
-
includecpp/vscode/cssl/
|
|
42
|
-
includecpp
|
|
43
|
-
includecpp-3.
|
|
44
|
-
includecpp-3.
|
|
45
|
-
includecpp-3.
|
|
46
|
-
includecpp-3.
|
|
47
|
-
includecpp-3.
|
|
41
|
+
includecpp/vscode/cssl/package.json,sha256=MWWIRLUnGvadWzEyfWdykUZHTsrG18sqpn5US5sXqac,1435
|
|
42
|
+
includecpp/vscode/cssl/snippets/cssl.snippets.json,sha256=l4SCEPR3CsPxA8HIVLKYY__I979TfKzYWtH1KYIsboo,33062
|
|
43
|
+
includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json,sha256=FODjb4v7K9qScxmiUP4HLgTNk6nDHF_HMqUA2HfyzLM,12747
|
|
44
|
+
includecpp-3.7.1.dist-info/licenses/LICENSE,sha256=fWCsGGsiWZir0UzDd20Hh-3wtRyk1zqUntvtVuAWhvc,1093
|
|
45
|
+
includecpp-3.7.1.dist-info/METADATA,sha256=oV1pOQbNoKRPC615RFC2HzadKR95OwQWqA74KBaEiBI,32122
|
|
46
|
+
includecpp-3.7.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
47
|
+
includecpp-3.7.1.dist-info/entry_points.txt,sha256=6A5Mif9gi0139Bf03W5plAb3wnAgbNaEVe1HJoGE-2o,59
|
|
48
|
+
includecpp-3.7.1.dist-info/top_level.txt,sha256=RFUaR1KG-M6mCYwP6w4ydP5Cgc8yNbP78jxGAvyjMa8,11
|
|
49
|
+
includecpp-3.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|