MCPcopy Index your code
hub / github.com/sphinx-doc/sphinx / parse

Method parse

sphinx/pycode/parser.py:607–610  ·  view source on GitHub ↗

Parse the source code.

(self)

Source from the content-addressed store, hash-verified

605 self.overloads: dict[str, list[Signature]] = {}
606
607 def parse(self) -> None:
608 """Parse the source code."""
609 self.parse_comments()
610 self.parse_definition()
611
612 def parse_comments(self) -> None:
613 """Parse the code and pick up comments."""

Callers 6

analyzeMethod · 0.95
parse_commentsMethod · 0.45
splitMethod · 0.45
_publish_msgstrFunction · 0.45
_parse_str_to_doctreeFunction · 0.45
signature_from_strFunction · 0.45

Calls 2

parse_commentsMethod · 0.95
parse_definitionMethod · 0.95

Tested by

no test coverage detected