source: dev/trunk/ab5.0/abdev/ab_common/include/Lexical/Resolver.h@ 797

Last change on this file since 797 was 640, checked in by dai_9181, 16 years ago

静的リンクリンカの依存関係解決モジュールを製作中

File size: 725 bytes
Line 
1#pragma once
2
3namespace ActiveBasic{ namespace Common{ namespace Lexical{
4
5
6class ResolveError
7{
8 int relationalObjectModuleIndex;
9 std::string targetItemName;
10public:
11 ResolveError( int relationalObjectModuleIndex, const std::string targetItemName )
12 : relationalObjectModuleIndex( relationalObjectModuleIndex )
13 , targetItemName( targetItemName )
14 {
15 }
16
17 int GetRelationalObjectModuleIndex() const
18 {
19 return relationalObjectModuleIndex;
20 }
21 const std::string &GetTargetItemName() const
22 {
23 return targetItemName;
24 }
25};
26class ResolveErrors
27 : public std::vector<ResolveError>
28{
29public:
30 void Add( const ResolveError &resolveError )
31 {
32 this->push_back( resolveError );
33 }
34};
35
36
37}}}
Note: See TracBrowser for help on using the repository browser.