|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.sourceflow.CodeElement
org.sourceflow.visualbasic.VisualBasicComment
A class generating a Visual Basic comment.
| Field Summary | |
static int |
DOCUMENTATION
The documentation comment type. |
static int |
SINGLELINE
The single line comment type. |
| Constructor Summary | |
VisualBasicComment(int type,
java.lang.String comment)
Creates a new comment of the specified type. |
|
VisualBasicComment(java.lang.String comment)
Creates a new documentation comment with no indentation. |
|
| Method Summary | |
int |
category()
Returns a numeric category number for the code element. |
void |
print(java.io.PrintWriter out,
CodeStyle style,
int indent)
Prints the comment to the specified stream. |
| Methods inherited from class org.sourceflow.CodeElement |
compareTo, printSeparator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DOCUMENTATION
public static final int SINGLELINE
| Constructor Detail |
public VisualBasicComment(java.lang.String comment)
comment - the comment text
public VisualBasicComment(int type,
java.lang.String comment)
type - the comment typecomment - the comment textDOCUMENTATION,
SINGLELINE| Method Detail |
public int category()
category in class CodeElement
public void print(java.io.PrintWriter out,
CodeStyle style,
int indent)
print in class CodeElementout - the output streamstyle - the code style to useindent - the indentation level
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||