source: dev/trunk/abdev/BasicCompiler_Common/src/Symbol.cpp@ 169

Last change on this file since 169 was 140, checked in by dai_9181, 17 years ago

traceログ機能を搭載
動的メンバをstl::vectorにまとめた
シンボルをクラス化した

File size: 615 bytes
Line 
1#include <../common.h>
2#include <Symbol.h>
3
4Symbol::Symbol( const char *fullName )
5{
6 char areaName[VN_SIZE] = ""; //オブジェクト変数
7 char nestName[VN_SIZE] = ""; //入れ子メンバ
8 bool isNest = SplitMemberName( fullName, areaName, nestName );
9
10 namespaceScopes = NamespaceScopes( areaName );
11 name = nestName;
12}
13Symbol::Symbol( const string &fullName )
14{
15 char areaName[VN_SIZE] = ""; //オブジェクト変数
16 char nestName[VN_SIZE] = ""; //入れ子メンバ
17 bool isNest = SplitMemberName( fullName.c_str(), areaName, nestName );
18
19 namespaceScopes = NamespaceScopes( areaName );
20 name = nestName;
21}
Note: See TracBrowser for help on using the repository browser.