Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Statement.h

    r936e9f4 r65cdc1e  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Aug 16 16:28:55 2017
    13 // Update Count     : 70
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Thr Aug  3 14:08:00 2017
     13// Update Count     : 69
    1414//
    1515
    1616#pragma once
    1717
    18 #include <iosfwd>                  // for ostream
    19 #include <list>                    // for list
    20 #include <memory>                  // for allocator
    21 
    22 #include "BaseSyntaxNode.h"        // for BaseSyntaxNode
    23 #include "Common/SemanticError.h"  // for SemanticError
    24 #include "Label.h"                 // for Label
    25 #include "Mutator.h"               // for Mutator
    26 #include "Visitor.h"               // for Visitor
    27 
    28 class CatchStmt;
    29 class ConstantExpr;
    30 class Declaration;
    31 class Expression;
    32 class FinallyStmt;
     18#include "BaseSyntaxNode.h"
     19#include "Label.h"
     20#include "Mutator.h"
     21#include "SynTree.h"
     22#include "Type.h"
     23#include "Visitor.h"
     24#include "Common/SemanticError.h"
    3325
    3426class Statement : public BaseSyntaxNode {
     
    127119class IfStmt : public Statement {
    128120  public:
    129         std::list<Statement *> initialization;
    130121        Expression *condition;
    131122        Statement *thenPart;
     
    136127        virtual ~IfStmt();
    137128
    138         std::list<Statement *> &get_initialization() { return initialization; }
    139         void set_initialization( std::list<Statement *> newValue ) { initialization = newValue; }
    140129        Expression *get_condition() { return condition; }
    141130        void set_condition( Expression *newValue ) { condition = newValue; }
Note: See TracChangeset for help on using the changeset viewer.