|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ASArg
A parameter in a method or function definition.
FunctionCommon.addParam(String, String)
,
FunctionCommon.getArgs()
Method Summary | |
---|---|
java.lang.String |
getDefaultString()
Returns a String representation of the default value for the argument (if no value is provided by the calling code), or null if there is no default. |
java.lang.String |
getDescriptionString()
Returns the description of this parameter from the documentation comment attached to the enclosing method, or null, if there is no such comment, or it lacks a @param paragraph with a name matching this parameter. |
java.lang.String |
getName()
Returns the name of this ActionScript method argument |
java.lang.String |
getType()
Returns the name of this parameter's type, or null if the parameter is untyped. |
boolean |
isRest()
Returns true if this is a 'rest' parameter; an array that will hold remaning arguments passed after the other formal arguments. |
void |
setDefault(java.lang.String string)
Specifies the compile-time-constant value that will be the default for the argument if no value is provided by the calling code. |
void |
setDescription(java.lang.String description)
Defines the descriptive text for for this parameter in the documentation comment attached to the enclosing method. |
void |
setType(java.lang.String string)
Defines the name of the type of object this parameter may reference. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getType()
void setType(java.lang.String string)
void setDefault(java.lang.String string)
java.lang.String getDefaultString()
setDefault(String)
boolean isRest()
java.lang.String getDescriptionString()
void setDescription(java.lang.String description)
SyntaxException
- if the given
text contains an end-of-comment marker, or appears to
include another tagged paragraphDocComment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |