Lines Matching refs:Script
356 Handle<Script> Factory::NewScript(Handle<String> source) {
357 // Generate id for this script.
361 // Script ids start from one.
373 // Create and initialize script object.
375 Handle<Script> script = Handle<Script>::cast(NewStruct(SCRIPT_TYPE));
376 script->set_source(*source);
377 script->set_name(heap->undefined_value());
378 script->set_id(heap->last_script_id());
379 script->set_line_offset(Smi::FromInt(0));
380 script->set_column_offset(Smi::FromInt(0));
381 script->set_data(heap->undefined_value());
382 script->set_context_data(heap->undefined_value());
383 script->set_type(Smi::FromInt(Script::TYPE_NORMAL));
384 script->set_compilation_type(Smi::FromInt(Script::COMPILATION_TYPE_HOST));
385 script->set_compilation_state(
386 Smi::FromInt(Script::COMPILATION_STATE_INITIAL));
387 script->set_wrapper(*wrapper);
388 script->set_line_ends(heap->undefined_value());
389 script->set_eval_from_shared(heap->undefined_value());
390 script->set_eval_from_instructions_offset(Smi::FromInt(0));
392 return script;
1065 Handle<Object> script,
1073 *script,