Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/nodejs/deps/v8/include/v8-script.h
$ cat -n /usr/include/nodejs/deps/v8/include/v8-script.h 1 // Copyright 2021 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef INCLUDE_V8_SCRIPT_H_ 6 #define INCLUDE_V8_SCRIPT_H_ 7 8 #include
9 #include
10 11 #include
12 #include
13 14 #include "v8-data.h" // NOLINT(build/include_directory) 15 #include "v8-local-handle.h" // NOLINT(build/include_directory) 16 #include "v8-maybe.h" // NOLINT(build/include_directory) 17 #include "v8-message.h" // NOLINT(build/include_directory) 18 #include "v8config.h" // NOLINT(build/include_directory) 19 20 namespace v8 { 21 22 class Function; 23 class Object; 24 class PrimitiveArray; 25 class Script; 26 27 namespace internal { 28 class BackgroundDeserializeTask; 29 struct ScriptStreamingData; 30 } // namespace internal 31 32 /** 33 * A container type that holds relevant metadata for module loading. 34 * 35 * This is passed back to the embedder as part of 36 * HostImportModuleDynamicallyCallback for module loading. 37 */ 38 class V8_EXPORT ScriptOrModule { 39 public: 40 /** 41 * The name that was passed by the embedder as ResourceName to the 42 * ScriptOrigin. This can be either a v8::String or v8::Undefined. 43 */ 44 Local
GetResourceName(); 45 46 /** 47 * The options that were passed by the embedder as HostDefinedOptions to 48 * the ScriptOrigin. 49 */ 50 V8_DEPRECATED("Use HostDefinedOptions") 51 Local
GetHostDefinedOptions(); 52 Local
HostDefinedOptions(); 53 }; 54 55 /** 56 * A compiled JavaScript script, not yet tied to a Context. 57 */ 58 class V8_EXPORT UnboundScript { 59 public: 60 /** 61 * Binds the script to the currently entered context. 62 */ 63 Local
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™