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

Side by Side Diff: include/v8.h

Issue 1015643002: Provide method for getting Isolate by v8::Message (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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
« 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 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 */ 1471 */
1472 V8_DEPRECATE_SOON("Use maybe version", int GetEndColumn()) const; 1472 V8_DEPRECATE_SOON("Use maybe version", int GetEndColumn()) const;
1473 Maybe<int> GetEndColumn(Local<Context> context) const; 1473 Maybe<int> GetEndColumn(Local<Context> context) const;
1474 1474
1475 /** 1475 /**
1476 * Passes on the value set by the embedder when it fed the script from which 1476 * Passes on the value set by the embedder when it fed the script from which
1477 * this Message was generated to V8. 1477 * this Message was generated to V8.
1478 */ 1478 */
1479 bool IsSharedCrossOrigin() const; 1479 bool IsSharedCrossOrigin() const;
1480 1480
1481 /**
1482 * Returns the Isolate where the error occured.
1483 */
1484 Isolate* GetIsolate() const;
1485
1481 // TODO(1245381): Print to a string instead of on a FILE. 1486 // TODO(1245381): Print to a string instead of on a FILE.
1482 static void PrintCurrentStackTrace(Isolate* isolate, FILE* out); 1487 static void PrintCurrentStackTrace(Isolate* isolate, FILE* out);
1483 1488
1484 static const int kNoLineNumberInfo = 0; 1489 static const int kNoLineNumberInfo = 0;
1485 static const int kNoColumnInfo = 0; 1490 static const int kNoColumnInfo = 0;
1486 static const int kNoScriptIdInfo = 0; 1491 static const int kNoScriptIdInfo = 0;
1487 }; 1492 };
1488 1493
1489 1494
1490 /** 1495 /**
(...skipping 6377 matching lines...) Expand 10 before | Expand all | Expand 10 after
7868 */ 7873 */
7869 7874
7870 7875
7871 } // namespace v8 7876 } // namespace v8
7872 7877
7873 7878
7874 #undef TYPE_CHECK 7879 #undef TYPE_CHECK
7875 7880
7876 7881
7877 #endif // V8_H_ 7882 #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