diff options
| author | Yong He <yonghe@outlook.com> | 2025-06-13 22:13:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-13 22:13:00 -0700 |
| commit | 6a23949f07f4eba38086b656e7073ce3bf8cd2fe (patch) | |
| tree | 132bbe330b6027d323c74175686d006605e4da6d /source/slang/slang-ast-iterator.h | |
| parent | e72b3325663ab6d4bb791742574b031f0df6328a (diff) | |
Allow interface methods to have default implementations. (#7439)
Diffstat (limited to 'source/slang/slang-ast-iterator.h')
| -rw-r--r-- | source/slang/slang-ast-iterator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-ast-iterator.h b/source/slang/slang-ast-iterator.h index 4c866fc5a..094a9c1a2 100644 --- a/source/slang/slang-ast-iterator.h +++ b/source/slang/slang-ast-iterator.h @@ -245,6 +245,10 @@ struct ASTIterator void visitThisExpr(ThisExpr* expr) { iterator->maybeDispatchCallback(expr); } void visitThisTypeExpr(ThisTypeExpr* expr) { iterator->maybeDispatchCallback(expr); } + void visitThisInterfaceExpr(ThisInterfaceExpr* expr) + { + iterator->maybeDispatchCallback(expr); + } void visitReturnValExpr(ReturnValExpr* expr) { iterator->maybeDispatchCallback(expr); } void visitAndTypeExpr(AndTypeExpr* expr) |
