(node)
| 84069 | registerForUnusedIdentifiersCheck(node); |
| 84070 | } |
| 84071 | function checkClassDeclaration(node) { |
| 84072 | if (ts.some(node.decorators) && ts.some(node.members, function (p) { return ts.hasStaticModifier(p) && ts.isPrivateIdentifierClassElementDeclaration(p); })) { |
| 84073 | grammarErrorOnNode(node.decorators[0], ts.Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator); |
| 84074 | } |
| 84075 | if (!node.name && !ts.hasSyntacticModifier(node, 512 /* ModifierFlags.Default */)) { |
| 84076 | grammarErrorOnFirstToken(node, ts.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name); |
| 84077 | } |
| 84078 | checkClassLikeDeclaration(node); |
| 84079 | ts.forEach(node.members, checkSourceElement); |
| 84080 | registerForUnusedIdentifiersCheck(node); |
| 84081 | } |
| 84082 | function checkClassLikeDeclaration(node) { |
| 84083 | checkGrammarClassLikeDeclaration(node); |
| 84084 | checkDecorators(node); |
no test coverage detected
searching dependent graphs…