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 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2032 | 2032 |
2033 /** JS == */ | 2033 /** JS == */ |
2034 V8_DEPRECATE_SOON("Use maybe version", bool Equals(Local<Value> that) const); | 2034 V8_DEPRECATE_SOON("Use maybe version", bool Equals(Local<Value> that) const); |
2035 V8_WARN_UNUSED_RESULT Maybe<bool> Equals(Local<Context> context, | 2035 V8_WARN_UNUSED_RESULT Maybe<bool> Equals(Local<Context> context, |
2036 Local<Value> that) const; | 2036 Local<Value> that) const; |
2037 bool StrictEquals(Local<Value> that) const; | 2037 bool StrictEquals(Local<Value> that) const; |
2038 bool SameValue(Local<Value> that) const; | 2038 bool SameValue(Local<Value> that) const; |
2039 | 2039 |
2040 template <class T> V8_INLINE static Value* Cast(T* value); | 2040 template <class T> V8_INLINE static Value* Cast(T* value); |
2041 | 2041 |
2042 static V8_WARN_UNUSED_RESULT MaybeLocal<String> TypeOf( | |
jochen (gone - plz use gerrit)
2016/03/24 14:49:39
why is this static?
kozy
2016/03/24 15:58:57
There is no big reason. Changed to member.
| |
2043 v8::Local<v8::Context> context, Local<Value> value); | |
2044 | |
2042 private: | 2045 private: |
2043 V8_INLINE bool QuickIsUndefined() const; | 2046 V8_INLINE bool QuickIsUndefined() const; |
2044 V8_INLINE bool QuickIsNull() const; | 2047 V8_INLINE bool QuickIsNull() const; |
2045 V8_INLINE bool QuickIsString() const; | 2048 V8_INLINE bool QuickIsString() const; |
2046 bool FullIsUndefined() const; | 2049 bool FullIsUndefined() const; |
2047 bool FullIsNull() const; | 2050 bool FullIsNull() const; |
2048 bool FullIsString() const; | 2051 bool FullIsString() const; |
2049 }; | 2052 }; |
2050 | 2053 |
2051 | 2054 |
(...skipping 6618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8670 */ | 8673 */ |
8671 | 8674 |
8672 | 8675 |
8673 } // namespace v8 | 8676 } // namespace v8 |
8674 | 8677 |
8675 | 8678 |
8676 #undef TYPE_CHECK | 8679 #undef TYPE_CHECK |
8677 | 8680 |
8678 | 8681 |
8679 #endif // INCLUDE_V8_H_ | 8682 #endif // INCLUDE_V8_H_ |
OLD | NEW |