source: dev/trunk/abdev/BasicCompiler_Common/include/Symbol.h@ 153

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

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

File size: 538 bytes
Line 
1#pragma once
2
3#include <vector>
4#include <string>
5
6#include <Namespace.h>
7
8using namespace std;
9
10class Symbol
11{
12 NamespaceScopes namespaceScopes;
13 string name;
14public:
15 Symbol( const NamespaceScopes &namespaceScopes, const string &name )
16 : namespaceScopes( namespaceScopes )
17 , name( name )
18 {
19 }
20 Symbol( const char *fullName );
21 Symbol( const string &fullName );
22
23 const NamespaceScopes &GetNamespaceScopes() const
24 {
25 return namespaceScopes;
26 }
27 const string &GetName() const
28 {
29 return name;
30 }
31};
Note: See TracBrowser for help on using the repository browser.