ClosureShorthandParameterListSyntax

A list of closure parameters that are not parenthesized and don’t have type annotations.

SyntaxCollections.swift:334
struct ClosureShorthandParameterListSyntax

If the closure parameters are parenthesized, they can also carry type annotations. In that case, the closure parameters are represented by ClosureParameterListSyntax.

Examples

let closure = { a, b in
  return a + b
}

Children

ClosureShorthandParameterSyntax *

Contained in