Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be / be_expression.cpp
blobea5be92eff257e220d083bd247277ff8fe0bcf93
2 //=============================================================================
3 /**
4 * @file be_expression.cpp
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 #include "be_expression.h"
15 #include "be_visitor.h"
17 be_expression::be_expression (UTL_ScopedName *n)
18 : AST_Expression (n)
22 be_expression::be_expression (AST_Expression *b, AST_Expression::ExprType t)
23 : AST_Expression (b,
28 be_expression::be_expression (AST_Expression::ExprComb c,
29 AST_Expression *v1,
30 AST_Expression *v2)
31 : AST_Expression (c,
32 v1,
33 v2)
37 be_expression::be_expression (ACE_CDR::Long l)
38 : AST_Expression (l)
42 be_expression::be_expression (ACE_CDR::LongLong l)
43 : AST_Expression (l)
47 be_expression::be_expression (ACE_CDR::Boolean b)
48 : AST_Expression (b)
52 be_expression::be_expression (ACE_CDR::ULong l)
53 : AST_Expression (l)
57 be_expression::be_expression (ACE_CDR::ULongLong l)
58 : AST_Expression (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)
69 : AST_Expression (s)
73 be_expression::be_expression (char *s)
74 : AST_Expression (s)
78 be_expression::be_expression (ACE_CDR::Char c)
79 : AST_Expression (c)
83 be_expression::be_expression (ACE_OutputCDR::from_wchar wc)
84 : AST_Expression (wc)
88 be_expression::be_expression (ACE_CDR::Double d)
89 : AST_Expression (d)
93 be_expression::be_expression (const ACE_CDR::Fixed &f)
94 : AST_Expression (f)
98 int
99 be_expression::accept (be_visitor *visitor)
101 return visitor->visit_expression (this);