(node *ast.Node)
| 2141 | } |
| 2142 | |
| 2143 | func (b *Binder) maybeBindExpressionFlowIfCall(node *ast.Node) { |
| 2144 | // A top level or comma expression call expression with a dotted function name and at least one argument |
| 2145 | // is potentially an assertion and is therefore included in the control flow. |
| 2146 | if ast.IsCallExpression(node) { |
| 2147 | if node.Expression().Kind != ast.KindSuperKeyword && ast.IsDottedName(node.Expression()) { |
| 2148 | b.currentFlow = b.createFlowCall(b.currentFlow, node) |
| 2149 | } |
| 2150 | } |
| 2151 | } |
| 2152 | |
| 2153 | func (b *Binder) bindLabeledStatement(node *ast.Node) { |
| 2154 | stmt := node.AsLabeledStatement() |
no test coverage detected