• Home
  • Raw
  • Download

Lines Matching refs:top_scope_

136   Scope* top_scope_;  member in v8::internal::Parser
1146 prev_scope_(parser->top_scope_), in LexicalScope()
1148 parser_->top_scope_ = scope; in LexicalScope()
1153 parser_->top_scope_ = prev_scope_; in ~LexicalScope()
1196 top_scope_(NULL), in Parser()
1252 { Scope* scope = factory()->NewScope(top_scope_, type, inside_with()); in ParseProgram()
1261 top_scope_, in ParseProgram()
1308 factory()->NewScope(top_scope_, Scope::GLOBAL_SCOPE, inside_with()); in ParseLazy()
1349 Scope* scope = factory()->NewScope(top_scope_, Scope::GLOBAL_SCOPE, false); in ParseJson()
1359 top_scope_, in ParseJson()
1680 if (top_scope_->is_global_scope()) { in ParseSourceElements()
1684 if (top_scope_->is_function_scope()) { in ParseSourceElements()
1685 this_property_assignment_finder.Update(top_scope_, stat); in ParseSourceElements()
1691 if (top_scope_->is_function_scope()) { in ParseSourceElements()
1694 && top_scope_->declarations()->length() == 0; in ParseSourceElements()
1838 if (top_scope_->is_function_scope()) { in Declare()
1840 var = top_scope_->LocalLookup(name); in Declare()
1843 var = top_scope_->DeclareLocal(name, mode); in Declare()
1859 top_scope_->SetIllegalRedeclaration(expression); in Declare()
1880 VariableProxy* proxy = top_scope_->NewUnresolved(name, inside_with()); in Declare()
1881 top_scope_->AddDeclaration(NEW(Declaration(proxy, mode, fun))); in Declare()
1884 if (mode == Variable::CONST && top_scope_->is_global_scope()) { in Declare()
1887 var = NEW(Variable(top_scope_, name, Variable::CONST, true, kind)); in Declare()
1950 top_scope_->ForceEagerCompilation(); in ParseNativeDeclaration()
2155 if (!is_pre_parsing_ && top_scope_->is_global_scope()) { in ParseVariableDeclarations()
2263 top_scope_->RemoveUnresolved(var); in ParseExpressionOrLabelledStatement()
2370 if (!is_pre_parsing_ && !top_scope_->is_function_scope()) { in ParseReturnStatement()
2401 top_scope_->RecordWithStatement(); in WithHelper()
2572 catch_var = top_scope_->NewTemporary(Factory::catch_var_symbol()); in ParseTryStatement()
3081 Variable* var = top_scope_->Lookup(name); in ParseLeftHandSideExpression()
3083 top_scope_->RecordEvalCall(); in ParseLeftHandSideExpression()
3260 VariableProxy* recv = top_scope_->receiver(); in ParsePrimaryExpression()
3287 result = top_scope_->NewUnresolved(name, inside_with()); in ParsePrimaryExpression()
3701 Scope* scope = factory()->NewScope(top_scope_, type, inside_with()); in ParseFunctionLiteral()
3704 top_scope_->SetScopeName(name); in ParseFunctionLiteral()
3714 top_scope_->AddParameter(top_scope_->DeclareLocal(param_name, in ParseFunctionLiteral()
3733 Variable* fvar = top_scope_->DeclareFunctionVar(function_name); in ParseFunctionLiteral()
3735 top_scope_->NewUnresolved(function_name, inside_with()); in ParseFunctionLiteral()
3746 mode() == PARSE_LAZILY && top_scope_->HasTrivialOuterContext(); in ParseFunctionLiteral()
3782 top_scope_, in ParseFunctionLiteral()
3812 top_scope_->ForceEagerCompilation(); in ParseV8Intrinsic()