Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_visitor_context.cpp
blobd08b49cc2c356bad42a3e88048cd85357c5eb3bc
2 //=============================================================================
3 /**
4 * @file ast_visitor_context.cpp
6 * Maintains the context information for visitors
8 * @author Jeff Parsons & Aniruddha Gokhale
9 */
10 //=============================================================================
13 #include "ast_visitor_context.h"
15 ast_visitor_context::ast_visitor_context ()
16 : template_params_ (nullptr),
17 template_args_ (nullptr)
21 ast_visitor_context::ast_visitor_context (const ast_visitor_context &ctx)
22 : template_params_ (ctx.template_params_),
23 template_args_ (ctx.template_args_)
27 ast_visitor_context::~ast_visitor_context ()
31 FE_Utils::T_PARAMLIST_INFO *
32 ast_visitor_context::template_params () const
34 return this->template_params_;
37 void
38 ast_visitor_context::template_params (FE_Utils::T_PARAMLIST_INFO *params)
40 this->template_params_ = params;
43 FE_Utils::T_ARGLIST const *
44 ast_visitor_context::template_args () const
46 return this->template_args_;
49 void
50 ast_visitor_context::template_args (FE_Utils::T_ARGLIST const *args)
52 this->template_args_ = args;