[build-system] Rename BuildSettingsProvider->BuildSystem and fix method name

I intend to fold more things than file-settings into here, so use a more
generic name. Also drop an unnecessary word from the method name.
This commit is contained in:
Ben Langmuir
2018-12-03 22:30:18 -08:00
parent 64ba25db5a
commit 63b9b3dbaf
12 changed files with 71 additions and 61 deletions

View File

@@ -13,10 +13,10 @@
import LanguageServerProtocol
/// Provider of build settings.
public protocol BuildSettingsProvider {
public protocol BuildSystem {
/// Returns the settings for the given url and language mode, if known.
func settings(for: URL, language: Language) -> FileBuildSettings?
func settings(for: URL, _ language: Language) -> FileBuildSettings?
// TODO: notifications when settings change.
}