Class LetTerm

java.lang.Object
de.uni_freiburg.informatik.ultimate.logic.Term
de.uni_freiburg.informatik.ultimate.logic.LetTerm

public class LetTerm
extends Term
Representation of a let term. This class represents the SMTLIB 2 construct
 (let ((var_0 val_0) ... (var_n val_n)) ...)
 
A let term is created by Script.let(TermVariable[], Term[], Term).
Author:
hoenicke
  • Method Details

    • getVariables

      public TermVariable[] getVariables()
      Returns:
      The variables
    • getValues

      public Term[] getValues()
      Returns:
      The values
    • getSubTerm

      public Term getSubTerm()
      Returns:
      The subformula
    • getSort

      public Sort getSort()
      Description copied from class: Term
      Returns the SMTLIB sort of this term.
      Specified by:
      getSort in class Term
      Returns:
      the sort of the term.
    • hashLet

      public static final int hashLet​(TermVariable[] vars, Term[] values, Term subform)
    • toStringHelper

      public void toStringHelper​(java.util.ArrayDeque<java.lang.Object> mTodo)
      Description copied from class: Term
      Convert a term to a string in a stack based fashion. This is used for internal purposes. External users can just use toString() or toStringDirect().
      Specified by:
      toStringHelper in class Term
      Parameters:
      mTodo - The stack where to put the strings and sub terms.
      See Also:
      PrintTerm