|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.llnl.babel.backend.fortran.StubDoc
public class 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,
Context context)
Generate an instance to generate documentation for a FORTRAN client. |
|
| Method Summary | |
|---|---|
void |
generateCode(Extendable ext)
Generate the implementation FORTRAN file for a sidl class. |
static void |
generateCode(Symbol sym,
LanguageWriterForFortran writer,
Context context)
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,
Context context)
writer - the output device to which the FORTRAN documentation
should be written.| Method Detail |
|---|
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,
Context context)
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 | ||||||||