Ignore:
Timestamp:
Jul 5, 2008, 10:26:58 PM (17 years ago)
Author:
[email protected]
Message:

2008-07-05 Sam Weinig <[email protected]>

Reviewed by Cameron Zwarich.

First step in broad cleanup effort.

[ File list elided ]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/InternalFunction.h

    r34901 r35022  
    2525#define InternalFunction_h
    2626
     27#include "JSObject.h"
    2728#include "identifier.h"
    28 #include "JSObject.h"
    2929
    3030namespace KJS {
    3131
    32   class FunctionPrototype;
     32    class FunctionPrototype;
    3333
    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;
    3938
    40   protected:
    41     InternalFunction();
    42     InternalFunction(FunctionPrototype*, const Identifier&);
     39        const Identifier& functionName() const { return m_name; }
    4340
    44   private:
    45     virtual CallType getCallData(CallData&) = 0;
    46     virtual bool implementsHasInstance() const;
     41    protected:
     42        InternalFunction();
     43        InternalFunction(FunctionPrototype*, const Identifier&);
    4744
    48     Identifier m_name;
    49   };
     45    private:
     46        virtual CallType getCallData(CallData&) = 0;
     47        virtual bool implementsHasInstance() const;
     48
     49        Identifier m_name;
     50    };
    5051
    5152} // namespace KJS
Note: See TracChangeset for help on using the changeset viewer.