OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 2277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2288 V8_DEPRECATE_SOON("Use maybe version", bool Equals(Local<Value> that) const); | 2288 V8_DEPRECATE_SOON("Use maybe version", bool Equals(Local<Value> that) const); |
2289 V8_WARN_UNUSED_RESULT Maybe<bool> Equals(Local<Context> context, | 2289 V8_WARN_UNUSED_RESULT Maybe<bool> Equals(Local<Context> context, |
2290 Local<Value> that) const; | 2290 Local<Value> that) const; |
2291 bool StrictEquals(Local<Value> that) const; | 2291 bool StrictEquals(Local<Value> that) const; |
2292 bool SameValue(Local<Value> that) const; | 2292 bool SameValue(Local<Value> that) const; |
2293 | 2293 |
2294 template <class T> V8_INLINE static Value* Cast(T* value); | 2294 template <class T> V8_INLINE static Value* Cast(T* value); |
2295 | 2295 |
2296 Local<String> TypeOf(Isolate*); | 2296 Local<String> TypeOf(Isolate*); |
2297 | 2297 |
| 2298 Maybe<bool> InstanceOf(Local<Context> context, Local<Object> object); |
| 2299 |
2298 private: | 2300 private: |
2299 V8_INLINE bool QuickIsUndefined() const; | 2301 V8_INLINE bool QuickIsUndefined() const; |
2300 V8_INLINE bool QuickIsNull() const; | 2302 V8_INLINE bool QuickIsNull() const; |
2301 V8_INLINE bool QuickIsNullOrUndefined() const; | 2303 V8_INLINE bool QuickIsNullOrUndefined() const; |
2302 V8_INLINE bool QuickIsString() const; | 2304 V8_INLINE bool QuickIsString() const; |
2303 bool FullIsUndefined() const; | 2305 bool FullIsUndefined() const; |
2304 bool FullIsNull() const; | 2306 bool FullIsNull() const; |
2305 bool FullIsString() const; | 2307 bool FullIsString() const; |
2306 }; | 2308 }; |
2307 | 2309 |
(...skipping 7692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10000 */ | 10002 */ |
10001 | 10003 |
10002 | 10004 |
10003 } // namespace v8 | 10005 } // namespace v8 |
10004 | 10006 |
10005 | 10007 |
10006 #undef TYPE_CHECK | 10008 #undef TYPE_CHECK |
10007 | 10009 |
10008 | 10010 |
10009 #endif // INCLUDE_V8_H_ | 10011 #endif // INCLUDE_V8_H_ |
OLD | NEW |