ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change
on this file since 3e5db5b4 was
6cebfef,
checked in by caparsons <caparson@…>, 3 years ago
|
added mutex stmt monitor
|
-
Property mode set to
100644
|
File size:
2.9 KB
|
Line | |
---|
1 | // |
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
3 | // |
---|
4 | // The contents of this file are covered under the licence agreement in the |
---|
5 | // file "LICENCE" distributed with Cforall. |
---|
6 | // |
---|
7 | // Fwd.hpp -- Forward declarations of AST Types. |
---|
8 | // |
---|
9 | // Author : Andrew Beach |
---|
10 | // Created On : Wed May 8 16:05:00 2019 |
---|
11 | // Last Modified By : Peter A. Buhr |
---|
12 | // Last Modified On : Fri Mar 12 18:37:39 2021 |
---|
13 | // Update Count : 4 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | #include "AST/Node.hpp" |
---|
19 | |
---|
20 | namespace ast { |
---|
21 | |
---|
22 | class ParseNode; |
---|
23 | |
---|
24 | class Decl; |
---|
25 | class DeclWithType; |
---|
26 | class ObjectDecl; |
---|
27 | class FunctionDecl; |
---|
28 | class AggregateDecl; |
---|
29 | class StructDecl; |
---|
30 | class UnionDecl; |
---|
31 | class EnumDecl; |
---|
32 | class TraitDecl; |
---|
33 | class NamedTypeDecl; |
---|
34 | class TypeDecl; |
---|
35 | class TypedefDecl; |
---|
36 | class AsmDecl; |
---|
37 | class DirectiveDecl; |
---|
38 | class StaticAssertDecl; |
---|
39 | |
---|
40 | class Stmt; |
---|
41 | class CompoundStmt; |
---|
42 | class ExprStmt; |
---|
43 | class AsmStmt; |
---|
44 | class DirectiveStmt; |
---|
45 | class IfStmt; |
---|
46 | class WhileStmt; |
---|
47 | class ForStmt; |
---|
48 | class SwitchStmt; |
---|
49 | class CaseStmt; |
---|
50 | class BranchStmt; |
---|
51 | class ReturnStmt; |
---|
52 | class ThrowStmt; |
---|
53 | class TryStmt; |
---|
54 | class CatchStmt; |
---|
55 | class FinallyStmt; |
---|
56 | class SuspendStmt; |
---|
57 | class WaitForStmt; |
---|
58 | class WithStmt; |
---|
59 | class DeclStmt; |
---|
60 | class NullStmt; |
---|
61 | class ImplicitCtorDtorStmt; |
---|
62 | class MutexStmt; |
---|
63 | |
---|
64 | class Expr; |
---|
65 | class ApplicationExpr; |
---|
66 | class UntypedExpr; |
---|
67 | class NameExpr; |
---|
68 | class AddressExpr; |
---|
69 | class LabelAddressExpr; |
---|
70 | class CastExpr; |
---|
71 | class KeywordCastExpr; |
---|
72 | class VirtualCastExpr; |
---|
73 | class MemberExpr; |
---|
74 | class UntypedMemberExpr; |
---|
75 | class VariableExpr; |
---|
76 | class ConstantExpr; |
---|
77 | class SizeofExpr; |
---|
78 | class AlignofExpr; |
---|
79 | class UntypedOffsetofExpr; |
---|
80 | class OffsetofExpr; |
---|
81 | class OffsetPackExpr; |
---|
82 | class LogicalExpr; |
---|
83 | class ConditionalExpr; |
---|
84 | class CommaExpr; |
---|
85 | class TypeExpr; |
---|
86 | class AsmExpr; |
---|
87 | class ImplicitCopyCtorExpr; |
---|
88 | class ConstructorExpr; |
---|
89 | class CompoundLiteralExpr; |
---|
90 | class RangeExpr; |
---|
91 | class UntypedTupleExpr; |
---|
92 | class TupleExpr; |
---|
93 | class TupleIndexExpr; |
---|
94 | class TupleAssignExpr; |
---|
95 | class StmtExpr; |
---|
96 | class UniqueExpr; |
---|
97 | class UntypedInitExpr; |
---|
98 | class InitExpr; |
---|
99 | class DeletedExpr; |
---|
100 | class DefaultArgExpr; |
---|
101 | class GenericExpr; |
---|
102 | |
---|
103 | class Type; |
---|
104 | class VoidType; |
---|
105 | class BasicType; |
---|
106 | class PointerType; |
---|
107 | class ArrayType; |
---|
108 | class ReferenceType; |
---|
109 | class QualifiedType; |
---|
110 | class FunctionType; |
---|
111 | class BaseInstType; |
---|
112 | template<typename decl_t> class SueInstType; |
---|
113 | using StructInstType = SueInstType<StructDecl>; |
---|
114 | using UnionInstType = SueInstType<UnionDecl>; |
---|
115 | using EnumInstType = SueInstType<EnumDecl>; |
---|
116 | class TraitInstType; |
---|
117 | class TypeInstType; |
---|
118 | class TupleType; |
---|
119 | class TypeofType; |
---|
120 | class VTableType; |
---|
121 | class VarArgsType; |
---|
122 | class ZeroType; |
---|
123 | class OneType; |
---|
124 | class GlobalScopeType; |
---|
125 | |
---|
126 | class Designation; |
---|
127 | class Init; |
---|
128 | class SingleInit; |
---|
129 | class ListInit; |
---|
130 | class ConstructorInit; |
---|
131 | |
---|
132 | class Label; |
---|
133 | |
---|
134 | class Attribute; |
---|
135 | |
---|
136 | class SymbolTable; |
---|
137 | class TypeEnvironment; |
---|
138 | class TypeSubstitution; |
---|
139 | |
---|
140 | typedef unsigned int UniqueId; |
---|
141 | |
---|
142 | struct TranslationUnit; |
---|
143 | // TODO: Get from the TranslationUnit: |
---|
144 | extern ptr<Type> sizeType; |
---|
145 | extern const FunctionDecl * dereferenceOperator; |
---|
146 | extern const StructDecl * dtorStruct; |
---|
147 | extern const FunctionDecl * dtorStructDestroy; |
---|
148 | |
---|
149 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.