OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const TextPosition&, | 75 const TextPosition&, |
76 v8::Isolate*, | 76 v8::Isolate*, |
77 ScriptResource*, | 77 ScriptResource*, |
78 ScriptStreamer*, | 78 ScriptStreamer*, |
79 CachedMetadataHandler*, | 79 CachedMetadataHandler*, |
80 AccessControlStatus, | 80 AccessControlStatus, |
81 V8CacheOptions); | 81 V8CacheOptions); |
82 static v8::MaybeLocal<v8::Module> CompileModule(v8::Isolate*, | 82 static v8::MaybeLocal<v8::Module> CompileModule(v8::Isolate*, |
83 const String& source, | 83 const String& source, |
84 const String& file_name, | 84 const String& file_name, |
85 AccessControlStatus); | 85 AccessControlStatus, |
| 86 const TextPosition&); |
86 static v8::MaybeLocal<v8::Value> RunCompiledScript(v8::Isolate*, | 87 static v8::MaybeLocal<v8::Value> RunCompiledScript(v8::Isolate*, |
87 v8::Local<v8::Script>, | 88 v8::Local<v8::Script>, |
88 ExecutionContext*); | 89 ExecutionContext*); |
89 static v8::MaybeLocal<v8::Value> CompileAndRunInternalScript( | 90 static v8::MaybeLocal<v8::Value> CompileAndRunInternalScript( |
90 v8::Local<v8::String>, | 91 v8::Local<v8::String>, |
91 v8::Isolate*, | 92 v8::Isolate*, |
92 const String& = String(), | 93 const String& = String(), |
93 const TextPosition& = TextPosition()); | 94 const TextPosition& = TextPosition()); |
94 static v8::MaybeLocal<v8::Value> RunCompiledInternalScript( | 95 static v8::MaybeLocal<v8::Value> RunCompiledInternalScript( |
95 v8::Isolate*, | 96 v8::Isolate*, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 private: | 151 private: |
151 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*, | 152 static v8::MaybeLocal<v8::Value> CallExtraHelper(ScriptState*, |
152 const char* name, | 153 const char* name, |
153 size_t num_args, | 154 size_t num_args, |
154 v8::Local<v8::Value>* args); | 155 v8::Local<v8::Value>* args); |
155 }; | 156 }; |
156 | 157 |
157 } // namespace blink | 158 } // namespace blink |
158 | 159 |
159 #endif // V8ScriptRunner_h | 160 #endif // V8ScriptRunner_h |
OLD | NEW |