106 this->current_option = none_opt; |
106 this->current_option = none_opt; |
107 this->search_name = get_var_name_c::get_name(variable); |
107 this->search_name = get_var_name_c::get_name(variable); |
108 return (symbol_c *)search_scope->accept(*this); |
108 return (symbol_c *)search_scope->accept(*this); |
109 } |
109 } |
110 |
110 |
111 unsigned int search_var_instance_decl_c::get_vartype(symbol_c *variable) { |
111 search_var_instance_decl_c::vt_t search_var_instance_decl_c::get_vartype(symbol_c *variable) { |
112 this->current_vartype = none_vt; |
112 this->current_vartype = none_vt; |
113 this->current_option = none_opt; |
113 this->current_option = none_opt; |
114 this->search_name = get_var_name_c::get_name(variable); |
114 this->search_name = get_var_name_c::get_name(variable); |
115 search_scope->accept(*this); |
115 search_scope->accept(*this); |
116 return this->current_vartype; |
116 return this->current_vartype; |
117 } |
117 } |
118 |
118 |
119 unsigned int search_var_instance_decl_c::get_option(symbol_c *variable) { |
119 search_var_instance_decl_c::opt_t search_var_instance_decl_c::get_option(symbol_c *variable) { |
120 this->current_vartype = none_vt; |
120 this->current_vartype = none_vt; |
121 this->current_option = none_opt; |
121 this->current_option = none_opt; |
122 this->search_name = get_var_name_c::get_name(variable); |
122 this->search_name = get_var_name_c::get_name(variable); |
123 search_scope->accept(*this); |
123 search_scope->accept(*this); |
124 return this->current_option; |
124 return this->current_option; |