IncludeCPP 3.7.23__tar.gz → 3.7.24__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.7.23 → includecpp-3.7.24}/IncludeCPP.egg-info/PKG-INFO +1 -1
- {includecpp-3.7.23 → includecpp-3.7.24}/PKG-INFO +1 -1
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/__init__.py +1 -1
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_parser.py +23 -1
- {includecpp-3.7.23 → includecpp-3.7.24}/pyproject.toml +1 -1
- {includecpp-3.7.23 → includecpp-3.7.24}/IncludeCPP.egg-info/SOURCES.txt +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/IncludeCPP.egg-info/dependency_links.txt +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/IncludeCPP.egg-info/entry_points.txt +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/IncludeCPP.egg-info/requires.txt +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/IncludeCPP.egg-info/top_level.txt +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/LICENSE +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/MANIFEST.in +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/README.md +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/__init__.pyi +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/__main__.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/cli/__init__.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/cli/commands.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/cli/config_parser.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/__init__.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/ai_integration.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/build_manager.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cpp_api.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cpp_api.pyi +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cppy_converter.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/CSSL_DOCUMENTATION.md +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/__init__.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_builtins.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_builtins.pyi +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_events.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_modules.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_runtime.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_syntax.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl/cssl_types.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl_bridge.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/cssl_bridge.pyi +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/error_catalog.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/error_formatter.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/exceptions.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/path_discovery.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/project_ui.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/core/settings_ui.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/generator/__init__.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/generator/parser.cpp +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/generator/parser.h +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/generator/type_resolver.cpp +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/generator/type_resolver.h +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/py.typed +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/templates/cpp.proj.template +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/__init__.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/__init__.py +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/images/cssl.png +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/images/cssl_pl.png +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/language-configuration.json +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/package.json +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/snippets/cssl.snippets.json +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/requirements.txt +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/setup.cfg +0 -0
- {includecpp-3.7.23 → includecpp-3.7.24}/setup.py +0 -0
|
@@ -951,6 +951,27 @@ class CSSLParser:
|
|
|
951
951
|
self._expect(TokenType.BLOCK_END)
|
|
952
952
|
return node
|
|
953
953
|
|
|
954
|
+
def _looks_like_namespace_call(self) -> bool:
|
|
955
|
+
"""Check if current position looks like a namespace function call.
|
|
956
|
+
|
|
957
|
+
Pattern: keyword::identifier(...) like json::write(), string::cut()
|
|
958
|
+
This allows type keywords to be used as namespace prefixes for function calls.
|
|
959
|
+
"""
|
|
960
|
+
if not self._check(TokenType.KEYWORD):
|
|
961
|
+
return False
|
|
962
|
+
|
|
963
|
+
# Save position
|
|
964
|
+
saved_pos = self.pos
|
|
965
|
+
|
|
966
|
+
self._advance() # Skip keyword
|
|
967
|
+
|
|
968
|
+
# Must be followed by ::
|
|
969
|
+
result = self._check(TokenType.DOUBLE_COLON)
|
|
970
|
+
|
|
971
|
+
# Restore position
|
|
972
|
+
self.pos = saved_pos
|
|
973
|
+
return result
|
|
974
|
+
|
|
954
975
|
def _looks_like_typed_variable(self) -> bool:
|
|
955
976
|
"""Check if current position looks like a typed variable declaration:
|
|
956
977
|
type_name varName; or type_name<T> varName; or type_name varName = value;
|
|
@@ -1452,7 +1473,8 @@ class CSSLParser:
|
|
|
1452
1473
|
elif (self._check(TokenType.IDENTIFIER) or self._check(TokenType.AT) or
|
|
1453
1474
|
self._check(TokenType.CAPTURED_REF) or self._check(TokenType.SHARED_REF) or
|
|
1454
1475
|
self._check(TokenType.GLOBAL_REF) or self._check(TokenType.SELF_REF) or
|
|
1455
|
-
(self._check(TokenType.KEYWORD) and self._current().value in ('this', 'new'))
|
|
1476
|
+
(self._check(TokenType.KEYWORD) and self._current().value in ('this', 'new')) or
|
|
1477
|
+
self._looks_like_namespace_call()):
|
|
1456
1478
|
return self._parse_expression_statement()
|
|
1457
1479
|
else:
|
|
1458
1480
|
self._advance()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "IncludeCPP"
|
|
7
|
-
version = "3.7.
|
|
7
|
+
version = "3.7.24"
|
|
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
|
{includecpp-3.7.23 → includecpp-3.7.24}/includecpp/vscode/cssl/syntaxes/cssl.tmLanguage.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|