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 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 * Returns true if this value is a NativeError. | 1554 * Returns true if this value is a NativeError. |
1555 */ | 1555 */ |
1556 bool IsNativeError() const; | 1556 bool IsNativeError() const; |
1557 | 1557 |
1558 /** | 1558 /** |
1559 * Returns true if this value is a RegExp. | 1559 * Returns true if this value is a RegExp. |
1560 */ | 1560 */ |
1561 bool IsRegExp() const; | 1561 bool IsRegExp() const; |
1562 | 1562 |
1563 /** | 1563 /** |
| 1564 * Returns true if this value is a Generator function. |
| 1565 * This is an experimental feature. |
| 1566 */ |
| 1567 bool IsGeneratorFunction() const; |
| 1568 |
| 1569 /** |
| 1570 * Returns true if this value is a Generator object (iterator). |
| 1571 * This is an experimental feature. |
| 1572 */ |
| 1573 bool IsGeneratorObject() const; |
| 1574 |
| 1575 /** |
1564 * Returns true if this value is a Promise. | 1576 * Returns true if this value is a Promise. |
1565 * This is an experimental feature. | 1577 * This is an experimental feature. |
1566 */ | 1578 */ |
1567 bool IsPromise() const; | 1579 bool IsPromise() const; |
1568 | 1580 |
1569 /** | 1581 /** |
1570 * Returns true if this value is a Map. | 1582 * Returns true if this value is a Map. |
1571 * This is an experimental feature. | 1583 * This is an experimental feature. |
1572 */ | 1584 */ |
1573 bool IsMap() const; | 1585 bool IsMap() const; |
(...skipping 5375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6949 */ | 6961 */ |
6950 | 6962 |
6951 | 6963 |
6952 } // namespace v8 | 6964 } // namespace v8 |
6953 | 6965 |
6954 | 6966 |
6955 #undef TYPE_CHECK | 6967 #undef TYPE_CHECK |
6956 | 6968 |
6957 | 6969 |
6958 #endif // V8_H_ | 6970 #endif // V8_H_ |
OLD | NEW |