import Foundation

public enum Query {
    public static var highlightsFileURL: URL {
        return url(named: "highlights")
    }

    public static var localsFileURL: URL {
        return url(named: "locals")
    }

    public static var tagsFileURL: URL {
        return url(named: "tags")
    }
}

private extension Query {
    static func url(named filename: String) -> URL {
        return Bundle.module.url(forResource: "queries/" + filename, withExtension: "scm")!
    }
}
