Lines Matching refs:declaration_scope
1900 Scope* declaration_scope = in Declare() local
1912 if (declaration_scope->is_function_scope() || in Declare()
1913 declaration_scope->is_block_scope() || in Declare()
1914 declaration_scope->is_module_scope() || in Declare()
1915 declaration_scope->is_script_scope() || in Declare()
1916 (declaration_scope->is_eval_scope() && in Declare()
1917 (is_strict(declaration_scope->language_mode()) || in Declare()
1920 var = declaration_scope->LookupLocal(name); in Declare()
1933 var = declaration_scope->DeclareLocal( in Declare()
1942 !declaration_scope->is_script_scope())) { in Declare()
1972 declaration_scope->SetIllegalRedeclaration(expression); in Declare()
1976 } else if (declaration_scope->is_eval_scope() && in Declare()
1977 is_sloppy(declaration_scope->language_mode()) && in Declare()
1985 var = new (zone()) Variable(declaration_scope, name, mode, kind, in Declare()
2009 declaration_scope->AddDeclaration(declaration); in Declare()
2011 if (mode == CONST_LEGACY && declaration_scope->is_script_scope()) { in Declare()
2015 var = new (zone()) Variable(declaration_scope, name, mode, kind, in Declare()
4125 Scope* declaration_scope = scope_->DeclarationScope(); in ParseFunctionLiteral() local
4131 declaration_scope != original_declaration_scope) in ParseFunctionLiteral()
4132 ? NewScope(declaration_scope, FUNCTION_SCOPE, kind) in ParseFunctionLiteral()