fmrisc.AST
Class LambdaTerm

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

public final class LambdaTerm
extends QuantifiedExpression

Handling of lambda terms.


Constructor Summary
LambdaTerm(TypedIdentifier[] variables, Expression base)
          construct lambda term of variables and 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.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

LambdaTerm

public LambdaTerm(TypedIdentifier[] variables,
                  Expression base)
construct lambda term of variables and base term

Parameters:
variables - the quantified variables
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