start adding Types for STL utilities
This commit is contained in:
parent
a5be0b17bb
commit
788e6ee58e
2 changed files with 32 additions and 16 deletions
12
stl/types.py
Normal file
12
stl/types.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import typing
|
||||
|
||||
import stl.ast as ast
|
||||
|
||||
ML = typing.Union[ast.AtomicPred, ast.NaryOpSTL, ast.Neg]
|
||||
SL = typing.Union[ast.LinEq, ML]
|
||||
|
||||
STL = typing.Union[SL, ast.ModalOp]
|
||||
MTL = typing.Union[ML, ast.ModalOp]
|
||||
|
||||
PSTL = typing.NewType("PSTL", STL)
|
||||
STL_Generator = typing.Generator[STL, None, STL]
|
||||
Loading…
Add table
Add a link
Reference in a new issue