Changeset 256 in dev for trunk/abdev/BasicCompiler_Common/NumOpe_GetType.cpp
- Timestamp:
- Aug 1, 2007, 11:19:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/NumOpe_GetType.cpp
r254 r256 330 330 Type leftType; 331 331 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 ) ){ 333 333 // 左側のオブジェクト部分がBlittable型のとき 334 334 … … 336 336 lstrcpy( temporary, termLeft ); 337 337 sprintf( termLeft, "%s(%s)", 338 compiler. GetMeta().GetBlittableTypes().Find( leftType ).GetCreateStaticMethodFullName().c_str(),338 compiler.objectModule.meta.GetBlittableTypes().Find( leftType ).GetCreateStaticMethodFullName().c_str(), 339 339 temporary ); 340 340 … … 398 398 399 399 if( pIsClassName ){ 400 if( compiler. GetMeta().GetClasses().Find( termFull ) ){400 if( compiler.objectModule.meta.GetClasses().Find( termFull ) ){ 401 401 *pIsClassName = true; 402 402 return true; … … 457 457 else 458 458 { 459 ConstMacro *pConstMacro = compiler. GetMeta().GetGlobalConstMacros().Find( procName );459 ConstMacro *pConstMacro = compiler.objectModule.meta.GetGlobalConstMacros().Find( procName ); 460 460 if( pConstMacro ) 461 461 { … … 689 689 //要求タイプがオブジェクト、または未定のとき 690 690 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(); 692 692 *pIsLiteralCalculation = false; 693 693 … … 734 734 } 735 735 else{ 736 index_stack[sp] = (LONG_PTR)compiler. GetMeta().GetClasses().GetObjectClassPtr();736 index_stack[sp] = (LONG_PTR)compiler.objectModule.meta.GetClasses().GetObjectClassPtr(); 737 737 } 738 738 *pIsLiteralCalculation = false; … … 746 746 ////////////// 747 747 748 i3 = compiler. GetMeta().GetGlobalConsts().GetBasicType(term);748 i3 = compiler.objectModule.meta.GetGlobalConsts().GetBasicType(term); 749 749 if(i3){ 750 if( compiler. GetMeta().GetGlobalConsts().IsStringPtr( term ) ){750 if( compiler.objectModule.meta.GetGlobalConsts().IsStringPtr( term ) ){ 751 751 //リテラル文字列 752 752 goto StrLiteral;
Note:
See TracChangeset
for help on using the changeset viewer.