blob: f21fa5dc18564c25b11202ec9650fcb237553413 (
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
43
44
45
46
47
48
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file constant_cs.h
*
* $Id$
*
* Concrete visitor for the constant class generating code in the client stub.
*
*
* @author Aniruddha Gokhale
*/
//=============================================================================
#ifndef _BE_VISITOR_CONSTANT_CONSTANT_CS_H_
#define _BE_VISITOR_CONSTANT_CONSTANT_CS_H_
/**
* @class be_visitor_constant_cs
*
* @brief be_visitor_constant_cs
*
* This is the visitor for constant for the impl file
*/
class be_visitor_constant_cs : public be_visitor_decl
{
public:
/// constructor
be_visitor_constant_cs (be_visitor_context *ctx);
/// destructor
~be_visitor_constant_cs (void);
/// visit constant
virtual int visit_constant (be_constant *node);
// = special methods
/// generate the nested namespace begins
virtual int gen_nested_namespace_begin (be_module *node);
/// generate the nested namespace ends
virtual int gen_nested_namespace_end (be_module *node);
};
#endif /* _BE_VISITOR_CONSTANT_CONSTANT_CS_H_ */
|