Searched refs:is_function_scope (Results 1 – 12 of 12) sorted by relevance
349 bool is_function_scope() const { return scope_type_ == FUNCTION_SCOPE; } in NON_EXPORTED_BASE()654 return is_function_scope() && IsArrowFunction(function_kind_); in is_arrow_scope()752 return (is_function_scope() && !is_arrow_scope()) || is_module_scope(); in has_this_declaration()763 DCHECK(is_function_scope() || is_module_scope()); in generator_object_var()768 DCHECK(is_function_scope()); in promise_var()777 DCHECK(is_function_scope() || is_module_scope()); in parameter()803 DCHECK(is_function_scope()); in SetHasNonSimpleParameters()809 DCHECK(is_function_scope()); in GetArgumentsType()829 (is_function_scope() && (IsClassConstructor(function_kind()) || in this_function_var()913 DCHECK(is_function_scope()); in set_has_inferred_function_name()
366 return !scope->is_function_scope() || scope->has_simple_parameters(); in HasSimpleParameters()382 return is_function_scope() && AsDeclarationScope()->asm_module(); in IsAsmModule()391 if (!scope->is_function_scope() || in ContainsAsmModule()514 DCHECK(is_function_scope() || is_eval_scope() || is_script_scope() || in HoistSloppyBlockFunctions()515 (is_block_scope() && outer_scope()->is_function_scope())); in HoistSloppyBlockFunctions()724 DCHECK(is_function_scope()); in DeclareArguments()743 DCHECK(is_function_scope()); in DeclareDefaultFunctionVariables()759 DCHECK(is_function_scope()); in DeclareFunctionVar()776 DCHECK(is_function_scope() || is_module_scope()); in DeclareGeneratorObjectVar()786 DCHECK(is_function_scope()); in DeclarePromiseVar()[all …]
34 uint8_t CreateClosureFlags::Encode(bool pretenure, bool is_function_scope) { in Encode() argument37 pretenure == NOT_TENURED && is_function_scope) { in Encode()
46 static uint8_t Encode(bool pretenure, bool is_function_scope);
1803 expr->pretenure(), closure_scope()->is_function_scope()); in VisitFunctionLiteral()4733 DCHECK(scope->is_function_scope() || scope->is_eval_scope()); in BuildNewLocalActivationContext()
385 DCHECK_EQ(this->scope()->is_function_scope(), formals->is_simple); in ParseStatementListAndLogFunction()394 DCHECK(scope()->is_function_scope()); in BuildParameterInitializationBlock()
117 DCHECK(scope->outer_scope()->is_function_scope()); in ReparentExpressionScope()
350 DCHECK(scope()->outer_scope()->is_function_scope()); in DeclaresParameterContainingSloppyEval()
2864 DCHECK(scope()->is_function_scope()); in BuildParameterInitializationBlock()3340 DCHECK(function_scope->is_function_scope()); in InsertShadowingVarBindingInitializers()
3698 if (!GetReceiverScope()->is_function_scope()) { in ParseNewTargetExpression()6042 (!scope->is_function_scope() || in MarkLoopVariableAsAssigned()
110 const bool has_inferred_function_name = scope->is_function_scope(); in Create()114 if (scope->is_function_scope()) { in Create()158 if (scope->is_function_scope()) { in Create()
529 if (!inner_scope->is_function_scope()) { in RetrieveScopeChain()