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

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: match ContentSearchUtils even more Created 6 years, 6 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') | src/messages.js » ('J')
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 5684 matching lines...) Expand 10 before | Expand all | Expand 10 after
6644 */ 6653 */
6645 6654
6646 6655
6647 } // namespace v8 6656 } // namespace v8
6648 6657
6649 6658
6650 #undef TYPE_CHECK 6659 #undef TYPE_CHECK
6651 6660
6652 6661
6653 #endif // V8_H_ 6662 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/accessors.h » ('j') | src/messages.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698