All Downloads are FREE. Search and download functionalities are using the official Maven repository.

z3-z3-4.13.0.src.api.dotnet.SeqExpr.cs Maven / Gradle / Ivy

The newest version!
/*++
Copyright () 2016 Microsoft Corporation

Module Name:

    SeqExpr.cs

Abstract:

    Z3 Managed API: Sequence Expressions

Author:

    Christoph Wintersteiger (cwinter) 2012-11-23

Notes:
    
--*/
using System.Diagnostics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Microsoft.Z3
{
    /// 
    /// Sequence expressions
    /// 
    public class SeqExpr : Expr
    {
        #region Internal
        ///  Constructor for SeqExpr 
        internal SeqExpr(Context ctx, IntPtr obj)
            : base(ctx, obj)
        {
            Debug.Assert(ctx != null);
        }
        #endregion

        ///  Access the nth element of a sequence 
        public Expr this[Expr index] 
        {
            get { return Context.MkNth(this, index); }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy