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/include/Lexical/Variable.h

    r603 r637  
    11#pragma once
    22
    3 class Variable : public Symbol
     3class Variable
     4    : public RelationalObjectModuleItem
    45{
    56    Type type;
     
    3637        trace_for_serialize( "serializing - Variable" );
    3738
    38         ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( Symbol );
     39        ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( RelationalObjectModuleItem );
     40
     41        if( ActiveBasic::Common::Environment::IsRemoveExternal() )
     42        {
     43            if( this->IsExternal() )
     44            {
     45                this->NeedResolve();
     46                return;
     47            }
     48        }
     49
    3950        ar & BOOST_SERIALIZATION_NVP( type );
    4051        ar & BOOST_SERIALIZATION_NVP( isConst );
     
    5364public:
    5465    Variable( const Symbol &symbol, const Type &type, bool isConst, bool isRef, const std::string &paramStrForConstructor, bool hasInitData );
    55     Variable( const NamespaceScopes &namespaceScopes, const std::string &name, const Type &type, bool isConst, bool isRef, const std::string &paramStrForConstructor, bool hasInitData );
    5666    Variable( const Variable &var );
    5767    Variable();
     
    165175    }
    166176
     177    virtual bool Resolve();
     178
    167179
    168180    bool isLiving;
Note: See TracChangeset for help on using the changeset viewer.