-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(classes): Detect property methods of classes
When functions/methods are decorated with `@property`, it is detected and such methods are described as "property methods" in the output. The detection is performed in `FunctionsExtractor`. Currently, only the vanilla `@property` is detected. Getter/setter variants, like `@property.getter`, are not. Additionally, removed functions/methods are now detected. Implementation notes: - `pyff_function` was made to operate on `FunctionSummary` instances, just like `pyff_class` started to do. To achieve this, `FunctionsExtractor` was made to save the AST node to `FunctionSummary` instances.
- Loading branch information
1 parent
e172cbc
commit 6a2aeef
Showing
3 changed files
with
154 additions
and
57 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
Oops, something went wrong.