Modifier

@objcMembers
public class Modifier : NSObject, AutoCoding, AutoEquatable, AutoDiffable, AutoJSExport

modifier can be thing like private, class, nonmutating if a declaration has modifier like private(set) it’s name will be private and detail will be set

  • The declaration modifier name.

    Declaration

    Swift

    public let name: String
  • The modifier detail, if any.

    Declaration

    Swift

    public let detail: String?