2 //=============================================================================
4 * @file be_expression.cpp
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 #include "be_expression.h"
15 #include "be_visitor.h"
17 be_expression::be_expression (UTL_ScopedName
*n
)
22 be_expression::be_expression (AST_Expression
*b
, AST_Expression::ExprType t
)
28 be_expression::be_expression (AST_Expression::ExprComb c
,
37 be_expression::be_expression (ACE_CDR::Long l
)
42 be_expression::be_expression (ACE_CDR::LongLong l
)
47 be_expression::be_expression (ACE_CDR::Boolean b
)
52 be_expression::be_expression (ACE_CDR::ULong l
)
57 be_expression::be_expression (ACE_CDR::ULongLong l
)
62 be_expression::be_expression (ACE_CDR::ULong l
,
63 AST_Expression::ExprType t
)
64 : AST_Expression (l
, t
)
68 be_expression::be_expression (UTL_String
*s
)
73 be_expression::be_expression (char *s
)
78 be_expression::be_expression (ACE_CDR::Char c
)
83 be_expression::be_expression (ACE_OutputCDR::from_wchar wc
)
88 be_expression::be_expression (ACE_CDR::Double d
)
93 be_expression::be_expression (const ACE_CDR::Fixed
&f
)
99 be_expression::accept (be_visitor
*visitor
)
101 return visitor
->visit_expression (this);