source: src/SynTree/SynTree.h @ 7030dab

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 7030dab was 37cdd97, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Added a ast node for suspend statements

  • Property mode set to 100644
File size: 2.7 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
[033ff37]11// Last Modified By : Peter A. Buhr
12// Last Modified On : Thu Jul 25 22:37:45 2019
13// Update Count     : 12
[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 TypedefDecl;
[e994912]37class AsmDecl;
[f6e3e34]38class StaticAssertDecl;
[51b7345]39
40class Statement;
41class CompoundStmt;
42class ExprStmt;
[7f5566b]43class AsmStmt;
[cc32d83]44class DirectiveStmt;
[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;
[37cdd97]56class SuspendStmt;
[135b431]57class WaitForStmt;
[61255ad]58class WithStmt;
[51b7345]59class NullStmt;
60class DeclStmt;
61class NullStmt;
[f1b1e4c]62class ImplicitCtorDtorStmt;
[51b7345]63
64class Expression;
65class ApplicationExpr;
66class UntypedExpr;
67class NameExpr;
68class AddressExpr;
69class LabelAddressExpr;
70class CastExpr;
[9a705dc8]71class KeywordCastExpr;
[a5f0529]72class VirtualCastExpr;
[51b7345]73class MemberExpr;
74class UntypedMemberExpr;
75class VariableExpr;
76class ConstantExpr;
77class SizeofExpr;
[47534159]78class AlignofExpr;
[2a4b088]79class UntypedOffsetofExpr;
[25a054f]80class OffsetofExpr;
[afc1045]81class OffsetPackExpr;
[51b7345]82class LogicalExpr;
83class ConditionalExpr;
84class CommaExpr;
85class TypeExpr;
[7f5566b]86class AsmExpr;
[db4ecc5]87class ImplicitCopyCtorExpr;
[b6fe7e6]88class ConstructorExpr;
[630a82a]89class CompoundLiteralExpr;
[8688ce1]90class RangeExpr;
[907eccb]91class UntypedTupleExpr;
[6eb8948]92class TupleExpr;
[3b58d91]93class TupleIndexExpr;
[6eb8948]94class TupleAssignExpr;
95class StmtExpr;
[3c13c03]96class UniqueExpr;
[e4d829b]97class UntypedInitExpr;
98class InitExpr;
[44b4114]99class DeletedExpr;
[0f79853]100class DefaultArgExpr;
[d807ca28]101class GenericExpr;
[51b7345]102
103class Type;
104class VoidType;
105class BasicType;
106class PointerType;
107class ArrayType;
[ce8c12f]108class ReferenceType;
[c5d7701]109class QualifiedType;
[51b7345]110class FunctionType;
111class ReferenceToType;
112class StructInstType;
113class UnionInstType;
114class EnumInstType;
[4040425]115class TraitInstType;
[51b7345]116class TypeInstType;
117class TupleType;
118class TypeofType;
119class AttrType;
[44b7088]120class VarArgsType;
[89e6ffc]121class ZeroType;
122class OneType;
[47498bd]123class GlobalScopeType;
[51b7345]124
[e4d829b]125class Designation;
[51b7345]126class Initializer;
127class SingleInit;
128class ListInit;
[71f4e4f]129class ConstructorInit;
[51b7345]130
131//template <class T>    // emulate a union with templates?
132class Constant;
133
[0f8e4ac]134// typedef std::string Label;
135class Label;
[51b7345]136typedef unsigned int UniqueId;
137
138class TypeSubstitution;
139
[7baed7d]140// gcc attribute
141class Attribute;
142
[0dd3a2f]143// Local Variables: //
144// tab-width: 4 //
145// mode: c++ //
146// compile-command: "make install" //
147// End: //
Note: See TracBrowser for help on using the repository browser.