Z3
SeqExpr.cs
Go to the documentation of this file.
1/*++
2Copyright (<c>) 2016 Microsoft Corporation
3
4Module Name:
5
6 SeqExpr.cs
7
8Abstract:
9
10 Z3 Managed API: Sequence Expressions
11
12Author:
13
14 Christoph Wintersteiger (cwinter) 2012-11-23
15
16Notes:
17
18--*/
19using System.Diagnostics;
20using System;
21using System.Collections.Generic;
22using System.Linq;
23using System.Text;
24
25
26namespace 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}
The main interaction with Z3 happens via the Context.
Definition: Context.cs:32
Expr MkNth(SeqExpr s, Expr index)
Retrieve element at index.
Definition: Context.cs:2490
Expressions are terms.
Definition: Expr.cs:31
Sequence expressions
Definition: SeqExpr.cs:32