diff options
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 9f93c305c..56574d124 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -1784,14 +1784,14 @@ namespace Slang // The declaration of the symbol being referenced DeclRef<Decl> declRef; + + // The name of the symbol being referenced + String name; }; class VarExpressionSyntaxNode : public DeclRefExpr { public: - // The name of the symbol being referenced - String Variable; - virtual RefPtr<SyntaxNode> Accept(SyntaxVisitor * visitor) override; }; @@ -1984,7 +1984,6 @@ namespace Slang { public: RefPtr<ExpressionSyntaxNode> BaseExpression; - String MemberName; virtual RefPtr<SyntaxNode> Accept(SyntaxVisitor * visitor) override; }; |
