Lines Matching refs:classifier

488                                  ExpressionClassifier* classifier, int beg_pos,
572 void ValidateExpression(const ExpressionClassifier* classifier, bool* ok) { in ValidateExpression() argument
573 if (!classifier->is_valid_expression() || in ValidateExpression()
574 classifier->has_cover_initialized_name()) { in ValidateExpression()
575 const Scanner::Location& a = classifier->expression_error().location; in ValidateExpression()
577 classifier->cover_initialized_name_error().location; in ValidateExpression()
579 ReportClassifierError(classifier->cover_initialized_name_error()); in ValidateExpression()
581 ReportClassifierError(classifier->expression_error()); in ValidateExpression()
588 const ExpressionClassifier* classifier, bool* ok) { in ValidateFormalParameterInitializer() argument
589 if (!classifier->is_valid_formal_parameter_initializer()) { in ValidateFormalParameterInitializer()
590 ReportClassifierError(classifier->formal_parameter_initializer_error()); in ValidateFormalParameterInitializer()
595 void ValidateBindingPattern(const ExpressionClassifier* classifier, in ValidateBindingPattern() argument
597 if (!classifier->is_valid_binding_pattern()) { in ValidateBindingPattern()
598 ReportClassifierError(classifier->binding_pattern_error()); in ValidateBindingPattern()
603 void ValidateAssignmentPattern(const ExpressionClassifier* classifier, in ValidateAssignmentPattern() argument
605 if (!classifier->is_valid_assignment_pattern()) { in ValidateAssignmentPattern()
606 ReportClassifierError(classifier->assignment_pattern_error()); in ValidateAssignmentPattern()
611 void ValidateFormalParameters(const ExpressionClassifier* classifier, in ValidateFormalParameters() argument
615 !classifier->is_valid_formal_parameter_list_without_duplicates()) { in ValidateFormalParameters()
616 ReportClassifierError(classifier->duplicate_formal_parameter_error()); in ValidateFormalParameters()
619 !classifier->is_valid_strict_mode_formal_parameters()) { in ValidateFormalParameters()
620 ReportClassifierError(classifier->strict_mode_formal_parameter_error()); in ValidateFormalParameters()
623 !classifier->is_valid_strong_mode_formal_parameters()) { in ValidateFormalParameters()
624 ReportClassifierError(classifier->strong_mode_formal_parameter_error()); in ValidateFormalParameters()
629 void ValidateArrowFormalParameters(const ExpressionClassifier* classifier, in ValidateArrowFormalParameters() argument
632 if (classifier->is_valid_binding_pattern()) { in ValidateArrowFormalParameters()
640 } else if (!classifier->is_valid_arrow_formal_parameters()) { in ValidateArrowFormalParameters()
646 parenthesized_formals ? classifier->arrow_formal_parameters_error() in ValidateArrowFormalParameters()
647 : classifier->binding_pattern_error(); in ValidateArrowFormalParameters()
653 void ValidateLetPattern(const ExpressionClassifier* classifier, bool* ok) { in ValidateLetPattern() argument
654 if (!classifier->is_valid_let_pattern()) { in ValidateLetPattern()
655 ReportClassifierError(classifier->let_pattern_error()); in ValidateLetPattern()
660 void ExpressionUnexpectedToken(ExpressionClassifier* classifier) { in ExpressionUnexpectedToken() argument
664 classifier->RecordExpressionError(scanner()->peek_location(), message, arg); in ExpressionUnexpectedToken()
667 void BindingPatternUnexpectedToken(ExpressionClassifier* classifier) { in BindingPatternUnexpectedToken() argument
671 classifier->RecordBindingPatternError(scanner()->peek_location(), message, in BindingPatternUnexpectedToken()
675 void ArrowFormalParametersUnexpectedToken(ExpressionClassifier* classifier) { in ArrowFormalParametersUnexpectedToken() argument
679 classifier->RecordArrowFormalParametersError(scanner()->peek_location(), in ArrowFormalParametersUnexpectedToken()
684 ExpressionClassifier* classifier) { in FormalParameterInitializerUnexpectedToken() argument
688 classifier->RecordFormalParameterInitializerError( in FormalParameterInitializerUnexpectedToken()
700 IdentifierT ParseAndClassifyIdentifier(ExpressionClassifier* classifier,
724 ExpressionClassifier* classifier, bool* ok);
726 ExpressionT ParsePrimaryExpression(ExpressionClassifier* classifier,
729 ExpressionT ParseExpression(bool accept_IN, ExpressionClassifier* classifier,
732 ExpressionClassifier* classifier, bool* ok);
733 ExpressionT ParseArrayLiteral(ExpressionClassifier* classifier, bool* ok);
737 ExpressionClassifier* classifier, bool* ok);
738 ExpressionT ParseObjectLiteral(ExpressionClassifier* classifier, bool* ok);
742 ExpressionClassifier* classifier, IdentifierT* name, bool* ok);
744 Scanner::Location* first_spread_pos, ExpressionClassifier* classifier,
754 ExpressionClassifier* classifier,
757 ExpressionClassifier* classifier, in ParseAssignmentExpression() argument
759 return ParseAssignmentExpression(accept_IN, kIsNormalAssignment, classifier, in ParseAssignmentExpression()
762 ExpressionT ParseYieldExpression(ExpressionClassifier* classifier, bool* ok);
764 ExpressionClassifier* classifier,
767 ExpressionClassifier* classifier, bool* ok);
768 ExpressionT ParseUnaryExpression(ExpressionClassifier* classifier, bool* ok);
769 ExpressionT ParsePostfixExpression(ExpressionClassifier* classifier,
771 ExpressionT ParseLeftHandSideExpression(ExpressionClassifier* classifier,
774 ExpressionClassifier* classifier, bool* ok);
775 ExpressionT ParseMemberExpression(ExpressionClassifier* classifier, bool* ok);
777 ExpressionT expression, ExpressionClassifier* classifier, bool* ok);
780 const ExpressionClassifier& classifier,
783 ExpressionClassifier* classifier, bool* ok);
786 ExpressionClassifier* classifier, bool* ok);
789 ExpressionClassifier* classifier, bool* ok);
790 ExpressionT ParseStrongSuperCallExpression(ExpressionClassifier* classifier,
794 ExpressionClassifier* classifier, bool* ok);
796 ExpressionClassifier* classifier, bool* ok);
810 ExpressionClassifier* classifier, ExpressionT expression, int beg_pos,
1040 ExpressionClassifier classifier; in ParseIdentifier() local
1041 auto result = ParseAndClassifyIdentifier(&classifier, ok); in ParseIdentifier()
1045 ValidateAssignmentPattern(&classifier, ok); in ParseIdentifier()
1047 ValidateBindingPattern(&classifier, ok); in ParseIdentifier()
1057 ParserBase<Traits>::ParseAndClassifyIdentifier(ExpressionClassifier* classifier, in ParseAndClassifyIdentifier() argument
1069 classifier->RecordStrictModeFormalParameterError( in ParseAndClassifyIdentifier()
1072 classifier->RecordBindingPatternError( in ParseAndClassifyIdentifier()
1078 classifier->RecordStrictModeFormalParameterError( in ParseAndClassifyIdentifier()
1081 classifier->RecordBindingPatternError( in ParseAndClassifyIdentifier()
1085 classifier->RecordExpressionError(scanner()->location(), in ParseAndClassifyIdentifier()
1090 classifier->RecordStrongModeFormalParameterError( in ParseAndClassifyIdentifier()
1094 classifier->RecordBindingPatternError( in ParseAndClassifyIdentifier()
1096 classifier->RecordAssignmentPatternError( in ParseAndClassifyIdentifier()
1101 if (classifier->duplicate_finder() != nullptr && in ParseAndClassifyIdentifier()
1102 scanner()->FindSymbol(classifier->duplicate_finder(), 1) != 0) { in ParseAndClassifyIdentifier()
1103 classifier->RecordDuplicateFormalParameterError(scanner()->location()); in ParseAndClassifyIdentifier()
1111 classifier->RecordStrictModeFormalParameterError( in ParseAndClassifyIdentifier()
1120 classifier->RecordLetPatternError(scanner()->location(), in ParseAndClassifyIdentifier()
1188 bool seen_equal, ExpressionClassifier* classifier, bool* ok) { in ParseRegExpLiteral() argument
1230 ParserBase<Traits>::ParsePrimaryExpression(ExpressionClassifier* classifier, in ParsePrimaryExpression() argument
1251 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1268 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1272 classifier->RecordBindingPatternError( in ParsePrimaryExpression()
1283 IdentifierT name = ParseAndClassifyIdentifier(classifier, CHECK_OK); in ParsePrimaryExpression()
1289 classifier->RecordBindingPatternError( in ParsePrimaryExpression()
1296 classifier->RecordBindingPatternError( in ParsePrimaryExpression()
1298 return this->ParseRegExpLiteral(true, classifier, ok); in ParsePrimaryExpression()
1301 classifier->RecordBindingPatternError( in ParsePrimaryExpression()
1303 return this->ParseRegExpLiteral(false, classifier, ok); in ParsePrimaryExpression()
1307 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1309 return this->ParseArrayLiteral(classifier, ok); in ParsePrimaryExpression()
1313 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1315 return this->ParseObjectLiteral(classifier, ok); in ParsePrimaryExpression()
1323 if (!classifier->is_valid_binding_pattern()) { in ParsePrimaryExpression()
1324 ArrowFormalParametersUnexpectedToken(classifier); in ParsePrimaryExpression()
1326 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1331 classifier->RecordExpressionError(scanner()->location(), in ParsePrimaryExpression()
1334 classifier->RecordBindingPatternError(scanner()->location(), in ParsePrimaryExpression()
1342 classifier->RecordExpressionError(scanner()->location(), in ParsePrimaryExpression()
1345 classifier->RecordNonSimpleParameter(); in ParsePrimaryExpression()
1347 this->ParseAssignmentExpression(true, classifier, CHECK_OK); in ParsePrimaryExpression()
1361 classifier, CHECK_OK); in ParsePrimaryExpression()
1370 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1393 classifier->RecordBindingPatternError( in ParsePrimaryExpression()
1397 classifier, ok); in ParsePrimaryExpression()
1401 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1408 BindingPatternUnexpectedToken(classifier); in ParsePrimaryExpression()
1426 ExpressionClassifier classifier; in ParseExpression() local
1427 ExpressionT result = ParseExpression(accept_IN, &classifier, CHECK_OK); in ParseExpression()
1428 result = Traits::RewriteNonPattern(result, &classifier, CHECK_OK); in ParseExpression()
1435 bool accept_IN, ExpressionClassifier* classifier, bool* ok) { in ParseExpression() argument
1436 return ParseExpression(accept_IN, kIsNormalAssignment, classifier, ok); in ParseExpression()
1442 bool accept_IN, int flags, ExpressionClassifier* classifier, bool* ok) { in ParseExpression() argument
1450 classifier->Accumulate(binding_classifier, in ParseExpression()
1458 classifier->RecordArrowFormalParametersError( in ParseExpression()
1467 ExpressionUnexpectedToken(classifier); in ParseExpression()
1468 BindingPatternUnexpectedToken(classifier); in ParseExpression()
1478 classifier->Accumulate(binding_classifier, in ParseExpression()
1483 classifier->RecordNonSimpleParameter(); in ParseExpression()
1492 ExpressionClassifier* classifier, bool* ok) { in ParseArrayLiteral() argument
1515 this->ParseAssignmentExpression(true, classifier, CHECK_OK); in ParseArrayLiteral()
1523 classifier->RecordPatternError( in ParseArrayLiteral()
1527 CheckDestructuringElement(argument, classifier, start_pos, in ParseArrayLiteral()
1532 classifier->RecordPatternError( in ParseArrayLiteral()
1538 classifier, CHECK_OK); in ParseArrayLiteral()
1559 ExpressionClassifier* classifier, bool* ok) { in ParsePropertyName() argument
1596 classifier->Accumulate(computed_name_classifier, in ParsePropertyName()
1629 ExpressionClassifier* classifier, IdentifierT* name, bool* ok) { in ParsePropertyDefinition() argument
1644 &is_escaped_keyword, classifier, in ParsePropertyDefinition()
1667 true, kIsPossiblePatternElement, classifier, in ParsePropertyDefinition()
1691 if (classifier->duplicate_finder() != nullptr && in ParsePropertyDefinition()
1692 scanner()->FindSymbol(classifier->duplicate_finder(), 1) != 0) { in ParsePropertyDefinition()
1693 classifier->RecordDuplicateFormalParameterError(scanner()->location()); in ParsePropertyDefinition()
1696 classifier->RecordLetPatternError( in ParsePropertyDefinition()
1702 CheckDestructuringElement(lhs, classifier, next_beg_pos, next_end_pos); in ParsePropertyDefinition()
1711 classifier->Accumulate(rhs_classifier, in ParsePropertyDefinition()
1715 classifier->RecordCoverInitializedNameError( in ParsePropertyDefinition()
1735 classifier->RecordPatternError( in ParsePropertyDefinition()
1776 checker, true, has_extends, true, is_computed_name, nullptr, classifier, in ParsePropertyDefinition()
1779 classifier, ok); in ParsePropertyDefinition()
1793 &dont_care, classifier, CHECK_OK_CUSTOM(EmptyObjectLiteralProperty)); in ParsePropertyDefinition()
1832 ExpressionClassifier* classifier, bool* ok) { in ParseObjectLiteral() argument
1856 classifier, &name, CHECK_OK); in ParseObjectLiteral()
1901 Scanner::Location* first_spread_arg_loc, ExpressionClassifier* classifier, in ParseArguments() argument
1918 true, classifier, CHECK_OK_CUSTOM(NullExpressionList)); in ParseArguments()
1919 argument = Traits::RewriteNonPattern(argument, classifier, in ParseArguments()
1971 ExpressionClassifier* classifier, in ParseAssignmentExpression() argument
1984 return this->ParseYieldExpression(classifier, ok); in ParseAssignmentExpression()
1989 ExpressionClassifier arrow_formals_classifier(classifier->duplicate_finder()); in ParseAssignmentExpression()
1997 BindingPatternUnexpectedToken(classifier); in ParseAssignmentExpression()
2026 classifier->RecordPatternError( in ParseAssignmentExpression()
2042 classifier->Accumulate( in ParseAssignmentExpression()
2055 CheckDestructuringElement(expression, classifier, lhs_beg_pos, in ParseAssignmentExpression()
2063 BindingPatternUnexpectedToken(classifier); in ParseAssignmentExpression()
2068 classifier->ForgiveCoverInitializedNameError(); in ParseAssignmentExpression()
2069 ValidateAssignmentPattern(classifier, CHECK_OK); in ParseAssignmentExpression()
2073 classifier, expression, lhs_beg_pos, scanner()->location().end_pos, in ParseAssignmentExpression()
2077 CheckDestructuringElement(expression, classifier, lhs_beg_pos, in ParseAssignmentExpression()
2089 classifier->RecordBindingPatternError(scanner()->location(), in ParseAssignmentExpression()
2100 classifier->Accumulate( in ParseAssignmentExpression()
2114 classifier->RecordAssignmentPatternError( in ParseAssignmentExpression()
2149 ParserBase<Traits>::ParseYieldExpression(ExpressionClassifier* classifier, in ParseYieldExpression() argument
2154 classifier->RecordPatternError(scanner()->peek_location(), in ParseYieldExpression()
2156 FormalParameterInitializerUnexpectedToken(classifier); in ParseYieldExpression()
2181 expression = ParseAssignmentExpression(false, classifier, CHECK_OK); in ParseYieldExpression()
2183 Traits::RewriteNonPattern(expression, classifier, CHECK_OK); in ParseYieldExpression()
2205 ExpressionClassifier* classifier, in ParseConditionalExpression() argument
2214 this->ParseBinaryExpression(4, accept_IN, classifier, CHECK_OK); in ParseConditionalExpression()
2216 expression = Traits::RewriteNonPattern(expression, classifier, CHECK_OK); in ParseConditionalExpression()
2217 ArrowFormalParametersUnexpectedToken(classifier); in ParseConditionalExpression()
2218 BindingPatternUnexpectedToken(classifier); in ParseConditionalExpression()
2223 ExpressionT left = ParseAssignmentExpression(true, classifier, CHECK_OK); in ParseConditionalExpression()
2224 left = Traits::RewriteNonPattern(left, classifier, CHECK_OK); in ParseConditionalExpression()
2227 ParseAssignmentExpression(accept_IN, classifier, CHECK_OK); in ParseConditionalExpression()
2228 right = Traits::RewriteNonPattern(right, classifier, CHECK_OK); in ParseConditionalExpression()
2237 ExpressionClassifier* classifier, in ParseBinaryExpression() argument
2240 ExpressionT x = this->ParseUnaryExpression(classifier, CHECK_OK); in ParseBinaryExpression()
2244 x = Traits::RewriteNonPattern(x, classifier, CHECK_OK); in ParseBinaryExpression()
2245 BindingPatternUnexpectedToken(classifier); in ParseBinaryExpression()
2246 ArrowFormalParametersUnexpectedToken(classifier); in ParseBinaryExpression()
2251 ParseBinaryExpression(prec1 + 1, accept_IN, classifier, CHECK_OK); in ParseBinaryExpression()
2252 y = Traits::RewriteNonPattern(y, classifier, CHECK_OK); in ParseBinaryExpression()
2293 ParserBase<Traits>::ParseUnaryExpression(ExpressionClassifier* classifier, in ParseUnaryExpression() argument
2309 BindingPatternUnexpectedToken(classifier); in ParseUnaryExpression()
2310 ArrowFormalParametersUnexpectedToken(classifier); in ParseUnaryExpression()
2314 ExpressionT expression = ParseUnaryExpression(classifier, CHECK_OK); in ParseUnaryExpression()
2315 expression = Traits::RewriteNonPattern(expression, classifier, CHECK_OK); in ParseUnaryExpression()
2333 BindingPatternUnexpectedToken(classifier); in ParseUnaryExpression()
2334 ArrowFormalParametersUnexpectedToken(classifier); in ParseUnaryExpression()
2337 ExpressionT expression = this->ParseUnaryExpression(classifier, CHECK_OK); in ParseUnaryExpression()
2342 expression = Traits::RewriteNonPattern(expression, classifier, CHECK_OK); in ParseUnaryExpression()
2350 return this->ParsePostfixExpression(classifier, ok); in ParseUnaryExpression()
2357 ParserBase<Traits>::ParsePostfixExpression(ExpressionClassifier* classifier, in ParsePostfixExpression() argument
2364 this->ParseLeftHandSideExpression(classifier, CHECK_OK); in ParsePostfixExpression()
2367 BindingPatternUnexpectedToken(classifier); in ParsePostfixExpression()
2368 ArrowFormalParametersUnexpectedToken(classifier); in ParsePostfixExpression()
2374 expression = Traits::RewriteNonPattern(expression, classifier, CHECK_OK); in ParsePostfixExpression()
2390 ExpressionClassifier* classifier, bool* ok) { in ParseLeftHandSideExpression() argument
2395 this->ParseMemberWithNewPrefixesExpression(classifier, CHECK_OK); in ParseLeftHandSideExpression()
2400 BindingPatternUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2401 ArrowFormalParametersUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2404 ExpressionT index = ParseExpression(true, classifier, CHECK_OK); in ParseLeftHandSideExpression()
2405 index = Traits::RewriteNonPattern(index, classifier, CHECK_OK); in ParseLeftHandSideExpression()
2412 result = Traits::RewriteNonPattern(result, classifier, CHECK_OK); in ParseLeftHandSideExpression()
2413 BindingPatternUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2414 ArrowFormalParametersUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2444 ParseArguments(&spread_pos, classifier, CHECK_OK); in ParseLeftHandSideExpression()
2476 BindingPatternUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2477 ArrowFormalParametersUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2489 BindingPatternUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2490 ArrowFormalParametersUnexpectedToken(classifier); in ParseLeftHandSideExpression()
2491 result = ParseTemplateLiteral(result, position(), classifier, CHECK_OK); in ParseLeftHandSideExpression()
2505 ExpressionClassifier* classifier, bool* ok) { in ParseMemberWithNewPrefixesExpression() argument
2527 BindingPatternUnexpectedToken(classifier); in ParseMemberWithNewPrefixesExpression()
2528 ArrowFormalParametersUnexpectedToken(classifier); in ParseMemberWithNewPrefixesExpression()
2534 result = ParseSuperExpression(is_new, classifier, CHECK_OK); in ParseMemberWithNewPrefixesExpression()
2538 result = this->ParseMemberWithNewPrefixesExpression(classifier, CHECK_OK); in ParseMemberWithNewPrefixesExpression()
2540 result = Traits::RewriteNonPattern(result, classifier, CHECK_OK); in ParseMemberWithNewPrefixesExpression()
2545 this->ParseArguments(&spread_pos, classifier, CHECK_OK); in ParseMemberWithNewPrefixesExpression()
2555 this->ParseMemberExpressionContinuation(result, classifier, CHECK_OK); in ParseMemberWithNewPrefixesExpression()
2563 return this->ParseMemberExpression(classifier, ok); in ParseMemberWithNewPrefixesExpression()
2569 ParserBase<Traits>::ParseMemberExpression(ExpressionClassifier* classifier, in ParseMemberExpression() argument
2582 BindingPatternUnexpectedToken(classifier); in ParseMemberExpression()
2583 ArrowFormalParametersUnexpectedToken(classifier); in ParseMemberExpression()
2609 result = ParseSuperExpression(is_new, classifier, CHECK_OK); in ParseMemberExpression()
2611 result = ParsePrimaryExpression(classifier, CHECK_OK); in ParseMemberExpression()
2614 result = ParseMemberExpressionContinuation(result, classifier, CHECK_OK); in ParseMemberExpression()
2622 ExpressionClassifier* classifier, bool* ok) { in ParseStrongInitializationExpression() argument
2639 ExpressionT index = this->ParseExpression(true, classifier, CHECK_OK); in ParseStrongInitializationExpression()
2640 index = Traits::RewriteNonPattern(index, classifier, CHECK_OK); in ParseStrongInitializationExpression()
2675 this->ParseAssignmentExpression(true, classifier, CHECK_OK); in ParseStrongInitializationExpression()
2676 right = Traits::RewriteNonPattern(right, classifier, CHECK_OK); in ParseStrongInitializationExpression()
2704 ExpressionClassifier* classifier, bool* ok) { in ParseStrongSuperCallExpression() argument
2707 BindingPatternUnexpectedToken(classifier); in ParseStrongSuperCallExpression()
2722 ParseArguments(&spread_pos, classifier, CHECK_OK); in ParseStrongSuperCallExpression()
2764 ExpressionClassifier* classifier, in ParseSuperExpression() argument
2821 ExpressionT expression, ExpressionClassifier* classifier, bool* ok) { in ParseMemberExpressionContinuation() argument
2827 BindingPatternUnexpectedToken(classifier); in ParseMemberExpressionContinuation()
2828 ArrowFormalParametersUnexpectedToken(classifier); in ParseMemberExpressionContinuation()
2832 ExpressionT index = this->ParseExpression(true, classifier, CHECK_OK); in ParseMemberExpressionContinuation()
2833 index = Traits::RewriteNonPattern(index, classifier, CHECK_OK); in ParseMemberExpressionContinuation()
2842 BindingPatternUnexpectedToken(classifier); in ParseMemberExpressionContinuation()
2843 ArrowFormalParametersUnexpectedToken(classifier); in ParseMemberExpressionContinuation()
2857 BindingPatternUnexpectedToken(classifier); in ParseMemberExpressionContinuation()
2858 ArrowFormalParametersUnexpectedToken(classifier); in ParseMemberExpressionContinuation()
2871 ParseTemplateLiteral(expression, pos, classifier, CHECK_OK); in ParseMemberExpressionContinuation()
2885 FormalParametersT* parameters, ExpressionClassifier* classifier, bool* ok) { in ParseFormalParameter() argument
2891 ExpressionT pattern = ParsePrimaryExpression(classifier, ok); in ParseFormalParameter()
2894 ValidateBindingPattern(classifier, ok); in ParseFormalParameter()
2904 ValidateFormalParameterInitializer(classifier, ok); in ParseFormalParameter()
2906 classifier->RecordNonSimpleParameter(); in ParseFormalParameter()
2918 classifier->RecordNonSimpleParameter(); in ParseFormalParameter()
2928 FormalParametersT* parameters, ExpressionClassifier* classifier, bool* ok) { in ParseFormalParameterList() argument
2953 ParseFormalParameter(parameters, classifier, ok); in ParseFormalParameterList()
2959 classifier->RecordNonSimpleParameter(); in ParseFormalParameterList()
2971 Traits::DeclareFormalParameter(parameters->scope, parameter, classifier); in ParseFormalParameterList()
3085 ExpressionClassifier classifier; in ParseArrowFunctionLiteral() local
3087 ParseAssignmentExpression(accept_IN, &classifier, CHECK_OK); in ParseArrowFunctionLiteral()
3088 expression = Traits::RewriteNonPattern(expression, &classifier, CHECK_OK); in ParseArrowFunctionLiteral()
3140 ExpressionClassifier* classifier, in ParseTemplateLiteral() argument
3193 ExpressionT expression = this->ParseExpression(true, classifier, CHECK_OK); in ParseTemplateLiteral()
3194 expression = Traits::RewriteNonPattern(expression, classifier, CHECK_OK); in ParseTemplateLiteral()
3248 ExpressionClassifier classifier; in CheckAndRewriteReferenceExpression() local
3250 &classifier, expression, beg_pos, end_pos, message, type); in CheckAndRewriteReferenceExpression()
3251 ValidateExpression(&classifier, ok); in CheckAndRewriteReferenceExpression()
3260 ExpressionClassifier* classifier, ExpressionT expression, int beg_pos, in ClassifyAndRewriteReferenceExpression() argument
3266 classifier->RecordExpressionError( in ClassifyAndRewriteReferenceExpression()
3272 classifier->RecordExpressionError( in ClassifyAndRewriteReferenceExpression()
3286 classifier->RecordExpressionError(location, message, type); in ClassifyAndRewriteReferenceExpression()
3300 ExpressionT expression, ExpressionClassifier* classifier, int begin, in CheckDestructuringElement() argument
3308 classifier->RecordPatternError(location, message); in CheckDestructuringElement()
3314 classifier->RecordBindingPatternError(location, message); in CheckDestructuringElement()
3316 classifier->RecordPatternError(location, message); in CheckDestructuringElement()