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

Side by Side Diff: include/v8.h

Issue 716833002: Various clean-ups after top-level lexical declarations are done. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing Created 6 years, 1 month 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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 static Local<Script> Compile(Handle<String> source, 1004 static Local<Script> Compile(Handle<String> source,
1005 ScriptOrigin* origin = NULL); 1005 ScriptOrigin* origin = NULL);
1006 1006
1007 // To be decprecated, use the Compile above. 1007 // To be decprecated, use the Compile above.
1008 static Local<Script> Compile(Handle<String> source, 1008 static Local<Script> Compile(Handle<String> source,
1009 Handle<String> file_name); 1009 Handle<String> file_name);
1010 1010
1011 /** 1011 /**
1012 * Runs the script returning the resulting value. It will be run in the 1012 * Runs the script returning the resulting value. It will be run in the
1013 * context in which it was created (ScriptCompiler::CompileBound or 1013 * context in which it was created (ScriptCompiler::CompileBound or
1014 * UnboundScript::BindToGlobalContext()). 1014 * UnboundScript::BindToCurrentContext()).
1015 */ 1015 */
1016 Local<Value> Run(); 1016 Local<Value> Run();
1017 1017
1018 /** 1018 /**
1019 * Returns the corresponding context-unbound script. 1019 * Returns the corresponding context-unbound script.
1020 */ 1020 */
1021 Local<UnboundScript> GetUnboundScript(); 1021 Local<UnboundScript> GetUnboundScript();
1022 1022
1023 V8_DEPRECATED("Use GetUnboundScript()->GetId()", 1023 V8_DEPRECATED("Use GetUnboundScript()->GetId()",
1024 int GetId()) { 1024 int GetId()) {
(...skipping 6382 matching lines...) Expand 10 before | Expand all | Expand 10 after
7407 */ 7407 */
7408 7408
7409 7409
7410 } // namespace v8 7410 } // namespace v8
7411 7411
7412 7412
7413 #undef TYPE_CHECK 7413 #undef TYPE_CHECK
7414 7414
7415 7415
7416 #endif // V8_H_ 7416 #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