ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
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 |
---|
| 11 | // Last Modified By : Andrew Beach |
---|
[923d25a] | 12 | // Last Modified On : Thr Jul 23 14:15:00 2020 |
---|
| 13 | // Update Count : 2 |
---|
[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; |
---|
| 37 | class StaticAssertDecl; |
---|
| 38 | |
---|
| 39 | class Stmt; |
---|
| 40 | class CompoundStmt; |
---|
| 41 | class ExprStmt; |
---|
| 42 | class AsmStmt; |
---|
| 43 | class DirectiveStmt; |
---|
| 44 | class IfStmt; |
---|
| 45 | class WhileStmt; |
---|
| 46 | class ForStmt; |
---|
| 47 | class SwitchStmt; |
---|
| 48 | class CaseStmt; |
---|
| 49 | class BranchStmt; |
---|
| 50 | class ReturnStmt; |
---|
| 51 | class ThrowStmt; |
---|
| 52 | class TryStmt; |
---|
| 53 | class CatchStmt; |
---|
| 54 | class FinallyStmt; |
---|
[37cdd97] | 55 | class SuspendStmt; |
---|
[ee7a29f] | 56 | class WaitForStmt; |
---|
| 57 | class WithStmt; |
---|
| 58 | class DeclStmt; |
---|
| 59 | class NullStmt; |
---|
| 60 | class ImplicitCtorDtorStmt; |
---|
| 61 | |
---|
| 62 | class Expr; |
---|
| 63 | class ApplicationExpr; |
---|
| 64 | class UntypedExpr; |
---|
| 65 | class NameExpr; |
---|
| 66 | class AddressExpr; |
---|
| 67 | class LabelAddressExpr; |
---|
| 68 | class CastExpr; |
---|
| 69 | class KeywordCastExpr; |
---|
| 70 | class VirtualCastExpr; |
---|
| 71 | class MemberExpr; |
---|
| 72 | class UntypedMemberExpr; |
---|
| 73 | class VariableExpr; |
---|
| 74 | class ConstantExpr; |
---|
| 75 | class SizeofExpr; |
---|
| 76 | class AlignofExpr; |
---|
| 77 | class UntypedOffsetofExpr; |
---|
| 78 | class OffsetofExpr; |
---|
| 79 | class OffsetPackExpr; |
---|
| 80 | class LogicalExpr; |
---|
| 81 | class ConditionalExpr; |
---|
| 82 | class CommaExpr; |
---|
| 83 | class TypeExpr; |
---|
| 84 | class AsmExpr; |
---|
| 85 | class ImplicitCopyCtorExpr; |
---|
| 86 | class ConstructorExpr; |
---|
| 87 | class CompoundLiteralExpr; |
---|
| 88 | class RangeExpr; |
---|
| 89 | class UntypedTupleExpr; |
---|
| 90 | class TupleExpr; |
---|
| 91 | class TupleIndexExpr; |
---|
| 92 | class TupleAssignExpr; |
---|
| 93 | class StmtExpr; |
---|
| 94 | class UniqueExpr; |
---|
| 95 | class UntypedInitExpr; |
---|
| 96 | class InitExpr; |
---|
| 97 | class DeletedExpr; |
---|
| 98 | class DefaultArgExpr; |
---|
| 99 | class GenericExpr; |
---|
| 100 | |
---|
| 101 | class Type; |
---|
| 102 | class VoidType; |
---|
| 103 | class BasicType; |
---|
| 104 | class PointerType; |
---|
| 105 | class ArrayType; |
---|
| 106 | class ReferenceType; |
---|
| 107 | class QualifiedType; |
---|
| 108 | class FunctionType; |
---|
[98e8b3b] | 109 | class BaseInstType; |
---|
[923d25a] | 110 | template<typename decl_t> class SueInstType; |
---|
| 111 | using StructInstType = SueInstType<StructDecl>; |
---|
| 112 | using UnionInstType = SueInstType<UnionDecl>; |
---|
| 113 | using EnumInstType = SueInstType<EnumDecl>; |
---|
[ee7a29f] | 114 | class TraitInstType; |
---|
| 115 | class TypeInstType; |
---|
| 116 | class TupleType; |
---|
| 117 | class TypeofType; |
---|
| 118 | class VarArgsType; |
---|
| 119 | class ZeroType; |
---|
| 120 | class OneType; |
---|
| 121 | class GlobalScopeType; |
---|
| 122 | |
---|
| 123 | class Designation; |
---|
| 124 | class Init; |
---|
| 125 | class SingleInit; |
---|
| 126 | class ListInit; |
---|
| 127 | class ConstructorInit; |
---|
| 128 | |
---|
| 129 | class Label; |
---|
| 130 | |
---|
| 131 | class Attribute; |
---|
| 132 | |
---|
[fb2bde4] | 133 | class SymbolTable; |
---|
| 134 | class TypeEnvironment; |
---|
[ee7a29f] | 135 | class TypeSubstitution; |
---|
| 136 | |
---|
| 137 | typedef unsigned int UniqueId; |
---|
| 138 | |
---|
[490fb92e] | 139 | extern Type * sizeType; |
---|
| 140 | extern FunctionDecl * dereferenceOperator; |
---|
| 141 | extern StructDecl * dtorStruct; |
---|
| 142 | extern FunctionDecl * dtorStructDestroy; |
---|
| 143 | |
---|
[ee7a29f] | 144 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.