gov.llnl.babel.backend.ior
Class GenerateIORServer
java.lang.Object
gov.llnl.babel.backend.ior.GenerateIORServer
- CodeGenerator, ContextAware
public class GenerateIORServer
extends java.lang.Object
Class GenerateIORClient
is the main entry point for the IOR
code generation routines. This class calls the IOR header and source
file generation routines. It is assumed that all symbols necessary
to generate IOR code are available in the symbol table, which can be
guaranteed by calling resolveAllReferences
on the symbol
table.
GenerateIORServer
public GenerateIORServer()
The constructor does nothing interesting. The entry point for
the GenerateIORClient
class is generateCode
.
generateCode
public void generateCode(Set symbols)
throws CodeGenerationException
Generate IOR code for each symbol identifier in the set argument.
This routine assumes that all necessary symbol references are available
in the symbol table.
- generateCode in interface CodeGenerator