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 Serializable
trait Product
trait Equals
trait SwiftNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

def endColumn: Option[Int]

Attributes

Inherited from:
SwiftNode
def endLine: Option[Int]

Attributes

Inherited from:
SwiftNode
def endOffset: Option[Int]

Attributes

Inherited from:
SwiftNode
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def startColumn: Option[Int]

Attributes

Inherited from:
SwiftNode
def startLine: Option[Int]

Attributes

Inherited from:
SwiftNode
def startOffset: Option[Int]

Attributes

Inherited from:
SwiftNode
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
SwiftNode -> Any
Inherited from:
SwiftNode