Org.SourceFlow.C
Class CComment
IComparable
|
+--CodeElement
|
+--CComment
in CComment.cs
- public class CComment
- extends CodeElement
A class generating a C comment.
|
Field Summary |
override int |
Category
Returns a numeric category number for the code element. |
|
Constructor Summary |
CComment( string comment )
Creates a new comment. |
|
Method Summary |
override void |
Print( StreamWriter output, CodeStyle style, int indent )
Prints the code element to the specified output stream. |
Category
public override int Category;
- Returns a numeric category number for the code element. A
lower category number implies that the code element should
be placed before code elements with a higher category
number within a declaration.
- Returns:
- the category number
CComment
public CComment( string comment );
- Creates a new comment.
- Parameters:
comment - the comment text
Print
public override void Print( StreamWriter output, CodeStyle style, int indent );
- Prints the code element to the specified output stream.
- Parameters:
output - the output stream
style - the code style to use
indent - the indentation level