Scope
Provides a view onto assignment table with a given set of bound parameters.
struct Scope
This class can be used to get the assignments matching the bound parameters.
Provides a view onto assignment table with a given set of bound parameters.
struct Scope
This class can be used to get the assignments matching the bound parameters.
import PackageModel
enum BuildSettings
Namespace for build settings.
struct Assignment
An individual build setting assignment.
struct AssignmentTable
Build setting assignment table which maps a build setting to a list of assignments.
struct Declaration
Build settings declarations.
init(_ table: AssignmentTable, environment: BuildEnvironment)
let environment: BuildEnvironment
The build environment.
let table: AssignmentTable
The assignment table.
func evaluate(_ decl: Declaration) -> [String]
Evaluate the given declaration and return the values matching the bound parameters.