Lines Matching defs:script
437 Handle<Script> script)
444 script_(script),
531 void Parser::ParseProgram(Isolate* isolate, Handle<Script> script,
534 DCHECK_EQ(script->id(), flags().script_id());
550 DCHECK_EQ(script->is_wrapped(), info->is_wrapped_as_function());
551 if (script->is_wrapped()) {
552 maybe_wrapped_arguments_ = handle(script->wrapped_arguments(), isolate);
560 HandleSourceURLComments(isolate, script);
568 event_name = "parse-script";
570 end = String::cast(script->source()).length();
647 // to enable script-wide strict mode below.
780 // For a REPL script this is the completion value of the
781 // script instead of the expression of some "return" statement. The
782 // completion value of the script is obtained by manually invoking
866 // to finalize the script scope without using
881 Handle<Script> script = handle(Script::cast(shared_info->script()), isolate);
883 maybe_wrapped_arguments_ = handle(script->wrapped_arguments(), isolate);
887 if V8_UNLIKELY (script->type() == Script::TYPE_WEB_SNAPSHOT) {
894 function_literal_id = script->shared_function_info_count() - 1;
3359 void Parser::HandleSourceURLComments(IsolateT* isolate, Handle<Script> script) {
3362 script->set_source_url(*source_url);
3366 script->set_source_mapping_url(*source_mapping_url);
3371 Handle<Script> script);
3373 Handle<Script> script);
3375 void Parser::UpdateStatistics(Isolate* isolate, Handle<Script> script) {
3387 if (script->line_offset() == 0 && script->column_offset() == 0) {
3396 Handle<Script> script,
3408 if (script->line_offset() == 0 && script->column_offset() == 0) {
3438 // which need their end position set at the end of the script (the top scope
3440 // script length.