blob: a9d8de6906d253f7b7dbcac5e7c30eb7d01ff52a (
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
|
/* -*- c++ -*- */
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO_IDL_BE
//
// = FILENAME
// be_util.h
//
// = DESCRIPTION
// Static helper methods used by multiple visitors.
//
// = AUTHOR
// Gary Maxey, Jeff Parsons
//
// ============================================================================
#ifndef TAO_BE_UTIL_H
#define TAO_BE_UTIL_H
class TAO_OutStream;
class be_module;
class AST_Decl;
// (JP) Someday these should be consolidated, along with several
// similar methods scattered throughout the backend.
class be_util
{
public:
static void
gen_nested_namespace_begin (TAO_OutStream *os, be_module *node);
static void
gen_nested_namespace_end (TAO_OutStream *os, be_module *node);
static void
gen_nesting_open (TAO_OutStream &os, AST_Decl *node);
static void
gen_nesting_close (TAO_OutStream &os, AST_Decl *node);
};
#endif // if !defined
|