Z3
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions
SeqSortRef Class Reference

Strings, Sequences and Regular expressions. More...

+ Inheritance diagram for SeqSortRef:

Public Member Functions

def is_string
 
def basis
 
- Public Member Functions inherited from SortRef
def as_ast
 
def get_id
 
def kind
 
def subsort
 
def cast
 
def name
 
def __eq__
 
def __ne__
 
def __hash__
 
- Public Member Functions inherited from AstRef
def __init__
 
def __del__
 
def __deepcopy__
 
def __str__
 
def __repr__
 
def __eq__
 
def __hash__
 
def __nonzero__
 
def __bool__
 
def sexpr
 
def as_ast
 
def get_id
 
def ctx_ref
 
def eq
 
def translate
 
def __copy__
 
def hash
 
- Public Member Functions inherited from Z3PPObject
def use_pp
 

Additional Inherited Members

- Data Fields inherited from AstRef
 ast
 
 ctx
 

Detailed Description

Strings, Sequences and Regular expressions.

Sequence sort.

Definition at line 9922 of file z3py.py.

Member Function Documentation

def basis (   self)

Definition at line 9936 of file z3py.py.

9937  def basis(self):
9938  return _to_sort_ref(Z3_get_seq_sort_basis(self.ctx_ref(), self.ast), self.ctx)
9939 
Z3_sort Z3_API Z3_get_seq_sort_basis(Z3_context c, Z3_sort s)
Retrieve basis sort for sequence sort.
def ctx_ref
Definition: z3py.py:352
def is_string (   self)
Determine if sort is a string
>>> s = StringSort()
>>> s.is_string()
True
>>> s = SeqSort(IntSort())
>>> s.is_string()
False

Definition at line 9925 of file z3py.py.

9926  def is_string(self):
9927  """Determine if sort is a string
9928  >>> s = StringSort()
9929  >>> s.is_string()
9930  True
9931  >>> s = SeqSort(IntSort())
9932  >>> s.is_string()
9933  False
9934  """
9935  return Z3_is_string_sort(self.ctx_ref(), self.ast)
def is_string
Definition: z3py.py:9925
bool Z3_API Z3_is_string_sort(Z3_context c, Z3_sort s)
Check if s is a string sort.
def ctx_ref
Definition: z3py.py:352