MutatorProcedureDefinitionLayout

public class MutatorProcedureDefinitionLayout : MutatorLayout

Associated layout class for MutatorProcedureDefinition.

  • Notification that is fired after this layout has performed a mutation

    Declaration

    Swift

    public static let NotificationDidPerformMutation =
  • Flag determining if this procedure returns a value

    Declaration

    Swift

    public var 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
  • For all inputs created by this mutator, save the currently connected target connection for each of them. Any subsequent call to performMutation() will ensure that these saved target connections remain connected to that original input, as long as the input still exists post-mutation.

    Declaration

    Swift

    public func preserveCurrentInputConnections()
  • Returns whether or not the mutator contains duplicate parameters.

    Declaration

    Swift

    public func containsDuplicateParameters() -> Bool

    Return Value

    true if the mutator contains duplicate parameters. false otherwise.