修复了大量存在的问题,增加了假鸭子类型等等机制

This commit is contained in:
2026-06-25 14:49:46 +08:00
parent 19f2787db0
commit d88d11b646
827 changed files with 32617 additions and 18316 deletions

View File

@@ -7,6 +7,7 @@
# - PythonParser.py: Python 文件解析
# - LlvmGenerator.py: LLVM IR 生成
# - ConstEval.py: 常量表达式求值
from __future__ import annotations
from lib.core.Translator.BaseTranslator import BaseTranslatorMixin, _StrictLog
from lib.core.Translator.AnnotationLoader import AnnotationLoaderMixin
@@ -30,4 +31,4 @@ class Translator(
pass
__all__ = ['Translator', '_StrictLog']
__all__: list[str] = ['Translator', '_StrictLog']