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 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1815 bool Value() const; | 1815 bool Value() const; |
1816 V8_INLINE static Handle<Boolean> New(Isolate* isolate, bool value); | 1816 V8_INLINE static Handle<Boolean> New(Isolate* isolate, bool value); |
1817 }; | 1817 }; |
1818 | 1818 |
1819 | 1819 |
1820 /** | 1820 /** |
1821 * A superclass for symbols and strings. | 1821 * A superclass for symbols and strings. |
1822 */ | 1822 */ |
1823 class V8_EXPORT Name : public Primitive { | 1823 class V8_EXPORT Name : public Primitive { |
1824 public: | 1824 public: |
1825 /** | |
1826 * Returns the identity hash for this object. The current implementation | |
1827 * uses a inline property on the object to store the identity hash. | |
aandrey
2014/12/01 15:49:17
a inline -> an inline
yurys
2014/12/02 08:42:30
Done.
| |
1828 * | |
1829 * The return value will never be 0. Also, it is not guaranteed to be | |
1830 * unique. | |
1831 */ | |
1832 int GetIdentityHash(); | |
1833 | |
1825 V8_INLINE static Name* Cast(v8::Value* obj); | 1834 V8_INLINE static Name* Cast(v8::Value* obj); |
1826 private: | 1835 private: |
1827 static void CheckCast(v8::Value* obj); | 1836 static void CheckCast(v8::Value* obj); |
1828 }; | 1837 }; |
1829 | 1838 |
1830 | 1839 |
1831 /** | 1840 /** |
1832 * A JavaScript string value (ECMA-262, 4.3.17). | 1841 * A JavaScript string value (ECMA-262, 4.3.17). |
1833 */ | 1842 */ |
1834 class V8_EXPORT String : public Name { | 1843 class V8_EXPORT String : public Name { |
(...skipping 5624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7459 */ | 7468 */ |
7460 | 7469 |
7461 | 7470 |
7462 } // namespace v8 | 7471 } // namespace v8 |
7463 | 7472 |
7464 | 7473 |
7465 #undef TYPE_CHECK | 7474 #undef TYPE_CHECK |
7466 | 7475 |
7467 | 7476 |
7468 #endif // V8_H_ | 7477 #endif // V8_H_ |
OLD | NEW |