sisc.exprs.fp
Interface OptimisticHost

All Known Implementing Classes:
AnnotatedExpr, AppExp, EvalExp, FillRibExp, FixedAppExp_1, FixedAppExp_2, FixedAppExp_3, IfEval, LetrecEval, LetrecExp

public interface OptimisticHost

An Optimistic uExp Host Expression provides a callback for child uExps to call if they need to revert to safer expressions.

Author:
scgmille TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Method Summary
 void alter(Interpreter r, int uexpPosition, Expression replaceWith)
          Instructs the host to replace the uExp referenced at the given (Expression dependent) position, with the given Expression.
 void setHosts()
           
 

Method Detail

alter

void alter(Interpreter r,
           int uexpPosition,
           Expression replaceWith)
Instructs the host to replace the uExp referenced at the given (Expression dependent) position, with the given Expression.

Parameters:
uexpPosition - Expression dependent uExp index
replaceWith - Expression to revert to

setHosts

void setHosts()