AttributeListSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.AttributeListSyntax
case class AttributeListSyntax(json: Value) extends SyntaxCollection
Documentation
A list of attributes that can be attached to a declaration.
An element in this collection can either be an attribute itself or an IfConfigDeclSyntax
that contains attributes. This is because attributes can be added conditional on compilcation conditions, for example.
#if !DISABLE_DEPRECATIONS
@available(*, deprecated)
#endif
func myFunction() {}
Children
(AttributeSyntax
| IfConfigDeclSyntax
) *
Contained in
AccessorDeclSyntax
.AccessorDeclSyntax/attributes
ActorDeclSyntax
.ActorDeclSyntax/attributes
AssociatedTypeDeclSyntax
.AssociatedTypeDeclSyntax/attributes
AttributedTypeSyntax
.AttributedTypeSyntax/attributes
ClassDeclSyntax
.ClassDeclSyntax/attributes
ClosureParameterSyntax
.ClosureParameterSyntax/attributes
ClosureSignatureSyntax
.ClosureSignatureSyntax/attributes
DeinitializerDeclSyntax
.DeinitializerDeclSyntax/attributes
EditorPlaceholderDeclSyntax
.EditorPlaceholderDeclSyntax/attributes
EnumCaseDeclSyntax
.EnumCaseDeclSyntax/attributes
EnumDeclSyntax
.EnumDeclSyntax/attributes
ExtensionDeclSyntax
.ExtensionDeclSyntax/attributes
FunctionDeclSyntax
.FunctionDeclSyntax/attributes
FunctionParameterSyntax
.FunctionParameterSyntax/attributes
GenericParameterSyntax
.GenericParameterSyntax/attributes
IfConfigClauseSyntax
.IfConfigClauseSyntax/elements
ImportDeclSyntax
.ImportDeclSyntax/attributes
InitializerDeclSyntax
.InitializerDeclSyntax/attributes
MacroDeclSyntax
.MacroDeclSyntax/attributes
MacroExpansionDeclSyntax
.MacroExpansionDeclSyntax/attributes
MissingDeclSyntax
.MissingDeclSyntax/attributes
PrecedenceGroupDeclSyntax
.PrecedenceGroupDeclSyntax/attributes
ProtocolDeclSyntax
.ProtocolDeclSyntax/attributes
StructDeclSyntax
.StructDeclSyntax/attributes
SubscriptDeclSyntax
.SubscriptDeclSyntax/attributes
TypeAliasDeclSyntax
.TypeAliasDeclSyntax/attributes
VariableDeclSyntax
.VariableDeclSyntax/attributes
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article