(node *ast.Node)
| 5758 | } |
| 5759 | |
| 5760 | func (c *Checker) checkVariableDeclaration(node *ast.Node) { |
| 5761 | if tr := c.tracer; tr != nil { |
| 5762 | defer tr.Push(tracing.PhaseCheck, "checkVariableDeclaration", map[string]any{"kind": node.Kind, "pos": node.Pos(), "end": node.End(), "path": ast.GetSourceFileOfNode(node).FileName()}, false)() |
| 5763 | } |
| 5764 | c.checkGrammarVariableDeclaration(node.AsVariableDeclaration()) |
| 5765 | c.checkVariableLikeDeclaration(node) |
| 5766 | } |
| 5767 | |
| 5768 | // Check variable, parameter, or property declaration |
| 5769 | func (c *Checker) checkVariableLikeDeclaration(node *ast.Node) { |
no test coverage detected