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