public class RMIStubSource
extends java.lang.Object
RMIStubSource
generates an IOR implementation source
file to a language writer output stream. The constructor takes a language
writer stream and method generateCode
generates intermediate
object representation for the specified symbol to the output stream. The
language writer output stream is not closed by this object.Constructor and Description |
---|
RMIStubSource(LanguageWriterForC writer,
Context context)
Create a
RMIStubSource object that will write symbol
information to the provided output writer stream. |
Modifier and Type | Method and Description |
---|---|
void |
generateCode(Symbol symbol)
Write IOR source information for the provided symbol to the language writer
output stream provided in the constructor.
|
static void |
generateCode(Symbol symbol,
LanguageWriterForC writer,
Context context)
This is a convenience utility function that writes the symbol source
information into the provided language writer output stream.
|
static void |
generateCodeNoIncludes(Symbol symbol,
LanguageWriterForC writer,
Context context)
Feature allows one to generate includes and code seperately.
|
void |
generateConnectInternal(Extendable ext) |
static void |
generateExternalSignature(LanguageWriter lw,
Symbol sym,
java.lang.String terminator) |
static void |
generateIncludes(Symbol symbol,
LanguageWriterForC writer,
Context context)
Feature allows one to generate includes and code seperately.
|
public RMIStubSource(LanguageWriterForC writer, Context context)
RMIStubSource
object that will write symbol
information to the provided output writer stream.public static void generateCode(Symbol symbol, LanguageWriterForC writer, Context context) throws CodeGenerationException
CodeGenerationException
public static void generateIncludes(Symbol symbol, LanguageWriterForC writer, Context context) throws CodeGenerationException
CodeGenerationException
public static void generateCodeNoIncludes(Symbol symbol, LanguageWriterForC writer, Context context) throws CodeGenerationException
CodeGenerationException
public void generateCode(Symbol symbol) throws CodeGenerationException
CodeGenerationException
public static void generateExternalSignature(LanguageWriter lw, Symbol sym, java.lang.String terminator)
public void generateConnectInternal(Extendable ext)