source: dev/trunk/ab5.0/abdev/ab_common/src/Lexical/Member.cpp@ 779

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

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

File size: 1.2 KB
Line 
1#include "stdafx.h"
2
3
4Member::Member( Prototype::Accessibility accessibility, const std::string &name, const Type &newType, bool isConst, const Subscripts &subscripts, const std::string &initializeExpression, const std::string &constructParameter )
5 : MemberPrototype( accessibility )
6 , name( name )
7 , type( newType )
8 , isConst( isConst )
9 , subscripts( subscripts )
10 , initializeExpression( initializeExpression )
11 , constructParameter( constructParameter )
12{
13}
14
15Member::Member( const Member &member )
16 : MemberPrototype( member.GetAccessibility() )
17 , name( member.GetName() )
18 , type( member.GetType() )
19 , isConst( member.IsConst() )
20 , subscripts( member.GetSubscripts() )
21 , source_code_address( member.source_code_address )
22{
23}
24
25Member::Member( const Member &member, const Type &actualType )
26 : MemberPrototype( member.GetAccessibility() )
27 , name( member.GetName() )
28 , type( actualType )
29 , isConst( member.IsConst() )
30 , subscripts( member.GetSubscripts() )
31 , source_code_address( member.source_code_address )
32{
33}
34
35Member::Member()
36{
37}
38
39Member::~Member()
40{
41}
42
43bool Member::Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors )
44{
45 type.Resolve( resolver, resolveErrors );
46 return true;
47}
Note: See TracBrowser for help on using the repository browser.