compiler, runtime: Control Declarations Have Apply Statements

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-04-20 03:35:55 -04:00
parent 1847df7fab
commit c6f086f67f
5 changed files with 70 additions and 4 deletions
+9
View File
@@ -63,3 +63,12 @@ public struct ReturnStatement {
self.value = value
}
}
public struct ApplyStatement {
public let body: BlockStatement?
public init() { self.body = .none }
public init(_ body: BlockStatement) {
self.body = body
}
}