MCPcopy
hub / github.com/psf/black / pre_order

Method pre_order

src/blib2to3/pytree.py:119–125  ·  view source on GitHub ↗

Return a pre-order iterator for the tree. This must be implemented by the concrete subclass.

(self)

Source from the content-addressed store, hash-verified

117 raise NotImplementedError
118
119 def pre_order(self) -> Iterator[NL]:
120 """
121 Return a pre-order iterator for the tree.
122
123 This must be implemented by the concrete subclass.
124 """
125 raise NotImplementedError
126
127 def replace(self, new: NL | list[NL]) -> None:
128 """Replace this node with a new one in the parent."""

Callers 4

is_complex_subscriptMethod · 0.45
get_features_usedFunction · 0.45
_is_atom_multilineFunction · 0.45
pre_orderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected