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 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2007 * Returns true if this value is a NativeError. | 2007 * Returns true if this value is a NativeError. |
2008 */ | 2008 */ |
2009 bool IsNativeError() const; | 2009 bool IsNativeError() const; |
2010 | 2010 |
2011 /** | 2011 /** |
2012 * Returns true if this value is a RegExp. | 2012 * Returns true if this value is a RegExp. |
2013 */ | 2013 */ |
2014 bool IsRegExp() const; | 2014 bool IsRegExp() const; |
2015 | 2015 |
2016 /** | 2016 /** |
| 2017 * Returns true if this value is an async function. |
| 2018 */ |
| 2019 bool IsAsyncFunction() const; |
| 2020 |
| 2021 /** |
2017 * Returns true if this value is a Generator function. | 2022 * Returns true if this value is a Generator function. |
2018 * This is an experimental feature. | 2023 * This is an experimental feature. |
2019 */ | 2024 */ |
2020 bool IsGeneratorFunction() const; | 2025 bool IsGeneratorFunction() const; |
2021 | 2026 |
2022 /** | 2027 /** |
2023 * Returns true if this value is a Generator object (iterator). | 2028 * Returns true if this value is a Generator object (iterator). |
2024 * This is an experimental feature. | 2029 * This is an experimental feature. |
2025 */ | 2030 */ |
2026 bool IsGeneratorObject() const; | 2031 bool IsGeneratorObject() const; |
(...skipping 7541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9568 */ | 9573 */ |
9569 | 9574 |
9570 | 9575 |
9571 } // namespace v8 | 9576 } // namespace v8 |
9572 | 9577 |
9573 | 9578 |
9574 #undef TYPE_CHECK | 9579 #undef TYPE_CHECK |
9575 | 9580 |
9576 | 9581 |
9577 #endif // INCLUDE_V8_H_ | 9582 #endif // INCLUDE_V8_H_ |
OLD | NEW |