abouttreesummaryrefslogcommitdiff
path: root/src/repr.h
diff options
context:
space:
mode:
authorPatrick Schönberger2021-08-02 14:43:11 +0200
committerPatrick Schönberger2021-08-02 14:43:11 +0200
commit8aeae09e74b46ca52866f22b48f55fecdf27b849 (patch)
treec129a883278585a2fdfbab6bea7d47d9df1bcee2 /src/repr.h
parent9f5457a18f551d261e4bd380ea16a52dc5b04cf9 (diff)
downloadtoc-8aeae09e74b46ca52866f22b48f55fecdf27b849.tar.gz
toc-8aeae09e74b46ca52866f22b48f55fecdf27b849.zip
type modifiers, parenthesized expressions, chained access expressions
Diffstat (limited to 'src/repr.h')
-rw-r--r--src/repr.h4
1 files changed, 4 insertions, 0 deletions
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;