Home | History | Annotate | Download | only in parsing

Lines Matching full:parsing_result

2283   DeclarationParsingResult parsing_result;
2284 ParseVariableDeclarations(var_context, &parsing_result, CHECK_OK);
2287 Block* result = parsing_result.BuildInitializationBlock(names, CHECK_OK);
2293 DeclarationParsingResult* parsing_result,
2309 parsing_result->descriptor.parser = this;
2310 parsing_result->descriptor.declaration_kind = DeclarationDescriptor::NORMAL;
2311 parsing_result->descriptor.declaration_pos = peek_position();
2312 parsing_result->descriptor.initialization_pos = peek_position();
2313 parsing_result->descriptor.mode = VAR;
2318 parsing_result->descriptor.needs_init = false;
2330 parsing_result->descriptor.mode = CONST_LEGACY;
2335 parsing_result->descriptor.mode = CONST;
2337 parsing_result->descriptor.needs_init = true;
2341 parsing_result->descriptor.mode = LET;
2342 parsing_result->descriptor.needs_init = true;
2347 parsing_result->descriptor.scope = scope_;
2348 parsing_result->descriptor.hoist_scope = nullptr;
2369 if (IsLexicalVariableMode(parsing_result->descriptor.mode)) {
2396 (parsing_result->descriptor.mode == CONST ||
2397 parsing_result->descriptor.mode == CONST_LEGACY)) {
2398 parsing_result->descriptor.needs_init = false;
2413 if (!parsing_result->first_initializer_loc.IsValid()) {
2414 parsing_result->first_initializer_loc = variable_loc;
2444 if ((parsing_result->descriptor.mode == CONST || is_pattern) &&
2458 if (value == NULL && parsing_result->descriptor.needs_init) {
2462 parsing_result->declarations.Add(DeclarationParsingResult::Declaration(
2467 parsing_result->bindings_loc =
3555 DeclarationParsingResult parsing_result;
3559 ParseVariableDeclarations(kForStatement, &parsing_result, CHECK_OK);
3560 is_const = parsing_result.descriptor.mode == CONST;
3562 int num_decl = parsing_result.declarations.length();
3574 parsing_result.bindings_loc,
3580 parsing_result.declarations[0];
3581 if (parsing_result.first_initializer_loc.IsValid() &&
3583 IsLexicalVariableMode(parsing_result.descriptor.mode) ||
3586 ReportMessageAt(parsing_result.first_initializer_loc,
3590 ReportMessageAt(parsing_result.first_initializer_loc,
3600 if (!IsLexicalVariableMode(parsing_result.descriptor.mode) &&
3607 nullptr, 2, true, parsing_result.descriptor.declaration_pos);
3655 auto descriptor = parsing_result.descriptor;
3681 if (IsLexicalVariableMode(parsing_result.descriptor.mode)) {
3715 init = parsing_result.BuildInitializationBlock(
3716 IsLexicalVariableMode(parsing_result.descriptor.mode)