Previous | Next | Frames | No Frames |
Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--com.as2doc.CTestSuperClass | +--com.as2doc.examples.CTest
myTest = new CTest(p1[, p2]); trace(CTest.ClassName); trace(myTest.aProperty); function test() { // Some code in here trace(CTest.ClassName); } test();
Field Summary | ||
public static | _maxPosition: Number | |
The maximum position to index into a string. | ||
public static | _newPosition: Number | |
Position which may appear in the future. | ||
public | x: Number | |
Documentation generates two fields entries with this comment. | ||
public | y: Number | |
Documentation generates two fields entries with this comment. | ||
| ||
| ||
Property Summary | ||
public | aProperty: String (read-only) | |
This property will display as read-only as there is no set method defined | ||
static | ClassName: String (read) | |
This is defined as a property. It's read value type is a String. | ||
static | ClassName: Number (write) | |
The read,write types of this property differ. | ||
| ||
Constructor | ||
public | CTest ( p1: String, p2: String) | |
First line is the short description. | ||
Method Summary | ||
public | implementThisMethod ( Parameter1: String, Parameter2: Object ): String | |
This method implements the ITest interface method and shows comment inheritance | ||
public | methodOne ( p1: Number, p2: Number, p3: String ): CTest | |
Method with return type and parameters. | ||
public | methodTwo ( delim: String, p2: Number ): String | |
Method which is excluded from documentation and throws an error. | ||
public | returnOne ( ): Number | |
Also supported documentation style using // only. | ||
| ||
| ||
public static var _maxPosition: Number |
The maximum position to index into a string. |
public static var _newPosition: Number |
Position which may appear in the future. |
public var x: Number |
Documentation generates two fields entries with this comment. |
public var y: Number |
Documentation generates two fields entries with this comment. |
|
This property will display as read-only as there is no set method defined A description is still possible on property access level |
|
This is defined as a property. It's read value type is a String.
|
|
The read,write types of this property differ.
|
|
First line is the short description. This is a sample constructor.
| ||||||
|
|
This method implements the ITest interface method and shows comment inheritance Any class which implements this method and is missing comments (@param) which are available in the interface, inherit these in the final documentation. | ||||||
|
|
Method with return type and parameters. If this method returns true , everything is alright. The parameter order of p1, p2 and p3 is random within the documentation and the parameter names have been added.
| |||||||||
|
|
Method which is excluded from documentation and throws an error.
| ||||||
|
|
Also supported documentation style using // only. Testing simple // commenting in multiple lines
|
|
Code is shown correctly
test code
. HTML Tags work like they are supposed to:And more code:
In-line picture:
Documentation Root Directory: ../../../
Some inline links: com.as2doc.CTestSuperClass
Another one links to the returnOne member.