Changeset 34872 in webkit for trunk/JavaScriptCore/kjs/date_object.h
- Timestamp:
- Jun 29, 2008, 12:53:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/date_object.h
r34754 r34872 1 1 /* 2 * This file is part of the KDE libraries3 2 * Copyright (C) 1999-2000 Harri Porten ([email protected]) 3 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 4 * 5 5 * This library is free software; you can redistribute it and/or … … 22 22 #define DATE_OBJECT_H 23 23 24 #include "JSFunction.h"25 24 #include "JSWrapperObject.h" 26 #include "lookup.h"27 25 28 26 namespace KJS { … … 57 55 }; 58 56 59 /** 60 * @internal 61 * 62 * The initial value of Date.prototype (and thus all objects created 63 * with the Date constructor 64 */ 65 class DatePrototype : public DateInstance { 66 public: 67 DatePrototype(ExecState *, ObjectPrototype *); 68 virtual bool getOwnPropertySlot(ExecState *, const Identifier &, PropertySlot&); 69 virtual const ClassInfo *classInfo() const { return &info; } 70 static const ClassInfo info; 71 }; 72 73 /** 74 * @internal 75 * 76 * The initial value of the the global variable's "Date" property 77 */ 78 class DateConstructor : public InternalFunction { 79 public: 80 DateConstructor(ExecState*, FunctionPrototype*, DatePrototype*); 81 private: 82 virtual ConstructType getConstructData(ConstructData&); 83 virtual CallType getCallData(CallData&); 84 }; 85 86 } // namespace 57 } // namespace KJS 87 58 88 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.