Lines Matching defs:Declare
20 // When inserting a new variable via Declare(), we rely on the fact that
30 Variable* VariableMap::Declare(Scope* scope, const AstRawString* name,
67 void SloppyBlockFunctionMap::Declare(const AstRawString* name,
146 Variable* variable = variables_.Declare(this,
313 // Declare convenience variables and the receiver.
316 Variable* var = variables_.Declare(
324 // Declare 'arguments' variable which exists in all non arrow functions.
327 variables_.Declare(this, ast_value_factory_->arguments_string(), VAR,
330 variables_.Declare(this, ast_value_factory_->new_target_string(), CONST,
335 variables_.Declare(this, ast_value_factory_->this_function_string(),
441 // TODO(marja, rossberg): Correctly declare FUNCTION, CLASS, NEW_TARGET, and
444 Variable* var = variables_.Declare(this, name, mode, kind, init_flag,
495 var = variables_.Declare(this, name, mode, Variable::NORMAL,
521 return variables_.Declare(this, name, mode, kind, init_flag,
528 return variables_.Declare(this,
602 // captured in Parser::Declare. The only conflicts we still need to check
1037 // Declare a new non-local.
1040 var = map->Declare(NULL,
1178 // No binding has been found. Declare a variable on the global object.