Variable
Defines variable
-
-
Variable name
-
Variable type name
-
Variable type, if known, i.e. if the type is declared in the scanned sources. For explanation, see https://cdn.rawgit.com/krzysztofzablocki/Sourcery/master/docs/writing-templates.html#what-are-em-known-em-and-em-unknown-em-types
-
Whether variable is computed and not stored
-
Whether variable is async
-
Whether variable throws
-
Whether variable is static
-
Variable read access level, i.e.
internal
,private
,fileprivate
,public
,open
-
Variable write access, i.e.
internal
,private
,fileprivate
,public
,open
. For immutable variables this value is empty string -
composed access level sourcery: skipJSExport
-
Whether variable is mutable or not
-
Variable default value expression
-
Annotations, that were created with // sourcery: annotation1, other = “annotation value”, alterantive = 2
-
-
Variable attributes, i.e.
@IBOutlet
,@IBInspectable
-
Modifiers, i.e.
private
-
Whether variable is final or not
-
Whether variable is lazy or not
-
Reference to type name where the variable is defined, nil if defined outside of any
enum
,struct
,class
etc -
Reference to actual type name where the method is defined if declaration uses typealias, otherwise just a
definedInTypeName
-
Reference to actual type where the object is defined, nil if defined outside of any
enum
,struct
,class
etc or type is unknown -
-