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

Last change on this file was 829, checked in by イグトランス (egtra), 13 years ago

svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定

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