|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.babel.backend.c.StubHeader
Class StubHeader
writes a C client header to a language
writer output stream. The constructor takes a language writer stream
and method generateCode
writes the C client header code
for the specified symbol to the output stream. The language writer
output stream is not closed by this object.
Constructor Summary | |
StubHeader(LanguageWriterForC writer)
Create a StubHeader object that will write symbol
information to the provided output language writer stream. |
Method Summary | |
void |
generateCode(Symbol symbol)
Write C client header information for the provided symbol to the language writer output stream provided in the constructor. |
static void |
generateCode(Symbol symbol,
LanguageWriterForC writer)
This is a convenience utility function that writes the C client header information into the provided language writer output stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StubHeader(LanguageWriterForC writer)
StubHeader
object that will write symbol
information to the provided output language writer stream.
writer
- the output writer to which the header will
be written. This will not be closed.Method Detail |
public static void generateCode(Symbol symbol, LanguageWriterForC writer) throws CodeGenerationException
symbol
- the symbol for which a C client header will
be written.writer
- the output writer to which the header will
be written. This will not be closed.
gov.llnl.backend.CodeGenerationException
- this is a catch all exception. It can be caused by I/O trouble or
violations of the data type invariants.
CodeGenerationException
public void generateCode(Symbol symbol) throws CodeGenerationException
symbol
- the Symbol
whose header will be
written.
CodeGenerationException
- this is a catch all exception. It can be caused by I/O trouble
or violations of the data type invariants.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |