LifetimeSpecifierArgumentSyntax

io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.LifetimeSpecifierArgumentSyntax
case class LifetimeSpecifierArgumentSyntax(json: Value) extends Syntax, WithTrailingComma

Documentation

A single argument that can be added to a lifetime specifier like borrow, mutate, consume or copy.

Example data in func foo(data: Array<Item>) -> borrow(data) ComplexReferenceType

Children

  • parameter: (<identifier> | self | <integerLiteral>)
  • trailingComma: ,?

Nowhere contained in

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

Concrete methods

def trailingComma: Option[SwiftToken]

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