2 //=============================================================================
4 * @file be_enum_val.cpp
6 * Extension of class AST_EnumVal that provides additional means for C++
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Aniruddha Gokhale
12 //=============================================================================
14 #include "be_enum_val.h"
15 #include "be_visitor.h"
17 be_enum_val::be_enum_val (ACE_CDR::ULong v
,
20 AST_Decl (AST_Decl::NT_enum_val
,
22 AST_Constant (AST_Expression::EV_ulong
,
23 AST_Decl::NT_enum_val
,
24 new AST_Expression (v
),
28 be_decl (AST_Decl::NT_enum_val
,
34 be_enum_val::accept (be_visitor
*visitor
)
36 return visitor
->visit_enum_val (this);
40 be_enum_val::destroy ()
42 this->AST_EnumVal::destroy ();
43 this->be_decl::destroy ();