Merge pull request #30 from adamrimon/feature/inner_construct_methods
Internal Construct methods
This commit is contained in:
commit
ef933cc06d
1 changed files with 4 additions and 0 deletions
|
|
@ -138,6 +138,10 @@ class Construct(t.Generic[ParsedType, BuildTypes]):
|
|||
def __getitem__(
|
||||
self, count: t.Union[int, t.Callable[[Context], int]]
|
||||
) -> Array[ParsedType, BuildTypes,]: ...
|
||||
def _parse(self, stream: StreamType, context: Context, path: PathType) -> ParsedType: ...
|
||||
def _parsereport(self, stream: StreamType, context: Context, path: PathType) -> ParsedType: ...
|
||||
def _build(self, obj: BuildTypes, stream: StreamType, context: Context, path: PathType) -> int: ...
|
||||
def _sizeof(self, context: Context, path: PathType) -> int: ...
|
||||
|
||||
@t.type_check_only
|
||||
class Context(Container[t.Any]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue