Lines Matching refs:Scope
209 v8::Context::Scope context_scope(context);
268 v8::Context::Scope context_scope(context);
391 v8::Context::Scope context_scope(context);
678 v8::Context::Scope context_scope(context);
838 i::HandleScope scope(CcTest::i_isolate());
1048 v8::Context::Scope context_scope(context);
1076 CHECK(i::Scope::Analyze(&info));
1079 i::Scope* script_scope = info.literal()->scope();
1083 i::Scope* scope = script_scope->inner_scopes()->at(0);
1084 // Adjust for constructor scope.
1086 CHECK_EQ(1, scope->inner_scopes()->length());
1087 scope = scope->inner_scopes()->at(0);
1090 scope->uses_arguments());
1092 scope->uses_super_property());
1095 // script scope are marked as used.
1097 scope->Lookup(info.ast_value_factory()->this_string())->is_used());
1099 CHECK_EQ((source_data[i].expected & EVAL) != 0, scope->calls_eval());
1131 CHECK(info.scope()->declarations()->length() == 1);
1133 info.scope()->declarations()->at(0)->AsFunctionDeclaration()->fun();
1177 // of a scope. We check the scope positions of exactly one scope
1178 // nested in the global scope of a program. 'inner source' is the
1180 // to the nested scope. 'outer_prefix' and 'outer_suffix' are
1181 // parts of the source that belong to the global scope.
1360 v8::Context::Scope context_scope(context);
1394 // Check scope types and positions.
1395 i::Scope* scope = info.literal()->scope();
1396 CHECK(scope->is_script_scope());
1397 CHECK_EQ(scope->start_position(), 0);
1398 CHECK_EQ(scope->end_position(), kProgramSize);
1399 CHECK_EQ(scope->inner_scopes()->length(), 1);
1401 i::Scope* inner_scope = scope->inner_scopes()->at(0);
1446 i::Scope* inner_scope = inner->scope();
1770 v8::Context::Scope context_scope(context);
1814 v8::HandleScope scope(CcTest::isolate());
1815 v8::Context::Scope context_scope(
1845 v8::Context::Scope context_scope(context);
3193 v8::HandleScope scope(isolate);
3234 v8::HandleScope scope(isolate);
3263 v8::HandleScope scope(isolate);
3296 v8::HandleScope scope(isolate);
3310 i::HandleScope scope(isolate);
3344 i::Scope* script_scope =
3345 new (&zone) i::Scope(&zone, NULL, i::SCRIPT_SCOPE, &avf);
3347 i::Scope* s =
3348 i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope);
3365 i::HandleScope scope(isolate);
3392 i::Scope* script_scope =
3393 new (&zone) i::Scope(&zone, NULL, i::SCRIPT_SCOPE, &avf);
3395 i::Scope* s =
3396 i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope);
3410 i::HandleScope scope(isolate);
3535 i::Scope* scope = info.literal()->scope();
3536 CHECK_EQ(scope->inner_scopes()->length(), 1);
3537 i::Scope* inner_scope = scope->inner_scopes()->at(0);
3565 i::HandleScope scope(isolate);
3579 i::HandleScope scope(isolate);
3594 i::HandleScope scope(isolate);
3607 i::HandleScope scope(isolate);
5547 v8::Context::Scope context_scope(context);
5666 v8::Context::Scope context_scope(context);
5703 v8::Context::Scope context_scope(context);
5863 v8::Context::Scope context_scope(context);
5884 i::Scope* module_scope = func->scope();
5885 i::Scope* outer_scope = module_scope->outer_scope();
5984 v8::Context::Scope context_scope(context);
7122 "w\\u0069th (this.scope) { }",