Ignore:
Timestamp:
Jun 12, 2008, 11:30:50 PM (16 years ago)
Author:
dai_9181
Message:

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

Location:
trunk/ab5.0/abdev/ab_common/include/Lexical
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Class.h

    r637 r639  
    466466    void GetReferenceOffsetsInitializeBuffer( std::string &referenceOffsetsBuffer, int &numOfReference, int baseOffset = 0 ) const;
    467467
    468     virtual bool Resolve();
     468    virtual bool Resolve( const ObjectModule &resolver );
    469469};
    470470
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Const.h

    r637 r639  
    6666    double GetDoubleData();
    6767
    68     virtual bool Resolve();
     68    virtual bool Resolve( const ObjectModule &resolver );
    6969};
    7070class Consts : public Jenga::Common::Hashmap<CConst>
     
    154154    }
    155155
    156     virtual bool Resolve();
     156    virtual bool Resolve( const ObjectModule &resolver );
    157157};
    158158class ConstMacros
  • trunk/ab5.0/abdev/ab_common/include/Lexical/DataTable.h

    r637 r639  
    150150    void ResetDataSectionBaseOffset( long dataSectionBaseOffset );
    151151
    152     void Resolve();
     152    void Resolve( const ObjectModule &resolver );
    153153};
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Delegate.h

    r637 r639  
    9292    bool IsSimilar( const Delegate &dgt ) const;
    9393
    94     virtual bool Resolve();
     94    virtual bool Resolve( const ObjectModule &resolver );
    9595};
    9696typedef Jenga::Common::Hashmap<Delegate> Delegates;
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Interface.h

    r636 r639  
    9191
    9292    std::string GetFullNameWithActualGenericTypeParameters() const;
     93
     94    virtual bool Resolve( const ObjectModule &resolver );
    9395};
    9496typedef std::vector<Interface *> Interfaces;
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Member.h

    r632 r639  
    7676        return constructParameter;
    7777    }
     78
     79    virtual bool Resolve( const ObjectModule &resolver );
    7880};
    7981typedef std::vector<Member *> Members;
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Meta.h

    r637 r639  
    9898    }
    9999
     100    const Classes &GetClasses() const
     101    {
     102        return *pNowClassesForDebugger;
     103    }
    100104    Classes &GetClasses()
    101105    {
     
    158162    const CClass *FindClassSupportedTypeDef( const Symbol &symbol );
    159163
    160     void Resolve();
     164    void Resolve( const ObjectModule &resolver );
    161165};
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Method.h

    r603 r639  
    4848    virtual bool IsNotUse() const = 0;
    4949    virtual void SetNotUseMark( bool isNotUse ) = 0;
     50
     51    virtual bool Resolve( const ObjectModule &resolver );
    5052};
    5153
     
    156158        this->isNotUse = isNotUse;
    157159    }
     160
     161    virtual bool Resolve( const ObjectModule &resolver );
    158162};
    159163BOOST_CLASS_EXPORT( DynamicMethod );
     
    230234        throw;
    231235    }
     236
     237    virtual bool Resolve( const ObjectModule &resolver );
    232238};
    233239BOOST_CLASS_EXPORT( StaticMethod );
  • trunk/ab5.0/abdev/ab_common/include/Lexical/NativeCode.h

    r637 r639  
    116116    const ::UserProc &GetUserProc() const;
    117117    const ::CClass &GetClass() const;
     118
     119    virtual bool Resolve( const ObjectModule &resolver );
    118120};
    119121typedef std::vector<Schedule> Schedules;
     
    247249    void ResetRelationalObjectModuleIndex( const std::vector<int> &relationTable );
    248250
    249     void Resolve();
     251    void Resolve( const ObjectModule &resolver );
    250252};
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Procedure.h

    r637 r639  
    110110        return returnType;
    111111    }
     112
     113    virtual bool Resolve( const ObjectModule &resolver );
    112114};
    113115
     
    158160
    159161        ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( Procedure );
     162        ar & boost::serialization::make_nvp("pParentClass", const_cast<CClass *&>(pParentClass) );
    160163
    161164        if( ActiveBasic::Common::Environment::IsRemoveExternal() )
     
    170173        ar & BOOST_SERIALIZATION_NVP( _paramStr );
    171174        ar & BOOST_SERIALIZATION_NVP( importedNamespaces );
    172         ar & boost::serialization::make_nvp("pParentClass", const_cast<CClass *&>(pParentClass) );
    173175        ar & boost::serialization::make_nvp("pInterface", const_cast<Interface *&>(pInterface) );
    174176        ar & BOOST_SERIALIZATION_NVP( pMethod );
     
    374376    const CMethod &GetMethod() const;
    375377
    376     virtual bool Resolve();
     378    virtual bool Resolve( const ObjectModule &resolver );
    377379
    378380    static const UserProc *pGlobalProc;
     
    482484    }
    483485
    484     virtual bool Resolve();
     486    virtual bool Resolve( const ObjectModule &resolver );
    485487};
    486488class DllProcs : public Jenga::Common::Hashmap<DllProc>
     
    523525    }
    524526
    525     virtual bool Resolve();
     527    virtual bool Resolve( const ObjectModule &resolver );
    526528};
    527529
  • trunk/ab5.0/abdev/ab_common/include/Lexical/RelationalObjectModuleItem.h

    r637 r639  
    11#pragma once
     2
     3class ObjectModule;
    24
    35namespace ActiveBasic{ namespace Common{ namespace Lexical{
     
    6668    }
    6769
    68     virtual bool Resolve() = 0;
     70    virtual bool Resolve( const ObjectModule &resolver ) = 0;
    6971};
    7072
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Template.h

    r632 r639  
    4646        return actualTypes;
    4747    }
     48
     49    virtual bool Resolve( const ObjectModule &resolver );
    4850};
    4951
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Type.h

    r637 r639  
    66typedef std::vector<GenericType> GenericTypes;
    77
    8 class Type{
     8class Type
     9{
    910    int basicType;
    1011    union{
     
    229230    std::string ToString() const;
    230231
     232    virtual bool Resolve( const ObjectModule &resolver );
     233
    231234
    232235private:
     
    299302        return type;
    300303    }
     304    Type &GetType()
     305    {
     306        return type;
     307    }
    301308};
    302309
  • trunk/ab5.0/abdev/ab_common/include/Lexical/TypeDef.h

    r637 r639  
    5151    }
    5252
    53     virtual bool Resolve();
     53    virtual bool Resolve( const ObjectModule &resolver );
    5454};
    5555
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Variable.h

    r637 r639  
    175175    }
    176176
    177     virtual bool Resolve();
     177    virtual bool Resolve( const ObjectModule &resolver );
    178178
    179179
Note: See TracChangeset for help on using the changeset viewer.