edu.ksu.cis.projects.bogor.ast.transform
Interface IExpCompiler

All Known Implementing Classes:
HighToLowAtomicExpCompiler, HighToLowNonAtomicExpCompiler

public interface IExpCompiler

An IExpCompiler provides an encapsulation of the logic to produce low-level BIR control point graphs which can evaluate nested, high-level BIR expressions.

Version:
CVS $Revision: 1.1 $ $Date: 2005/01/29 04:54:31 $
Author:
Matt Hoosier

Method Summary
 Exp compileExp(HighToLowBIRCompiler birc, Exp e, ExpBindingResolver ebr, Wrapper<Boolean> enteredAtomic)
          Do a pre-order traversal which yields an expression containing a low-level BIR expression containing the evaluation of e.
 

Method Detail

compileExp

Exp compileExp(HighToLowBIRCompiler birc,
               Exp e,
               ExpBindingResolver ebr,
               Wrapper<Boolean> enteredAtomic)
Do a pre-order traversal which yields an expression containing a low-level BIR expression containing the evaluation of e.

Parameters:
birc - destination for new control points
e - high-level BIR expression to be translated
enteredAtomic - container whose Wrapper.elementelement will be set to Boolean.TRUEif the BIR command sequence necessary to evaluate e enters an atomic block