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

Class PositiveLookahead

Tools/peg_generator/pegen/grammar.py:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224
225class PositiveLookahead(Lookahead):
226 def __init__(self, node: Plain):
227 super().__init__(node, "&")
228
229 def __repr__(self) -> str:
230 return f"PositiveLookahead({self.node!r})"
231
232
233class NegativeLookahead(Lookahead):

Callers 1

lookaheadMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…