ADTast-experimental
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 |
---|
[3b0bc16] | 12 | // Last Modified On : Tue Feb 1 09:08:33 2022 |
---|
| 13 | // Update Count : 5 |
---|
[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; |
---|
[71806e0] | 39 | class InlineMemberDecl; |
---|
[ee7a29f] | 40 | |
---|
| 41 | class Stmt; |
---|
| 42 | class CompoundStmt; |
---|
| 43 | class ExprStmt; |
---|
| 44 | class AsmStmt; |
---|
| 45 | class DirectiveStmt; |
---|
| 46 | class IfStmt; |
---|
[3b0bc16] | 47 | class WhileDoStmt; |
---|
[ee7a29f] | 48 | class ForStmt; |
---|
| 49 | class SwitchStmt; |
---|
[400b8be] | 50 | class CaseClause; |
---|
[ee7a29f] | 51 | class BranchStmt; |
---|
| 52 | class ReturnStmt; |
---|
| 53 | class ThrowStmt; |
---|
| 54 | class TryStmt; |
---|
[400b8be] | 55 | class CatchClause; |
---|
| 56 | class FinallyClause; |
---|
[37cdd97] | 57 | class SuspendStmt; |
---|
[ee7a29f] | 58 | class WaitForStmt; |
---|
[f6e6a55] | 59 | class WaitForClause; |
---|
[ee7a29f] | 60 | class WithStmt; |
---|
| 61 | class DeclStmt; |
---|
| 62 | class NullStmt; |
---|
| 63 | class ImplicitCtorDtorStmt; |
---|
[6cebfef] | 64 | class MutexStmt; |
---|
[ee7a29f] | 65 | |
---|
| 66 | class Expr; |
---|
| 67 | class ApplicationExpr; |
---|
| 68 | class UntypedExpr; |
---|
| 69 | class NameExpr; |
---|
[b0d9ff7] | 70 | class QualifiedNameExpr; |
---|
[ee7a29f] | 71 | class AddressExpr; |
---|
| 72 | class LabelAddressExpr; |
---|
| 73 | class CastExpr; |
---|
| 74 | class KeywordCastExpr; |
---|
| 75 | class VirtualCastExpr; |
---|
| 76 | class MemberExpr; |
---|
| 77 | class UntypedMemberExpr; |
---|
| 78 | class VariableExpr; |
---|
| 79 | class ConstantExpr; |
---|
| 80 | class SizeofExpr; |
---|
| 81 | class AlignofExpr; |
---|
| 82 | class UntypedOffsetofExpr; |
---|
| 83 | class OffsetofExpr; |
---|
| 84 | class OffsetPackExpr; |
---|
| 85 | class LogicalExpr; |
---|
| 86 | class ConditionalExpr; |
---|
| 87 | class CommaExpr; |
---|
| 88 | class TypeExpr; |
---|
[4ec9513] | 89 | class DimensionExpr; |
---|
[ee7a29f] | 90 | class AsmExpr; |
---|
| 91 | class ImplicitCopyCtorExpr; |
---|
| 92 | class ConstructorExpr; |
---|
| 93 | class CompoundLiteralExpr; |
---|
| 94 | class RangeExpr; |
---|
| 95 | class UntypedTupleExpr; |
---|
| 96 | class TupleExpr; |
---|
| 97 | class TupleIndexExpr; |
---|
| 98 | class TupleAssignExpr; |
---|
| 99 | class StmtExpr; |
---|
| 100 | class UniqueExpr; |
---|
| 101 | class UntypedInitExpr; |
---|
| 102 | class InitExpr; |
---|
| 103 | class DeletedExpr; |
---|
| 104 | class DefaultArgExpr; |
---|
| 105 | class GenericExpr; |
---|
| 106 | |
---|
| 107 | class Type; |
---|
| 108 | class VoidType; |
---|
| 109 | class BasicType; |
---|
| 110 | class PointerType; |
---|
| 111 | class ArrayType; |
---|
| 112 | class ReferenceType; |
---|
| 113 | class QualifiedType; |
---|
| 114 | class FunctionType; |
---|
[98e8b3b] | 115 | class BaseInstType; |
---|
[923d25a] | 116 | template<typename decl_t> class SueInstType; |
---|
| 117 | using StructInstType = SueInstType<StructDecl>; |
---|
| 118 | using UnionInstType = SueInstType<UnionDecl>; |
---|
| 119 | using EnumInstType = SueInstType<EnumDecl>; |
---|
[ee7a29f] | 120 | class TraitInstType; |
---|
| 121 | class TypeInstType; |
---|
| 122 | class TupleType; |
---|
| 123 | class TypeofType; |
---|
[3945abe] | 124 | class VTableType; |
---|
[ee7a29f] | 125 | class VarArgsType; |
---|
| 126 | class ZeroType; |
---|
| 127 | class OneType; |
---|
| 128 | class GlobalScopeType; |
---|
| 129 | |
---|
| 130 | class Designation; |
---|
| 131 | class Init; |
---|
| 132 | class SingleInit; |
---|
| 133 | class ListInit; |
---|
| 134 | class ConstructorInit; |
---|
| 135 | |
---|
| 136 | class Label; |
---|
| 137 | |
---|
| 138 | class Attribute; |
---|
| 139 | |
---|
[fb2bde4] | 140 | class SymbolTable; |
---|
| 141 | class TypeEnvironment; |
---|
[ee7a29f] | 142 | class TypeSubstitution; |
---|
| 143 | |
---|
| 144 | typedef unsigned int UniqueId; |
---|
| 145 | |
---|
[1f7dc61] | 146 | class TranslationUnit; |
---|
[39d8950] | 147 | class TranslationGlobal; |
---|
[490fb92e] | 148 | |
---|
[ee7a29f] | 149 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.