(node *ast.Node)
| 1215 | } |
| 1216 | |
| 1217 | func (b *Binder) bindFunctionDeclaration(node *ast.Node) { |
| 1218 | if !b.file.IsDeclarationFile && node.Flags&ast.NodeFlagsAmbient == 0 && ast.IsAsyncFunction(node) { |
| 1219 | b.emitFlags |= ast.NodeFlagsHasAsyncFunctions |
| 1220 | } |
| 1221 | b.checkStrictModeFunctionName(node) |
| 1222 | b.bindBlockScopedDeclaration(node, ast.SymbolFlagsFunction, ast.SymbolFlagsFunctionExcludes) |
| 1223 | } |
| 1224 | |
| 1225 | func (b *Binder) getInferTypeContainer(node *ast.Node) *ast.Node { |
| 1226 | extendsType := ast.FindAncestor(node, func(n *ast.Node) bool { |
no test coverage detected