gov.llnl.babel.backend.python
Class PythonClientC
java.lang.Object
gov.llnl.babel.backend.python.PythonClientC
- Direct Known Subclasses:
- PythonClientCSource, PythonClientStructSource
public class PythonClientC
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
d_lw
protected LanguageWriterForC d_lw
- A writer for the C source file.
d_context
protected Context d_context
d_sym
protected Symbol d_sym
d_shortName
protected java.lang.String d_shortName
PythonClientC
public PythonClientC(Symbol sym,
Context context)
getName
public final java.lang.String getName()
addInclude
protected void addInclude(java.lang.String filename,
boolean useGuard)
explainExtensionSource
public void explainExtensionSource()
- Write a comment explaining the contents of the source file to
anyone who might happen to read it.
pythonDocComment
public void pythonDocComment()
copyComment
public void copyComment(Comment c)
- Convert a comment into a C string.
- Parameters:
c
- the comment to convert