Lines Matching full:throw
130 …throw new DiagnosticError(decl.node, DiagnosticCode.Duplicate_identifier_0, jshelpers.getSourceFil…
259 …throw new DiagnosticError(decl.node, DiagnosticCode.Declaration_name_conflicts_with_built_in_globa…
268 …throw new DiagnosticError(decl.node, DiagnosticCode.Duplicate_identifier_0, sourceNode, [decl.name…
283 …throw new DiagnosticError(node, DiagnosticCode.Jump_target_cannot_cross_function_boundary, jshelpe…
305 …throw new DiagnosticError(node, DiagnosticCode.A_continue_statement_can_only_jump_to_a_label_of_an…
340 throw new DiagnosticError(node, diagnosticCode, jshelpers.getSourceFileOfNode(node));
347 …throw new DiagnosticError(node, DiagnosticCode.A_return_statement_can_only_be_used_within_a_functi…
358 …throw new DiagnosticError(node, DiagnosticCode._0_is_not_a_valid_meta_property_for_keyword_1_Did_y…
363 …throw new DiagnosticError(node, DiagnosticCode.Meta_property_0_is_only_allowed_in_the_body_of_a_fu…
366 …throw new DiagnosticError(node, DiagnosticCode.Meta_property_0_is_only_allowed_in_the_body_of_a_fu…
369 …throw new DiagnosticError(node, DiagnosticCode.Meta_property_0_is_only_allowed_in_the_body_of_a_fu…
377 …throw new DiagnosticError(node, DiagnosticCode._0_is_not_a_valid_meta_property_for_keyword_1_Did_y…
390 …throw new DiagnosticError(name, DiagnosticCode.The_let_is_not_allowed_to_be_used_as_a_name_in_let_…
408 …throw new DiagnosticError(node, DiagnosticCode.The_let_declarations_can_only_be_declared_inside_a_…
412 …throw new DiagnosticError(node, DiagnosticCode.The_const_declarations_can_only_be_declared_inside_…
421 …throw new DiagnosticError(node, DiagnosticCode.A_destructuring_declaration_must_have_an_initialize…
425 … throw new DiagnosticError(node, DiagnosticCode.The_const_declarations_must_be_initialized, file);
432 …throw new DiagnosticError(node.exclamationToken, DiagnosticCode.Declarations_with_initializers_can…
434 …throw new DiagnosticError(node.exclamationToken, DiagnosticCode.Declarations_with_definite_assignm…
444 …throw new DiagnosticError(node, DiagnosticCode.const_and_let_declarations_not_allowed_in_statement…
457 …throw new DiagnosticError(node, DiagnosticCode.A_decorator_can_only_decorate_a_method_implementati…
459 throw new DiagnosticError(node, DiagnosticCode.Decorators_are_not_valid_here, file);
464 …throw new DiagnosticError(node, DiagnosticCode.Decorators_cannot_be_applied_to_multiple_get_Slashs…
480 …throw new DiagnosticError(asyncModifier, DiagnosticCode._0_modifier_cannot_be_used_here, file, ["a…
498 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_a_type_member, fil…
501 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_an_index_signature…
507 …throw new DiagnosticError(node, DiagnosticCode.A_class_member_cannot_have_the_0_keyword, file, [js…
517 … throw new DiagnosticError(modifier, DiagnosticCode.Accessibility_modifier_already_seen, file);
519 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, [tex…
521 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, [tex…
523 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, [tex…
525 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_a_module_or_namesp…
528 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_1_modifier, fil…
530 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, [tex…
533 …throw new DiagnosticError(modifier, DiagnosticCode.An_accessibility_modifier_cannot_be_used_with_a…
540 … throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_already_seen, file, ["static"]);
542 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, ["st…
544 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, ["st…
546 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_a_module_or_namesp…
548 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_a_parameter, file,…
550 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_1_modifier, fil…
552 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_a_private_ident…
560 … throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_already_seen, file, ["readonly"]);
563 …throw new DiagnosticError(modifier, DiagnosticCode.The_readonly_modifier_can_only_appear_on_a_prop…
571 … throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_already_seen, file, ["export"]);
573 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, ["ex…
575 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, ["ex…
577 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_must_precede_1_modifier, file, ["ex…
579 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_class_elements_of_…
581 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_a_parameter, file,…
589 …throw new DiagnosticError(modifier, DiagnosticCode.A_default_export_can_only_be_used_in_an_ECMAScr…
597 … throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_already_seen, file, ["declare"]);
599 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_in_an_ambient_contex…
601 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_class_elements_of_…
603 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_a_parameter, file,…
605 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_a_private_ident…
613 … throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_already_seen, file, ["abstract"]);
617 …throw new DiagnosticError(modifier, DiagnosticCode.The_abstract_modifier_can_only_appear_on_a_clas…
620 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_1_modifier, fil…
623 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_1_modifier, fil…
626 …throw new DiagnosticError(lastAsync, DiagnosticCode._0_modifier_cannot_be_used_with_1_modifier, fi…
631 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_a_private_ident…
639 … throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_already_seen, file, ["async"]);
641 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_in_an_ambient_contex…
643 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_appear_on_a_parameter, file,…
646 …throw new DiagnosticError(modifier, DiagnosticCode._0_modifier_cannot_be_used_with_1_modifier, fil…
659 …throw new DiagnosticError(lastStatic!, DiagnosticCode._0_modifier_cannot_appear_on_a_constructor_d…
662 …throw new DiagnosticError(lastStatic!, DiagnosticCode._0_modifier_cannot_appear_on_a_constructor_d…
664 …throw new DiagnosticError(lastAsync!, DiagnosticCode._0_modifier_cannot_appear_on_a_constructor_de…
666 …throw new DiagnosticError(lastReadonly!, DiagnosticCode._0_modifier_cannot_appear_on_a_constructor…
669 …throw new DiagnosticError(lastDeclare!, DiagnosticCode.A_0_modifier_cannot_be_used_with_an_import_…
671 …throw new DiagnosticError(node, DiagnosticCode.A_parameter_property_may_not_be_declared_using_a_bi…
673 …throw new DiagnosticError(node, DiagnosticCode.A_parameter_property_cannot_be_declared_using_a_res…
684 throw new DiagnosticError(declarationList, DiagnosticCode.Identifier_expected);
713 …throw new DiagnosticError(variableList.declarations[1], DiagnosticCode.Only_a_single_variable_decl…
715 …throw new DiagnosticError(variableList.declarations[1], DiagnosticCode.Only_a_single_variable_decl…
721 …throw new DiagnosticError(declarations[0].name, DiagnosticCode.The_variable_declaration_of_a_for_i…
723 …throw new DiagnosticError(declarations[0].name, DiagnosticCode.The_variable_declaration_of_a_for_o…
729 …throw new DiagnosticError(declarations[0], DiagnosticCode.The_left_hand_side_of_a_for_in_statement…
731 …throw new DiagnosticError(declarations[0], DiagnosticCode.The_left_hand_side_of_a_for_of_statement…
761 …throw new DiagnosticError(varExpr, DiagnosticCode.The_left_hand_side_of_a_for_in_statement_cannot_…
778 throw new DiagnosticError(expr, invalidReferenceCode);
782 throw new DiagnosticError(expr, invalidOptionalChainCode);
850 …throw new DiagnosticError(node, DiagnosticCode.Multiple_constructor_implementations_are_not_allowe…
870 …throw new DiagnosticError(node, DiagnosticCode.Class_declaration_not_allowed_in_statement_position…
887 … throw new DiagnosticError(heritageClause, DiagnosticCode.The_extends_clause_already_seen, file);
891 … throw new DiagnosticError(heritageClause, DiagnosticCode.Classes_can_only_extend_a_single_class);
920 …throw new DiagnosticError(leftExpr, DiagnosticCode.The_left_hand_side_of_an_assignment_expression_…
933 …throw new DiagnosticError(node, DiagnosticCode.Identifier_expected_0_is_a_reserved_word_at_the_top…
935 …throw new DiagnosticError(node, DiagnosticCode.Identifier_expected_0_is_a_reserved_word_that_canno…
938 …throw new DiagnosticError(node, DiagnosticCode.Identifier_expected_0_is_a_reserved_word_that_canno…
950 …throw new DiagnosticError(expression, DiagnosticCode.A_comma_expression_is_not_allowed_in_a_comput…
973 …throw new DiagnosticError(prop.expression, DiagnosticCode.A_rest_element_cannot_contain_a_binding_…
984 …throw new DiagnosticError(prop.equalsToken!, DiagnosticCode.Did_you_mean_to_use_a_Colon_An_can_onl…
988 …throw new DiagnosticError(name, DiagnosticCode.Private_identifiers_are_not_allowed_outside_class_b…
994 …throw new DiagnosticError(mod, DiagnosticCode._0_modifier_cannot_be_used_here, file, [jshelpers.ge…
1015 …throw new DiagnosticError(name, DiagnosticCode.Duplicate_identifier_0, file, [jshelpers.getTextOfN…
1026 …throw new DiagnosticError(exclamationToken, DiagnosticCode.A_definite_assignment_assertion_is_not_…
1033 …throw new DiagnosticError(questionToken, DiagnosticCode.An_object_member_cannot_be_declared_option…
1061 …throw new DiagnosticError(list[0], DiagnosticCode.A_rest_parameter_or_binding_pattern_may_not_have…
1074 …throw new DiagnosticError(parameter.dotDotDotToken, DiagnosticCode.A_rest_parameter_must_be_last_i…
1080 …throw new DiagnosticError(parameter.name, DiagnosticCode.A_rest_parameter_cannot_have_an_initializ…
1084 …throw new DiagnosticError(parameter.questionToken, DiagnosticCode.A_rest_parameter_cannot_be_optio…
1090 …throw new DiagnosticError(parameter.name, DiagnosticCode.Parameter_cannot_have_question_mark_and_i…
1094 …throw new DiagnosticError(parameter.name, DiagnosticCode.A_required_parameter_cannot_follow_an_opt…
1109 …throw new DiagnosticError(equalsGreaterThanToken, DiagnosticCode.Line_terminator_not_permitted_bef…
1128 …throw new DiagnosticError(node.label, DiagnosticCode.Duplicate_label_0, file, [jshelpers.getTextOf…
1137 …throw new DiagnosticError(node, DiagnosticCode.Lexical_declaration_let_not_allowed_in_statement_po…
1141 …throw new DiagnosticError(node, DiagnosticCode.Lexical_declaration_const_not_allowed_in_statement_…
1149 throw new DiagnosticError(node, DiagnosticCode.Getter_must_not_have_any_formal_parameters);
1190 …throw new DiagnosticError(node, DiagnosticCode.The_super_cannot_be_referenced_in_a_computed_proper…
1197 …throw new DiagnosticError(node, DiagnosticCode.Super_calls_are_not_permitted_outside_constructors_…
1201 …throw new DiagnosticError(node, DiagnosticCode.The_super_can_only_be_referenced_in_members_of_deri…
1204 …throw new DiagnosticError(node, DiagnosticCode.The_super_property_access_is_permitted_only_in_a_co…
1211 …throw new DiagnosticError(node, DiagnosticCode.Dynamic_imports_can_only_accept_a_module_specifier_…
1216 …throw new DiagnosticError(node, DiagnosticCode.Argument_of_dynamic_import_cannot_be_spread_element…
1229 …throw new DiagnosticError(node, DiagnosticCode.Line_break_not_permitted_here, jshelpers.getSourceF…
1319 …throw new DiagnosticError(target, DiagnosticCode.A_rest_element_must_be_last_in_a_destructuring_pa…
1323 …throw new DiagnosticError(target, DiagnosticCode.A_rest_parameter_or_binding_pattern_may_not_have_…
1343 … throw new DiagnosticError(target, DiagnosticCode.Property_destructuring_pattern_expected, file);
1350 … throw new DiagnosticError(target, DiagnosticCode.Property_destructuring_pattern_expected, file);
1361 … throw new DiagnosticError(target, DiagnosticCode.Property_destructuring_pattern_expected, file);
1374 …throw new DiagnosticError(element, DiagnosticCode.A_rest_element_must_be_last_in_a_destructuring_p…
1389 … throw new DiagnosticError(element, DiagnosticCode.Property_destructuring_pattern_expected, file);
1399 … throw new DiagnosticError(element, DiagnosticCode.Property_destructuring_pattern_expected, file);
1406 … throw new DiagnosticError(element, DiagnosticCode.Property_destructuring_pattern_expected, file);
1415 … throw new DiagnosticError(element, DiagnosticCode.Property_destructuring_pattern_expected, file);
1435 …throw new DiagnosticError(element, DiagnosticCode.A_rest_element_must_be_last_in_a_destructuring_p…
1439 … throw new DiagnosticError(element, DiagnosticCode.A_rest_parameter_cannot_have_an_initializer);