ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since 9df2dd5 was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[51b7345] | 1 | /* |
---|
| 2 | * This file is part of the Cforall project |
---|
| 3 | * |
---|
| 4 | * $Id: SynTree.h,v 1.22 2005/08/29 20:59:26 rcbilson Exp $ |
---|
| 5 | * |
---|
| 6 | * Forward declarations for syntax tree classes, so that they can be mutually |
---|
| 7 | * interdependent |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef SYNTREE_H |
---|
| 11 | #define SYNTREE_H |
---|
| 12 | |
---|
| 13 | #include <string> |
---|
| 14 | #include <list> |
---|
| 15 | #include <map> |
---|
| 16 | #include <iostream> |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | class Declaration; |
---|
| 20 | class DeclarationWithType; |
---|
| 21 | class ObjectDecl; |
---|
| 22 | class FunctionDecl; |
---|
| 23 | class AggregateDecl; |
---|
| 24 | class StructDecl; |
---|
| 25 | class UnionDecl; |
---|
| 26 | class EnumDecl; |
---|
| 27 | class ContextDecl; |
---|
| 28 | class NamedTypeDecl; |
---|
| 29 | class TypeDecl; |
---|
| 30 | class FtypeDecl; |
---|
| 31 | class DtypeDecl; |
---|
| 32 | class TypedefDecl; |
---|
| 33 | |
---|
| 34 | class Statement; |
---|
| 35 | class CompoundStmt; |
---|
| 36 | class ExprStmt; |
---|
| 37 | class IfStmt; |
---|
| 38 | class WhileStmt; |
---|
| 39 | class ForStmt; |
---|
| 40 | class SwitchStmt; |
---|
| 41 | class ChooseStmt; |
---|
| 42 | class FallthruStmt; |
---|
| 43 | class CaseStmt; |
---|
| 44 | class BranchStmt; |
---|
| 45 | class ReturnStmt; |
---|
| 46 | class TryStmt; |
---|
| 47 | class CatchStmt; |
---|
| 48 | class FinallyStmt; |
---|
| 49 | class NullStmt; |
---|
| 50 | class DeclStmt; |
---|
| 51 | class NullStmt; |
---|
| 52 | |
---|
| 53 | class Expression; |
---|
| 54 | class ApplicationExpr; |
---|
| 55 | class UntypedExpr; |
---|
| 56 | class NameExpr; |
---|
| 57 | class AddressExpr; |
---|
| 58 | class LabelAddressExpr; |
---|
| 59 | class CastExpr; |
---|
| 60 | class MemberExpr; |
---|
| 61 | class UntypedMemberExpr; |
---|
| 62 | class VariableExpr; |
---|
| 63 | class ConstantExpr; |
---|
| 64 | class SizeofExpr; |
---|
| 65 | class AttrExpr; |
---|
| 66 | class LogicalExpr; |
---|
| 67 | class ConditionalExpr; |
---|
| 68 | class CommaExpr; |
---|
| 69 | class TupleExpr; |
---|
| 70 | class SolvedTupleExpr; |
---|
| 71 | class TypeExpr; |
---|
| 72 | class UntypedValofExpr; |
---|
| 73 | |
---|
| 74 | class Type; |
---|
| 75 | class VoidType; |
---|
| 76 | class BasicType; |
---|
| 77 | class PointerType; |
---|
| 78 | class ArrayType; |
---|
| 79 | class FunctionType; |
---|
| 80 | class ReferenceToType; |
---|
| 81 | class StructInstType; |
---|
| 82 | class UnionInstType; |
---|
| 83 | class EnumInstType; |
---|
| 84 | class ContextInstType; |
---|
| 85 | class TypeInstType; |
---|
| 86 | class TupleType; |
---|
| 87 | class TypeofType; |
---|
| 88 | class AttrType; |
---|
| 89 | |
---|
| 90 | class Initializer; |
---|
| 91 | class MemberInit; |
---|
| 92 | class ElementInit; |
---|
| 93 | class SingleInit; |
---|
| 94 | class ListInit; |
---|
| 95 | |
---|
| 96 | class Subrange; |
---|
| 97 | |
---|
| 98 | //template <class T> // emulate a union with templates? |
---|
| 99 | class Constant; |
---|
| 100 | |
---|
| 101 | typedef std::string Label; |
---|
| 102 | typedef unsigned int UniqueId; |
---|
| 103 | |
---|
| 104 | class TypeSubstitution; |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | #endif /* #ifndef SYNTREE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.