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
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 pointse
- high-level BIR expression to be translatedenteredAtomic
- container whose Wrapper.element
element will be set to
Boolean.TRUE
if the BIR command sequence
necessary to evaluate e
enters an atomic block