VariableDeclSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.VariableDeclSyntax
case class VariableDeclSyntax(json: Value) extends DeclSyntax, WithAttributes, WithModifiers
Documentation
Declaration of one or more variables
The core of a variable declaration consists of a binding specifier (let
or var
), followed by any number of pattern bindings, which define the variables.
Children
attributes
:AttributeListSyntax
modifiers
:DeclModifierListSyntax
bindingSpecifier
: (let
|var
|inout
|_mutating
|_borrowing
|_consuming
)bindings
:PatternBindingListSyntax
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article