Lines Matching refs:scope
179 v8::Context::Scope context_scope(context);
549 v8::Context::Scope context_scope(context);
819 // of a scope. We check the scope positions of exactly one scope
820 // nested in the global scope of a program. 'inner source' is the
822 // to the nested scope. 'outer_prefix' and 'outer_suffix' are
823 // parts of the source that belong to the global scope.
997 v8::Context::Scope context_scope(context);
1032 // Check scope types and positions.
1033 i::Scope* scope = function->scope();
1034 CHECK(scope->is_global_scope());
1035 CHECK_EQ(scope->start_position(), 0);
1036 CHECK_EQ(scope->end_position(), kProgramSize);
1037 CHECK_EQ(scope->inner_scopes()->length(), 1);
1039 i::Scope* inner_scope = scope->inner_scopes()->at(0);
1275 v8::Context::Scope context_scope(context);
1314 v8::HandleScope scope(v8::Isolate::GetCurrent());
1315 v8::Context::Scope context_scope(