fmrisc.AST
Class ExistsFormula

java.lang.Object
  extended byfmrisc.AST.ASTBase
      extended byfmrisc.AST.ExpressionBase
          extended byfmrisc.AST.QuantifiedExpression
              extended byfmrisc.AST.ExistsFormula
All Implemented Interfaces:
AST, Expression

public final class ExistsFormula
extends QuantifiedExpression

Handling of universally quantified formulas.


Constructor Summary
ExistsFormula(TypedIdentifier[] variables, Expression base)
          construct exists formula of variables and base formula
 
Method Summary
 Expression instantiate()
          return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers
 
Methods inherited from class fmrisc.AST.QuantifiedExpression
getBase, getVariables, printCore, substitution
 
Methods inherited from class fmrisc.AST.ExpressionBase
printPriority
 
Methods inherited from class fmrisc.AST.ASTBase
print, printParens, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fmrisc.AST.AST
print, printParens, toString
 

Constructor Detail

ExistsFormula

public ExistsFormula(TypedIdentifier[] variables,
                     Expression base)
construct exists formula of variables and base formula

Parameters:
variables - the quantified variables
base - the base formula
Method Detail

instantiate

public Expression instantiate()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers

Returns:
the instantiated copy