-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve TypedAstNode to fully describe container types (#1590)
Add an attribute `class_type` to `TypedAstNode` (fixes #1530). This attribute describes the type of the object as it would be reported in Python. As a result it can be used to store container types (e.g. ndarray, lists, sets, etc). Add docstrings. Simplify type deductions using `__add__` to combine types. This function is called repeatedly. As a simple function, it is therefore cached.
- Loading branch information
1 parent
40a8143
commit 79c0c06
Showing
29 changed files
with
1,250 additions
and
490 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
Oops, something went wrong.