The implementation of a 'Class' type in ActionScript 3. More...
|as_class (Global_as &gl, Class *c)|
|virtual const std::string &||stringValue () const|
|Return the string representation for this object. |
The implementation of a 'Class' type in ActionScript 3.
A Class is a first-class type, i.e. it can be referenced itself in ActionScript. Although Classes are nominally 'dynamic' types, there seems to be no way to alter them in ActionScript, or to create them dynamically. In order to reference them, the Class must already be constructed and known in the execution scope, then retrieved by name. Accordingly, all as_class objects have an associated Class, which is its static definition. TODO: see how to implement "[class Class]", the prototype of all classes.
|const std::string & gnash::abc::as_class::stringValue||(||)|| const