source: dev/trunk/jenga/include/smoothie/Symbol.h@ 181

Last change on this file since 181 was 170, checked in by dai_9181, 17 years ago

ベースを作成中...

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.