compiler, runtime: Evaluate Expressions in Expression Statements
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
import Common
|
||||
|
||||
public struct ExpressionStatement {
|
||||
public init() {}
|
||||
public let expression: EvaluatableExpression
|
||||
|
||||
public init(_ expr: EvaluatableExpression) {
|
||||
self.expression = expr
|
||||
}
|
||||
}
|
||||
|
||||
public struct Program {
|
||||
|
||||
Reference in New Issue
Block a user