IncludeCPP 3.8.6__tar.gz → 3.8.8__tar.gz
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-3.8.6 → includecpp-3.8.8}/IncludeCPP.egg-info/PKG-INFO +1 -1
- {includecpp-3.8.6 → includecpp-3.8.8}/PKG-INFO +1 -1
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/__init__.py +1 -1
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_parser.py +5 -5
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_runtime.py +2 -2
- {includecpp-3.8.6 → includecpp-3.8.8}/pyproject.toml +1 -1
- {includecpp-3.8.6 → includecpp-3.8.8}/IncludeCPP.egg-info/SOURCES.txt +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/IncludeCPP.egg-info/dependency_links.txt +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/IncludeCPP.egg-info/entry_points.txt +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/IncludeCPP.egg-info/requires.txt +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/IncludeCPP.egg-info/top_level.txt +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/LICENSE +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/MANIFEST.in +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/README.md +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/__init__.pyi +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/__main__.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/cli/__init__.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/cli/commands.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/cli/config_parser.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/__init__.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/ai_integration.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/build_manager.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cpp_api.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cpp_api.pyi +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cppy_converter.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/CSSL_DOCUMENTATION.md +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/__init__.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_builtins.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_builtins.pyi +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_events.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_modules.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_syntax.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl/cssl_types.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl_bridge.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/cssl_bridge.pyi +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/error_catalog.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/error_formatter.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/exceptions.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/path_discovery.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/project_ui.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/core/settings_ui.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/generator/__init__.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/generator/parser.cpp +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/generator/parser.h +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/generator/type_resolver.cpp +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/generator/type_resolver.h +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/py.typed +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/templates/cpp.proj.template +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/__init__.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/__init__.py +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/extension.js +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/images/cssl.png +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/images/cssl_pl.png +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/language-configuration.json +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/package.json +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/snippets/cssl.snippets.json +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/requirements.txt +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/setup.cfg +0 -0
- {includecpp-3.8.6 → includecpp-3.8.8}/setup.py +0 -0
|
@@ -1400,8 +1400,8 @@ class CSSLParser:
|
|
|
1400
1400
|
overwrites_class = None
|
|
1401
1401
|
overwrites_is_python = False
|
|
1402
1402
|
|
|
1403
|
-
if self._match(TokenType.COLON):
|
|
1404
|
-
# Parse extends and/or overwrites (can be chained)
|
|
1403
|
+
if self._match(TokenType.DOUBLE_COLON) or self._match(TokenType.COLON):
|
|
1404
|
+
# Parse extends and/or overwrites (can be chained with : or ::)
|
|
1405
1405
|
while True:
|
|
1406
1406
|
if self._match_keyword('extends'):
|
|
1407
1407
|
if self._check(TokenType.IDENTIFIER):
|
|
@@ -1430,9 +1430,9 @@ class CSSLParser:
|
|
|
1430
1430
|
if self._match(TokenType.PAREN_START):
|
|
1431
1431
|
self._expect(TokenType.PAREN_END)
|
|
1432
1432
|
else:
|
|
1433
|
-
raise CSSLSyntaxError("Expected 'extends' or 'overwrites' after ':' in class declaration")
|
|
1434
|
-
# Check for another : for chaining
|
|
1435
|
-
if not self._match(TokenType.COLON):
|
|
1433
|
+
raise CSSLSyntaxError("Expected 'extends' or 'overwrites' after ':' or '::' in class declaration")
|
|
1434
|
+
# Check for another : or :: for chaining
|
|
1435
|
+
if not (self._match(TokenType.DOUBLE_COLON) or self._match(TokenType.COLON)):
|
|
1436
1436
|
break
|
|
1437
1437
|
|
|
1438
1438
|
node = ASTNode('class', value={
|
|
@@ -1242,7 +1242,7 @@ class CSSLRuntime:
|
|
|
1242
1242
|
for child in extends_resolved.children:
|
|
1243
1243
|
if not self._running:
|
|
1244
1244
|
break
|
|
1245
|
-
self.
|
|
1245
|
+
self._execute_node(child)
|
|
1246
1246
|
# Copy all local vars to new scope
|
|
1247
1247
|
for name, value in temp_scope._vars.items():
|
|
1248
1248
|
new_scope.set(name, value)
|
|
@@ -3319,7 +3319,7 @@ class CSSLRuntime:
|
|
|
3319
3319
|
|
|
3320
3320
|
try:
|
|
3321
3321
|
for stmt in constr_node.children:
|
|
3322
|
-
self.
|
|
3322
|
+
self._execute_node(stmt)
|
|
3323
3323
|
finally:
|
|
3324
3324
|
self.scope = prev_scope
|
|
3325
3325
|
self._current_instance = prev_instance
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "IncludeCPP"
|
|
7
|
-
version = "3.8.
|
|
7
|
+
version = "3.8.8"
|
|
8
8
|
description = "Professional C++ Python bindings with type-generic templates, pystubs and native threading"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|