Ignore:
Timestamp:
Aug 1, 2007, 11:19:01 PM (17 years ago)
Author:
dai_9181
Message:

MetaImplを廃止し、Metaにした。
ObjectModuleクラス、Linkerクラスを用意。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/NumOpe_GetType.cpp

    r254 r256  
    330330        Type leftType;
    331331        if( GetTermType( termLeft, leftType, isLiteral, &isClassName ) ){
    332             if( isClassName == false && compiler.GetMeta().GetBlittableTypes().IsExist( leftType ) ){
     332            if( isClassName == false && compiler.objectModule.meta.GetBlittableTypes().IsExist( leftType ) ){
    333333                // 左側のオブジェクト部分がBlittable型のとき
    334334
     
    336336                lstrcpy( temporary, termLeft );
    337337                sprintf( termLeft, "%s(%s)",
    338                     compiler.GetMeta().GetBlittableTypes().Find( leftType ).GetCreateStaticMethodFullName().c_str(),
     338                    compiler.objectModule.meta.GetBlittableTypes().Find( leftType ).GetCreateStaticMethodFullName().c_str(),
    339339                    temporary );
    340340
     
    398398
    399399    if( pIsClassName ){
    400         if( compiler.GetMeta().GetClasses().Find( termFull ) ){
     400        if( compiler.objectModule.meta.GetClasses().Find( termFull ) ){
    401401            *pIsClassName = true;
    402402            return true;
     
    457457        else
    458458        {
    459             ConstMacro *pConstMacro = compiler.GetMeta().GetGlobalConstMacros().Find( procName );
     459            ConstMacro *pConstMacro = compiler.objectModule.meta.GetGlobalConstMacros().Find( procName );
    460460            if( pConstMacro )
    461461            {
     
    689689                        //要求タイプがオブジェクト、または未定のとき
    690690                        type_stack[sp]=DEF_OBJECT;
    691                         index_stack[sp]=(LONG_PTR)compiler.GetMeta().GetClasses().GetStringClassPtr();
     691                        index_stack[sp]=(LONG_PTR)compiler.objectModule.meta.GetClasses().GetStringClassPtr();
    692692                        *pIsLiteralCalculation = false;
    693693
     
    734734                        }
    735735                        else{
    736                             index_stack[sp] = (LONG_PTR)compiler.GetMeta().GetClasses().GetObjectClassPtr();
     736                            index_stack[sp] = (LONG_PTR)compiler.objectModule.meta.GetClasses().GetObjectClassPtr();
    737737                        }
    738738                        *pIsLiteralCalculation = false;
     
    746746                    //////////////
    747747
    748                     i3 = compiler.GetMeta().GetGlobalConsts().GetBasicType(term);
     748                    i3 = compiler.objectModule.meta.GetGlobalConsts().GetBasicType(term);
    749749                    if(i3){
    750                         if( compiler.GetMeta().GetGlobalConsts().IsStringPtr( term ) ){
     750                        if( compiler.objectModule.meta.GetGlobalConsts().IsStringPtr( term ) ){
    751751                            //リテラル文字列
    752752                            goto StrLiteral;
Note: See TracChangeset for help on using the changeset viewer.