Changeset 637 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/TypeDef.cpp
- Timestamp:
- Jun 11, 2008, 10:10:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/TypeDef.cpp
r632 r637 1 1 #include "stdafx.h" 2 2 3 TypeDef::TypeDef( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, const Type &baseType )4 : Symbol( namespaceScopes, name)3 TypeDef::TypeDef( const Symbol &symbol, const std::string &baseName, const Type &baseType ) 4 : RelationalObjectModuleItem( symbol ) 5 5 , baseName( baseName ) 6 6 , baseType( baseType ) 7 7 { 8 } 9 10 bool TypeDef::Resolve() 11 { 12 // TODO: Resolve 13 return true; 8 14 } 9 15 … … 12 18 TypeDefCollection::~TypeDefCollection(){ 13 19 } 14 void TypeDefCollection::Add( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, int nowLine ){15 TypeDef typeDef( namespaceScopes, name, baseName, nowLine );20 void TypeDefCollection::Add( const Symbol &symbol, const std::string &baseName, int nowLine ){ 21 TypeDef typeDef( symbol, baseName, nowLine ); 16 22 this->push_back( typeDef ); 17 23 }
Note:
See TracChangeset
for help on using the changeset viewer.