compiler, runtime: Control Declarations Have Apply Statements
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user