• Home
  • Raw
  • Download

Lines Matching full:throw

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