Ignore:
Timestamp:
Jun 11, 2008, 10:10:26 PM (16 years ago)
Author:
dai_9181
Message:

リンカの依存関係解決モジュールを製作中

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/src/Lexical/Variable.cpp

    r603 r637  
    22
    33Variable::Variable( const Symbol &symbol, const Type &type, bool isConst, bool isRef, const std::string &paramStrForConstructor, bool hasInitData )
    4     : Symbol( symbol )
    5     , type( type )
    6     , isConst( isConst )
    7     , isRef( isRef )
    8     , isArray( false )
    9     , isParameter( false)
    10     , paramStrForConstructor( paramStrForConstructor )
    11     , hasInitData( hasInitData )
    12 {
    13 }
    14 Variable::Variable( const NamespaceScopes &namespaceScopes, const std::string &name, const Type &type, bool isConst, bool isRef, const std::string &paramStrForConstructor, bool hasInitData )
    15     : Symbol( namespaceScopes, name )
     4    : RelationalObjectModuleItem( symbol )
    165    , type( type )
    176    , isConst( isConst )
     
    2413}
    2514Variable::Variable( const Variable &var )
    26     : Symbol( var )
     15    : RelationalObjectModuleItem( var )
    2716    , type( var.type )
    2817    , isConst( var.isConst )
     
    3726Variable::Variable()
    3827{
     28}
     29
     30bool Variable::Resolve()
     31{
     32    // TODO: Resolve
     33    return true;
    3934}
    4035
Note: See TracChangeset for help on using the changeset viewer.