2 //=============================================================================
4 * @file be_expression.h
6 * Extension of class AST_Expression that provides additional means for C++
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"
21 class be_expression
: public virtual AST_Expression
25 be_expression (UTL_ScopedName
*n
);
27 be_expression (AST_Expression
*b
,
28 AST_Expression::ExprType t
);
30 be_expression (AST_Expression::ExprComb c
,
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
);
60 virtual int accept (be_visitor
*visitor
);