summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_constant.h
blob: 2f2902f844d9e66906d1e96dd4b7f0fa07e9206f (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* -*- C++ -*- */
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    be_visitor_constant.h
//
// = DESCRIPTION
//    Concrete visitor for the constant class
//
// = AUTHOR
//    Aniruddha Gokhale
//
// ============================================================================

#if !defined (TAO_BE_VISITOR_CONSTANT_H)
#define TAO_BE_VISITOR_CONSTANT_H

#include "be_visitor.h"
#include "be_visitor_scope.h"

class be_visitor_constant_ch : public be_visitor_decl
{
  //
  // = TITLE
  //   be_visitor_constant_ch
  //
  // = DESCRIPTION
  //   This is the visitor for constant for the header file
  //
  //
public:
  be_visitor_constant_ch (be_visitor_context *ctx);
  // constructor

  ~be_visitor_constant_ch (void);
  // destructor

  virtual int visit_constant (be_constant *node);
  // visit constant.

};

class be_visitor_constant_cs : public be_visitor_decl
{
  //
  // = TITLE
  //   be_visitor_constant_cs
  //
  // = DESCRIPTION
  //   This is the visitor for constant for the impl file
  //
  //
public:
  be_visitor_constant_cs (be_visitor_context *ctx);
  // constructor

  ~be_visitor_constant_cs (void);
  // destructor

  virtual int visit_constant (be_constant *node);
  // visit constant

};

#endif // TAO_BE_VISITOR_CONSTANT_H