diff options
| author | Patrick Schönberger | 2021-08-02 14:43:11 +0200 |
|---|---|---|
| committer | Patrick Schönberger | 2021-08-02 14:43:11 +0200 |
| commit | 8aeae09e74b46ca52866f22b48f55fecdf27b849 (patch) | |
| tree | c129a883278585a2fdfbab6bea7d47d9df1bcee2 /src/repr.h | |
| parent | 9f5457a18f551d261e4bd380ea16a52dc5b04cf9 (diff) | |
| download | toc-8aeae09e74b46ca52866f22b48f55fecdf27b849.tar.gz toc-8aeae09e74b46ca52866f22b48f55fecdf27b849.zip | |
type modifiers, parenthesized expressions, chained access expressions
Diffstat (limited to 'src/repr.h')
| -rw-r--r-- | src/repr.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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;
|
