Debian Codegraph @

gcc/d/dmd/version.h

raw
1
2 /* Compiler implementation of the D programming language
3 * Copyright (C) 1999-2025 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
9 */
10
11 #pragma once
12
13 #include "dsymbol.h"
14
15 class DebugSymbol final : public Dsymbol
16 {
17 public:
18 DebugSymbol *syntaxCopy(Dsymbol *) override;
19
20 const char *kind() const override;
21 void accept(Visitor *v) override { v->visit(this); }
22 };
23
24 class VersionSymbol final : public Dsymbol
25 {
26 public:
27 VersionSymbol *syntaxCopy(Dsymbol *) override;
28
29 const char *kind() const override;
30 void accept(Visitor *v) override { v->visit(this); }
31 };