fmrisc.AST
Class NotFormula

java.lang.Object
  extended byfmrisc.AST.ASTBase
      extended byfmrisc.AST.ExpressionBase
          extended byfmrisc.AST.UnaryExpression
              extended byfmrisc.AST.NotFormula
All Implemented Interfaces:
AST, Expression

public final class NotFormula
extends UnaryExpression

Handling of negations


Constructor Summary
NotFormula(Expression base)
          construct negation (not formula) of 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.UnaryExpression
getBase, printCore
 
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

NotFormula

public NotFormula(Expression base)
construct negation (not formula) of base formula

Parameters:
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