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

Class MarkedDeclaration

mypyc/codegen/emitmodule.py:115–120  ·  view source on GitHub ↗

Add a mark, useful for topological sort.

Source from the content-addressed store, hash-verified

113
114
115class MarkedDeclaration:
116 """Add a mark, useful for topological sort."""
117
118 def __init__(self, declaration: HeaderDeclaration, mark: bool) -> None:
119 self.declaration = declaration
120 self.mark = False
121
122
123class MypycPlugin(Plugin):

Callers 1

toposort_declarationsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…