• Home
  • Raw
  • Download

Lines Matching refs:declaration_scope

1716   Scope* declaration_scope = DeclarationScope(mode);  in Declare()  local
1729 if (declaration_scope->is_function_scope() || in Declare()
1730 declaration_scope->is_strict_or_extended_eval_scope() || in Declare()
1731 declaration_scope->is_block_scope() || in Declare()
1732 declaration_scope->is_module_scope() || in Declare()
1735 var = declaration_scope->LocalLookup(name); in Declare()
1738 var = declaration_scope->DeclareLocal( in Declare()
1775 declaration_scope->SetIllegalRedeclaration(expression); in Declare()
1796 declaration_scope->AddDeclaration(declaration); in Declare()
1799 declaration_scope->is_global_scope()) { in Declare()
1803 var = new(zone()) Variable(declaration_scope, in Declare()
1809 } else if (declaration_scope->is_eval_scope() && in Declare()
1810 declaration_scope->is_classic_mode()) { in Declare()
1815 var = new(zone()) Variable(declaration_scope, in Declare()
2137 Scope* declaration_scope = DeclarationScope(mode); in ParseVariableDeclarations() local
2164 if (!declaration_scope->is_classic_mode() && IsEvalOrArguments(name)) { in ParseVariableDeclarations()
2190 if (declaration_scope->num_var_or_const() > kMaxNumFunctionLocals) { in ParseVariableDeclarations()
2225 Scope* initialization_scope = is_const ? declaration_scope : top_scope_; in ParseVariableDeclarations()
2553 Scope* declaration_scope = top_scope_->DeclarationScope(); in ParseReturnStatement() local
2554 if (declaration_scope->is_global_scope() || in ParseReturnStatement()
2555 declaration_scope->is_eval_scope()) { in ParseReturnStatement()