gov.llnl.babel.backend.python
public class PythonClientC extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Context |
d_context |
protected LanguageWriterForC |
d_lw
A writer for the C source file.
|
protected java.lang.String |
d_shortName |
protected Symbol |
d_sym |
Constructor and Description |
---|
PythonClientC(Symbol sym,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
addInclude(java.lang.String filename,
boolean useGuard) |
void |
copyComment(Comment c)
Convert a comment into a C string.
|
void |
explainExtensionSource()
Write a comment explaining the contents of the source file to
anyone who might happen to read it.
|
java.lang.String |
getName() |
void |
pythonDocComment() |
protected LanguageWriterForC d_lw
protected Context d_context
protected Symbol d_sym
protected java.lang.String d_shortName
public final java.lang.String getName()
protected void addInclude(java.lang.String filename, boolean useGuard)
public void explainExtensionSource()
public void pythonDocComment()
public void copyComment(Comment c)
c
- the comment to convert