Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Side by Side Diff: include/v8.h

Issue 608503002: Add IsGeneratorFunction and IsGeneratorObject checks to v8::Value. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698