fmrisc.AST
Class ForallFormula

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

public final class ForallFormula
extends QuantifiedExpression

Handling of universally quantified formulas.


Constructor Summary
ForallFormula(TypedIdentifier[] variables, Expression base)
          construct forall 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

ForallFormula

public ForallFormula(TypedIdentifier[] variables,
                     Expression base)
construct forall 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