Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_expression.h
blobb80471cda85ca4d99ec556395392370201510fac
2 //=============================================================================
3 /**
4 * @file be_expression.h
6 * Extension of class AST_Expression that provides additional means for C++
7 * mapping.
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Aniruddha Gokhale
12 //=============================================================================
14 #ifndef BE_EXPRESSION_H
15 #define BE_EXPRESSION_H
17 #include "ast_expression.h"
19 class be_visitor;
21 class be_expression : public virtual AST_Expression
23 public:
24 // Constructors.
25 be_expression (UTL_ScopedName *n);
27 be_expression (AST_Expression *b,
28 AST_Expression::ExprType t);
30 be_expression (AST_Expression::ExprComb c,
31 AST_Expression *v1,
32 AST_Expression *v2);
34 be_expression (ACE_CDR::Long l);
36 be_expression (ACE_CDR::LongLong ll);
38 be_expression (ACE_CDR::Boolean b);
40 be_expression (ACE_CDR::ULong ul);
42 be_expression (ACE_CDR::ULongLong ull);
44 be_expression (ACE_CDR::ULong l,
45 AST_Expression::ExprType t);
47 be_expression (UTL_String *s);
49 be_expression (char *s);
51 be_expression (ACE_CDR::Char c);
53 be_expression (ACE_OutputCDR::from_wchar wc);
55 be_expression (ACE_CDR::Double d);
57 be_expression (const ACE_CDR::Fixed &f);
59 // Visiting.
60 virtual int accept (be_visitor *visitor);
63 #endif