Home | History | Annotate | Download | only in ast

Lines Matching defs:Declare

39 //       When inserting a new variable via Declare(), we rely on the fact that
47 Variable* VariableMap::Declare(Zone* zone, Scope* scope,
117 void SloppyBlockFunctionMap::Declare(
283 Variable* variable = Declare(zone, catch_variable_name, VAR);
474 sloppy_block_function_map_.Declare(zone(), name, delegate);
546 // Declare a var-style binding for the function in the outer scope
652 Declare(zone(), ast_value_factory->this_string(),
664 // Declare 'arguments' variable which exists in all non arrow functions.
667 arguments_ = Declare(zone(), ast_value_factory->arguments_string(), VAR);
681 new_target_ = Declare(zone(), ast_value_factory->new_target_string(), CONST);
686 Declare(zone(), ast_value_factory->this_function_string(), CONST);
799 Variable* Scope::Declare(Zone* zone, const AstRawString* name,
805 variables_.Declare(zone, this, name, mode, kind, initialization_flag,
928 // TODO(marja, rossberg): Correctly declare FUNCTION, CLASS, NEW_TARGET, and
931 Variable* var = variables_.Declare(zone(), this, name, mode, kind, init_flag,
961 var = Declare(zone(), name, mode);
985 Variable* var = Declare(zone(), name, VAR);
1004 return Declare(zone(), name, mode, kind, init_flag, maybe_assigned_flag);
1052 // Declare the variable in the declaration scope.
1055 // Declare the name.
1088 // Declare functions. The function CheckConflictingVarDeclarations
1142 // Declare the variable in the declaration scope.
1184 return variables_.Declare(zone(), this, name, DYNAMIC_GLOBAL, kind);
1231 // captured in Parser::Declare. The only conflicts we still need to check
1743 // Declare a new non-local.
1745 Variable* var = variables_.Declare(zone(), nullptr, name, mode);
1772 // declare them in the outer scope.
1774 // No binding has been found. Declare a variable on the global object.