blob: c7260d6f4ce6e9dbed9e7f799a98ad6a95f45c8a (
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
49
50
51
52
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file be_visitor_decl.h
*
* $Id$
*
* Concrete visitor for the base "BE_Decl" node
*
*
* @author Aniruddha Gokhale and Carlos O'Ryan
*/
//=============================================================================
#ifndef TAO_BE_VISITOR_DECL_H
#define TAO_BE_VISITOR_DECL_H
#include "be_visitor.h"
#include "be_codegen.h"
#include "be_helper.h"
/**
* @class be_visitor_decl
*
* @brief be_visitor_decl
*
* This is a concrete visitor for the be_decl node. Its only purpose is to
* maintain state information for the derived visitor
*/
class be_visitor_decl : public be_visitor
{
public:
be_visitor_decl (be_visitor_context *ctx);
~be_visitor_decl (void);
be_visitor_context *ctx (void);
protected:
/// Any context information required by the visitor.
be_visitor_context *ctx_;
/// Factors out common code used when one anonymous type is
/// contained by another.
int gen_anonymous_base_type (be_type *bt,
TAO_CodeGen::CG_STATE cg_state);
/// Our file stream.
TAO_OutStream &os_;
};
#endif // TAO_BE_VISITOR_DECL_H
|