summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/be_util.h
blob: 01640c194cbbfd831509039c65535f750b20266a (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    be_util.h
 *
 *  Static helper methods used by multiple visitors.
 *
 *  @author Jeff Parsons
 */
//=============================================================================

#ifndef TAO_BE_UTIL_H
#define TAO_BE_UTIL_H

#include "TAO_IFR_BE_Export.h"

class AST_Generator;

class be_util
{
public:
  /// Special BE arg call factored out of DRV_args.
  static TAO_IFR_BE_Export void
  prep_be_arg (char *s);

  /// Checks made after parsing args.
  static TAO_IFR_BE_Export void
  arg_post_proc ();

  /// Display usage of BE-specific options.
  static TAO_IFR_BE_Export void
  usage ();

  /// Create an AST node generator.
  static TAO_IFR_BE_Export AST_Generator *
  generator_init ();
};

#endif // if !defined