(node)
| 47582 | } |
| 47583 | } |
| 47584 | function bindParameter(node) { |
| 47585 | if (node.kind === 340 /* SyntaxKind.JSDocParameterTag */ && container.kind !== 323 /* SyntaxKind.JSDocSignature */) { |
| 47586 | return; |
| 47587 | } |
| 47588 | if (inStrictMode && !(node.flags & 16777216 /* NodeFlags.Ambient */)) { |
| 47589 | // It is a SyntaxError if the identifier eval or arguments appears within a FormalParameterList of a |
| 47590 | // strict mode FunctionLikeDeclaration or FunctionExpression(13.1) |
| 47591 | checkStrictModeEvalOrArguments(node, node.name); |
| 47592 | } |
| 47593 | if (ts.isBindingPattern(node.name)) { |
| 47594 | bindAnonymousDeclaration(node, 1 /* SymbolFlags.FunctionScopedVariable */, "__" + node.parent.parameters.indexOf(node)); |
| 47595 | } |
| 47596 | else { |
| 47597 | declareSymbolAndAddToSymbolTable(node, 1 /* SymbolFlags.FunctionScopedVariable */, 111551 /* SymbolFlags.ParameterExcludes */); |
| 47598 | } |
| 47599 | // If this is a property-parameter, then also declare the property symbol into the |
| 47600 | // containing class. |
| 47601 | if (ts.isParameterPropertyDeclaration(node, node.parent)) { |
| 47602 | var classDeclaration = node.parent.parent; |
| 47603 | declareSymbol(classDeclaration.symbol.members, classDeclaration.symbol, node, 4 /* SymbolFlags.Property */ | (node.questionToken ? 16777216 /* SymbolFlags.Optional */ : 0 /* SymbolFlags.None */), 0 /* SymbolFlags.PropertyExcludes */); |
| 47604 | } |
| 47605 | } |
| 47606 | function bindFunctionDeclaration(node) { |
| 47607 | if (!file.isDeclarationFile && !(node.flags & 16777216 /* NodeFlags.Ambient */)) { |
| 47608 | if (ts.isAsyncFunction(node)) { |
no test coverage detected
searching dependent graphs…