class Z3::Ast

Defined in:

z3/ast.cr
z3/ast/arithmetic_operators.cr:1
z3/ast/arithmetic_operators.cr:15
z3/ast/compare_operators.cr:1
z3/ast/compare_operators.cr:27
z3/ast/logic_operators.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(context : Context, raw : LibZ3::Ast) #

[View source]

Instance Method Detail

def !=(b : self) : self #

[View source]
def !=(v : Int) : self #

[View source]
def *(b : self) : self #

[View source]
def *(v : Int) : self #

[View source]
def +(b : self) : self #

[View source]
def +(v : Int) : self #

[View source]
def -(b : self) : self #

[View source]
def -(v : Int) : self #

[View source]
def <(b : self) : self #

[View source]
def <(v : Int) : self #

[View source]
def <=(b : self) : self #

[View source]
def <=(v : Int) : self #

[View source]
def ==(b : self) : self #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def ==(v : Int) : self #

[View source]
def >(b : self) : self #

[View source]
def >(v : Int) : self #

[View source]
def >=(b : self) : self #

[View source]
def >=(v : Int) : self #

[View source]
def ^(b : self) : self #

[View source]
def and(b : self) : self #

[View source]
def context : Context #

[View source]
def finalize #

[View source]
def implies(b : self) : self #

[View source]
def or(b : self) : self #

NOTE Unable to overide || operator in Crystal due to semantics


[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def to_unsafe : LibZ3::Ast #

[View source]