Packageorg.granite.reflect
Classpublic class Arg
InheritanceArg Inheritance DescribedElement

Represents an ActionScript 3 annotation (or metadata) argument.

See also

Annotation


Public Properties
 PropertyDefined by
  annotation : Annotation
[read-only] The annotation that holds this argument.
Arg
 InheriteddeclaredBy : Type
The Type instance this described element belongs to.
DescribedElement
  key : String
[read-only] The key (or name) of this argument.
Arg
  value : String
[read-only] The value of this argument.
Arg
Public Methods
 MethodDefined by
  
Arg(annotation:Annotation, desc:XML)
Constructs a new Arg instance.
Arg
 Inherited
equals(o:*):Boolean
Tells if this DescribedElement instance is equal to the supplied o parameter.
DescribedElement
 Inherited
toString():String
Returns the a string (XML) representation of this described element.
DescribedElement
Property detail
annotationproperty
annotation:Annotation  [read-only]

The annotation that holds this argument.

Implementation
    public function get annotation():Annotation
keyproperty 
key:String  [read-only]

The key (or name) of this argument.

Implementation
    public function get key():String
valueproperty 
value:String  [read-only]

The value of this argument.

Implementation
    public function get value():String
Constructor detail
Arg()constructor
public function Arg(annotation:Annotation, desc:XML)

Constructs a new Arg instance.

Parameters
annotation:Annotation — the annotation to which this arguments belongs.
 
desc:XML