Debian Codegraph @

gcc/d/dmd/hdrgen.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 Dave Fladebo
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/hdrgen.h
9 */
10
11 #pragma once
12
13 #include "globals.h"
14 #include "mtype.h"
15
16 class Expression;
17 class Initializer;
18 class Module;
19 class Statement;
20
21 namespace dmd
22 {
23 void genhdrfile(Module *m, bool doFuncBodies, OutBuffer &buf);
24 void genCppHdrFiles(Modules &ms);
25 void moduleToBuffer(OutBuffer& buf, bool vcg_ast, Module *m);
26 const char *parametersTypeToChars(ParameterList pl);
27
28 const char* toChars(const Expression* const e);
29 const char* toChars(const Initializer* const i);
30 const char* toChars(const Statement* const s);
31 const char* toChars(const Type* const t);
32 }