Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.h

    r974906e2 re869d663  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ParseNode.h --
     7// ParseNode.h -- 
    88//
    99// Author           : Rodolfo G. Esteves
    1010// Created On       : Sat May 16 13:28:16 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Thu Jan 07 13:17:46 2016
    13 // Update Count     : 177
     12// Last Modified On : Wed Aug 12 13:27:11 2015
     13// Update Count     : 172
    1414//
    1515
     
    175175  public:
    176176        enum Type { TupleC, Comma, TupleFieldSel,
    177                                 Cond, NCond,
    178                                 SizeOf, AlignOf, Attr, CompLit, Plus, Minus, Mul, Div, Mod, Or, And,
    179                                 BitOr, BitAnd, Xor, Cast, LShift, RShift, LThan, GThan, LEThan, GEThan, Eq, Neq,
    180                                 Assign, MulAssn, DivAssn, ModAssn, PlusAssn, MinusAssn, LSAssn, RSAssn, AndAssn,
     177                                Cond, NCond, 
     178                                SizeOf, AlignOf, Attr, CompLit, Plus, Minus, Mul, Div, Mod, Or, And, 
     179                                BitOr, BitAnd, Xor, Cast, LShift, RShift, LThan, GThan, LEThan, GEThan, Eq, Neq, 
     180                                Assign, MulAssn, DivAssn, ModAssn, PlusAssn, MinusAssn, LSAssn, RSAssn, AndAssn, 
    181181                                ERAssn, OrAssn, Index, FieldSel, PFieldSel, Range,
    182                                 UnPlus, UnMinus, AddressOf, PointTo, Neg, BitNeg, Incr, IncrPost, Decr, DecrPost, LabelAddress,
    183                                 Ctor, Dtor,
     182                                UnPlus, UnMinus, AddressOf, PointTo, Neg, BitNeg, Incr, IncrPost, Decr, DecrPost, LabelAddress
    184183        };
    185184
     
    307306        ValofExprNode( const ValofExprNode &other );
    308307        ~ValofExprNode();
    309 
     308 
    310309        virtual ValofExprNode *clone() const { return new ValofExprNode( *this ); }
    311310
     
    330329        enum TypeClass { Type, Dtype, Ftype };
    331330
    332         static const char *storageName[];
     331        static const char *storageName[]; 
    333332        static const char *qualifierName[];
    334333        static const char *basicTypeName[];
     
    420419class StatementNode : public ParseNode {
    421420  public:
    422         enum Type { Exp,   If,        Switch,  Case,    Default,  Choose,   Fallthru,
     421        enum Type { Exp,   If,        Switch,  Case,    Default,  Choose,   Fallthru, 
    423422                                While, Do,        For,
    424423                                Goto,  Continue,  Break,   Return,  Throw,
     
    518517        ExpressionNode *get_designators() const { return designator; }
    519518
    520         InitializerNode *set_maybeConstructed( bool value ) { maybeConstructed = value; return this; }
    521         bool get_maybeConstructed() const { return maybeConstructed; }
    522 
    523519        InitializerNode *next_init() const { return kids; }
    524520
     
    532528        ExpressionNode *designator; // may be list
    533529        InitializerNode *kids;
    534         bool maybeConstructed;
    535530};
    536531
Note: See TracChangeset for help on using the changeset viewer.