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 Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article