(pos token.Pos, format string, args ...interface{})
| 700 | var _ ast.Visitor = (*walker)(nil) |
| 701 | |
| 702 | func (t *walker) logf(pos token.Pos, format string, args ...interface{}) { |
| 703 | msg := fmt.Sprintf(format, args...) |
| 704 | t.logger.Printf("%s:%s", t.fset.Position(pos), msg) |
| 705 | } |
| 706 | |
| 707 | func (t *walker) Visit(n ast.Node) ast.Visitor { |
| 708 | switch n := n.(type) { |
no outgoing calls
no test coverage detected