sx: expose BaseExpr in API

This commit is contained in:
Shiz 2021-06-26 15:39:45 +02:00
parent 0b592af0e6
commit 853807b4ef
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from .core import parse, dump, sizeof, offsetof, default, to_type
from .core.base import Context, Type
from .core.io import Stream, Segment
from .core.meta import Wrapper, Generic
from .core.expr import Expr
from .core.expr import BaseExpr, Expr
from .types.data import Nothing, Static, Ignored, Data, data
from .types.num import *
@ -15,7 +15,8 @@ from .types.io import AlignTo, AlignedTo
__all__ = [x.__name__ for x in {
parse, dump, sizeof, offsetof, default, to_type,
Context, Type, Stream, Segment, Expr,
Context, Type, Stream, Segment, BaseExpr, Expr,
Wrapper, Default, Sized, Ref, Transform, Mapped, Enum,
Switch, If,
AlignTo, AlignedTo,