Documentation Language: Swift

Structure

MTLLetStatement

A let statement for variable binding in a nested scope.

struct MTLLetStatement

Overview

Let statements create temporary variables within a nested scope, allowing computed values to be reused within template sections.

Topics

Initializers

?
init(variables:body:multiLines:)

Creates a new let statement.

Instance Properties

V
body

The block to execute with the bound variables.

V
multiLines

Whether this statement spans multiple lines.

V
variables

The variable bindings.

Instance Methods

F
execute(in:)

Executes the statement within the specified execution context.

Default Implementations

Relationships

Conforms To