MCPcopy Index your code
hub / github.com/python/cpython / _parse_optional_attributes

Method _parse_optional_attributes

Parser/asdl.py:348–353  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

346 return None
347
348 def _parse_optional_attributes(self):
349 if self._at_keyword('attributes'):
350 self._advance()
351 return self._parse_fields()
352 else:
353 return None
354
355 def _parse_optional_field_quantifier(self):
356 quantifiers = []

Callers 2

_parse_typeMethod · 0.95
_parse_productMethod · 0.95

Calls 3

_at_keywordMethod · 0.95
_advanceMethod · 0.95
_parse_fieldsMethod · 0.95

Tested by

no test coverage detected