12 lines
333 B
Python
12 lines
333 B
Python
import typing as t
|
|
|
|
from construct.core import Construct, Context, Subconstruct
|
|
|
|
ContextLambda = t.Callable[[Context], t.Any]
|
|
|
|
class Probe(Construct[None, None]):
|
|
def __init__(
|
|
self, into: t.Optional[ContextLambda] = ..., lookahead: int = ...
|
|
) -> None: ...
|
|
|
|
class Debugger(Subconstruct[None, None, None, None]): ...
|