diff options
Diffstat (limited to 'source/slang/slang-ast-expr.h')
| -rw-r--r-- | source/slang/slang-ast-expr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/slang/slang-ast-expr.h b/source/slang/slang-ast-expr.h index ccbc625c9..950fd6645 100644 --- a/source/slang/slang-ast-expr.h +++ b/source/slang/slang-ast-expr.h @@ -575,6 +575,16 @@ class ParenExpr : public Expr Expr* base = nullptr; }; +// An expression that constructs a tuple `(arg1, arg2, ...)` +// +FIDDLE() +class TupleExpr : public Expr +{ + FIDDLE(...) + List<Expr*> elements; +}; + + // An object-oriented `this` expression, used to // refer to the current instance of an enclosing type. FIDDLE() |
