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

Method parse

Lib/test/test_clinic.py:1005–1010  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

1003class ClinicParserTest(TestCase):
1004
1005 def parse(self, text):
1006 c = _make_clinic()
1007 parser = DSLParser(c)
1008 block = Block(text)
1009 parser.parse(block)
1010 return block
1011
1012 def parse_function(self, text, signatures_in_block=2, function_index=1):
1013 block = self.parse(text)

Callers 7

parse_functionMethod · 0.95
test_ignore_lineMethod · 0.95
test_unused_paramMethod · 0.95

Calls 4

parseMethod · 0.95
DSLParserClass · 0.90
BlockClass · 0.90
_make_clinicFunction · 0.85

Tested by

no test coverage detected