Changeset 97 in dev for BasicCompiler_Common/Type.cpp
- Timestamp:
- Apr 16, 2007, 3:52:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Type.cpp
r88 r97 417 417 return false; 418 418 } 419 bool Type::IsStringObject() const 419 bool Type::IsObjectClass() const 420 { 421 if( basicType == DEF_OBJECT ){ 422 if( lstrcmp( pClass->name,"Object")==0){ 423 return true; 424 } 425 } 426 return false; 427 } 428 bool Type::IsStringClass() const 420 429 { 421 430 if( basicType == DEF_OBJECT ){ … … 438 447 if( basicType == DEF_ANY ){ 439 448 return true; 449 } 450 return false; 451 } 452 453 bool Type::HasMember() const 454 { 455 if( NATURAL_TYPE( basicType ) == DEF_OBJECT 456 || NATURAL_TYPE( basicType ) == DEF_STRUCT ){ 457 return true; 440 458 } 441 459 return false;
Note:
See TracChangeset
for help on using the changeset viewer.