diff options
| author | Yong He <yonghe@outlook.com> | 2022-11-01 08:46:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-01 08:46:57 -0700 |
| commit | cbc1eff56057f199183bb7c17d8a360326512367 (patch) | |
| tree | 487865e928cd2ceecbb509f0bfd06aa8d9584411 /source/slang/slang-ast-expr.h | |
| parent | b707a07b1de3535cb0a8ccb6fe2ed4afa4a016d1 (diff) | |
Make `DifferentialPair` able to nest. (#2477)
Diffstat (limited to 'source/slang/slang-ast-expr.h')
| -rw-r--r-- | source/slang/slang-ast-expr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/slang-ast-expr.h b/source/slang/slang-ast-expr.h index f2a72703e..ef6a05c71 100644 --- a/source/slang/slang-ast-expr.h +++ b/source/slang/slang-ast-expr.h @@ -126,6 +126,12 @@ class InitializerListExpr : public Expr List<Expr*> args; }; +class GetArrayLengthExpr : public Expr +{ + SLANG_AST_CLASS(GetArrayLengthExpr) + Expr* arrayExpr = nullptr; +}; + // A base class for expressions with arguments class ExprWithArgsBase : public Expr { |
