Home
last modified time | relevance | path

Searched refs:function_literal (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/parsing/
Dparameter-initializer-rewriter.cc37 void Rewriter::VisitFunctionLiteral(FunctionLiteral* function_literal) { in VisitFunctionLiteral() argument
38 function_literal->scope()->ReplaceOuterScope(new_scope_); in VisitFunctionLiteral()
Dparser.cc238 FunctionLiteral* function_literal = factory()->NewFunctionLiteral( in DefaultConstructor() local
245 return function_literal; in DefaultConstructor()
2429 auto function_literal = value->AsFunctionLiteral(); in ParseVariableDeclarations() local
2430 if (function_literal->is_anonymous()) { in ParseVariableDeclarations()
2431 function_literal->set_raw_name(single_name); in ParseVariableDeclarations()
4332 FunctionLiteral* function_literal = factory()->NewFunctionLiteral( in ParseFunctionLiteral() local
4336 function_literal->set_function_token_position(function_token_pos); in ParseFunctionLiteral()
4338 function_literal->set_should_be_used_once_hint(); in ParseFunctionLiteral()
4341 function_literal->set_dont_optimize_reason(kRestParameter); in ParseFunctionLiteral()
4344 if (fni_ != NULL && should_infer_name) fni_->AddFunction(function_literal); in ParseFunctionLiteral()
[all …]
Dparser-base.h3119 FunctionLiteralT function_literal = factory()->NewFunctionLiteral( in ParseArrowFunctionLiteral() local
3127 function_literal->set_function_token_position( in ParseArrowFunctionLiteral()
3131 if (fni_ != NULL) this->InferFunctionName(fni_, function_literal); in ParseArrowFunctionLiteral()
3133 return function_literal; in ParseArrowFunctionLiteral()