Lines Matching refs:Variable
214 Variable::NORMAL, pos);
222 factory(), ast_value_factory()->arguments_string(), Variable::NORMAL,
226 factory(), ast_value_factory()->new_target_string(), Variable::NORMAL,
257 Target(Target** variable, BreakableStatement* statement)
258 : variable_(variable), statement_(statement), previous_(*variable) {
259 *variable = this;
278 explicit TargetScope(Target** variable)
279 : variable_(variable), previous_(*variable) {
280 *variable = NULL;
599 Variable::THIS, pos, pos + 4);
609 Variable::NORMAL, pos);
623 Variable::NORMAL, pos);
626 Variable::NORMAL, pos);
639 Variable::NORMAL, pos, pos + kNewTargetStringLength);
684 return scope->NewUnresolved(factory, name, Variable::NORMAL, start_position,
1057 // Parsing patterns as variable reference expression creates
1878 // If we are inside a function, a declaration of a var/const variable is a
1879 // truly local variable, and the scope of the variable is always the function
1885 return scope->NewUnresolved(factory(), name, Variable::NORMAL,
1891 Variable* Parser::Declare(Declaration* declaration,
1902 Variable* var = NULL;
1905 // variable and also set its mode. In any case, a Declaration node
1910 // mode eval scope and lexical eval bindings do not leak variable
1919 // Declare the variable in the declaration scope.
1923 Variable::Kind kind = Variable::NORMAL;
1926 kind = Variable::FUNCTION;
1929 kind = Variable::CLASS;
1981 // The proxy is bound to a lookup variable to force a dynamic declaration
1983 Variable::Kind kind = Variable::NORMAL;
1985 var = new (zone()) Variable(declaration_scope, name, mode, kind,
2001 // bound during variable resolution time unless it was pre-bound
2005 // same variable if it is declared several times. This is not a
2012 // For global const variables we bind the proxy to a variable.
2014 Variable::Kind kind = Variable::NORMAL;
2015 var = new (zone()) Variable(declaration_scope, name, mode, kind,
2019 // If requested and we have a local variable, bind the proxy to the variable
2021 // statements: the corresponding function (or const) variable must be in the
2184 Variable* outer_class_variable =
2193 // In some cases, the outer variable is not detected as a class variable;
2271 // The scope of a var/const declared variable anywhere inside a function
2453 // End position of the initializer is after the variable.
2569 // Remove the "ghost" variable that turned out to be a label
2739 Variable* temp = scope_->NewTemporary(
2903 Variable* tag_variable =
3003 Variable* catch_variable = NULL;
3025 Variable::NORMAL);
3168 Variable* result, int pos) {
3211 Variable* iterator = scope_->NewTemporary(
3213 Variable* result = scope_->NewTemporary(
3271 Variable* temp =
3335 ZoneList<Variable*> temps(names->length(), zone());
3345 // For each lexical variable x:
3349 Variable* temp = scope_->NewTemporary(temp_name);
3359 Variable* first = NULL;
3395 ZoneList<Variable*> inner_vars(names->length(), zone());
3396 // For each let variable x:
3441 Variable* flag = scope_->NewTemporary(temp_name);
3605 factory(), name, Variable::NORMAL, each_beg_pos, each_end_pos);
3624 // <let x' be a temporary variable>
3633 Variable* temp = scope_->NewTemporary(
3689 // INTERNAL variable that's invisible to the debugger
3694 Variable* tdz_var = Declare(tdz_decl, DeclarationDescriptor::NORMAL,
3703 // Parsed for-in loop w/ variable declarations.
4016 Variable* result =
4159 // in a temporary variable, a definition that is used by "yield"
4161 Variable* temp = scope_->NewTemporary(
4208 // possible reference to the variable in foo's scope. However, it's possible
4429 Statement* Parser::BuildAssertIsCoercible(Variable* var) {
4509 // Variable::initializer_position(), used for hole check elimination.
4576 // If we have a named function expression, we add a local variable
4668 Variable* fvar = new (zone())
4669 Variable(scope_, function_name, fvar_mode, Variable::NORMAL,
4863 // %IS_VAR(x) evaluates to x if x is a variable,
4906 // In ES6, conflicting variable bindings are early errors.
4921 // initializing the variable with the parameter.
4931 Variable* parameter = function_scope->LookupLocal(name);
4945 // For each variable which is used as a function declaration in a sloppy
4951 // If the variable wouldn't conflict with a lexical declaration,
4952 Variable* var = scope->LookupLocal(name);
5349 Variable* temp =