Attribute
@objcMembers
public class Attribute : NSObject, AutoCoding, AutoEquatable, AutoDiffable, AutoJSExport, Diffable
extension Attribute: NSCoding
Describes Swift attribute
-
Attribute name
Declaration
Swift
public let name: String
-
Attribute arguments
Declaration
Swift
public let arguments: [String : NSObject]
-
TODO: unify
asSource
/description
?Declaration
Swift
public var asSource: String { get }
-
Attribute description that can be used in a template.
Declaration
Swift
public override var description: String { get }
-
Declaration
Swift
public func diffAgainst(_ object: Any?) -> DiffableResult