Changeset 35022 in webkit for trunk/JavaScriptCore/kjs/InternalFunction.h
- Timestamp:
- Jul 5, 2008, 10:26:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/InternalFunction.h
r34901 r35022 25 25 #define InternalFunction_h 26 26 27 #include "JSObject.h" 27 28 #include "identifier.h" 28 #include "JSObject.h"29 29 30 30 namespace KJS { 31 31 32 class FunctionPrototype;32 class FunctionPrototype; 33 33 34 class InternalFunction : public JSObject { 35 public: 36 static const ClassInfo info; 37 virtual const ClassInfo* classInfo() const { return &info; } 38 const Identifier& functionName() const { return m_name; } 34 class InternalFunction : public JSObject { 35 public: 36 virtual const ClassInfo* classInfo() const { return &info; } 37 static const ClassInfo info; 39 38 40 protected: 41 InternalFunction(); 42 InternalFunction(FunctionPrototype*, const Identifier&); 39 const Identifier& functionName() const { return m_name; } 43 40 44 private:45 virtual CallType getCallData(CallData&) = 0;46 virtual bool implementsHasInstance() const;41 protected: 42 InternalFunction(); 43 InternalFunction(FunctionPrototype*, const Identifier&); 47 44 48 Identifier m_name; 49 }; 45 private: 46 virtual CallType getCallData(CallData&) = 0; 47 virtual bool implementsHasInstance() const; 48 49 Identifier m_name; 50 }; 50 51 51 52 } // namespace KJS
Note:
See TracChangeset
for help on using the changeset viewer.