ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 05e29f0 was
2d019af,
checked in by Peter A. Buhr <pabuhr@…>, 4 years ago
|
parser global pragmas, fixes #241
|
-
Property mode set to
100644
|
File size:
2.8 KB
|
Rev | Line | |
---|
[ee7a29f] | 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 |
---|
[2d019af] | 11 | // Last Modified By : Peter A. Buhr |
---|
| 12 | // Last Modified On : Fri Mar 12 18:37:39 2021 |
---|
| 13 | // Update Count : 4 |
---|
[ee7a29f] | 14 | // |
---|
| 15 | |
---|
| 16 | #pragma once |
---|
| 17 | |
---|
[e0115286] | 18 | #include "AST/Node.hpp" |
---|
| 19 | |
---|
[ee7a29f] | 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; |
---|
[2d019af] | 37 | class DirectiveDecl; |
---|
[ee7a29f] | 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; |
---|
[37cdd97] | 56 | class SuspendStmt; |
---|
[ee7a29f] | 57 | class WaitForStmt; |
---|
| 58 | class WithStmt; |
---|
| 59 | class DeclStmt; |
---|
| 60 | class NullStmt; |
---|
| 61 | class ImplicitCtorDtorStmt; |
---|
| 62 | |
---|
| 63 | class Expr; |
---|
| 64 | class ApplicationExpr; |
---|
| 65 | class UntypedExpr; |
---|
| 66 | class NameExpr; |
---|
| 67 | class AddressExpr; |
---|
| 68 | class LabelAddressExpr; |
---|
| 69 | class CastExpr; |
---|
| 70 | class KeywordCastExpr; |
---|
| 71 | class VirtualCastExpr; |
---|
| 72 | class MemberExpr; |
---|
| 73 | class UntypedMemberExpr; |
---|
| 74 | class VariableExpr; |
---|
| 75 | class ConstantExpr; |
---|
| 76 | class SizeofExpr; |
---|
| 77 | class AlignofExpr; |
---|
| 78 | class UntypedOffsetofExpr; |
---|
| 79 | class OffsetofExpr; |
---|
| 80 | class OffsetPackExpr; |
---|
| 81 | class LogicalExpr; |
---|
| 82 | class ConditionalExpr; |
---|
| 83 | class CommaExpr; |
---|
| 84 | class TypeExpr; |
---|
| 85 | class AsmExpr; |
---|
| 86 | class ImplicitCopyCtorExpr; |
---|
| 87 | class ConstructorExpr; |
---|
| 88 | class CompoundLiteralExpr; |
---|
| 89 | class RangeExpr; |
---|
| 90 | class UntypedTupleExpr; |
---|
| 91 | class TupleExpr; |
---|
| 92 | class TupleIndexExpr; |
---|
| 93 | class TupleAssignExpr; |
---|
| 94 | class StmtExpr; |
---|
| 95 | class UniqueExpr; |
---|
| 96 | class UntypedInitExpr; |
---|
| 97 | class InitExpr; |
---|
| 98 | class DeletedExpr; |
---|
| 99 | class DefaultArgExpr; |
---|
| 100 | class GenericExpr; |
---|
| 101 | |
---|
| 102 | class Type; |
---|
| 103 | class VoidType; |
---|
| 104 | class BasicType; |
---|
| 105 | class PointerType; |
---|
| 106 | class ArrayType; |
---|
| 107 | class ReferenceType; |
---|
| 108 | class QualifiedType; |
---|
| 109 | class FunctionType; |
---|
[98e8b3b] | 110 | class BaseInstType; |
---|
[923d25a] | 111 | template<typename decl_t> class SueInstType; |
---|
| 112 | using StructInstType = SueInstType<StructDecl>; |
---|
| 113 | using UnionInstType = SueInstType<UnionDecl>; |
---|
| 114 | using EnumInstType = SueInstType<EnumDecl>; |
---|
[ee7a29f] | 115 | class TraitInstType; |
---|
| 116 | class TypeInstType; |
---|
| 117 | class TupleType; |
---|
| 118 | class TypeofType; |
---|
| 119 | class VarArgsType; |
---|
| 120 | class ZeroType; |
---|
| 121 | class OneType; |
---|
| 122 | class GlobalScopeType; |
---|
| 123 | |
---|
| 124 | class Designation; |
---|
| 125 | class Init; |
---|
| 126 | class SingleInit; |
---|
| 127 | class ListInit; |
---|
| 128 | class ConstructorInit; |
---|
| 129 | |
---|
| 130 | class Label; |
---|
| 131 | |
---|
| 132 | class Attribute; |
---|
| 133 | |
---|
[fb2bde4] | 134 | class SymbolTable; |
---|
| 135 | class TypeEnvironment; |
---|
[ee7a29f] | 136 | class TypeSubstitution; |
---|
| 137 | |
---|
| 138 | typedef unsigned int UniqueId; |
---|
| 139 | |
---|
[a056f56] | 140 | struct TranslationUnit; |
---|
[293dc1c] | 141 | // TODO: Get from the TranslationUnit: |
---|
[b3a0df6] | 142 | extern ptr<Type> sizeType; |
---|
| 143 | extern const FunctionDecl * dereferenceOperator; |
---|
| 144 | extern const StructDecl * dtorStruct; |
---|
| 145 | extern const FunctionDecl * dtorStructDestroy; |
---|
[490fb92e] | 146 | |
---|
[ee7a29f] | 147 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.