Lines Matching refs:Script
76 Handle<Script> script(Script::cast(shared->script()));
77 set_script(script);
78 if (!script.is_null() && script->type() == Script::TYPE_NATIVE) {
84 ParseInfo::ParseInfo(Zone* zone, Handle<Script> script) : ParseInfo(zone) {
85 isolate_ = script->GetIsolate();
90 set_script(script);
92 if (script->type() == Script::TYPE_NATIVE) {
756 DCHECK(!info->script().is_null() || info->source_stream() != NULL);
792 Handle<String> source(String::cast(info->script()->source()));
828 HandleSourceURLComments(isolate, info->script());
834 } else if (info->script()->name()->IsString()) {
835 String* name = String::cast(info->script()->name());
837 PrintF("[parsing script: %s", name_chars.get());
839 PrintF("[parsing script");
864 // context, which will have the "this" binding for script scopes.
896 // to enable script/module-wide strict/strong mode below.
960 Handle<String> source(String::cast(info->script()->source()));
1945 // not a var (in script scope, we also have to ignore legacy const for
2123 // a script scope, or the initial scope of eval or another function.
5020 void Parser::HandleSourceURLComments(Isolate* isolate, Handle<Script> script) {
5023 script->set_source_url(*source_url);
5028 script->set_source_mapping_url(*source_mapping_url);
5033 void Parser::Internalize(Isolate* isolate, Handle<Script> script, bool error) {
5043 pending_error_handler_.ThrowPendingError(isolate, script);
5100 Internalize(isolate, info->script(), result == NULL);
5126 // position set at the end of the script (the top scope and possible eval
5127 // scopes) and set their end position after we know the script length.