|
SourceFlow 1.0.beta API Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
IComparable
|
+--CodeElement
|
+--VisualBasicMethod
in VisualBasicMethod.csA class generating a Visual Basic method declaration.
| Field Summary | |
override int |
Category
Returns a numeric category number for the code element. |
const int |
FRIEND
The friend access modifier constant. |
const int |
MUST_OVERRIDE
The must override modifier constant. |
const int |
NOT_OVERRIDABLE
The not overridable modifier constant. |
const int |
OVERLOADS
The overloads modifier constant. |
const int |
OVERRIDABLE
The overridable modifier constant. |
const int |
OVERRIDES
The overrides modifier constant. |
bool |
PrintCode
The print method source code property. |
const int |
PRIVATE
The private access modifier constant. |
const int |
PROTECTED
The protected access modifier constant. |
const int |
PROTECTED_FRIEND
The protected friend access modifier constant. |
const int |
PUBLIC
The public access modifier constant. |
const int |
SHADOWS
The shadows modifier constant. |
const int |
SHARED
The shared modifier constant. |
| Fields inherited from class CodeElement |
Category |
| Constructor Summary | |
VisualBasicMethod( string name )
Creates a new method with the specified name. |
|
VisualBasicMethod( string name, string args )
Creates a new method with the specified name and arguments. |
|
VisualBasicMethod( string name, string args, string returnType )
Creates a new method with the specified arguments. |
|
VisualBasicMethod( int modifiers, string name, string args, string returnType )
Creates a new method with the specified arguments. |
|
| Method Summary | |
void |
AddCode( string codeLines )
Adds one or more lines of actual code. |
virtual void |
AddComment( VisualBasicComment comment )
Sets a comment for this method. |
override void |
Print( StreamWriter output, CodeStyle style, int indent )
Prints the code element to the specified output stream. |
override string |
ToString()
Returns the method name. |
| Methods inherited from class CodeElement |
CompareTo, Print, PrintSeparator |
| Field Detail |
public override int Category;
public const int FRIEND;
public const int MUST_OVERRIDE;
public const int NOT_OVERRIDABLE;
public const int OVERLOADS;
public const int OVERRIDABLE;
public const int OVERRIDES;
public bool PrintCode;
public const int PRIVATE;
public const int PROTECTED;
public const int PROTECTED_FRIEND;
public const int PUBLIC;
public const int SHADOWS;
public const int SHARED;
| Constructor Detail |
public VisualBasicMethod( string name );
name - the method namepublic VisualBasicMethod( string name, string args );
name - the method name
args - the argument list, excluding parenthesispublic VisualBasicMethod( string name, string args, string returnType );
name - the method name
args - the argument list, excluding parenthesis
returnType - the return typepublic VisualBasicMethod( int modifiers, string name, string args, string returnType );
modifiers - the modifier flags to use
name - the method name
args - the argument list, excluding parenthesis
returnType - the return type| Method Detail |
public void AddCode( string codeLines );
codeLines - the lines of Java code to addpublic virtual void AddComment( VisualBasicComment comment );
comment - the new method commentpublic override void Print( StreamWriter output, CodeStyle style, int indent );
output - the output stream
style - the code style to use
indent - the indentation levelpublic override string ToString();
|
SourceFlow 1.0.beta API Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||