Offsets both the Position's line and character
({ line = 0, character = 0 })
| 51 | |
| 52 | /** Offsets both the Position's line and character */ |
| 53 | public static offset({ line = 0, character = 0 }): PositionDiff { |
| 54 | return new PositionDiff(PositionDiffType.Offset, line, character); |
| 55 | } |
| 56 | |
| 57 | /** Sets the Position's line and character exactly */ |
| 58 | public static exactPosition(position: Position): PositionDiff { |
no outgoing calls
no test coverage detected