OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 template<class F> friend class Local; | 322 template<class F> friend class Local; |
323 template<class F> friend class FunctionCallbackInfo; | 323 template<class F> friend class FunctionCallbackInfo; |
324 template<class F> friend class PropertyCallbackInfo; | 324 template<class F> friend class PropertyCallbackInfo; |
325 template<class F> friend class internal::CustomArguments; | 325 template<class F> friend class internal::CustomArguments; |
326 friend Handle<Primitive> Undefined(Isolate* isolate); | 326 friend Handle<Primitive> Undefined(Isolate* isolate); |
327 friend Handle<Primitive> Null(Isolate* isolate); | 327 friend Handle<Primitive> Null(Isolate* isolate); |
328 friend Handle<Boolean> True(Isolate* isolate); | 328 friend Handle<Boolean> True(Isolate* isolate); |
329 friend Handle<Boolean> False(Isolate* isolate); | 329 friend Handle<Boolean> False(Isolate* isolate); |
330 friend class Context; | 330 friend class Context; |
331 friend class HandleScope; | 331 friend class HandleScope; |
| 332 friend class Object; |
| 333 friend class Private; |
332 | 334 |
333 V8_INLINE static Handle<T> New(Isolate* isolate, T* that); | 335 V8_INLINE static Handle<T> New(Isolate* isolate, T* that); |
334 | 336 |
335 T* val_; | 337 T* val_; |
336 }; | 338 }; |
337 | 339 |
338 | 340 |
339 /** | 341 /** |
340 * A light-weight stack-allocated object handle. All operations | 342 * A light-weight stack-allocated object handle. All operations |
341 * that return objects from within v8 return them in local handles. They | 343 * that return objects from within v8 return them in local handles. They |
(...skipping 6193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6535 */ | 6537 */ |
6536 | 6538 |
6537 | 6539 |
6538 } // namespace v8 | 6540 } // namespace v8 |
6539 | 6541 |
6540 | 6542 |
6541 #undef TYPE_CHECK | 6543 #undef TYPE_CHECK |
6542 | 6544 |
6543 | 6545 |
6544 #endif // V8_H_ | 6546 #endif // V8_H_ |
OLD | NEW |