fmrisc.AST
Class NegationTerm

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

public final class NegationTerm
extends UnaryExpression

Handling of negated (minus) terms


Constructor Summary
NegationTerm(Expression base)
          construct negation (minus term) of base term
 
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

NegationTerm

public NegationTerm(Expression base)
construct negation (minus term) of base term

Parameters:
base - the base term
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