Z3
src
api
dotnet
SeqExpr.cs
Go to the documentation of this file.
1
/*++
2
Copyright (<c>) 2016 Microsoft Corporation
3
4
Module Name:
5
6
SeqExpr.cs
7
8
Abstract:
9
10
Z3 Managed API: Sequence Expressions
11
12
Author:
13
14
Christoph Wintersteiger (cwinter) 2012-11-23
15
16
Notes:
17
18
--*/
19
using
System.Diagnostics;
20
using
System;
21
using
System.Collections.Generic;
22
using
System.Linq;
23
using
System.Text;
24
25
26
namespace
Microsoft.Z3
27
{
31
public
class
SeqExpr
:
Expr
32
{
33
#region Internal
35
internal
SeqExpr
(
Context
ctx, IntPtr obj)
36
: base(ctx, obj)
37
{
38
Debug.Assert(ctx !=
null
);
39
}
40
#endregion
41
43
public
Expr
this
[
Expr
index]
44
{
45
get
{
return
Context
.
MkNth
(
this
, index); }
46
}
47
}
48
}
Microsoft.Z3.Context
The main interaction with Z3 happens via the Context.
Definition:
Context.cs:32
Microsoft.Z3.Context.MkNth
Expr MkNth(SeqExpr s, Expr index)
Retrieve element at index.
Definition:
Context.cs:2490
Microsoft.Z3.Expr
Expressions are terms.
Definition:
Expr.cs:31
Microsoft.Z3.SeqExpr
Sequence expressions
Definition:
SeqExpr.cs:32
Microsoft.Z3
Definition:
AlgebraicNum.cs:27
Generated on Sat Jun 4 2022 07:10:05 for Z3 by
1.9.3