MCPcopy
hub / github.com/pytest-dev/pytest / __init__

Method __init__

src/_pytest/mark/expression.py:75–78  ·  view source on GitHub ↗
(self, input: str)

Source from the content-addressed store, hash-verified

73 __slots__ = ("current", "input", "tokens")
74
75 def __init__(self, input: str) -> None:
76 self.input = input
77 self.tokens = self.lex(input)
78 self.current = next(self.tokens)
79
80 def lex(self, input: str) -> Iterator[Token]:
81 pos = 0

Callers

nothing calls this directly

Calls 1

lexMethod · 0.95

Tested by

no test coverage detected