Line | |
---|
1 | #pragma once
|
---|
2 |
|
---|
3 | namespace ActiveBasic{ namespace Common{ namespace Lexical{
|
---|
4 |
|
---|
5 |
|
---|
6 | class ResolveError
|
---|
7 | {
|
---|
8 | int relationalObjectModuleIndex;
|
---|
9 | std::string targetItemName;
|
---|
10 | public:
|
---|
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 | };
|
---|
26 | class ResolveErrors
|
---|
27 | : public std::vector<ResolveError>
|
---|
28 | {
|
---|
29 | public:
|
---|
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.