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

Unified Diff: src/objects.h

Issue 2224973002: Move remaining Message functions to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 2a248b7d9134f77e001bdac44d9a7887b6c33214..56a6464597c6b263f7ff83b9c66bb646ebac1da4 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -8129,6 +8129,15 @@ class JSMessageObject: public JSObject {
inline int end_position() const;
inline void set_end_position(int value);
+ int GetLineNumber() const;
+
+ // Returns the offset of the given position within the containing line.
+ int GetColumnNumber() const;
+
+ // Returns the source code line containing the given source
+ // position, or the empty string if the position is invalid.
+ Handle<String> GetSourceLine() const;
+
DECLARE_CAST(JSMessageObject)
// Dispatched behavior.

Powered by Google App Engine
This is Rietveld 408576698