-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pysrc2cpg: Type Hint Support for Parameters and Returns (#2322)
* Simplified methodParameterNode to replace overridden parameters with their optional equivalents * Parse type hints for parameters and returns and add them to `dynamicTypeHintFullName` * If hint is detected as a builtin or from the typing package, the full name is given instead of the symbol alone
- Loading branch information
1 parent
44d5f43
commit b8ed0de
Showing
3 changed files
with
173 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters