Changeset 271 in dev for trunk/abdev/BasicCompiler_Common/include
- Timestamp:
- Aug 10, 2007, 3:16:42 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Const.h
r254 r271 26 26 27 27 public: 28 29 28 CConst( const NamespaceScopes &namespaceScopes, const std::string &name, const Type &newType, _int64 i64data) 30 29 : Symbol( namespaceScopes, name ) -
trunk/abdev/BasicCompiler_Common/include/Procedure.h
r270 r271 58 58 59 59 public: 60 bool isTargetObjectModule;61 60 Procedure( const NamespaceScopes &namespaceScopes, const string &name, Kind kind, bool isCdecl ) 62 61 : Symbol( namespaceScopes, name ) … … 65 64 , isUsing( false ) 66 65 , codePos( -1 ) 67 , isTargetObjectModule( true )68 66 { 69 67 } 70 68 Procedure() 71 : isTargetObjectModule( true )72 69 { 73 70 } … … 553 550 } 554 551 555 virtual int Add( const string &typeExpression ); 556 virtual void Clear(); 557 }; 552 int Add( const string &typeExpression ); 553 void Clear(); 554 void PullOutAll() 555 { 556 clear(); 557 } 558 }; -
trunk/abdev/BasicCompiler_Common/include/Symbol.h
r215 r271 41 41 42 42 public: 43 bool isTargetObjectModule; 43 44 Symbol( const NamespaceScopes &namespaceScopes, const string &name ) 44 45 : namespaceScopes( namespaceScopes ) 45 46 , name( name ) 47 , isTargetObjectModule( true ) 46 48 { 47 49 } … … 51 53 : namespaceScopes( symbol.namespaceScopes ) 52 54 , name( symbol.name ) 55 , isTargetObjectModule( true ) 53 56 { 54 57 } 55 58 Symbol() 59 : isTargetObjectModule( true ) 56 60 { 57 61 } -
trunk/abdev/BasicCompiler_Common/include/Type.h
r215 r271 182 182 183 183 public: 184 bool isTargetObjectModule; 184 185 BlittableType( const Type &basicType, CClass *pClass ) 185 186 : basicType( basicType ) 186 187 , pClass( pClass ) 188 , isTargetObjectModule( true ) 187 189 { 188 190 } 189 191 BlittableType() 192 : isTargetObjectModule( true ) 190 193 { 191 194 } -
trunk/abdev/BasicCompiler_Common/include/Variable.h
r206 r271 217 217 Variables(){} 218 218 ~Variables(){ 219 clear();220 } 221 222 void clear(){219 Clear(); 220 } 221 222 void Clear(){ 223 223 for( int i=0; i<(int)this->size(); i++ ){ 224 224 delete (*this)[i]; 225 225 } 226 226 227 vector<Variable *>::clear(); 227 clear(); 228 } 229 void PullOutAll() 230 { 231 clear(); 228 232 } 229 233
Note:
See TracChangeset
for help on using the changeset viewer.