gov.llnl.babel.backend.c
Class GenerateClientC
java.lang.Object
gov.llnl.babel.backend.c.GenerateClientC
- CodeGenerator, ContextAware
public class GenerateClientC
extends java.lang.Object
Class GenerateClientC
is the main entry point for the C
client-side code generation routines. This class generates the header
and the stub files. It is assumed that all symbols necessary to generate
C code are available in the symbol table.
GenerateClientC
public GenerateClientC()
The constructor does nothing interesting. The entry point for
the GenerateClientC
class is generateCode
.
generateCode
public void generateCode(Set symbols)
throws CodeGenerationException
Generate C client-side 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