(file *ast.SourceFile, position int, tokenAtPosition *ast.Node)
| 92 | } |
| 93 | |
| 94 | func isInComment(file *ast.SourceFile, position int, tokenAtPosition *ast.Node) *ast.CommentRange { |
| 95 | return getRangeOfEnclosingComment(file, position, astnav.FindPrecedingToken(file, position), tokenAtPosition) |
| 96 | } |
| 97 | |
| 98 | func positionBelongsToNode(candidate *ast.Node, position int, file *ast.SourceFile) bool { |
| 99 | return lsutil.PositionBelongsToNode(candidate, position, file) |
no test coverage detected