diff options
Diffstat (limited to 'source/slang/slang-ast-expr.h')
| -rw-r--r-- | source/slang/slang-ast-expr.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/slang/slang-ast-expr.h b/source/slang/slang-ast-expr.h index 950fd6645..177feff15 100644 --- a/source/slang/slang-ast-expr.h +++ b/source/slang/slang-ast-expr.h @@ -734,6 +734,17 @@ class ThisTypeExpr : public Expr Scope* scope = nullptr; }; + +/// A type expression of the form `ThisInterface` +/// +/// Refers to the interface type itself, not the conforming type from an interface decl. +/// +FIDDLE() +class ThisInterfaceExpr : public VarExpr +{ + FIDDLE(...) +}; + /// A type expression of the form `Left & Right`. FIDDLE() class AndTypeExpr : public Expr |
