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

Class Separator

pyannotate_tools/annotations/parse.py:153–162  ·  view source on GitHub ↗

A separator or punctuator token such as '(', '[' or '->

Source from the content-addressed store, hash-verified

151
152
153class Separator(Token):
154 """A separator or punctuator token such as '(', '[' or '->'"""
155
156 def __init__(self, text):
157 # type: (str) -> None
158 self.text = text
159
160 def __repr__(self):
161 # type: () -> str
162 return self.text
163
164
165class End(Token):

Callers 1

tokenizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected