AttributeSyntax

io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.AttributeSyntax
case class AttributeSyntax(json: Value) extends Syntax

Documentation

An @ attribute.

Children

  • atSign: @
  • attributeName: TypeSyntax
  • leftParen: (?
  • arguments: (LabeledExprListSyntax | TokenSyntax | StringLiteralExprSyntax | AvailabilityArgumentListSyntax | SpecializeAttributeArgumentListSyntax | ObjCSelectorPieceListSyntax | ImplementsAttributeArgumentsSyntax | DifferentiableAttributeArgumentsSyntax | DerivativeAttributeArgumentsSyntax | BackDeployedAttributeArgumentsSyntax | ConventionAttributeArgumentsSyntax | ConventionWitnessMethodAttributeArgumentsSyntax | OpaqueReturnTypeOfAttributeArgumentsSyntax | ExposeAttributeArgumentsSyntax | OriginallyDefinedInAttributeArgumentsSyntax | UnderscorePrivateAttributeArgumentsSyntax | DynamicReplacementAttributeArgumentsSyntax | UnavailableFromAsyncAttributeArgumentsSyntax | EffectsAttributeArgumentListSyntax | DocumentationAttributeArgumentListSyntax)?
  • rightParen: )?

Contained in

  • AttributeListSyntax
  • SwitchCaseSyntax.SwitchCaseSyntax/attribute

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Syntax
trait SwiftNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

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