-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement attribute core logic given file and position
Summary: # Overview Refer to D47564289 This stack of diff will be split into the following steps: 1. Setup `CompletionItem` and helper signatures 2. **Implement attribute completion core logic given file and position and test** 3. Implement prefix filtering and test 4. Implement localBasedLookup completion public endpoint 5. Extend Pyre `requestHandler.ml` with handler for completion request --- # Diff Specific Notes - This diff implements and tests the core location based lookup logic for processing completion requests, leveraging `resolution_from_cfg_data` and `GlobalResolution.ClassSummary` to retrieve attribute information Reviewed By: kinto0 Differential Revision: D47636303 fbshipit-source-id: 2c24a42649bb1df53df8b91f25a577c73d77a3a6
- Loading branch information
1 parent
ef8d3da
commit cfefd20
Showing
3 changed files
with
184 additions
and
1 deletion.
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