source: src/SynTree/SynTree.h @ acb38ce9

ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since acb38ce9 was 6e50a6b, checked in by Michael Brooks <mlbrooks@…>, 3 years ago

Implementing language-provided syntax for (array) dimensions.

Former z(i) and Z(N) macros are eliminated.

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