MCPcopy Index your code
hub / github.com/python/mypy / parse_file_inner

Method parse_file_inner

mypy/build.py:3195–3200  ·  view source on GitHub ↗
(self, source: str, raw_data: FileRawData | None = None)

Source from the content-addressed store, hash-verified

3193 return source
3194
3195 def parse_file_inner(self, source: str, raw_data: FileRawData | None = None) -> None:
3196 t0 = time_ref()
3197 self.tree = self.manager.parse_file(
3198 self.id, self.xpath, source, options=self.options, raw_data=raw_data
3199 )
3200 self.time_spent_us += time_spent_us(t0)
3201
3202 def parse_file(self, *, temporary: bool = False, raw_data: FileRawData | None = None) -> None:
3203 """Parse file and run first pass of semantic analysis.

Callers 1

parse_fileMethod · 0.95

Calls 2

time_spent_usFunction · 0.90
parse_fileMethod · 0.45

Tested by

no test coverage detected