Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/node/v8-script.h
$ cat -n /usr/include/node/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 #include
14 15 #include "v8-callbacks.h" // NOLINT(build/include_directory) 16 #include "v8-data.h" // NOLINT(build/include_directory) 17 #include "v8-local-handle.h" // NOLINT(build/include_directory) 18 #include "v8-maybe.h" // NOLINT(build/include_directory) 19 #include "v8-memory-span.h" // NOLINT(build/include_directory) 20 #include "v8-message.h" // NOLINT(build/include_directory) 21 #include "v8config.h" // NOLINT(build/include_directory) 22 23 namespace v8 { 24 25 class Function; 26 class Message; 27 class Object; 28 class PrimitiveArray; 29 class Script; 30 31 namespace internal { 32 class BackgroundDeserializeTask; 33 struct ScriptStreamingData; 34 } // namespace internal 35 36 /** 37 * A container type that holds relevant metadata for module loading. 38 * 39 * This is passed back to the embedder as part of 40 * HostImportModuleDynamicallyCallback for module loading. 41 */ 42 class V8_EXPORT ScriptOrModule { 43 public: 44 /** 45 * The name that was passed by the embedder as ResourceName to the 46 * ScriptOrigin. This can be either a v8::String or v8::Undefined. 47 */ 48 Local
GetResourceName(); 49 50 /** 51 * The options that were passed by the embedder as HostDefinedOptions to 52 * the ScriptOrigin. 53 */ 54 Local
HostDefinedOptions(); 55 }; 56 57 /** 58 * A compiled JavaScript script, not yet tied to a Context. 59 */ 60 class V8_EXPORT UnboundScript : public Data { 61 public: 62 /** 63 * Binds the script to the currently entered context. 64 */ 65 Local
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™