Home | History | Annotate | Download | only in parsing

Lines Matching defs:nullptr

52       if (parser_->reusable_preparser_ != nullptr) {
64 if (parser_->reusable_preparser_ != nullptr) {
95 ZonePtrList<Statement>* body = nullptr;
147 #define CHECK_OK CHECK_OK_VALUE(nullptr)
151 if (failed_) return nullptr; \
232 NaryOperation* nary = nullptr;
261 if (literal != nullptr) {
350 return nullptr;
356 if (extension_ != nullptr) {
366 if (function != nullptr) {
376 if (args->length() == 1 && args->at(0)->AsVariableProxy() != nullptr) {
381 return nullptr;
389 return nullptr;
402 return nullptr;
417 reusable_preparser_(nullptr),
420 target_stack_(nullptr),
445 info->extension() == nullptr && can_compile_lazily;
485 (literal == nullptr || !literal->scope()->ContainsAsmModule())) {
517 if (V8_UNLIKELY(FLAG_log_function_events) && result != nullptr) {
538 // isolate will be nullptr.
539 DCHECK_EQ(parsing_on_main_thread_, isolate != nullptr);
548 FunctionLiteral* result = nullptr;
664 DCHECK_EQ(parsing_on_main_thread_, isolate != nullptr);
672 const AstRawString* function_name = nullptr;
710 if (result != nullptr) {
715 if (V8_UNLIKELY(FLAG_log_function_events) && result != nullptr) {
746 DCHECK_EQ(parsing_on_main_thread_, isolate != nullptr);
762 FunctionLiteral* result = nullptr;
782 return nullptr;
786 return nullptr;
831 if (p->pattern != nullptr) reindexer.Reindex(p->pattern);
832 if (p->initializer != nullptr) reindexer.Reindex(p->initializer);
871 : nullptr;
883 DCHECK(ok == (result != nullptr));
976 const AstRawString* export_name = nullptr;
984 if (export_name == nullptr) {
1028 return nullptr;
1032 return nullptr;
1081 const AstRawString* import_default_binding = nullptr;
1092 const AstRawString* module_namespace_binding = nullptr;
1094 const ZonePtrList<const NamedImport>* named_imports = nullptr;
1095 if (import_default_binding == nullptr || Check(Token::COMMA)) {
1132 if (module_namespace_binding != nullptr) {
1138 if (import_default_binding != nullptr) {
1144 if (named_imports != nullptr) {
1169 Statement* result = nullptr;
1236 Statement* result = nullptr;
1269 const AstRawString* module_specifier = nullptr;
1278 return nullptr;
1281 if (module_specifier == nullptr) {
1323 return nullptr;
1364 Declare(declaration, DeclarationDescriptor::NORMAL, mode, init, ok, nullptr,
1366 if (!*ok) return nullptr;
1374 if (scope == nullptr) {
1395 return nullptr;
1488 if (*labels == nullptr) {
1493 if (*own_labels == nullptr) {
1509 if (labels != nullptr) {
1557 return nullptr;
1601 if (catch_info->name == nullptr) {
1607 if (catch_info->pattern != nullptr) {
1633 if (inner_block_scope != nullptr) {
1636 if (decl != nullptr) {
1659 if (catch_block != nullptr && finally_block != nullptr) {
1668 catch_block = nullptr; // Clear to indicate it's been handled.
1671 if (catch_block != nullptr) {
1778 function_scope->LookupLocal(function_name) == nullptr) {
1834 if (for_of != nullptr) {
1879 decl.pattern->IsVariableProxy() && decl.initializer != nullptr) {
1892 return nullptr;
1934 collect_names ? &for_info->bound_names : nullptr, CHECK_OK_VOID);
1945 while (catch_scope != nullptr && !catch_scope->is_declaration_scope()) {
2177 Variable* first = nullptr;
2202 factory()->NewForStatement(nullptr, nullptr, kNoSourcePosition);
2234 Expression* compare = nullptr;
2242 Statement* clear_first = nullptr;
2281 Expression* flag_cond = nullptr;
2290 Statement* compound_next_statement = nullptr;
2292 Expression* compound_next = nullptr;
2321 loop->Initialize(nullptr, flag_cond, compound_next_statement, body);
2326 Expression* compare = nullptr;
2345 outer_loop->Initialize(nullptr, nullptr, nullptr, inner_block);
2413 Expression* initializer = nullptr;
2478 DCHECK_EQ(is_wrapped, arguments_for_wrapped_function != nullptr);
2487 bool should_infer_name = function_name == nullptr;
2534 DCHECK_IMPLIES(parse_lazily(), extension_ == nullptr);
2578 ZonePtrList<Statement>* body = nullptr;
2585 ProducedPreParsedScopeData* produced_preparsed_scope_data = nullptr;
2882 if (parameter->initializer != nullptr) {
2917 DeclareAndInitializeVariables(param_block, &descriptor, &decl, nullptr,
2922 if (param_scope != nullptr) {
3039 if (promise == nullptr) {
3110 return nullptr;
3116 return nullptr;
3158 if (name != nullptr) {
3199 class_name != nullptr ? ast_value_factory()->NewConsString(class_name)
3200 : nullptr);
3273 bool has_extends = class_info->extends != nullptr;
3274 bool has_default_constructor = class_info->constructor == nullptr;
3280 if (name != nullptr) {
3285 FunctionLiteral* static_fields_initializer = nullptr;
3291 FunctionLiteral* instance_fields_initializer_function = nullptr;
3311 if (decl != nullptr) {
3349 if (parameter == nullptr) continue;
3375 for (ParserTarget* t = target_stack_; t != nullptr; t = t->previous()) {
3384 bool anonymous = label == nullptr;
3385 for (ParserTarget* t = target_stack_; t != nullptr; t = t->previous()) {
3392 return nullptr;
3398 bool anonymous = label == nullptr;
3399 for (ParserTarget* t = target_stack_; t != nullptr; t = t->previous()) {
3401 if (stat == nullptr) continue;
3409 return nullptr;
3449 FunctionLiteral* result = nullptr;
3464 result = DoParseProgram(/* isolate = */ nullptr, info);
3467 DoParseFunction(/* isolate = */ nullptr, info, info->function_name());
3489 (*state)->AddTemplateSpan(nullptr, raw, end, zone());
3692 name = nullptr;
3693 prefix = nullptr;
3701 name != nullptr);
3740 if (function != nullptr) {
3741 AstConsString* cons_name = nullptr;
3742 if (name != nullptr) {
3743 if (prefix != nullptr) {
4063 factory()->NewTryCatchStatement(try_block, nullptr, catch_block, nopos);