Last change
on this file since 322 was 322, checked in by dai_9181, 18 years ago |
コンパイラ組み込みテンプレートエンジンを実装。
静的リンクライブラリ、デバッグ情報の内部形式をテキストからバイナリに変更した。
|
File size:
601 bytes
|
Line | |
---|
1 | #pragma once
|
---|
2 |
|
---|
3 | #include <Hashmap.h>
|
---|
4 | #include <Symbol.h>
|
---|
5 |
|
---|
6 | class Delegate : public Procedure, public Jenga::Common::ObjectInHashmap<Delegate>
|
---|
7 | {
|
---|
8 | public:
|
---|
9 | Delegate( const NamespaceScopes &namespaceScopes, const std::string &name, Procedure::Kind procKind, const char *paramStr, const Type &returnType, int nowLine );
|
---|
10 | Delegate()
|
---|
11 | {
|
---|
12 | }
|
---|
13 |
|
---|
14 | virtual const std::string &GetKeyName() const
|
---|
15 | {
|
---|
16 | return GetName();
|
---|
17 | }
|
---|
18 | };
|
---|
19 |
|
---|
20 | class Delegates : public Jenga::Common::Hashmap<Delegate>
|
---|
21 | {
|
---|
22 | public:
|
---|
23 | void Collect( const BasicSource &source );
|
---|
24 | void GenerateSourceCode( std::string &destSource );
|
---|
25 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.