Show the argument names from the method's signature.

This commit is contained in:
Roberto Raggi
2010-01-26 10:50:30 +01:00
parent 3294fbf8bf
commit 2512a684d5
3 changed files with 136 additions and 31 deletions

View File

@@ -295,6 +295,8 @@ public:
virtual int argumentCount() const;
virtual const Value *argument(int index) const;
virtual QString argumentName(int index) const;
virtual bool isVariadic() const;
virtual const Value *invoke(const Activation *activation) const;
@@ -444,6 +446,8 @@ public:
ObjectValue *globalObject() const;
const ObjectValue *mathObject() const;
void registerObject(ObjectValue *object);
// prototypes
ObjectValue *objectPrototype() const;
ObjectValue *functionPrototype() const;