(position int, file *ast.SourceFile)
| 301 | } |
| 302 | |
| 303 | func (l *LanguageService) createLspPosition(position int, file *ast.SourceFile) lsproto.Position { |
| 304 | return l.converters.PositionToLineAndCharacter(file, core.TextPos(position)) |
| 305 | } |
| 306 | |
| 307 | func quote(file *ast.SourceFile, preferences lsutil.UserPreferences, text string) string { |
| 308 | // Editors can pass in undefined or empty string - we want to infer the preference in those cases. |
no test coverage detected