1 /**
2  * Provide aliases for arrays of certain declarations or statements.
3  *
4  * Copyright:   Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
5  * Authors:     $(LINK2 http://www.digitalmars.com, Walter Bright)
6  * License:     $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
7  * Source:      $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/arraytypes.d, _arraytypes.d)
8  * Documentation:  https://dlang.org/phobos/dmd_arraytypes.html
9  * Coverage:    https://codecov.io/gh/dlang/dmd/src/master/src/dmd/arraytypes.d
10  */
11 
12 module dmd.arraytypes;
13 
14 import dmd.dclass;
15 import dmd.declaration;
16 import dmd.dmodule;
17 import dmd.dsymbol;
18 import dmd.dtemplate;
19 import dmd.expression;
20 import dmd.func;
21 import dmd.identifier;
22 import dmd.init;
23 import dmd.mtype;
24 import dmd.root.array;
25 import dmd.root.rootobject;
26 import dmd.statement;
27 
28 alias Strings = Array!(const(char)*);
29 alias Identifiers = Array!(Identifier);
30 alias TemplateParameters = Array!(TemplateParameter);
31 alias Expressions = Array!(Expression);
32 alias Statements = Array!(Statement);
33 alias BaseClasses = Array!(BaseClass*);
34 alias ClassDeclarations = Array!(ClassDeclaration);
35 alias Dsymbols = Array!(Dsymbol);
36 alias Objects = Array!(RootObject);
37 alias DtorDeclarations = Array!(DtorDeclaration);
38 alias FuncDeclarations = Array!(FuncDeclaration);
39 alias Parameters = Array!(Parameter);
40 alias Initializers = Array!(Initializer);
41 alias VarDeclarations = Array!(VarDeclaration);
42 alias Types = Array!(Type);
43 alias Catches = Array!(Catch);
44 alias StaticDtorDeclarations = Array!(StaticDtorDeclaration);
45 alias SharedStaticDtorDeclarations = Array!(SharedStaticDtorDeclaration);
46 alias AliasDeclarations = Array!(AliasDeclaration);
47 alias Modules = Array!(Module);
48 alias CaseStatements = Array!(CaseStatement);
49 alias ScopeStatements = Array!(ScopeStatement);
50 alias GotoCaseStatements = Array!(GotoCaseStatement);
51 alias ReturnStatements = Array!(ReturnStatement);
52 alias GotoStatements = Array!(GotoStatement);
53 alias TemplateInstances = Array!(TemplateInstance);
54 alias Ensures = Array!(Ensure);