d: Merge dmd, druntime d8e3976a58, phobos 7a6e95688
[official-gcc.git] / gcc / d / dmd / arraytypes.h
blob779642813f56ca5fc15f029540821e8881a85a3b
2 /* Compiler implementation of the D programming language
3 * Copyright (C) 2006-2024 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/arraytypes.h
9 */
11 #pragma once
13 #include "root/array.h"
14 #include "root/bitarray.h"
16 typedef Array<class TemplateParameter *> TemplateParameters;
18 typedef Array<class Expression *> Expressions;
20 typedef Array<class Statement *> Statements;
22 typedef Array<struct BaseClass *> BaseClasses;
24 typedef Array<class ClassDeclaration *> ClassDeclarations;
26 typedef Array<class Dsymbol *> Dsymbols;
28 typedef Array<class RootObject *> Objects;
30 typedef Array<class DtorDeclaration *> DtorDeclarations;
32 typedef Array<class FuncDeclaration *> FuncDeclarations;
34 typedef Array<class Parameter *> Parameters;
36 typedef Array<class Identifier *> Identifiers;
38 typedef Array<class Initializer *> Initializers;
40 typedef Array<class VarDeclaration *> VarDeclarations;
42 typedef Array<class Type *> Types;
43 typedef Array<class Catch *> Catches;
45 typedef Array<class StaticDtorDeclaration *> StaticDtorDeclarations;
47 typedef Array<class SharedStaticDtorDeclaration *> SharedStaticDtorDeclarations;
49 typedef Array<class AliasDeclaration *> AliasDeclarations;
51 typedef Array<class Module *> Modules;
53 typedef Array<class CaseStatement *> CaseStatements;
55 typedef Array<class ScopeStatement *> ScopeStatements;
57 typedef Array<class GotoCaseStatement *> GotoCaseStatements;
59 typedef Array<class ReturnStatement *> ReturnStatements;
61 typedef Array<class GotoStatement *> GotoStatements;
63 typedef Array<class TemplateInstance *> TemplateInstances;
65 typedef Array<struct Ensure> Ensures;
67 typedef Array<struct Designator> Designators;
69 typedef Array<struct DesigInit> DesigInits;