( position: Position, columnOffset: number, )
| 37 | * function does not skip whitespaces. |
| 38 | */ |
| 39 | export function createPositionWithColumnOffset( |
| 40 | position: Position, |
| 41 | columnOffset: number, |
| 42 | ) { |
| 43 | const { line, column, index } = position; |
| 44 | return new Position(line, column + columnOffset, index + columnOffset); |
| 45 | } |
no outgoing calls
no test coverage detected