public class LanguageWriterForSidl extends LanguageWriter implements CodeConstants
LanguageWriterForSidl extends the generic language
writer to provide additional capabilities for writing sidl code.d_contextC_AUTO_GEN_SPLICER, C_AUTO_GEN_WARNING, C_BACKSLASH, C_BEGIN_UNREFERENCED_METHODS, C_COMMENT_CLOSE, C_COMMENT_DOC_OPEN, C_COMMENT_F77, C_COMMENT_F90, C_COMMENT_HASH, C_COMMENT_OPEN, C_COMMENT_SLASH, C_COMMENT_SUBSEQUENT, C_DEFINE, C_DESC_CJNI_PREFIX, C_DESC_HEADER_PREFIX, C_DESC_IMPL_PREFIX, C_DESC_IOR_PREFIX, C_DESC_SJNI_PREFIX, C_DESC_SKEL_PREFIX, C_DESC_STUB_PREFIX, C_END_UNREFERENCED_METHODS, C_F77_IMPL_EXTENSION, C_F77_IMPL_METHOD_SUFFIX, C_F77_METHOD_SUFFIX, C_F77_VERSION, C_F7731_IMPL_EXTENSION, C_F90_ALT_SUFFIX, C_F90_IMPL_EXTENSION, C_F90_IMPL_METHOD_SUFFIX, C_F90_METHOD_SUFFIX, C_F90_VERSION, C_FORTRAN_DESC_STUB_PREFIX, C_FORTRAN_IMPL_MODULE_PREFIX, C_FORTRAN_MODULE_PREFIX, C_FORTRAN_TYPE_MODULE_PREFIX, C_GUARD_CLOSE, C_GUARD_OPEN, C_HASH, C_IFDEFINE_CLOSE, C_IFDEFINE_CXX, C_IFDEFINE_OPEN, C_INCLUDE, C_INSERT_HERE, C_INT_BACKSLASH, C_IS_IMPL, C_IS_NOT_IMPL, C_SLASH, C_UNREFERENCED_COMMENT1, C_UNREFERENCED_COMMENT2, C_UNREFERENCED_COMMENT3, MATLAB_COMMENT_OPEN| Constructor and Description |
|---|
LanguageWriterForSidl(java.io.PrintWriter writer,
Context context)
Create a
LanguageWriterForSidl instance that will send
output to the specified print writer object. |
| Modifier and Type | Method and Description |
|---|---|
void |
beginBlockComment(boolean is_doc)
Begin a block comment.
|
void |
endBlockComment(boolean is_doc)
End a block comment.
|
java.lang.String |
safeCommentString(java.lang.String str)
Convert a string into something that is safe to include inside a sidl
comment string.
|
void |
writeCommentLine(java.lang.String comment)
Output a single-line comment to the pretty writer stream.
|
void |
writeSplicerTagLine(java.lang.String tagLine)
(Is this appropriate?) Write the splicer tag as a language-specific
comment.
|
writeBanner, writeComment, writeComment, writeComment, writeComment, writeComment, writeComment, writeCommentbackTab, changeTabLevel, close, defineBlockComment, disableBlockComment, disableLineBreak, enableBlockComment, enableLineBreak, enableLineBreak, flushPrintWriter, getPrintWriter, popLineBreak, print, printAligned, println, println, printlnUnformatted, printSpaces, printUnformatted, pushLineBreak, restoreFirstTabStop, setFirstTabStop, setLineBreakString, setStrictBreaking, setTabSpacing, setTemporaryFirstTabStop, tabpublic LanguageWriterForSidl(java.io.PrintWriter writer,
Context context)
LanguageWriterForSidl instance that will send
output to the specified print writer object. Set up the output
properties of the language writer for sidl, which sets the first tab
stop at zero, a tab spacing of three, and line breaking at column
eighty.public void beginBlockComment(boolean is_doc)
beginBlockComment in class LanguageWriterpublic void endBlockComment(boolean is_doc)
endBlockComment in class LanguageWriterpublic void writeSplicerTagLine(java.lang.String tagLine)
writeSplicerTagLine in class LanguageWriterpublic final java.lang.String safeCommentString(java.lang.String str)
safeCommentString in class LanguageWriterstr - the string to make safe for inclusion inside a
comment.public void writeCommentLine(java.lang.String comment)
writeCommentLine in class LanguageWritercomment - a single line comment to include in the outputLanguageWriter.safeCommentString(java.lang.String)