Public Member Functions | |
JsMethod (const String &sourceCode) | |
JsMethod (const Program &prog) | |
JsMethod (const JsMethod &obj) | |
virtual IJsObjectPtr | New () const |
virtual bool | IsNative () const |
virtual VariantPtr | Call (JsMethod *isthis, Vector< VariantPtr > args) |
virtual VariantPtr | GetProperty (const String &idx) |
virtual bool | HasProperty (const String &idx) const |
virtual void | SetProperty (const String &idx, VariantPtr obj) |
virtual bool | Equals (const IComparable &a) const |
virtual int | Compare (const IComparable &a) const |
virtual int32 | MajicNumber () const |
Class instances with the same majic number are of the same type (can be casted). Majic numbers above 0xFFFF are available for user applications. | |
virtual int32 | HashCode () const |
StringPtr | ToString () const |
const Program & | GetProgram () |
const Program * | GetProgramPtr () |
void | CheckMem () const |
void | ValidateMem () const |
Protected Attributes | |
String | m_src |
Program | m_prog |
Definition at line 26 of file JsMethod.h.