Changeset 108 in dev for BasicCompiler_Common/Procedure.h
- Timestamp:
- May 6, 2007, 6:52:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Procedure.h
r101 r108 222 222 223 223 virtual const NamespaceScopes &GetNamespaceScopes() const; 224 virtual const NamespaceScopesCollection &GetImportedNamespaces() const; 224 225 virtual bool IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const; 225 226 … … 257 258 { 258 259 const NamespaceScopes namespaceScopes; 260 const NamespaceScopesCollection importedNamespaces; 259 261 public: 260 262 // ハッシュリスト用 261 263 GlobalProc *pNextData; 262 264 263 GlobalProc( const NamespaceScopes &namespaceScopes, const string &name, Kind kind, bool isMacro, bool isCdecl, bool isExport ):265 GlobalProc( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const string &name, Kind kind, bool isMacro, bool isCdecl, bool isExport ): 264 266 UserProc( name, kind, isMacro, isCdecl, isExport ), 265 267 namespaceScopes( namespaceScopes ), 268 importedNamespaces( importedNamespaces ), 266 269 pNextData( NULL ) 267 270 {} 268 271 ~GlobalProc(){} 269 272 /* 270 273 GlobalProc *Create( const NamespaceScopes &namespaceScopes, char *buffer,int nowLine ); 271 274 bool AddGlobalProc( const NamespaceScopes &namespaceScopes, char *buffer,int nowLine ); 272 275 */ 273 276 virtual const NamespaceScopes &GetNamespaceScopes() const 274 277 { 275 278 return namespaceScopes; 279 } 280 virtual const NamespaceScopesCollection &GetImportedNamespaces() const 281 { 282 return importedNamespaces; 276 283 } 277 284
Note:
See TracChangeset
for help on using the changeset viewer.