construct-typing/construct-stubs/debug.pyi
2020-12-12 13:17:27 +01:00

12 lines
346 B
Python

import typing as t
from construct.core import Construct, Subconstruct
from construct.core import Context
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]): ...