(start *storepb.Position, source string, loc ast.Loc)
| 421 | } |
| 422 | |
| 423 | func statementPositions(start *storepb.Position, source string, loc ast.Loc) (*storepb.Position, *storepb.Position) { |
| 424 | return positionFromByteOffset(start, source, loc.Start), positionFromByteOffset(start, source, dmlEndOffset(source, loc)) |
| 425 | } |
| 426 | |
| 427 | // inRange checks if a statement's position range is within the target range. |
| 428 | func inRange(start, end, targetStart, targetEnd *storepb.Position) bool { |
no test coverage detected