MCPcopy Create free account
hub / github.com/dropbox/pyannotate / DottedName

Class DottedName

pyannotate_tools/annotations/parse.py:141–150  ·  view source on GitHub ↗

An identifier token, such as 'List', 'int' or 'package.name

Source from the content-addressed store, hash-verified

139
140
141class DottedName(Token):
142 """An identifier token, such as 'List', 'int' or 'package.name'"""
143
144 def __init__(self, text):
145 # type: (str) -> None
146 self.text = text
147
148 def __repr__(self):
149 # type: () -> str
150 return 'DottedName(%s)' % self.text
151
152
153class Separator(Token):

Callers 1

tokenizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected