IncludeCPP 3.8.3__py3-none-any.whl → 3.8.5__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.
@@ -8,6 +8,9 @@
8
8
  { "include": "#strings" },
9
9
  { "include": "#numbers" },
10
10
  { "include": "#class-definition" },
11
+ { "include": "#function-definitions" },
12
+ { "include": "#constructor-definition" },
13
+ { "include": "#super-call" },
11
14
  { "include": "#sql-types" },
12
15
  { "include": "#keywords" },
13
16
  { "include": "#types" },
@@ -35,13 +38,13 @@
35
38
  "non-null-declarations": {
36
39
  "patterns": [
37
40
  {
38
- "comment": "Non-null class: class *ClassName - light pink",
41
+ "comment": "Non-null class: class *ClassName - turquoise",
39
42
  "name": "meta.class.non-null.cssl",
40
43
  "match": "\\b(class)\\s+(\\*)([a-zA-Z_][a-zA-Z0-9_]*)",
41
44
  "captures": {
42
45
  "1": { "name": "storage.type.class.cssl" },
43
46
  "2": { "name": "keyword.operator.non-null.cssl" },
44
- "3": { "name": "entity.name.class.non-null.cssl" }
47
+ "3": { "name": "support.class.non-null.cssl" }
45
48
  }
46
49
  },
47
50
  {
@@ -164,12 +167,74 @@
164
167
  },
165
168
  "class-definition": {
166
169
  "patterns": [
170
+ {
171
+ "comment": "Class with extends AND overwrites: class X : extends Y : overwrites Z { }",
172
+ "name": "meta.class.extends-overwrites.cssl",
173
+ "begin": "\\b(class)\\s+(\\*?)([a-zA-Z_][a-zA-Z0-9_]*)\\s*:\\s*(extends)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)\\s*:\\s*(overwrites)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)(\\(\\))?\\s*\\{",
174
+ "beginCaptures": {
175
+ "1": { "name": "storage.type.class.cssl" },
176
+ "2": { "name": "keyword.operator.non-null.cssl" },
177
+ "3": { "name": "support.class.cssl" },
178
+ "4": { "name": "storage.modifier.extends.cssl" },
179
+ "5": { "name": "support.class.inherited.cssl" },
180
+ "6": { "name": "storage.modifier.overwrites.cssl" },
181
+ "7": { "name": "support.class.overwritten.cssl" }
182
+ },
183
+ "end": "\\}",
184
+ "patterns": [
185
+ { "include": "#comments" },
186
+ { "include": "#constructor-definition" },
187
+ { "include": "#class-method-definition" },
188
+ { "include": "#class-member-declaration" },
189
+ { "include": "#types" },
190
+ { "include": "#this-access" },
191
+ { "include": "#captured-references" },
192
+ { "include": "#global-references" },
193
+ { "include": "#shared-references" },
194
+ { "include": "#strings" },
195
+ { "include": "#numbers" },
196
+ { "include": "#keywords" },
197
+ { "include": "#function-calls" },
198
+ { "include": "#builtins" },
199
+ { "include": "#operators" }
200
+ ]
201
+ },
202
+ {
203
+ "comment": "Class with inheritance: class Child : extends Parent { }",
204
+ "name": "meta.class.extends.cssl",
205
+ "begin": "\\b(class)\\s+(\\*?)([a-zA-Z_][a-zA-Z0-9_]*)\\s*:\\s*(extends)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)\\s*\\{",
206
+ "beginCaptures": {
207
+ "1": { "name": "storage.type.class.cssl" },
208
+ "2": { "name": "keyword.operator.non-null.cssl" },
209
+ "3": { "name": "support.class.cssl" },
210
+ "4": { "name": "storage.modifier.extends.cssl" },
211
+ "5": { "name": "support.class.inherited.cssl" }
212
+ },
213
+ "end": "\\}",
214
+ "patterns": [
215
+ { "include": "#comments" },
216
+ { "include": "#constructor-definition" },
217
+ { "include": "#class-method-definition" },
218
+ { "include": "#class-member-declaration" },
219
+ { "include": "#types" },
220
+ { "include": "#this-access" },
221
+ { "include": "#captured-references" },
222
+ { "include": "#global-references" },
223
+ { "include": "#shared-references" },
224
+ { "include": "#strings" },
225
+ { "include": "#numbers" },
226
+ { "include": "#keywords" },
227
+ { "include": "#function-calls" },
228
+ { "include": "#builtins" },
229
+ { "include": "#operators" }
230
+ ]
231
+ },
167
232
  {
168
233
  "name": "meta.class.cssl",
169
234
  "begin": "\\b(class)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\{",
170
235
  "beginCaptures": {
171
236
  "1": { "name": "storage.type.class.cssl" },
172
- "2": { "name": "entity.name.class.cssl" }
237
+ "2": { "name": "support.class.cssl" }
173
238
  },
174
239
  "end": "\\}",
175
240
  "patterns": [
@@ -194,6 +259,28 @@
194
259
  },
195
260
  "constructor-definition": {
196
261
  "patterns": [
262
+ {
263
+ "comment": "New-style constructor with constr keyword and extends: constr Name() :: extends Parent::Name { }",
264
+ "name": "meta.constructor.constr.extends.cssl",
265
+ "match": "\\b(constr)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\([^)]*\\)\\s*(::)?\\s*(extends)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)(::[a-zA-Z_][a-zA-Z0-9_]*)?",
266
+ "captures": {
267
+ "1": { "name": "storage.type.constructor.cssl" },
268
+ "2": { "name": "entity.name.function.constructor.cssl" },
269
+ "3": { "name": "punctuation.accessor.double-colon.cssl" },
270
+ "4": { "name": "storage.modifier.extends.cssl" },
271
+ "5": { "name": "entity.other.inherited-class.cssl" },
272
+ "6": { "name": "entity.name.function.inherited.cssl" }
273
+ }
274
+ },
275
+ {
276
+ "comment": "New-style constructor with constr keyword: constr ConstructorName() { }",
277
+ "name": "meta.constructor.constr.cssl",
278
+ "match": "\\b(constr)\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\(",
279
+ "captures": {
280
+ "1": { "name": "storage.type.constructor.cssl" },
281
+ "2": { "name": "entity.name.function.constructor.cssl" }
282
+ }
283
+ },
197
284
  {
198
285
  "comment": "Constructor: ClassName { ... } or void ClassName(...)",
199
286
  "name": "meta.constructor.cssl",
@@ -205,6 +292,28 @@
205
292
  }
206
293
  ]
207
294
  },
295
+ "super-call": {
296
+ "patterns": [
297
+ {
298
+ "comment": "super::method() - call parent method",
299
+ "name": "meta.super-call.method.cssl",
300
+ "match": "\\b(super)(::)([a-zA-Z_][a-zA-Z0-9_]*)\\s*\\(",
301
+ "captures": {
302
+ "1": { "name": "keyword.other.super.cssl" },
303
+ "2": { "name": "punctuation.accessor.double-colon.cssl" },
304
+ "3": { "name": "entity.name.function.parent.cssl" }
305
+ }
306
+ },
307
+ {
308
+ "comment": "super() - call parent constructor",
309
+ "name": "meta.super-call.constructor.cssl",
310
+ "match": "\\b(super)\\s*\\(",
311
+ "captures": {
312
+ "1": { "name": "keyword.other.super.cssl" }
313
+ }
314
+ }
315
+ ]
316
+ },
208
317
  "class-method-definition": {
209
318
  "patterns": [
210
319
  {
@@ -263,6 +372,19 @@
263
372
  "name": "storage.type.class.cssl",
264
373
  "match": "\\b(class|struct|structure|enum|interface)\\b"
265
374
  },
375
+ {
376
+ "name": "storage.modifier.extends.cssl",
377
+ "match": "\\b(extends|overwrites)\\b"
378
+ },
379
+ {
380
+ "comment": "new ClassName() - class instantiation with turquoise class name",
381
+ "name": "meta.new-expression.cssl",
382
+ "match": "\\b(new)\\s+([A-Z][a-zA-Z0-9_]*)\\s*\\(",
383
+ "captures": {
384
+ "1": { "name": "keyword.operator.new.cssl" },
385
+ "2": { "name": "support.class.cssl" }
386
+ }
387
+ },
266
388
  {
267
389
  "name": "keyword.operator.new.cssl",
268
390
  "match": "\\bnew\\b"
@@ -273,7 +395,11 @@
273
395
  },
274
396
  {
275
397
  "name": "storage.type.function.cssl",
276
- "match": "\\b(define|void|shuffled)\\b"
398
+ "match": "\\b(define|void|shuffled|constr)\\b"
399
+ },
400
+ {
401
+ "name": "keyword.other.super.cssl",
402
+ "match": "\\bsuper\\b"
277
403
  },
278
404
  {
279
405
  "name": "keyword.other.cssl",
@@ -376,7 +502,7 @@
376
502
  },
377
503
  {
378
504
  "name": "support.function.namespace.python.cssl",
379
- "match": "\\bpython::(pythonize|wrap|export)\\b"
505
+ "match": "\\bpython::(pythonize|wrap|export|csslize|import)\\b"
380
506
  },
381
507
  {
382
508
  "name": "support.function.namespace.filter.cssl",
@@ -515,6 +641,48 @@
515
641
  }
516
642
  ]
517
643
  },
644
+ "function-definitions": {
645
+ "patterns": [
646
+ {
647
+ "comment": "Function with extends AND overwrites: define func : extends X : overwrites Y() { }",
648
+ "name": "meta.function.extends-overwrites.cssl",
649
+ "match": "\\b(define)\\s+(\\*?)([a-zA-Z_][a-zA-Z0-9_]*)\\s*:\\s*(extends)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)(\\(\\))?\\s*:\\s*(overwrites)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)(\\(\\))?",
650
+ "captures": {
651
+ "1": { "name": "storage.type.function.cssl" },
652
+ "2": { "name": "keyword.operator.non-null.cssl" },
653
+ "3": { "name": "entity.name.function.cssl" },
654
+ "4": { "name": "storage.modifier.extends.cssl" },
655
+ "5": { "name": "entity.other.inherited-function.cssl" },
656
+ "7": { "name": "storage.modifier.overwrites.cssl" },
657
+ "8": { "name": "entity.other.overwritten-function.cssl" }
658
+ }
659
+ },
660
+ {
661
+ "comment": "Function with extends: define func : extends otherFunc() { }",
662
+ "name": "meta.function.extends.cssl",
663
+ "match": "\\b(define)\\s+(\\*?)([a-zA-Z_][a-zA-Z0-9_]*)\\s*:\\s*(extends)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)(\\(\\))?",
664
+ "captures": {
665
+ "1": { "name": "storage.type.function.cssl" },
666
+ "2": { "name": "keyword.operator.non-null.cssl" },
667
+ "3": { "name": "entity.name.function.cssl" },
668
+ "4": { "name": "storage.modifier.extends.cssl" },
669
+ "5": { "name": "entity.other.inherited-function.cssl" }
670
+ }
671
+ },
672
+ {
673
+ "comment": "Function with overwrites: define func : overwrites target() { }",
674
+ "name": "meta.function.overwrites.cssl",
675
+ "match": "\\b(define)\\s+(\\*?)([a-zA-Z_][a-zA-Z0-9_]*)\\s*:\\s*(overwrites)\\s+(\\$?[a-zA-Z_][a-zA-Z0-9_]*)(\\(\\))?",
676
+ "captures": {
677
+ "1": { "name": "storage.type.function.cssl" },
678
+ "2": { "name": "keyword.operator.non-null.cssl" },
679
+ "3": { "name": "entity.name.function.cssl" },
680
+ "4": { "name": "storage.modifier.overwrites.cssl" },
681
+ "5": { "name": "entity.other.overwritten-function.cssl" }
682
+ }
683
+ }
684
+ ]
685
+ },
518
686
  "function-calls": {
519
687
  "patterns": [
520
688
  {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: IncludeCPP
3
- Version: 3.8.3
3
+ Version: 3.8.5
4
4
  Summary: Professional C++ Python bindings with type-generic templates, pystubs and native threading
5
5
  Home-page: https://github.com/liliassg/IncludeCPP
6
6
  Author: Lilias Hatterscheidt
@@ -1,4 +1,4 @@
1
- includecpp/__init__.py,sha256=vHAb_oLFHewOm2qWqzfQzUs0gfkkIT6ZRDzRCWldDC0,1672
1
+ includecpp/__init__.py,sha256=zs_nWL1lh7LottYC3xmHPe8mmMJBddjPzG6hVfi1XJ8,1672
2
2
  includecpp/__init__.pyi,sha256=uSDYlbqd2TinmrdepmE_zvN25jd3Co2cgyPzXgDpopM,7193
3
3
  includecpp/__main__.py,sha256=d6QK0PkvUe1ENofpmHRAg3bwNbZr8PiRscfI3-WRfVg,72
4
4
  includecpp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -19,16 +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=47sUPO-FMq_8_CrJBZFoFBgSO3gSi5zoB1Xp7oeifho,40773
22
+ includecpp/core/cssl/CSSL_DOCUMENTATION.md,sha256=AUmEIaf7YDnkvu_ErJlenFBk2d6eBiohdbf-FFCgUWI,48051
23
23
  includecpp/core/cssl/__init__.py,sha256=scDXRBNK2L6A8qmlpNyaqQj6BFcSfPInBlucdeNfMF0,1975
24
- includecpp/core/cssl/cssl_builtins.py,sha256=B_ggaV4zE1kejphXmo0-_XKFyxU4BWv_g0j_KzHpLJI,100225
24
+ includecpp/core/cssl/cssl_builtins.py,sha256=oPsPyQk5b0b1I02Y80oIaDX39GOeG32-nBPEqwbo_Pw,105110
25
25
  includecpp/core/cssl/cssl_builtins.pyi,sha256=3ai2V4LyhzPBhAKjRRf0rLVu_bg9ECmTfTkdFKM64iA,127430
26
26
  includecpp/core/cssl/cssl_events.py,sha256=nupIcXW_Vjdud7zCU6hdwkQRQ0MujlPM7Tk2u7eDAiY,21013
27
27
  includecpp/core/cssl/cssl_modules.py,sha256=cUg0-zdymMnWWTsA_BUrW5dx4R04dHpKcUhm-Wfiwwo,103006
28
- includecpp/core/cssl/cssl_parser.py,sha256=aYV-KelU9Klv7F8PSJiuIYQetkDSShjAp55tgYg5C_A,119588
29
- includecpp/core/cssl/cssl_runtime.py,sha256=319NFn5aYyR9rIMv5iT2YcCJ0V39agwUQWIg3EfXBDs,158587
28
+ includecpp/core/cssl/cssl_parser.py,sha256=Xm3-Dog9AL_usa9N4TxJ6YMkVBGaRqbJDCkhxLZi4UE,134527
29
+ includecpp/core/cssl/cssl_runtime.py,sha256=5felSp18ESGN3SfcYz_vlh0TQ3_6oQCTE0QYDwGrYXk,177616
30
30
  includecpp/core/cssl/cssl_syntax.py,sha256=bgo3NFehoPTQa5dqwNd_CstkVGVCNYAXbGYUcu5BEN0,16982
31
- includecpp/core/cssl/cssl_types.py,sha256=gVjtfxk0Uzfj-H7_LD79oqspFMYDf79ZrRrlZk8eAEs,50647
31
+ includecpp/core/cssl/cssl_types.py,sha256=7jbrtZf3xmVQJA_mnL9iYrmdjhjuc4--mxxNigi7fsk,53425
32
32
  includecpp/generator/__init__.py,sha256=Rsy41bwimaEloD3gDRR_znPfIJzIsCFuWZgCTJBLJlc,62
33
33
  includecpp/generator/parser.cpp,sha256=hbhHdtFH65rzp6prnARN9pNFF_ssr0NseVVcxq0fJh4,76833
34
34
  includecpp/generator/parser.h,sha256=EDm0b-pEesIIIQQ2PvH5h2qwlqJU9BH8SiMV7MWbsTo,11073
@@ -39,14 +39,14 @@ includecpp/vscode/__init__.py,sha256=yLKw-_7MTX1Rx3jLk5JjharJQfFXbwtZVE7YqHpM7yg
39
39
  includecpp/vscode/cssl/__init__.py,sha256=rQJAx5X05v-mAwqX1Qb-rbZO219iR73MziFNRUCNUIo,31
40
40
  includecpp/vscode/cssl/extension.js,sha256=FZaKfOpzo2jXtubVCZmnhDZd4eUVHltm5VW_fgNnSkE,4327
41
41
  includecpp/vscode/cssl/language-configuration.json,sha256=61Q00cKI9may5L8YpxMmvfo6PAc-abdJqApfR85DWuw,904
42
- includecpp/vscode/cssl/package.json,sha256=EBMT8qD1b-H0-GffLUyRJiay2_21eyZaxx9ewZjOdiI,4853
42
+ includecpp/vscode/cssl/package.json,sha256=5MCJts7zYIgF8EdWcBnn98deIMyZamlGXvt1acO0Q1U,4853
43
43
  includecpp/vscode/cssl/images/cssl.png,sha256=BxAGsnfS0ZzzCvqV6Zb1OAJAZpDUoXlR86MsvUGlSZw,510
44
44
  includecpp/vscode/cssl/images/cssl_pl.png,sha256=z4WMk7g6YCTbUUbSFk343BO6yi_OmNEVYkRenWGydwM,799
45
45
  includecpp/vscode/cssl/snippets/cssl.snippets.json,sha256=uV3nHJyQ5f7Pr3FzfbQT2VZOEY3AlGs4wrmqe884jm4,37372
46
- includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json,sha256=yt6hZO0HOEec3olmmqMk4RYyMQFpdajwxeOttLjDRxY,24363
47
- includecpp-3.8.3.dist-info/licenses/LICENSE,sha256=fWCsGGsiWZir0UzDd20Hh-3wtRyk1zqUntvtVuAWhvc,1093
48
- includecpp-3.8.3.dist-info/METADATA,sha256=jSXqFLtAxtnrv_vJCs8VUHBiU8dJ6HHQ-j-HrkmqKvA,22510
49
- includecpp-3.8.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
50
- includecpp-3.8.3.dist-info/entry_points.txt,sha256=6A5Mif9gi0139Bf03W5plAb3wnAgbNaEVe1HJoGE-2o,59
51
- includecpp-3.8.3.dist-info/top_level.txt,sha256=RFUaR1KG-M6mCYwP6w4ydP5Cgc8yNbP78jxGAvyjMa8,11
52
- includecpp-3.8.3.dist-info/RECORD,,
46
+ includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json,sha256=l62jwXdjMx7-awg5X9WNBrGs4m34uP8W1CV7U7cpP4Y,34004
47
+ includecpp-3.8.5.dist-info/licenses/LICENSE,sha256=fWCsGGsiWZir0UzDd20Hh-3wtRyk1zqUntvtVuAWhvc,1093
48
+ includecpp-3.8.5.dist-info/METADATA,sha256=NhzFH9VfYYyk1WKvI3k9MNTeJ4VrALZRU86uAzMEsA8,22510
49
+ includecpp-3.8.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
50
+ includecpp-3.8.5.dist-info/entry_points.txt,sha256=6A5Mif9gi0139Bf03W5plAb3wnAgbNaEVe1HJoGE-2o,59
51
+ includecpp-3.8.5.dist-info/top_level.txt,sha256=RFUaR1KG-M6mCYwP6w4ydP5Cgc8yNbP78jxGAvyjMa8,11
52
+ includecpp-3.8.5.dist-info/RECORD,,