]> gitweb.ps.run Git - toc/blobdiff - src/repr.h
type modifiers, parenthesized expressions, chained access expressions
[toc] / src / repr.h
index cc287460627b9db1861f16868ac21ba53c1cddef..e45464cf4c2fd2b618d49bbe1627a6e3ee6ea0fb 100644 (file)
@@ -22,6 +22,7 @@ struct UnaryOperatorExpr;
 struct BinaryOperatorExpr;\r
 struct TernaryOperatorExpr;\r
 struct DotExpr;\r
+struct ParenExpr;\r
 struct Expr;\r
 struct IfStmt;\r
 struct SwitchStmt;\r
@@ -38,6 +39,7 @@ enum class TypeModifierType {
 struct TypeModifier {\r
   TypeModifierType type;\r
 \r
+  bool _staticArray;\r
   int _arraySize;\r
 };\r
 \r
@@ -155,6 +157,8 @@ struct DotExpr {
 struct Expr {\r
   ExprType type;\r
 \r
+  bool parenthesized;\r
+\r
   FuncExpr            _func;\r
   LitExpr             _lit;\r
   IdentifierExpr      _identifier;\r