Documentation Language: Swift

Method

setVariable(_:value:)

Set a variable value in the current scope.

@MainActor func setVariable(_ name: String, value: (any EcoreValue)?)

Parameters

name

Variable name

value

Variable value