Home | History | Annotate | Download | only in cctest

Lines Matching refs:scope

178   v8::Context::Scope context_scope(context);
548 v8::Context::Scope context_scope(context);
817 // of a scope. We check the scope positions of exactly one scope
818 // nested in the global scope of a program. 'inner source' is the
820 // to the nested scope. 'outer_prefix' and 'outer_suffix' are
821 // parts of the source that belong to the global scope.
992 v8::Context::Scope context_scope(context);
1026 // Check scope types and positions.
1027 i::Scope* scope = function->scope();
1028 CHECK(scope->is_global_scope());
1029 CHECK_EQ(scope->start_position(), 0);
1030 CHECK_EQ(scope->end_position(), kProgramSize);
1031 CHECK_EQ(scope->inner_scopes()->length(), 1);
1033 i::Scope* inner_scope = scope->inner_scopes()->at(0);
1207 v8::Context::Scope context_scope(context);