This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Variable_Accessor_Kind
mattt edited this page Mar 28, 2020
·
6 revisions
The kind of accessor (get or set).
public enum KindCodable, Hashable, String
public init?(_ node: AccessorDeclSyntax)Creates an instance initialized with the given syntax node.
public init?(_ node: PatternBindingSyntax)The kind of accessor.
let kind: Kind?The accessor attributes.
let attributes: [Attribute]The accessor modifiers.
let modifier: Modifier?var description: StringCreates and returns variables from a variable declaration,
which may contain one or more pattern bindings,
such as let x: Int = 1, y: Int = 2.
public static func variables(from node: VariableDeclSyntax) -> [Variable]public static func accessors(from node: AccessorBlockSyntax?) -> [Variable.Accessor]Generated at 2020-08-02T12:14:07+0000 using swift-doc 1.0.0-beta.3.
Types
- AssociatedType
- Attribute
- Attribute.Argument
- Class
- ConditionalCompilationBlock
- ConditionalCompilationBlock.Branch
- DeclarationCollector
- Deinitializer
- Enumeration
- Enumeration.Case
- Extension
- Function
- Function.Parameter
- Function.Signature
- GenericParameter
- GenericRequirement
- GenericRequirement.Relation
- Import
- Initializer
- Modifier
- Operator
- Operator.Kind
- PrecedenceGroup
- PrecedenceGroup.Associativity
- PrecedenceGroup.Relation
- Protocol
- Structure
- Subscript
- Typealias
- Variable
- Variable.Accessor
- Variable.Accessor.Kind