mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
rebase onto pyre_test_suite
This commit is contained in:
parent
88267c8de1
commit
87fbf0897b
1 changed files with 16 additions and 0 deletions
|
|
@ -15,6 +15,22 @@ from libcst.metadata import PositionProvider
|
|||
from libcst.metadata.base_provider import BatchableMetadataProvider
|
||||
|
||||
|
||||
class Position(TypedDict):
|
||||
line: int
|
||||
column: int
|
||||
|
||||
|
||||
class Location(TypedDict):
|
||||
path: str
|
||||
start: Position
|
||||
stop: Position
|
||||
|
||||
|
||||
class InferredType(TypedDict):
|
||||
location: Location
|
||||
annotation: str
|
||||
|
||||
|
||||
class Position(TypedDict):
|
||||
line: int
|
||||
column: int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue