Lines Matching refs:classifier
980 if (!classifier()->is_valid_expression()) { in ValidateExpression()
981 ReportClassifierError(classifier()->expression_error()); in ValidateExpression()
987 if (!classifier()->is_valid_formal_parameter_initializer()) { in ValidateFormalParameterInitializer()
988 ReportClassifierError(classifier()->formal_parameter_initializer_error()); in ValidateFormalParameterInitializer()
994 if (!classifier()->is_valid_binding_pattern()) { in ValidateBindingPattern()
995 ReportClassifierError(classifier()->binding_pattern_error()); in ValidateBindingPattern()
1001 if (!classifier()->is_valid_assignment_pattern()) { in ValidateAssignmentPattern()
1002 ReportClassifierError(classifier()->assignment_pattern_error()); in ValidateAssignmentPattern()
1010 !classifier()->is_valid_formal_parameter_list_without_duplicates()) { in ValidateFormalParameters()
1011 ReportClassifierError(classifier()->duplicate_formal_parameter_error()); in ValidateFormalParameters()
1014 !classifier()->is_valid_strict_mode_formal_parameters()) { in ValidateFormalParameters()
1015 ReportClassifierError(classifier()->strict_mode_formal_parameter_error()); in ValidateFormalParameters()
1027 if (classifier()->is_valid_binding_pattern()) { in ValidateArrowFormalParameters()
1035 } else if (!classifier()->is_valid_arrow_formal_parameters()) { in ValidateArrowFormalParameters()
1041 parenthesized_formals ? classifier()->arrow_formal_parameters_error() in ValidateArrowFormalParameters()
1042 : classifier()->binding_pattern_error(); in ValidateArrowFormalParameters()
1046 if (is_async && !classifier()->is_valid_async_arrow_formal_parameters()) { in ValidateArrowFormalParameters()
1048 classifier()->async_arrow_formal_parameters_error(); in ValidateArrowFormalParameters()
1055 if (!classifier()->is_valid_let_pattern()) { in ValidateLetPattern()
1056 ReportClassifierError(classifier()->let_pattern_error()); in ValidateLetPattern()
1066 classifier()->RecordExpressionError(location, message, arg); in ExpressionUnexpectedToken()
1074 classifier()->RecordBindingPatternError(location, message, arg); in BindingPatternUnexpectedToken()
1082 classifier()->RecordArrowFormalParametersError(location, message, arg); in ArrowFormalParametersUnexpectedToken()
1380 V8_INLINE ExpressionClassifier* classifier() const { in classifier() function
1560 ExpressionClassifier classifier(this); in ParseIdentifier()
1585 classifier()->RecordStrictModeFormalParameterError( in ParseAndClassifyIdentifier()
1588 classifier()->RecordBindingPatternError( in ParseAndClassifyIdentifier()
1592 classifier()->RecordAsyncArrowFormalParametersError( in ParseAndClassifyIdentifier()
1596 if (classifier()->duplicate_finder() != nullptr && in ParseAndClassifyIdentifier()
1597 scanner()->FindSymbol(classifier()->duplicate_finder(), 1) != 0) { in ParseAndClassifyIdentifier()
1598 classifier()->RecordDuplicateFormalParameterError(scanner()->location()); in ParseAndClassifyIdentifier()
1606 classifier()->RecordStrictModeFormalParameterError( in ParseAndClassifyIdentifier()
1617 classifier()->RecordLetPatternError( in ParseAndClassifyIdentifier()
1760 classifier()->RecordBindingPatternError( in ParsePrimaryExpression()
1776 bool pattern_error = !classifier()->is_valid_binding_pattern(); in ParsePrimaryExpression()
1777 classifier()->RecordPatternError(scanner()->peek_location(), in ParsePrimaryExpression()
1785 classifier()->RecordExpressionError(scanner()->location(), in ParsePrimaryExpression()
1846 ExpressionClassifier classifier(this); in ParseExpression()
1868 classifier()->RecordExpressionError(scanner()->location(), in ParseExpressionCoverGrammar()
1884 if (!impl()->IsIdentifier(right)) classifier()->RecordNonSimpleParameter(); in ParseExpressionCoverGrammar()
1896 classifier()->RecordArrowFormalParametersError( in ParseExpressionCoverGrammar()
1936 classifier()->RecordPatternError( in ParseArrayLiteral()
1945 classifier()->RecordPatternError( in ParseArrayLiteral()
2349 if (classifier()->duplicate_finder() != nullptr && in ParseObjectPropertyDefinition()
2350 scanner()->FindSymbol(classifier()->duplicate_finder(), 1) != 0) { in ParseObjectPropertyDefinition()
2351 classifier()->RecordDuplicateFormalParameterError( in ParseObjectPropertyDefinition()
2356 classifier()->RecordBindingPatternError( in ParseObjectPropertyDefinition()
2361 classifier()->RecordLetPatternError( in ParseObjectPropertyDefinition()
2366 classifier()->RecordAsyncArrowFormalParametersError( in ParseObjectPropertyDefinition()
2383 classifier()->RecordExpressionError( in ParseObjectPropertyDefinition()
2403 classifier()->RecordPatternError( in ParseObjectPropertyDefinition()
2426 classifier()->RecordPatternError( in ParseObjectPropertyDefinition()
2611 this, classifier()->duplicate_finder()); in ParseAssignmentExpression()
2669 if (!classifier()->is_simple_parameter_list()) { in ParseAssignmentExpression()
2681 classifier()->RecordDuplicateFormalParameterError(duplicate_loc); in ParseAssignmentExpression()
2685 classifier()->RecordPatternError(arrow_loc, in ParseAssignmentExpression()
2739 classifier()->RecordPatternError(scanner()->location(), in ParseAssignmentExpression()
2799 classifier()->RecordPatternError( in ParseYieldExpression()
2801 classifier()->RecordFormalParameterInitializerError( in ParseYieldExpression()
2985 classifier()->RecordFormalParameterInitializerError( in ParseUnaryExpression()
3089 if (!classifier()->is_valid_async_arrow_formal_parameters()) { in ParseLeftHandSideExpression()
3091 classifier()->async_arrow_formal_parameters_error()); in ParseLeftHandSideExpression()
3439 classifier()->RecordNonSimpleParameter(); in ParseFormalParameter()
3450 classifier()->RecordNonSimpleParameter(); in ParseFormalParameter()
3487 classifier()->RecordNonSimpleParameter(); in ParseFormalParameterList()
3587 ExpressionClassifier classifier(this); in ParseVariableDeclarations()
3993 ExpressionClassifier classifier(this); in ParseArrowFunctionLiteral()
4313 classifier()->RecordAssignmentPatternError( in CheckDestructuringElement()
4330 ExpressionClassifier classifier(this); in ParseV8Intrinsic()
5208 ExpressionClassifier classifier(this); in ParseForStatement()
5262 ExpressionClassifier classifier(this); in ParseForStatement()
5292 ExpressionClassifier classifier(this); in ParseForStatement()
5416 this->parser()->classifier()->RecordExpressionError( in CheckDuplicateProto()