// DSLParameter.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT // One declared parameter of a `DSLBuiltin`. /// A single declared parameter of a ``DSLBuiltin``. /// /// `label` is the argument label as written in the DSL (`freq`, `mul`, …). /// `hasDefault` is `true` when the underlying Swift init supplies a default the /// DSL can rely on, so the argument may be omitted; a parameter without one is /// required. public struct DSLParameter: Equatable, Sendable { public let label: String public let hasDefault: Bool public init( label: String, hasDefault: Bool ) { self.label = label self.hasDefault = hasDefault } }