feat!(py): expose boolean semantics to Python
This commit is contained in:
parent
c42f892099
commit
e6ef427e2f
8 changed files with 221 additions and 40 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from argus import _argus
|
||||
from argus._argus import *
|
||||
from argus._argus import * # noqa: F401
|
||||
|
||||
__all__ = []
|
||||
|
||||
|
|
|
|||
|
|
@ -158,3 +158,11 @@ class FloatSignal(Signal):
|
|||
@staticmethod
|
||||
def from_samples(samples: List[Tuple[float, float]]) -> FloatSignal: ...
|
||||
def push(self, time, value): ...
|
||||
|
||||
@final
|
||||
class Trace: ...
|
||||
|
||||
@final
|
||||
class BooleanSemantics:
|
||||
@staticmethod
|
||||
def eval(expr: BoolExpr, trace: Trace) -> BoolSignal: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue