Class Pattern

  • All Implemented Interfaces:
    Comparable<AST>

    public class Pattern
    extends AST
    Patterns comprise a list of terms. The list should be non-empty. If the list comprises of more than one term, it is also called a multi-pattern.
    • Method Detail

      • getNumTerms

        public int getNumTerms()
        The number of terms in the pattern.
      • getTerms

        public Expr<?>[] getTerms()
        The terms in the pattern.
        Throws:
        Z3Exception
      • toString

        public String toString()
        A string representation of the pattern.
        Overrides:
        toString in class AST