mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Add FullyQualifiedNameProvider (#465)
This commit is contained in:
parent
4ab866e40f
commit
1bd1c0890c
7 changed files with 259 additions and 15 deletions
|
|
@ -203,10 +203,18 @@ We don't call it `fully qualified name <https://en.wikipedia.org/wiki/Fully_qual
|
|||
because the name refers to the current module which doesn't consider the hierarchy of
|
||||
code repository.
|
||||
|
||||
For fully qualified names, there's :class:`~libcst.metadata.FullyQualifiedNameProvider`
|
||||
which is similar to the above but takes the current module's location (relative to some
|
||||
python root folder, usually the repository's root) into account.
|
||||
|
||||
|
||||
.. autoclass:: libcst.metadata.QualifiedNameSource
|
||||
.. autoclass:: libcst.metadata.QualifiedName
|
||||
.. autoclass:: libcst.metadata.QualifiedNameProvider
|
||||
:no-undoc-members:
|
||||
|
||||
.. autoclass:: libcst.metadata.FullyQualifiedNameProvider
|
||||
:no-undoc-members:
|
||||
|
||||
Parent Node Metadata
|
||||
--------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue