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

Side by Side Diff: include/v8.h

Issue 316173002: Handle "//# sourceURL" comments in the Parser instead of the JS. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: yet another trivial rebase Created 6 years, 5 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/accessors.h » ('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 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 public: 940 public:
941 /** 941 /**
942 * Binds the script to the currently entered context. 942 * Binds the script to the currently entered context.
943 */ 943 */
944 Local<Script> BindToCurrentContext(); 944 Local<Script> BindToCurrentContext();
945 945
946 int GetId(); 946 int GetId();
947 Handle<Value> GetScriptName(); 947 Handle<Value> GetScriptName();
948 948
949 /** 949 /**
950 * Data read from magic sourceURL comments.
951 */
952 Handle<Value> GetSourceURL();
953 /**
954 * Data read from magic sourceMappingURL comments.
955 */
956 Handle<Value> GetSourceMappingURL();
957
958 /**
950 * Returns zero based line number of the code_pos location in the script. 959 * Returns zero based line number of the code_pos location in the script.
951 * -1 will be returned if no information available. 960 * -1 will be returned if no information available.
952 */ 961 */
953 int GetLineNumber(int code_pos); 962 int GetLineNumber(int code_pos);
954 963
955 static const int kNoScriptId = 0; 964 static const int kNoScriptId = 0;
956 }; 965 };
957 966
958 967
959 /** 968 /**
(...skipping 5742 matching lines...) Expand 10 before | Expand all | Expand 10 after
6702 */ 6711 */
6703 6712
6704 6713
6705 } // namespace v8 6714 } // namespace v8
6706 6715
6707 6716
6708 #undef TYPE_CHECK 6717 #undef TYPE_CHECK
6709 6718
6710 6719
6711 #endif // V8_H_ 6720 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/accessors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698