Home | History | Annotate | Download | only in parsing

Lines Matching refs:FunctionLiteral

167 FunctionLiteral* Parser::DefaultConstructor(const AstRawString* name,
211 FunctionLiteral* function_literal = factory()->NewFunctionLiteral(
213 parameter_count, FunctionLiteral::kNoDuplicateParameters,
214 FunctionLiteral::kAnonymousExpression, default_eager_compile_hint(), pos,
540 ? FunctionLiteral::kShouldLazyCompile
541 : FunctionLiteral::kShouldEagerCompile);
588 FunctionLiteral* Parser::ParseProgram(Isolate* isolate, ParseInfo* info) {
623 FunctionLiteral* result;
656 FunctionLiteral* Parser::DoParseProgram(ParseInfo* info) {
665 DCHECK(info->function_literal_id() == FunctionLiteral::kIdTypeTopLevel ||
666 info->function_literal_id() == FunctionLiteral::kIdTypeInvalid);
668 FunctionLiteral* result = NULL;
763 FunctionLiteral* Parser::ParseFunction(Isolate* isolate, ParseInfo* info) {
787 FunctionLiteral* result;
810 static FunctionLiteral::FunctionType ComputeFunctionType(ParseInfo* info) {
812 return FunctionLiteral::kDeclaration;
814 return FunctionLiteral::kNamedExpression;
817 return FunctionLiteral::kAccessorOrMethod;
819 return FunctionLiteral::kAnonymousExpression;
822 FunctionLiteral* Parser::DoParseFunction(ParseInfo* info,
840 FunctionLiteral* result = nullptr;
851 FunctionLiteral::FunctionType function_type = ComputeFunctionType(info);
932 // must produce a FunctionLiteral.
1488 FunctionLiteral* function, VariableMode mode,
1814 FunctionLiteral::FunctionType function_type,
1816 if (function_type == FunctionLiteral::kNamedExpression) {
2504 FunctionLiteral* Parser::ParseFunctionLiteral(
2507 int function_token_pos, FunctionLiteral::FunctionType function_type,
2531 FunctionLiteral::EagerCompileHint eager_compile_hint =
2533 ? FunctionLiteral::kShouldEagerCompile
2573 eager_compile_hint == FunctionLiteral::kShouldLazyCompile;
2606 function_type == FunctionLiteral::kDeclaration &&
2607 eager_compile_hint == FunctionLiteral::kShouldLazyCompile)));
2611 (parse_lazily() && function_type == FunctionLiteral::kDeclaration &&
2612 eager_compile_hint == FunctionLiteral::kShouldLazyCompile)),
2676 eager_compile_hint = FunctionLiteral::kShouldEagerCompile;
2738 FunctionLiteral::ParameterFlag duplicate_parameters =
2739 has_duplicate_parameters ? FunctionLiteral::kHasDuplicateParameters
2740 : FunctionLiteral::kNoDuplicateParameters;
2742 // Note that the FunctionLiteral needs to be created in the main Zone again.
2743 FunctionLiteral* function_literal = factory()->NewFunctionLiteral(
2910 void VisitFunctionLiteral(FunctionLiteral* expr) {}
3131 FunctionLiteral::FunctionType function_type,
3442 FunctionLiteral* result = NULL;
4122 FunctionLiteral* function,