From 7bfdeed620289a3cbd9a4182a33a8223b3894672 Mon Sep 17 00:00:00 2001 From: Fabian Noll Date: Wed, 8 May 2024 10:26:19 +0200 Subject: [PATCH] add local and field var --- src/Ast.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ast.hs b/src/Ast.hs index 2220efe..6253aa6 100644 --- a/src/Ast.hs +++ b/src/Ast.hs @@ -55,6 +55,8 @@ data Expression | BooleanLiteral Bool | NullLiteral | Reference Identifier + | LocalVariable Identifier + | FieldVariable Identifier | BinaryOperation BinaryOperator Expression Expression | UnaryOperation UnaryOperator Expression | StatementExpressionExpression StatementExpression