source:
src/SynTree/SynTree.h@
0aa4beb
| Last change on this file since 0aa4beb was 3b0bc16, checked in by , 4 years ago | |
|---|---|
|
|
| File size: 2.8 KB | |
| Rev | Line | |
|---|---|---|
| [0dd3a2f] | 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 | // | |
| [71f4e4f] | 7 | // SynTree.h -- |
| [0dd3a2f] | 8 | // |
| 9 | // Author : Richard C. Bilson | |
| 10 | // Created On : Mon May 18 07:44:20 2015 | |
| [033ff37] | 11 | // Last Modified By : Peter A. Buhr |
| [3b0bc16] | 12 | // Last Modified On : Tue Feb 1 09:22:33 2022 |
| 13 | // Update Count : 14 | |
| [0dd3a2f] | 14 | // |
| [51b73452] | 15 | |
| [6b0b624] | 16 | #pragma once |
| [51b73452] | 17 | |
| 18 | #include <string> | |
| 19 | #include <list> | |
| 20 | #include <map> | |
| 21 | #include <iostream> | |
| 22 | ||
| [262f085f] | 23 | class BaseSyntaxNode; |
| 24 | ||
| [51b73452] | 25 | class Declaration; |
| 26 | class DeclarationWithType; | |
| 27 | class ObjectDecl; | |
| 28 | class FunctionDecl; | |
| 29 | class AggregateDecl; | |
| 30 | class StructDecl; | |
| 31 | class UnionDecl; | |
| 32 | class EnumDecl; | |
| [4040425] | 33 | class TraitDecl; |
| [51b73452] | 34 | class NamedTypeDecl; |
| 35 | class TypeDecl; | |
| 36 | class TypedefDecl; | |
| [e994912] | 37 | class AsmDecl; |
| [2d019af] | 38 | class DirectiveDecl; |
| [f6e3e34] | 39 | class StaticAssertDecl; |
| [51b73452] | 40 | |
| 41 | class Statement; | |
| 42 | class CompoundStmt; | |
| 43 | class ExprStmt; | |
| [7f5566b] | 44 | class AsmStmt; |
| [cc32d83] | 45 | class DirectiveStmt; |
| [51b73452] | 46 | class IfStmt; |
| [3b0bc16] | 47 | class WhileDoStmt; |
| [51b73452] | 48 | class ForStmt; |
| 49 | class SwitchStmt; | |
| 50 | class CaseStmt; | |
| 51 | class BranchStmt; | |
| 52 | class ReturnStmt; | |
| [daf1af8] | 53 | class ThrowStmt; |
| [51b73452] | 54 | class TryStmt; |
| 55 | class CatchStmt; | |
| 56 | class FinallyStmt; | |
| [37cdd97] | 57 | class SuspendStmt; |
| [135b431] | 58 | class WaitForStmt; |
| [61255ad] | 59 | class WithStmt; |
| [51b73452] | 60 | class NullStmt; |
| 61 | class DeclStmt; | |
| 62 | class NullStmt; | |
| [f1b1e4c] | 63 | class ImplicitCtorDtorStmt; |
| [6cebfef] | 64 | class MutexStmt; |
| [51b73452] | 65 | |
| 66 | class Expression; | |
| 67 | class ApplicationExpr; | |
| 68 | class UntypedExpr; | |
| 69 | class NameExpr; | |
| 70 | class AddressExpr; | |
| 71 | class LabelAddressExpr; | |
| 72 | class CastExpr; | |
| [9a705dc8] | 73 | class KeywordCastExpr; |
| [a5f0529] | 74 | class VirtualCastExpr; |
| [51b73452] | 75 | class MemberExpr; |
| 76 | class UntypedMemberExpr; | |
| 77 | class VariableExpr; | |
| 78 | class ConstantExpr; | |
| 79 | class SizeofExpr; | |
| [47534159] | 80 | class AlignofExpr; |
| [2a4b088] | 81 | class UntypedOffsetofExpr; |
| [25a054f] | 82 | class OffsetofExpr; |
| [afc1045] | 83 | class OffsetPackExpr; |
| [51b73452] | 84 | class LogicalExpr; |
| 85 | class ConditionalExpr; | |
| 86 | class CommaExpr; | |
| 87 | class TypeExpr; | |
| [6e50a6b] | 88 | class DimensionExpr; |
| [7f5566b] | 89 | class AsmExpr; |
| [db4ecc5] | 90 | class ImplicitCopyCtorExpr; |
| [b6fe7e6] | 91 | class ConstructorExpr; |
| [630a82a] | 92 | class CompoundLiteralExpr; |
| [8688ce1] | 93 | class RangeExpr; |
| [907eccb] | 94 | class UntypedTupleExpr; |
| [6eb8948] | 95 | class TupleExpr; |
| [3b58d91] | 96 | class TupleIndexExpr; |
| [6eb8948] | 97 | class TupleAssignExpr; |
| 98 | class StmtExpr; | |
| [3c13c03] | 99 | class UniqueExpr; |
| [e4d829b] | 100 | class UntypedInitExpr; |
| 101 | class InitExpr; | |
| [44b4114] | 102 | class DeletedExpr; |
| [0f79853] | 103 | class DefaultArgExpr; |
| [d807ca28] | 104 | class GenericExpr; |
| [51b73452] | 105 | |
| 106 | class Type; | |
| 107 | class VoidType; | |
| 108 | class BasicType; | |
| 109 | class PointerType; | |
| 110 | class ArrayType; | |
| [ce8c12f] | 111 | class ReferenceType; |
| [c5d7701] | 112 | class QualifiedType; |
| [51b73452] | 113 | class FunctionType; |
| 114 | class ReferenceToType; | |
| 115 | class StructInstType; | |
| 116 | class UnionInstType; | |
| 117 | class EnumInstType; | |
| [4040425] | 118 | class TraitInstType; |
| [51b73452] | 119 | class TypeInstType; |
| 120 | class TupleType; | |
| 121 | class TypeofType; | |
| [7ff35e0e] | 122 | class VTableType; |
| [51b73452] | 123 | class AttrType; |
| [44b7088] | 124 | class VarArgsType; |
| [89e6ffc] | 125 | class ZeroType; |
| 126 | class OneType; | |
| [47498bd] | 127 | class GlobalScopeType; |
| [51b73452] | 128 | |
| [e4d829b] | 129 | class Designation; |
| [51b73452] | 130 | class Initializer; |
| 131 | class SingleInit; | |
| 132 | class ListInit; | |
| [71f4e4f] | 133 | class ConstructorInit; |
| [51b73452] | 134 | |
| 135 | //template <class T> // emulate a union with templates? | |
| 136 | class Constant; | |
| 137 | ||
| [0f8e4ac] | 138 | // typedef std::string Label; |
| 139 | class Label; | |
| [51b73452] | 140 | typedef unsigned int UniqueId; |
| 141 | ||
| 142 | class TypeSubstitution; | |
| 143 | ||
| [7baed7d] | 144 | // gcc attribute |
| 145 | class Attribute; | |
| 146 | ||
| [0dd3a2f] | 147 | // Local Variables: // |
| 148 | // tab-width: 4 // | |
| 149 | // mode: c++ // | |
| 150 | // compile-command: "make install" // | |
| 151 | // End: // |
Note:
See TracBrowser
for help on using the repository browser.