Back to Sourcery

Modifier

docs/Classes/Modifier.html

2.3.01.2 KB
Original Source

Modifier

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

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

`

                name
                `

The declaration modifier name.

Declaration

Swift

public let name: String

`

                detail
                `

The modifier detail, if any.

Declaration

Swift

public let detail: String?

`

                init(name:detail:)
                `

Declaration

Swift

public init(name: String, detail: String? = nil)

`

                asSource
                `

Declaration

Swift

public var asSource: String { get }

`

                diffAgainst(_:)
                `

Declaration

Swift

public func diffAgainst(_ object: Any?) -> DiffableResult

Copyright © 2016-2021 Pixle. All rights reserved.

Generated by jazzy ♪♫ v0.14.0, a Realm project.