|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.llnl.babel.backend.writers.PrettyWriter
|
+--gov.llnl.babel.backend.writers.LanguageWriter
|
+--gov.llnl.babel.backend.writers.LanguageWriterForSidl
Class LanguageWriterForSidl extends the generic language
writer to provide additional capabilities for writing SIDL code.
| Field Summary |
| Constructor Summary | |
LanguageWriterForSidl(java.io.PrintWriter writer)
Create a LanguageWriterForSidl instance that will send
output to the specified print writer object. |
|
| Method Summary | |
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. |
| Methods inherited from class gov.llnl.babel.backend.writers.LanguageWriter |
writeBanner, writeComment, writeComment, writeComment, writeComment, writeComment, writeComment, writeComment |
| Methods inherited from class gov.llnl.babel.backend.writers.PrettyWriter |
changeTabLevel, close, decreaseTabLevel, defineBlockComment, disableBlockComment, disableLineBreak, enableBlockComment, enableLineBreak, enableLineBreak, getPrintWriter, increaseTabLevel, print, printAligned, println, println, printlnUnformatted, printSpaces, printUnformatted, restoreFirstTabStop, setFirstTabStop, setLineBreakString, setTabSpacing, setTemporaryFirstTabStop, tab, tab |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LanguageWriterForSidl(java.io.PrintWriter writer)
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.
| Method Detail |
public void beginBlockComment(boolean is_doc)
beginBlockComment in class LanguageWriterpublic void endBlockComment(boolean is_doc)
endBlockComment in class LanguageWriterpublic final java.lang.String safeCommentString(java.lang.String str)
safeCommentString in class LanguageWriterpublic void writeCommentLine(java.lang.String comment)
writeCommentLine in class LanguageWritercomment - a single line comment to include in the outputLanguageWriter.safeCommentString(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||