blob: bf7331ad1722d9f47610792b48461b793219e05c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// file : CCF/IDL3/SemanticAction/Impl/Uses.hpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id : $Id$
#ifndef CCF_IDL3_SEMANTIC_ACTION_IMPL_USES_HPP
#define CCF_IDL3_SEMANTIC_ACTION_IMPL_USES_HPP
#include "CCF/IDL2/SemanticGraph/Interface.hpp"
#include "CCF/IDL3/SemanticAction/Uses.hpp"
#include "CCF/IDL3/SemanticAction/Impl/Elements.hpp"
namespace CCF
{
namespace IDL3
{
namespace SemanticAction
{
namespace Impl
{
struct Uses : SemanticAction::Uses, Base
{
Uses (Context& c);
virtual void
multiple ();
virtual void
type (IdentifierPtr const& id);
virtual void
name (SimpleIdentifierPtr const& id);
private:
bool multiple_;
SemanticGraph::Interface* type_;
};
}
}
}
}
#endif // CCF_IDL3_SEMANTIC_ACTION_IMPL_USES_HPP
|