Home | History | Annotate | Download | only in src

Lines Matching defs:Script

144 //       - Script
520 V(SCRIPT, Script, script) \
6561 // Script describes a script which has been added to the VM.
6562 class Script: public Struct {
6564 // Script types.
6573 // Script compilation types.
6579 // Script compilation state.
6585 // [source]: the script source.
6588 // [name]: the script name.
6591 // [id]: the script id.
6594 // [line_offset]: script line offset in resource from where it was extracted.
6597 // [column_offset]: script column offset in resource from where it was
6601 // [context_data]: context data for the context this script was compiled in.
6607 // [type]: the script type.
6623 // function infos created from this script.
6635 // [wasm_compiled_module]: the compiled wasm module this script belongs to.
6636 // This must only be called if the type of this script is TYPE_WASM.
6639 // [compilation_type]: how the the script was compiled. Encoded in the
6644 // [compilation_state]: determines whether the script has already been
6650 // and used by the embedder to make decisions about the script. V8 just passes
6655 DECLARE_CAST(Script)
6657 // If script source is an external string, check that the underlying
6664 static void SetEvalOrigin(Handle<Script> script,
6671 static void InitLineEnds(Handle<Script> script);
6693 static bool GetPositionInfo(Handle<Script> script, int position,
6699 static int GetColumnNumber(Handle<Script> script, int code_offset);
6701 static int GetLineNumber(Handle<Script> script, int code_offset);
6704 // Get the JS object wrapping the given script; create it if none exists.
6705 static Handle<JSObject> GetWrapper(Handle<Script> script);
6712 // Iterate over all script objects on the heap.
6716 Script* Next();
6724 DECLARE_PRINTER(Script)
6725 DECLARE_VERIFIER(Script)
6755 DISALLOW_IMPLICIT_CONSTRUCTORS(Script);
6999 // Set up the link between shared function info and the script. The shared
7000 // function info is added to the list on the script.
7063 // SharedFunctionInfo represents within its script, or -1 if this
7115 // [script]: Script from which the function originates.
7116 DECL_ACCESSORS(script, Object)
7177 // Position of the 'function' token in the script source.
7181 // Position of this function in the script source.
7185 // End position of this function in the script source.
7345 // Iterate over all shared function infos in a given script.
7348 explicit ScriptIterator(Handle<Script> script);
7352 // Reset the iterator to run on |script|.
7353 void Reset(Handle<Script> script);
7369 Script::Iterator script_iterator_;
8326 // [script]: the script from which the error message originated.
8327 DECL_ACCESSORS(script, Object)
8332 // [start_position]: the start position in the script for the error message.
8336 // [end_position]: the end position in the script for the error message.