diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-15 13:00:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-15 13:00:29 -0700 |
| commit | c34a433d7aa3fdbfefee22f20d5aac2d960f392a (patch) | |
| tree | 493fd248f57444120588d4d0979d391875d7f5bb /source/slang/syntax.cpp | |
| parent | 3491d3578c7fa3e88e7c16c394ec64238c636f04 (diff) | |
| parent | 367edf757aff609b72de48732113ea756d878f52 (diff) | |
Merge pull request #25 from tfoleyNV/interfaces
Add basic support for `interface` declarations
Diffstat (limited to 'source/slang/syntax.cpp')
| -rw-r--r-- | source/slang/syntax.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp index fffc6c725..e47c610c0 100644 --- a/source/slang/syntax.cpp +++ b/source/slang/syntax.cpp @@ -1311,19 +1311,19 @@ namespace Slang return visitor->VisitDefaultStmt(this); } - // TraitDecl + // InterfaceDecl - RefPtr<SyntaxNode> TraitDecl::Accept(SyntaxVisitor * visitor) + RefPtr<SyntaxNode> InterfaceDecl::Accept(SyntaxVisitor * visitor) { - visitor->VisitTraitDecl(this); + visitor->visitInterfaceDecl(this); return this; } - // TraitConformanceDecl + // InheritanceDecl - RefPtr<SyntaxNode> TraitConformanceDecl::Accept(SyntaxVisitor * visitor) + RefPtr<SyntaxNode> InheritanceDecl::Accept(SyntaxVisitor * visitor) { - visitor->VisitTraitConformanceDecl(this); + visitor->visitInheritanceDecl(this); return this; } |
