From 8aeae09e74b46ca52866f22b48f55fecdf27b849 Mon Sep 17 00:00:00 2001 From: Patrick Schönberger Date: Mon, 2 Aug 2021 14:43:11 +0200 Subject: type modifiers, parenthesized expressions, chained access expressions --- src/repr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/repr.h') diff --git a/src/repr.h b/src/repr.h index cc28746..e45464c 100644 --- a/src/repr.h +++ b/src/repr.h @@ -22,6 +22,7 @@ struct UnaryOperatorExpr; struct BinaryOperatorExpr; struct TernaryOperatorExpr; struct DotExpr; +struct ParenExpr; struct Expr; struct IfStmt; struct SwitchStmt; @@ -38,6 +39,7 @@ enum class TypeModifierType { struct TypeModifier { TypeModifierType type; + bool _staticArray; int _arraySize; }; @@ -155,6 +157,8 @@ struct DotExpr { struct Expr { ExprType type; + bool parenthesized; + FuncExpr _func; LitExpr _lit; IdentifierExpr _identifier; -- cgit v1.2.3