X-Git-Url: https://gitweb.ps.run/toc/blobdiff_plain/9f5457a18f551d261e4bd380ea16a52dc5b04cf9..17fac686375c2823d22415e32e5b7e63bbfe7c54:/src/repr.h diff --git a/src/repr.h b/src/repr.h index cc28746..eb46e3a 100644 --- a/src/repr.h +++ b/src/repr.h @@ -17,11 +17,13 @@ struct Program; struct FuncExpr; struct LitExpr; struct IdentifierExpr; +struct AccessExpr; struct BracketsExpr; struct UnaryOperatorExpr; struct BinaryOperatorExpr; struct TernaryOperatorExpr; struct DotExpr; +struct ParenExpr; struct Expr; struct IfStmt; struct SwitchStmt; @@ -38,6 +40,7 @@ enum class TypeModifierType { struct TypeModifier { TypeModifierType type; + bool _staticArray; int _arraySize; }; @@ -155,6 +158,8 @@ struct DotExpr { struct Expr { ExprType type; + bool parenthesized; + FuncExpr _func; LitExpr _lit; IdentifierExpr _identifier;