CodeQL library for Swift
codeql/swift-all 6.3.3 (changelog, source)
Search

Module Generated

INTERNAL: This module contains the fully generated definition of VarDecl and should not be referenced directly.

Import path

import codeql.swift.generated.decl.VarDecl

Classes

VarDecl

A declaration of a variable such as * a local variable in a function: func foo() { var x = 42 // <- let y = "hello" // <- ... } * a member of a struct or class: struct S { var size : Int // <- } * … INTERNAL: Do not reference the Generated::VarDecl class directly. Use the subclass VarDecl, where the following predicates are available.