2 /* Compiler implementation of the D programming language
3 * Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
4 * written by Walter Bright
5 * https://www.digitalmars.com
6 * Distributed under the Boost Software License, Version 1.0.
7 * https://www.boost.org/LICENSE_1_0.txt
8 * https://github.com/dlang/dmd/blob/master/src/dmd/version.h
15 class DebugSymbol final
: public Dsymbol
20 DebugSymbol
*syntaxCopy(Dsymbol
*) override
;
22 const char *toChars() const override
;
23 const char *kind() const override
;
24 DebugSymbol
*isDebugSymbol() override
;
25 void accept(Visitor
*v
) override
{ v
->visit(this); }
28 class VersionSymbol final
: public Dsymbol
33 VersionSymbol
*syntaxCopy(Dsymbol
*) override
;
35 const char *toChars() const override
;
36 const char *kind() const override
;
37 VersionSymbol
*isVersionSymbol() override
;
38 void accept(Visitor
*v
) override
{ v
->visit(this); }