MCPcopy Index your code
hub / github.com/dropbox/pyannotate / expect

Method expect

pyannotate_tools/annotations/parse.py:315–319  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

313 return ClassType(t.text)
314
315 def expect(self, s):
316 # type: (str) -> None
317 if self.tokens[self.i].text != s:
318 self.fail()
319 self.i += 1
320
321 def lookup(self):
322 # type: () -> str

Callers 3

parseMethod · 0.95
parse_type_listMethod · 0.95
parse_typeMethod · 0.95

Calls 1

failMethod · 0.95

Tested by

no test coverage detected