|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.babel.backend.fortran.ModuleSource
This class provides the ability to write a FORTRAN 90 module for a SIDL class/interface.
Constructor Summary | |
ModuleSource(LanguageWriterForFortran writer)
Generate an instance to write the module for a FORTRAN 90 client. |
Method Summary | |
static java.util.Set |
extendedReferences(Extendable ext)
|
void |
generateCode(Enumeration enum)
Generate the FORTRAN 90 module file for a SIDL enumerated type. |
void |
generateCode(Extendable ext)
Generate the FORTRAN 90 module file for a SIDL class. |
static void |
generateCode(Symbol sym,
LanguageWriterForFortran writer)
Generate the FORTRAN 90 module file for a SIDL class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModuleSource(LanguageWriterForFortran writer)
writer
- the output device to which the FORTRAN 90 module
should be written.Method Detail |
public static java.util.Set extendedReferences(Extendable ext) throws CodeGenerationException
CodeGenerationException
public void generateCode(Extendable ext) throws CodeGenerationException
ext
- the SIDL class whose module is to be written.
CodeGenerationException
- a catch all exception to indicate problems in the code generation
phase.public void generateCode(Enumeration enum) throws CodeGenerationException
enum
- the SIDL enumeration whose module is to be written.
CodeGenerationException
- a catch all exception to indicate problems in the code generation
phase.public static void generateCode(Symbol sym, LanguageWriterForFortran writer) throws CodeGenerationException
CodeGenerationException
- a catch all exception to indicate problems in the code generation
phase.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |