Documentation Language: Swift

Initializer

init(variableName:type:guard:)

Creates a new ATL source pattern.

init(variableName: String, type: String, guard: (any ATLExpression)? = nil)

Parameters

variableName

The variable name for element binding

type

The type specification for pattern matching

guard

Optional boolean expression for conditional matching

Discussion