• Home
  • Raw
  • Download

Lines Matching full:script

10 #include "include/v8-script.h"
31 #include "torque-generated/src/objects/script-tq.inc"
33 // Script describes a script which has been added to the VM.
34 class Script : public TorqueGeneratedScript<Script, Struct> {
36 // Script ID used for temporary scripts, which shouldn't be added to the
37 // script list.
41 // Script types.
53 // Script compilation types.
56 // Script compilation state.
62 // [type]: the script type.
71 // [wrapped_arguments]: for the list of arguments in a wrapped script.
80 // Whether the script is implicitly wrapped in a function.
93 // function infos created from this script.
100 // all WebAssembly breakpoints for modules/instances managed via this script.
101 // This must only be called if the type of this script is TYPE_WASM.
105 // [wasm_native_module]: the wasm {NativeModule} this script belongs to.
106 // This must only be called if the type of this script is TYPE_WASM.
111 // affected by breakpoints that are managed via this script.
112 // This must only be called if the type of this script is TYPE_WASM.
116 // for this script; this information will be transferred to existing and
122 // Check if the script contains any Asm modules.
126 // [compilation_type]: how the the script was compiled. Encoded in the
131 // [compilation_state]: determines whether the script has already been
136 // [is_repl_mode]: whether this script originated from a REPL via debug
142 // and used by the embedder to make decisions about the script. V8 just passes
147 // If script source is an external string, check that the underlying
151 // If the script has a non-empty sourceURL comment.
154 // Streaming compilation only attaches the source to the Script upon
155 // finalization. This predicate returns true, if this script may still be
162 static int GetEvalPosition(Isolate* isolate, Handle<Script> script);
167 static void InitLineEnds(IsolateT* isolate, Handle<Script> script);
189 static bool GetPositionInfo(Handle<Script> script, int position,
194 // Tells whether this script should be subject to debugging, e.g. for
204 static int GetColumnNumber(Handle<Script> script, int code_offset);
206 V8_EXPORT_PRIVATE static int GetLineNumber(Handle<Script> script,
214 Handle<Script> script, IsolateT* isolate,
218 Handle<Script> script, Isolate* isolate,
222 Handle<Script> script, LocalIsolate* isolate,
225 // Iterate over all script objects on the heap.
231 Script Next();
238 DECL_PRINTER(Script)
239 DECL_VERIFIER(Script)
247 TQ_OBJECT_CONSTRUCTORS(Script)