source:
src/SynTree/SynTree.h@
64188cc
| Last change on this file since 64188cc was 0f79853, checked in by , 7 years ago | |
|---|---|
|
|
| File size: 2.7 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 | |
| [a5f0529] | 11 | // Last Modified By : Andrew Beach |
| 12 | // Last Modified On : Mon Jul 24 16:54:00 2017 | |
| 13 | // Update Count : 11 | |
| [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 FtypeDecl; | |
| 37 | class DtypeDecl; | |
| 38 | class TypedefDecl; | |
| [e994912] | 39 | class AsmDecl; |
| [f6e3e34] | 40 | class StaticAssertDecl; |
| [51b73452] | 41 | |
| 42 | class Statement; | |
| 43 | class CompoundStmt; | |
| 44 | class ExprStmt; | |
| [7f5566b] | 45 | class AsmStmt; |
| [cc32d83] | 46 | class DirectiveStmt; |
| [51b73452] | 47 | class IfStmt; |
| 48 | class WhileStmt; | |
| 49 | class ForStmt; | |
| 50 | class SwitchStmt; | |
| 51 | class CaseStmt; | |
| 52 | class BranchStmt; | |
| 53 | class ReturnStmt; | |
| [daf1af8] | 54 | class ThrowStmt; |
| [51b73452] | 55 | class TryStmt; |
| 56 | class CatchStmt; | |
| 57 | class FinallyStmt; | |
| [135b431] | 58 | class WaitForStmt; |
| [61255ad] | 59 | class WithStmt; |
| [51b73452] | 60 | class NullStmt; |
| 61 | class DeclStmt; | |
| 62 | class NullStmt; | |
| [f1b1e4c] | 63 | class ImplicitCtorDtorStmt; |
| [51b73452] | 64 | |
| 65 | class Expression; | |
| 66 | class ApplicationExpr; | |
| 67 | class UntypedExpr; | |
| 68 | class NameExpr; | |
| 69 | class AddressExpr; | |
| 70 | class LabelAddressExpr; | |
| 71 | class CastExpr; | |
| [9a705dc8] | 72 | class KeywordCastExpr; |
| [a5f0529] | 73 | class VirtualCastExpr; |
| [51b73452] | 74 | class MemberExpr; |
| 75 | class UntypedMemberExpr; | |
| 76 | class VariableExpr; | |
| 77 | class ConstantExpr; | |
| 78 | class SizeofExpr; | |
| [47534159] | 79 | class AlignofExpr; |
| [2a4b088] | 80 | class UntypedOffsetofExpr; |
| [25a054f] | 81 | class OffsetofExpr; |
| [afc1045] | 82 | class OffsetPackExpr; |
| [51b73452] | 83 | class AttrExpr; |
| 84 | class LogicalExpr; | |
| 85 | class ConditionalExpr; | |
| 86 | class CommaExpr; | |
| 87 | class TypeExpr; | |
| [7f5566b] | 88 | class AsmExpr; |
| [db4ecc5] | 89 | class ImplicitCopyCtorExpr; |
| [b6fe7e6] | 90 | class ConstructorExpr; |
| [630a82a] | 91 | class CompoundLiteralExpr; |
| [b6fe7e6] | 92 | class UntypedValofExpr; |
| [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; |
| [51b73452] | 112 | class FunctionType; |
| 113 | class ReferenceToType; | |
| 114 | class StructInstType; | |
| 115 | class UnionInstType; | |
| 116 | class EnumInstType; | |
| [4040425] | 117 | class TraitInstType; |
| [51b73452] | 118 | class TypeInstType; |
| 119 | class TupleType; | |
| 120 | class TypeofType; | |
| 121 | class AttrType; | |
| [44b7088] | 122 | class VarArgsType; |
| [89e6ffc] | 123 | class ZeroType; |
| 124 | class OneType; | |
| [51b73452] | 125 | |
| [e4d829b] | 126 | class Designation; |
| [51b73452] | 127 | class Initializer; |
| 128 | class SingleInit; | |
| 129 | class ListInit; | |
| [71f4e4f] | 130 | class ConstructorInit; |
| [51b73452] | 131 | |
| 132 | class Subrange; | |
| 133 | ||
| 134 | //template <class T> // emulate a union with templates? | |
| 135 | class Constant; | |
| 136 | ||
| [0f8e4ac] | 137 | // typedef std::string Label; |
| 138 | class Label; | |
| [51b73452] | 139 | typedef unsigned int UniqueId; |
| 140 | ||
| 141 | class TypeSubstitution; | |
| 142 | ||
| [7baed7d] | 143 | // gcc attribute |
| 144 | class Attribute; | |
| 145 | ||
| [0dd3a2f] | 146 | // Local Variables: // |
| 147 | // tab-width: 4 // | |
| 148 | // mode: c++ // | |
| 149 | // compile-command: "make install" // | |
| 150 | // End: // |
Note:
See TracBrowser
for help on using the repository browser.