(start, end, targetStart, targetEnd *storepb.Position)
| 287 | } |
| 288 | |
| 289 | func inRange(start, end, targetStart, targetEnd *storepb.Position) bool { |
| 290 | if start.Line < targetStart.Line || (start.Line == targetStart.Line && start.Column < targetStart.Column) { |
| 291 | return false |
| 292 | } |
| 293 | if end.Line > targetEnd.Line || (end.Line == targetEnd.Line && end.Column > targetEnd.Column) { |
| 294 | return false |
| 295 | } |
| 296 | return true |
| 297 | } |
| 298 | |
| 299 | func getPrependStatements(statement string) (string, error) { |
| 300 | stmts, err := ParsePg(statement) |
no outgoing calls
no test coverage detected