OLD | NEW |
1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1756 inline Local<Value> Data() const; | 1756 inline Local<Value> Data() const; |
1757 inline Local<Object> This() const; | 1757 inline Local<Object> This() const; |
1758 inline Local<Object> Holder() const; | 1758 inline Local<Object> Holder() const; |
1759 private: | 1759 private: |
1760 internal::Object** args_; | 1760 internal::Object** args_; |
1761 }; | 1761 }; |
1762 | 1762 |
1763 | 1763 |
1764 typedef Handle<Value> (*InvocationCallback)(const Arguments& args); | 1764 typedef Handle<Value> (*InvocationCallback)(const Arguments& args); |
1765 | 1765 |
1766 typedef int (*LookupCallback)(Local<Object> self, Local<String> name); | |
1767 | |
1768 /** | 1766 /** |
1769 * NamedProperty[Getter|Setter] are used as interceptors on object. | 1767 * NamedProperty[Getter|Setter] are used as interceptors on object. |
1770 * See ObjectTemplate::SetNamedPropertyHandler. | 1768 * See ObjectTemplate::SetNamedPropertyHandler. |
1771 */ | 1769 */ |
1772 typedef Handle<Value> (*NamedPropertyGetter)(Local<String> property, | 1770 typedef Handle<Value> (*NamedPropertyGetter)(Local<String> property, |
1773 const AccessorInfo& info); | 1771 const AccessorInfo& info); |
1774 | 1772 |
1775 | 1773 |
1776 /** | 1774 /** |
1777 * Returns the value if the setter intercepts the request. | 1775 * Returns the value if the setter intercepts the request. |
(...skipping 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3613 | 3611 |
3614 | 3612 |
3615 } // namespace v8 | 3613 } // namespace v8 |
3616 | 3614 |
3617 | 3615 |
3618 #undef V8EXPORT | 3616 #undef V8EXPORT |
3619 #undef TYPE_CHECK | 3617 #undef TYPE_CHECK |
3620 | 3618 |
3621 | 3619 |
3622 #endif // V8_H_ | 3620 #endif // V8_H_ |
OLD | NEW |