|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.llnl.babel.backend.fortran.StubDoc
This class provides the ability to write a FORTRAN file with a subroutine template for each method the end user has to implement to implement a SIDL class. The class will retain the previous user provided implmentation when overwriting a implementation file.
| Constructor Summary | |
StubDoc(LanguageWriterForFortran writer)
Generate an instance to generate documentation for a FORTRAN client. |
|
| Method Summary | |
static Method |
createCast(SymbolID id)
|
static Method |
createCastTwo(SymbolID id)
|
void |
generateCode(Extendable ext)
Generate the implementation FORTRAN file for a SIDL class. |
static void |
generateCode(Symbol sym,
LanguageWriterForFortran writer)
Generate the implementation FORTRAN 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 StubDoc(LanguageWriterForFortran writer)
writer - the output device to which the FORTRAN documentation
should be written.| Method Detail |
public static Method createCast(SymbolID id)
public static Method createCastTwo(SymbolID id)
public void generateCode(Extendable ext)
throws CodeGenerationException
ext - the SIDL class whose implementation 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 | |||||||||