uk.co.badgersinfoil.metaas.dom
Interface ASArg


public interface ASArg

Definition of a method parameter.

See Also:
ASMethod.addParam(String, String), ASMethod.getArgs()

Method Summary
 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.
 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 setType(java.lang.String string)
          Defines the name of the type of object this parameter may reference.
 

Method Detail

getName

java.lang.String getName()
Returns the name of this ActionScript method argument


getType

java.lang.String getType()
Returns the name of this parameter's type, or null if the parameter is untyped.


setType

void setType(java.lang.String string)
Defines the name of the type of object this parameter may reference. May be set to null, denoting that the value is untyped.


setDefault

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.



Copyright © 2006-2007 David Holroyd. All Rights Reserved.