* Validates that a class member matches the pattern configured for the particular modifier. * @param node Class member to be validated. * @param modifier Modifiers against which to validate.
(node: ts.ClassElement, modifier: 'public' | 'private' | 'protected')
| 78 | * @param modifier Modifiers against which to validate. |
| 79 | */ |
| 80 | private _validateMember(node: ts.ClassElement, modifier: 'public' | 'private' | 'protected') { |
| 81 | if (ts.isMethodDeclaration(node) || ts.isPropertyDeclaration(node)) { |
| 82 | this._validateNode(node, modifier); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * Validates that a node matches the pattern for the corresponding modifier. |
no test coverage detected