kdrag.contrib.expr
Functions
|
|
|
|
|
|
|
|
|
Classes
|
|
|
|
|
|
|
|
|
|
|
- class kdrag.contrib.expr.AstRef(ctx: kdrag.contrib.expr.Context)
Bases:
object
- Parameters:
ctx (Context)
- eq(other)
- get_id()
- class kdrag.contrib.expr.ExprRef(ctx: kdrag.contrib.expr.Context, _decl: kdrag.contrib.expr.FuncDeclRef, _args: tuple[kdrag.contrib.expr.AstRef, ...])
Bases:
AstRef
- Parameters:
ctx (Context)
_decl (FuncDeclRef)
_args (tuple[AstRef, ...])
- arg(i)
- children()
- decl()
- eq(other)
- get_id()
- num_args()
- class kdrag.contrib.expr.FuncDeclRef(ctx: kdrag.contrib.expr.Context, _name: str, _domain: tuple[kdrag.contrib.expr.SortRef, ...], _range: kdrag.contrib.expr.SortRef)
Bases:
AstRef
- arity()
- domain(i)
- eq(other)
- get_id()
- name()
- range()
- kdrag.contrib.expr.Function(name, *sig, ctx=None)
- class kdrag.contrib.expr.SortRef(ctx: kdrag.contrib.expr.Context, _kind: object, _name: str)
Bases:
AstRef
- Parameters:
ctx (Context)
_kind (object)
_name (str)
- eq(other)
- get_id()
- kind()
- name()
- class kdrag.contrib.expr.TypeVarRef(ctx: kdrag.contrib.expr.Context)
Bases:
AstRef
- Parameters:
ctx (Context)
- eq(other)
- get_id()
- kdrag.contrib.expr.main_ctx()