Changeset 138 in dev for BasicCompiler_Common/include


Ignore:
Timestamp:
Jun 12, 2007, 1:57:26 AM (17 years ago)
Author:
dai_9181
Message:

Member::initializeExpressionのリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/include/Member.h

    r137 r138  
    1515    Type type;
    1616    bool isConst;
     17
     18    string initializeExpression;
     19    string constructParameter;
    1720public:
    1821    int SubScripts[MAX_ARRAYDIM];
    19 
    20     char *InitBuf;
    21     char *ConstractParameter;
    2222
    2323    int source_code_address;
     
    4242    }
    4343
     44    const string &GetInitializeExpression() const
     45    {
     46        return initializeExpression;
     47    }
     48    const string &GetConstructParameter() const
     49    {
     50        return constructParameter;
     51    }
     52
    4453    CMember( Prototype::Accessibility accessibility, const string &name, const Type &type, bool isConst )
    4554        : MemberPrototype( accessibility )
Note: See TracChangeset for help on using the changeset viewer.