source:
src/SynTree/SynTree.h@
f4e01f1
| Last change on this file since f4e01f1 was 561354f, checked in by , 3 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; | |
| [561354f] | 33 | class AdtDecl; |
| [4040425] | 34 | class TraitDecl; |
| [51b73452] | 35 | class NamedTypeDecl; |
| 36 | class TypeDecl; | |
| 37 | class TypedefDecl; | |
| [e994912] | 38 | class AsmDecl; |
| [2d019af] | 39 | class DirectiveDecl; |
| [f6e3e34] | 40 | class StaticAssertDecl; |
| [71806e0] | 41 | class InlineMemberDecl; |
| [51b73452] | 42 | |
| 43 | class Statement; | |
| 44 | class CompoundStmt; | |
| 45 | class ExprStmt; | |
| [7f5566b] | 46 | class AsmStmt; |
| [cc32d83] | 47 | class DirectiveStmt; |
| [51b73452] | 48 | class IfStmt; |
| [3b0bc16] | 49 | class WhileDoStmt; |
| [51b73452] | 50 | class ForStmt; |
| 51 | class SwitchStmt; | |
| 52 | class CaseStmt; | |
| 53 | class BranchStmt; | |
| 54 | class ReturnStmt; | |
| [daf1af8] | 55 | class ThrowStmt; |
| [51b73452] | 56 | class TryStmt; |
| 57 | class CatchStmt; | |
| 58 | class FinallyStmt; | |
| [37cdd97] | 59 | class SuspendStmt; |
| [135b431] | 60 | class WaitForStmt; |
| [61255ad] | 61 | class WithStmt; |
| [51b73452] | 62 | class NullStmt; |
| 63 | class DeclStmt; | |
| 64 | class NullStmt; | |
| [f1b1e4c] | 65 | class ImplicitCtorDtorStmt; |
| [6cebfef] | 66 | class MutexStmt; |
| [51b73452] | 67 | |
| 68 | class Expression; | |
| 69 | class ApplicationExpr; | |
| 70 | class UntypedExpr; | |
| 71 | class NameExpr; | |
| 72 | class AddressExpr; | |
| 73 | class LabelAddressExpr; | |
| 74 | class CastExpr; | |
| [9a705dc8] | 75 | class KeywordCastExpr; |
| [a5f0529] | 76 | class VirtualCastExpr; |
| [51b73452] | 77 | class MemberExpr; |
| 78 | class UntypedMemberExpr; | |
| 79 | class VariableExpr; | |
| 80 | class ConstantExpr; | |
| 81 | class SizeofExpr; | |
| [47534159] | 82 | class AlignofExpr; |
| [2a4b088] | 83 | class UntypedOffsetofExpr; |
| [25a054f] | 84 | class OffsetofExpr; |
| [afc1045] | 85 | class OffsetPackExpr; |
| [51b73452] | 86 | class LogicalExpr; |
| 87 | class ConditionalExpr; | |
| 88 | class CommaExpr; | |
| 89 | class TypeExpr; | |
| [6e50a6b] | 90 | class DimensionExpr; |
| [7f5566b] | 91 | class AsmExpr; |
| [db4ecc5] | 92 | class ImplicitCopyCtorExpr; |
| [b6fe7e6] | 93 | class ConstructorExpr; |
| [630a82a] | 94 | class CompoundLiteralExpr; |
| [8688ce1] | 95 | class RangeExpr; |
| [907eccb] | 96 | class UntypedTupleExpr; |
| [6eb8948] | 97 | class TupleExpr; |
| [3b58d91] | 98 | class TupleIndexExpr; |
| [6eb8948] | 99 | class TupleAssignExpr; |
| 100 | class StmtExpr; | |
| [3c13c03] | 101 | class UniqueExpr; |
| [e4d829b] | 102 | class UntypedInitExpr; |
| 103 | class InitExpr; | |
| [44b4114] | 104 | class DeletedExpr; |
| [0f79853] | 105 | class DefaultArgExpr; |
| [d807ca28] | 106 | class GenericExpr; |
| [50a8aa9] | 107 | class QualifiedNameExpr; |
| [51b73452] | 108 | |
| 109 | class Type; | |
| 110 | class VoidType; | |
| 111 | class BasicType; | |
| 112 | class PointerType; | |
| 113 | class ArrayType; | |
| [ce8c12f] | 114 | class ReferenceType; |
| [c5d7701] | 115 | class QualifiedType; |
| [51b73452] | 116 | class FunctionType; |
| 117 | class ReferenceToType; | |
| 118 | class StructInstType; | |
| 119 | class UnionInstType; | |
| 120 | class EnumInstType; | |
| [4040425] | 121 | class TraitInstType; |
| [51b73452] | 122 | class TypeInstType; |
| 123 | class TupleType; | |
| 124 | class TypeofType; | |
| [7ff35e0e] | 125 | class VTableType; |
| [51b73452] | 126 | class AttrType; |
| [44b7088] | 127 | class VarArgsType; |
| [89e6ffc] | 128 | class ZeroType; |
| 129 | class OneType; | |
| [47498bd] | 130 | class GlobalScopeType; |
| [51b73452] | 131 | |
| [e4d829b] | 132 | class Designation; |
| [51b73452] | 133 | class Initializer; |
| 134 | class SingleInit; | |
| 135 | class ListInit; | |
| [71f4e4f] | 136 | class ConstructorInit; |
| [51b73452] | 137 | |
| 138 | //template <class T> // emulate a union with templates? | |
| 139 | class Constant; | |
| 140 | ||
| [0f8e4ac] | 141 | // typedef std::string Label; |
| 142 | class Label; | |
| [51b73452] | 143 | typedef unsigned int UniqueId; |
| 144 | ||
| 145 | class TypeSubstitution; | |
| 146 | ||
| [7baed7d] | 147 | // gcc attribute |
| 148 | class Attribute; | |
| 149 | ||
| [0dd3a2f] | 150 | // Local Variables: // |
| 151 | // tab-width: 4 // | |
| 152 | // mode: c++ // | |
| 153 | // compile-command: "make install" // | |
| 154 | // End: // |
Note:
See TracBrowser
for help on using the repository browser.