docs/Protocols/Annotated.html
public protocol Annotated
Describes annotated declaration, i.e. type, method, variable, enum case
`
annotations
`
All annotations of declaration stored by their name. Value can be bool, String, float NSNumber or array of those types if you use several annotations with the same name.
Example:
//sourcery: booleanAnnotation
//sourcery: stringAnnotation = "value"
//sourcery: numericAnnotation = 0.5
[
"booleanAnnotation": true,
"stringAnnotation": "value",
"numericAnnotation": 0.5
]
Swift
var annotations: Annotations { get }
Copyright © 2016-2021 Pixle. All rights reserved.
Generated by jazzy ♪♫ v0.14.0, a Realm project.