Documentation Language: Swift

Structure

MTLComment

A statement representing a comment that produces no output.

struct MTLComment

Overview

Comments in MTL templates are preserved in the AST for documentation and debugging purposes but do not generate any text in the output.

Topics

Initializers

?
init(value:multiLines:)

Creates a new comment statement.

Instance Properties

V
multiLines

Whether this comment spans multiple lines.

V
value

The comment text.

Instance Methods

F
execute(in:)

Executes the statement within the specified execution context.

Default Implementations

Relationships

Conforms To