source: src/SynTree/SynTree.h @ a5f0529

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since a5f0529 was a5f0529, checked in by Andrew Beach <ajbeach@…>, 7 years ago

Virtual casts have been added. They still require a lot of hand coded support to work but for simple cases it should be enough.

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[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//
[51b7345]15
[6b0b624]16#pragma once
[51b7345]17
18#include <string>
19#include <list>
20#include <map>
21#include <iostream>
22
[262f085f]23class BaseSyntaxNode;
24
[51b7345]25class Declaration;
26class DeclarationWithType;
27class ObjectDecl;
28class FunctionDecl;
29class AggregateDecl;
30class StructDecl;
31class UnionDecl;
32class EnumDecl;
[4040425]33class TraitDecl;
[51b7345]34class NamedTypeDecl;
35class TypeDecl;
36class FtypeDecl;
37class DtypeDecl;
38class TypedefDecl;
[e994912]39class AsmDecl;
[51b7345]40
41class Statement;
42class CompoundStmt;
43class ExprStmt;
[7f5566b]44class AsmStmt;
[51b7345]45class IfStmt;
46class WhileStmt;
47class ForStmt;
48class SwitchStmt;
49class CaseStmt;
50class BranchStmt;
51class ReturnStmt;
[daf1af8]52class ThrowStmt;
[51b7345]53class TryStmt;
54class CatchStmt;
55class FinallyStmt;
56class NullStmt;
57class DeclStmt;
58class NullStmt;
[f1b1e4c]59class ImplicitCtorDtorStmt;
[51b7345]60
61class Expression;
62class ApplicationExpr;
63class UntypedExpr;
64class NameExpr;
65class AddressExpr;
66class LabelAddressExpr;
67class CastExpr;
[a5f0529]68class VirtualCastExpr;
[51b7345]69class MemberExpr;
70class UntypedMemberExpr;
71class VariableExpr;
72class ConstantExpr;
73class SizeofExpr;
[47534159]74class AlignofExpr;
[2a4b088]75class UntypedOffsetofExpr;
[25a054f]76class OffsetofExpr;
[afc1045]77class OffsetPackExpr;
[51b7345]78class AttrExpr;
79class LogicalExpr;
80class ConditionalExpr;
81class CommaExpr;
82class TypeExpr;
[7f5566b]83class AsmExpr;
[db4ecc5]84class ImplicitCopyCtorExpr;
[b6fe7e6]85class ConstructorExpr;
[630a82a]86class CompoundLiteralExpr;
[b6fe7e6]87class UntypedValofExpr;
[8688ce1]88class RangeExpr;
[907eccb]89class UntypedTupleExpr;
[6eb8948]90class TupleExpr;
[3b58d91]91class TupleIndexExpr;
[6eb8948]92class TupleAssignExpr;
93class StmtExpr;
[3c13c03]94class UniqueExpr;
[e4d829b]95class UntypedInitExpr;
96class InitExpr;
[51b7345]97
98class Type;
99class VoidType;
100class BasicType;
101class PointerType;
102class ArrayType;
103class FunctionType;
104class ReferenceToType;
105class StructInstType;
106class UnionInstType;
107class EnumInstType;
[4040425]108class TraitInstType;
[51b7345]109class TypeInstType;
110class TupleType;
111class TypeofType;
112class AttrType;
[44b7088]113class VarArgsType;
[89e6ffc]114class ZeroType;
115class OneType;
[51b7345]116
[e4d829b]117class Designation;
[51b7345]118class Initializer;
119class SingleInit;
120class ListInit;
[71f4e4f]121class ConstructorInit;
[51b7345]122
123class Subrange;
124
125//template <class T>    // emulate a union with templates?
126class Constant;
127
[0f8e4ac]128// typedef std::string Label;
129class Label;
[51b7345]130typedef unsigned int UniqueId;
131
132class TypeSubstitution;
133
[7baed7d]134// gcc attribute
135class Attribute;
136
[0dd3a2f]137// Local Variables: //
138// tab-width: 4 //
139// mode: c++ //
140// compile-command: "make install" //
141// End: //
Note: See TracBrowser for help on using the repository browser.