Changeset 637 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Procedure.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/Procedure.cpp
r632 r637 1 1 #include "stdafx.h" 2 2 3 4 void Procedure::ResetRelationalObjectModuleIndex( const std::vector<int> &relationTable ) 5 { 6 RelationalObjectModuleItem::ResetRelationalObjectModuleIndex( relationTable ); 7 8 if( !this->sourceCodePosition.IsNothing() ) 9 { 10 this->sourceCodePosition.SetRelationalObjectModuleIndex( relationTable[this->sourceCodePosition.GetRelationalObjectModuleIndex()] ); 11 } 12 } 13 14 void UserProc::ResetRelationalObjectModuleIndex( const std::vector<int> &relationTable ) 15 { 16 Procedure::ResetRelationalObjectModuleIndex( relationTable ); 17 18 this->GetNativeCode().ResetRelationalObjectModuleIndex( relationTable ); 19 } 20 3 21 int id_base = 0; 4 22 5 UserProc::UserProc( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const std::string &name, Kind kind, bool isMacro, bool isCdecl, bool isExport )6 : Procedure( namespaceScopes, name, kind, isCdecl )23 UserProc::UserProc( const Symbol &symbol, const NamespaceScopesCollection &importedNamespaces, Kind kind, bool isMacro, bool isCdecl, bool isExport ) 24 : Procedure( symbol, kind, isCdecl ) 7 25 , importedNamespaces( importedNamespaces ) 8 26 , pParentClass( NULL ) … … 139 157 } 140 158 159 bool UserProc::Resolve() 160 { 161 // TODO: Resolve 162 return true; 163 } 164 141 165 const UserProc *UserProc::pGlobalProc = NULL; 142 166 … … 161 185 } 162 186 187 bool DllProc::Resolve() 188 { 189 // TODO: Resolve 190 return true; 191 } 192 193 bool ProcPointer::Resolve() 194 { 195 // TODO: Resolve 196 return true; 197 } 198 163 199 void ProcPointers::Clear() 164 200 {
Note:
See TracChangeset
for help on using the changeset viewer.