PY-43388 Add basic type checker support in Cython files
authorMikhail Khorkov <mikhial.khorkov@jetbrains.com>
Wed, 16 Sep 2020 13:45:18 +0000 (20:45 +0700)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Tue, 12 Jan 2021 10:06:47 +0000 (10:06 +0000)
commit058c2e5e425ee62110938a5e393de024d2e4031f
tree1b4e9799db85078bde3aec0a38699b066da6f145
parent5f24523add4ddef647cc316f549086ca3602b3a6
PY-43388 Add basic type checker support in Cython files

Now we can export Cython and Python functions with type
annotations from .pyx files to both .pyx and .py files.
Also we can make type matching in Cython files.
Type checker only support numeric types for now.

GitOrigin-RevId: a7af4264285cc14e09991545998609fbd24432e5
python/python-psi-impl/resources/META-INF/PythonPsiImpl.xml
python/python-psi-impl/src/com/jetbrains/python/psi/impl/PyNamedParameterImpl.java
python/python-psi-impl/src/com/jetbrains/python/psi/types/PyTypeChecker.java
python/python-psi-impl/src/com/jetbrains/python/psi/types/PyTypeCheckerExtension.java [new file with mode: 0644]