Changeset 637 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Variable.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/Variable.cpp
r603 r637 2 2 3 3 Variable::Variable( const Symbol &symbol, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData ) 4 : Symbol( symbol ) 5 , type( type ) 6 , isConst( isConst ) 7 , isRef( isRef ) 8 , isArray( false ) 9 , isParameter( false) 10 , paramStrForConstructor( paramStrForConstructor ) 11 , hasInitData( hasInitData ) 12 { 13 } 14 Variable::Variable( const NamespaceScopes &namespaceScopes, const std::string &name, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData ) 15 : Symbol( namespaceScopes, name ) 4 : RelationalObjectModuleItem( symbol ) 16 5 , type( type ) 17 6 , isConst( isConst ) … … 24 13 } 25 14 Variable::Variable( const Variable &var ) 26 : Symbol( var )15 : RelationalObjectModuleItem( var ) 27 16 , type( var.type ) 28 17 , isConst( var.isConst ) … … 37 26 Variable::Variable() 38 27 { 28 } 29 30 bool Variable::Resolve() 31 { 32 // TODO: Resolve 33 return true; 39 34 } 40 35
Note:
See TracChangeset
for help on using the changeset viewer.