MutatorProcedureDefinition

@objcMembers public class MutatorProcedureDefinition: NSObject

A mutator for dynamically modifying the properties of a procedure definition block.

  • The target block that will be mutated

    Declaration

    Swift

    public weak var block: Block?
  • The associated layout of the mutator

    Declaration

    Swift

    public weak var layout: MutatorLayout?
  • Flag determining if this procedure returns a value

    Declaration

    Swift

    public let returnsValue: Bool
  • The parameters of the procedure

    Declaration

    Swift

    public var parameters = [ProcedureParameter]()
  • Flag determining if statements can be attached to this procedure. NOTE: This value is always true if returnsValue is false.

    Declaration

    Swift

    public var allowStatements: Bool = true
  • Returns a list of inputs that have been created by this mutator on self.block, sorted in ascending order of their index within self.block.inputs.

    Declaration

    Swift

    public func sortedMutatorInputs() -> [Input]

    Return Value

    A sorted list of inputs created by this mutator on self.block.