#include <PSDL_Scope_Visitor.h>
Inheritance diagram for TAO_PSDL_Scope_Visitor:
Definition at line 34 of file PSDL_Scope_Visitor.h.
TAO_PSDL_Scope_Visitor::TAO_PSDL_Scope_Visitor | ( | TAO_PSDL_Node * | psdl_node | ) |
TAO_PSDL_Scope_Visitor::~TAO_PSDL_Scope_Visitor | ( | ) |
ACE_CString TAO_PSDL_Scope_Visitor::get_scoped_type | ( | void | ) |
Definition at line 16 of file PSDL_Scope_Visitor.cpp.
References scoped_type_.
Referenced by TAO_PSDL_Type_Dcl::TAO_PSDL_Type_Dcl().
00017 { 00018 return this->scoped_type_; 00019 }
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome | ( | TAO_PSDL_Abstract_Storagehome * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome_body | ( | TAO_PSDL_Abstract_Storagehome_Body * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome_dcl | ( | TAO_PSDL_Abstract_Storagehome_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome_fwd_dcl | ( | TAO_PSDL_Abstract_Storagehome_Fwd_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome_header | ( | TAO_PSDL_Abstract_Storagehome_Header * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome_inh_spec | ( | TAO_PSDL_Abstract_Storagehome_Inh_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome_member | ( | TAO_PSDL_Abstract_Storagehome_Member * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagehome_name | ( | TAO_PSDL_Abstract_Storagehome_Name * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype | ( | TAO_PSDL_Abstract_Storagetype * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_body | ( | TAO_PSDL_Abstract_Storagetype_Body * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_dcl | ( | TAO_PSDL_Abstract_Storagetype_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_fwd_dcl | ( | TAO_PSDL_Abstract_Storagetype_Fwd_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_header | ( | TAO_PSDL_Abstract_Storagetype_Header * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_inh_spec | ( | TAO_PSDL_Abstract_Storagetype_Inh_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_member | ( | TAO_PSDL_Abstract_Storagetype_Member * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_name | ( | TAO_PSDL_Abstract_Storagetype_Name * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_abstract_storagetype_ref_type | ( | TAO_PSDL_Abstract_Storagetype_Ref_Type | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_add_expr | ( | TAO_PSDL_Add_Expr * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_and_expr | ( | TAO_PSDL_And_Expr * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_array_declarator | ( | TAO_PSDL_Array_Declarator * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_attr_dcl | ( | TAO_PSDL_Attr_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 1122 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), ACE_DEBUG, LM_DEBUG, TAO_PSDL_Attr_Dcl::param_type_spec(), TAO_PSDL_Attr_Dcl::readonly(), and TAO_PSDL_Attr_Dcl::simple_declarator().
01123 { 01124 if (attr_dcl->readonly () != 0) 01125 { 01126 ACE_DEBUG ((LM_DEBUG, 01127 "{ %s }\n", 01128 attr_dcl->readonly ())); 01129 } 01130 01131 if (attr_dcl->param_type_spec ()->accept (this) == -1) 01132 return -1; 01133 01134 if (attr_dcl->simple_declarator ()->accept (this) == -1) 01135 return -1; 01136 01137 return 0; 01138 }
int TAO_PSDL_Scope_Visitor::visit_base_type_spec | ( | TAO_PSDL_Base_Type_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 406 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Base_Type_Spec::type_of_base_type_spec().
00407 { 00408 if (base_type_spec->type_of_base_type_spec ()->accept (this) == -1) 00409 return -1; 00410 return 0; }
int TAO_PSDL_Scope_Visitor::visit_case_case | ( | TAO_PSDL_Case * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_case_label | ( | TAO_PSDL_Case_Label * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_catalog | ( | TAO_PSDL_Catalog * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_catalog_body | ( | TAO_PSDL_Catalog_Body * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_catalog_inh_spec | ( | TAO_PSDL_Catalog_Inh_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_catalog_member | ( | TAO_PSDL_Catalog_Member * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_catalog_name | ( | TAO_PSDL_Catalog_Name * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_complex_declarator | ( | TAO_PSDL_Complex_Declarator * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 476 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Complex_Declarator::array_declarator().
00477 { 00478 if (complex_declarator->array_declarator ()->accept (this) == -1) 00479 return -1; 00480 return 0; 00481 }
int TAO_PSDL_Scope_Visitor::visit_const_dcl | ( | TAO_PSDL_Const_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 585 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Const_Dcl::const_exp(), TAO_PSDL_Const_Dcl::const_type(), and TAO_PSDL_Const_Dcl::identifier().
Referenced by TAO_PSDL_Const_Dcl::TAO_PSDL_Const_Dcl().
00586 { 00587 if (const_dcl->const_type () != 0) 00588 { 00589 if (const_dcl->const_type ()->accept (this) == -1) 00590 return -1; 00591 } 00592 00593 if (const_dcl->identifier ()->accept (this) == -1) 00594 return -1; 00595 00596 if (const_dcl->const_exp ()->accept (this) == -1) 00597 return -1; 00598 00599 return 0; 00600 }
int TAO_PSDL_Scope_Visitor::visit_const_exp | ( | TAO_PSDL_Const_Exp * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_const_type | ( | TAO_PSDL_Const_Type * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 602 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Const_Type::type().
00603 { 00604 if (const_type->type ()->accept (this) == -1) 00605 return -1; 00606 00607 return 0; 00608 }
int TAO_PSDL_Scope_Visitor::visit_constr_forward_decl | ( | TAO_PSDL_Constr_Forward_Decl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 849 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Constr_Forward_Decl::identifier(), and TAO_PSDL_Constr_Forward_Decl::type().
00850 { 00851 if (constr_fwd_dcl->type ()->accept (this) == -1) 00852 return -1; 00853 00854 if (constr_fwd_dcl->identifier ()->accept (this) == -1) 00855 return -1; 00856 00857 return 0; 00858 }
int TAO_PSDL_Scope_Visitor::visit_constr_type_spec | ( | TAO_PSDL_Constr_Type_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_context_expr | ( | TAO_PSDL_Context_Expr * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 821 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Context_Expr::string_literal().
00822 { 00823 if (context_expr->string_literal ()->accept (this) == -1) 00824 return -1; 00825 return 0; 00826 }
int TAO_PSDL_Scope_Visitor::visit_declarator | ( | TAO_PSDL_Declarator * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 439 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Declarator::type_of_declarator().
00440 { 00441 if (declarator->type_of_declarator ()->accept (this) == -1) 00442 return -1; 00443 return 0; 00444 }
int TAO_PSDL_Scope_Visitor::visit_declarators | ( | TAO_PSDL_Declarators * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 425 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Declarators::declarator(), and TAO_PSDL_Declarators::set_of_declarators().
00426 { 00427 00428 if (declarators->declarator ()->accept (this) == -1) 00429 return -1; 00430 00431 if (declarators->set_of_declarators () != 0) 00432 { 00433 if (declarators->set_of_declarators ()->accept (this) == -1) 00434 return -1; 00435 } 00436 return 0; 00437 }
int TAO_PSDL_Scope_Visitor::visit_definition | ( | TAO_PSDL_Definition * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 54 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Definition::definition_type().
00055 { 00056 if (definition->definition_type ()->accept (this) == -1) 00057 return -1; 00058 return 0; 00059 }
int TAO_PSDL_Scope_Visitor::visit_element_spec | ( | TAO_PSDL_Element_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_enumerator | ( | TAO_PSDL_Enumerator * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 1069 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Enumerator::enumerator(), and TAO_PSDL_Enumerator::identifier().
01070 { 01071 if (enumerator->identifier ()->accept (this) == -1) 01072 return -1; 01073 01074 if (enumerator->enumerator () != 0) 01075 { 01076 if (enumerator->enumerator ()->accept (this) == -1) 01077 return -1; 01078 } 01079 return 0; 01080 }
int TAO_PSDL_Scope_Visitor::visit_except_dcl | ( | TAO_PSDL_Except_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 664 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Except_Dcl::member_list().
00665 { 00666 // @@ Do I really need this. Lets comment it for now and if it is 00667 // really needed will uncomment it later, 00668 /* 00669 if (except_dcl->identifier ()->accept (this) == -1) 00670 return -1; 00671 */ 00672 00673 if (except_dcl->member_list () != 0) 00674 { 00675 if (except_dcl->member_list ()->accept (this) == -1) 00676 return -1; 00677 } 00678 return 0; 00679 }
int TAO_PSDL_Scope_Visitor::visit_export_dcl | ( | TAO_PSDL_Export_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 933 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Export_Dcl::type_of_export_one(), and TAO_PSDL_Export_Dcl::type_of_export_two().
00934 { 00935 if (export_dcl->type_of_export_one ()->accept (this) == -1) 00936 return -1; 00937 00938 if (export_dcl->type_of_export_two () != 0) 00939 { 00940 00941 if (export_dcl->type_of_export_two ()->accept (this) == -1) 00942 return -1; 00943 } 00944 return 0; 00945 }
int TAO_PSDL_Scope_Visitor::visit_factory_dcl | ( | TAO_PSDL_Factory_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_factory_parameters | ( | TAO_PSDL_Factory_Parameters * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_fixed_array_size | ( | TAO_PSDL_Fixed_Array_Size * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_fixed_pt_type | ( | TAO_PSDL_Fixed_Pt_Type * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 837 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Fixed_Pt_Type::positive_int_const_one(), and TAO_PSDL_Fixed_Pt_Type::positive_int_const_two().
00838 { 00839 if (fixed_pt_type->positive_int_const_one ()->accept (this) == -1) 00840 return -1; 00841 00842 if (fixed_pt_type->positive_int_const_two ()->accept (this) == -1) 00843 return -1; 00844 00845 return 0; 00846 }
int TAO_PSDL_Scope_Visitor::visit_forward_dcl | ( | TAO_PSDL_Forward_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 895 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Scope::convert_str(), TAO_PSDL_Forward_Dcl::identifier(), TAO_PSDL_Scope::instance(), psdl_node_, TAO_PSDL_Node::set_predefined_type(), and TAO_PSDL_Forward_Dcl::type().
Referenced by TAO_PSDL_Forward_Dcl::TAO_PSDL_Forward_Dcl().
00896 { 00897 if (forward_dcl->identifier ()->accept (this) == -1) 00898 return -1; 00899 00900 if (forward_dcl->type () != 0) 00901 { 00902 this->psdl_node_->set_identifier (TAO_PSDL_Scope::instance ()->convert_str (forward_dcl->type ())); 00903 this->psdl_node_->set_predefined_type (); 00904 } 00905 return 0; 00906 }
int TAO_PSDL_Scope_Visitor::visit_identifier | ( | TAO_PSDL_Identifier * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 33 of file PSDL_Scope_Visitor.cpp.
References psdl_node_, TAO_PSDL_Node::set_identifier(), and TAO_PSDL_Identifier::value().
00034 { 00035 this->psdl_node_->set_identifier (identifier->value ()); 00036 00037 return 0; 00038 }
int TAO_PSDL_Scope_Visitor::visit_init_dcl | ( | TAO_PSDL_Init_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_init_param_decl | ( | TAO_PSDL_Init_Param_Decl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_init_param_decls | ( | TAO_PSDL_Init_Param_Decls * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_interface | ( | TAO_PSDL_Interface * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 860 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Interface::type_of_dcl().
00861 { 00862 if (interf->type_of_dcl ()->accept (this) == -1) 00863 return -1; 00864 00865 return 0; 00866 }
int TAO_PSDL_Scope_Visitor::visit_interface_body | ( | TAO_PSDL_Interface_Body * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 868 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Interface_Body::export_variable(), and TAO_PSDL_Interface_Body::interface_body().
00869 { 00870 if (interface_body->export_variable ()->accept (this) == -1) 00871 return -1; 00872 00873 if (interface_body->interface_body () != 0) 00874 { 00875 if (interface_body->interface_body ()->accept (this) == -1) 00876 return -1; 00877 } 00878 return 0; 00879 }
int TAO_PSDL_Scope_Visitor::visit_interface_dcl | ( | TAO_PSDL_Interface_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 881 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Interface_Dcl::interface_body(), and TAO_PSDL_Interface_Dcl::interface_header().
00882 { 00883 if (interface_dcl->interface_header ()->accept (this) == -1) 00884 return -1; 00885 00886 if (interface_dcl->interface_body () != 0) 00887 { 00888 if (interface_dcl->interface_body ()->accept (this) == -1) 00889 return -1; 00890 } 00891 return 0; 00892 }
int TAO_PSDL_Scope_Visitor::visit_interface_header | ( | TAO_PSDL_Interface_Header * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 909 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Interface_Header::interface_inheritance_spec(), and TAO_PSDL_Interface_Header::type().
00910 { 00911 // @@ Do I really need this. Lets comment it for now and if it is 00912 // really needed will uncomment it later, 00913 00914 /* 00915 if (interface_header->identifier ()->accept (this) == -1) 00916 return -1; 00917 */ 00918 00919 if (interface_header->type () != 0) 00920 { 00921 if (interface_header->type ()->accept (this) == -1) 00922 return -1; 00923 } 00924 00925 if (interface_header->interface_inheritance_spec () != 0) 00926 { 00927 if (interface_header->interface_inheritance_spec ()->accept (this) == -1) 00928 return -1; 00929 } 00930 return 0; 00931 }
int TAO_PSDL_Scope_Visitor::visit_interface_inheritance_spec | ( | TAO_PSDL_Interface_Inheritance_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 948 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Interface_Inheritance_Spec::interface_name().
00949 { 00950 if (interface_inh_spec->interface_name ()->accept (this) == -1) 00951 return -1; 00952 00953 return 0; 00954 }
int TAO_PSDL_Scope_Visitor::visit_interface_name | ( | TAO_PSDL_Interface_Name * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 957 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Interface_Name::interface_name(), and TAO_PSDL_Interface_Name::scoped_name().
00958 { 00959 if (interface_name->scoped_name ()->accept (this) == -1) 00960 return -1; 00961 00962 if (interface_name->interface_name () != 0) 00963 { 00964 if (interface_name->interface_name ()->accept (this) == -1) 00965 return -1; 00966 } 00967 return 0; 00968 }
int TAO_PSDL_Scope_Visitor::visit_key_dcl | ( | TAO_PSDL_Key_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 194 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Key_Dcl::identifier(), and TAO_PSDL_Key_Dcl::simple_declarator().
00195 { 00196 if (key_dcl->identifier ()->accept (this) == -1) 00197 return -1; 00198 00199 if (key_dcl->simple_declarator () != 0) 00200 if (key_dcl->simple_declarator ()->accept (this) == -1) 00201 return -1; 00202 return 0; 00203 }
int TAO_PSDL_Scope_Visitor::visit_literal | ( | TAO_PSDL_Literal * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_local_op_dcl | ( | TAO_PSDL_Local_Op_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 175 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Local_Op_Dcl::identifier(), TAO_PSDL_Local_Op_Dcl::op_type_spec(), TAO_PSDL_Local_Op_Dcl::parameter_dcls(), and TAO_PSDL_Local_Op_Dcl::raises_expr().
00176 { 00177 if (local_op_dcl->op_type_spec ()->accept (this) == -1) 00178 return -1; 00179 00180 if (local_op_dcl->identifier ()->accept (this) == -1) 00181 return -1; 00182 00183 if (local_op_dcl->parameter_dcls ()->accept (this) == -1) 00184 return -1; 00185 00186 if (local_op_dcl->raises_expr () != 0) 00187 { 00188 if (local_op_dcl->raises_expr ()->accept (this) == -1) 00189 return -1; 00190 } 00191 return 0; 00192 }
int TAO_PSDL_Scope_Visitor::visit_member | ( | TAO_PSDL_Member * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 539 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Member::declarators(), and TAO_PSDL_Member::type_spec().
Referenced by TAO_PSDL_Member::TAO_PSDL_Member().
00540 { 00541 if (member->type_spec ()->accept (this) == -1) 00542 return -1; 00543 00544 if (member->declarators ()->accept (this) == -1) 00545 return -1; 00546 00547 return 0; 00548 }
int TAO_PSDL_Scope_Visitor::visit_member_list | ( | TAO_PSDL_Member_List * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 525 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Member_List::member(), and TAO_PSDL_Member_List::member_list().
00526 { 00527 if (member_list->member ()->accept (this) == -1) 00528 return -1; 00529 00530 if (member_list->member_list () != 0) 00531 { 00532 if (member_list->member_list ()->accept (this) == -1) 00533 return -1; 00534 } 00535 return 0; 00536 }
int TAO_PSDL_Scope_Visitor::visit_module | ( | TAO_PSDL_Module * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 22 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Module::specification().
00023 { 00024 // this->psdl_node_->set_identifier ("module"); 00025 00026 if (module->specification ()->accept (this) == -1) 00027 return -1; 00028 00029 return 0; 00030 }
int TAO_PSDL_Scope_Visitor::visit_mult_expr | ( | TAO_PSDL_Mult_Expr * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_op_dcl | ( | TAO_PSDL_Op_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 682 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Op_Dcl::context_expr(), TAO_PSDL_Op_Dcl::identifier(), TAO_PSDL_Op_Dcl::op_attribute(), TAO_PSDL_Op_Dcl::op_type_spec(), TAO_PSDL_Op_Dcl::parameter_dcls(), and TAO_PSDL_Op_Dcl::raises_expr().
00683 { 00684 if (op_dcl->op_attribute () != 0) 00685 if (op_dcl->op_attribute ()->accept (this) == -1) 00686 return -1; 00687 00688 if (op_dcl->op_type_spec ()->accept (this) == -1) 00689 return -1; 00690 00691 if (op_dcl->identifier ()->accept (this) == -1) 00692 return -1; 00693 00694 if (op_dcl->parameter_dcls ()->accept (this) == -1) 00695 return -1; 00696 00697 if (op_dcl->raises_expr () != 0) 00698 if (op_dcl->raises_expr ()->accept (this) == -1) 00699 return -1; 00700 00701 if (op_dcl->context_expr () != 0) 00702 if (op_dcl->context_expr ()->accept (this) == -1) 00703 return -1; 00704 00705 return 0; 00706 }
int TAO_PSDL_Scope_Visitor::visit_op_type_spec | ( | TAO_PSDL_Op_Type_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 760 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Scope::convert_str(), TAO_PSDL_Scope::instance(), psdl_node_, TAO_PSDL_Node::set_predefined_type(), TAO_PSDL_Op_Type_Spec::type(), and TAO_PSDL_Op_Type_Spec::type_spec().
00761 { 00762 if (op_type_spec->type () != 0) 00763 { 00764 this->psdl_node_->set_identifier (TAO_PSDL_Scope::instance ()->convert_str (op_type_spec->type ())); 00765 00766 this->psdl_node_->set_predefined_type (); 00767 } 00768 00769 if (op_type_spec->type_spec () != 0) 00770 if (op_type_spec->type_spec ()->accept (this) == -1) 00771 return -1; 00772 00773 return 0; 00774 }
int TAO_PSDL_Scope_Visitor::visit_or_expr | ( | TAO_PSDL_Or_Expr * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_param_dcl | ( | TAO_PSDL_Param_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 786 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Param_Dcl::param_attribute(), TAO_PSDL_Param_Dcl::param_dcl(), TAO_PSDL_Param_Dcl::param_type_spec(), and TAO_PSDL_Param_Dcl::simple_declarator().
00787 { 00788 if (param_dcl->param_attribute ()->accept (this) == -1) 00789 return -1; 00790 00791 if (param_dcl->param_type_spec ()->accept (this) == -1) 00792 return -1; 00793 00794 if (param_dcl->simple_declarator ()->accept (this) == -1) 00795 return -1; 00796 00797 if (param_dcl->param_dcl () != 0) 00798 if (param_dcl->param_dcl ()->accept (this) == -1) 00799 return -1; 00800 00801 return 0; 00802 }
int TAO_PSDL_Scope_Visitor::visit_param_type_spec | ( | TAO_PSDL_Param_Type_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 829 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Param_Type_Spec::type_of_param().
00830 { 00831 if (param_type_spec->type_of_param ()->accept (this) == -1) 00832 return -1; 00833 return 0; 00834 }
int TAO_PSDL_Scope_Visitor::visit_parameter_dcls | ( | TAO_PSDL_Parameter_Dcls * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 777 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Parameter_Dcls::param_dcl().
00778 { 00779 if (parameter_dcls->param_dcl () != 0) 00780 if (parameter_dcls->param_dcl ()->accept (this) == -1) 00781 return -1; 00782 00783 return 0; 00784 }
int TAO_PSDL_Scope_Visitor::visit_positive_int_const | ( | TAO_PSDL_Positive_Int_Const * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_predefined_type | ( | TAO_PSDL_Predefined_Type * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 484 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Scope::instance(), psdl_node_, TAO_PSDL_Node::set_identifier(), TAO_PSDL_Node::set_predefined_type(), TAO_PSDL_SEQUENCE, TAO_PSDL_Predefined_Type::type_of_variable_one(), TAO_PSDL_Predefined_Type::type_of_variable_three(), TAO_PSDL_Predefined_Type::type_of_variable_two(), TAO_PSDL_Predefined_Type::type_one(), TAO_PSDL_Predefined_Type::type_three(), and TAO_PSDL_Predefined_Type::type_two().
Referenced by TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type().
00485 { 00486 if ((predefined_type->type_one () != 0) && (predefined_type->type_one () != TAO_PSDL_SEQUENCE)) 00487 { 00488 // This will happen in the case of typedefs like 00489 // typedef sequence<Istring> Name. We neednot save the sequence 00490 // @@ May be this is a wrong solution ... but atleast a 00491 // temporary one :) 00492 this->psdl_node_->set_identifier (TAO_PSDL_Scope::instance ()->convert_str (predefined_type->type_one ())); 00493 00494 this->psdl_node_->set_predefined_type (); 00495 } 00496 if (predefined_type->type_two () != 0) {} 00497 00498 if (predefined_type->type_three () != 0) 00499 {} 00500 00501 if (predefined_type->type_of_variable_one () != 0) 00502 { 00503 if (predefined_type->type_of_variable_one ()->accept (this) == -1) 00504 return -1; 00505 } 00506 00507 if (predefined_type->type_of_variable_two () != 0) 00508 { 00509 if (predefined_type->type_of_variable_two ()->accept (this) == -1) 00510 return -1; 00511 00512 // @@ I am not sure now if I need this here. So, commenting it 00513 // out nad will get it back if need arises in future. 00514 // this->psdl_node_->set_identifier (TAO_PSDL_Scope::instance ()->get_identifier ()); 00515 } 00516 00517 if (predefined_type->type_of_variable_three () != 0) 00518 { 00519 if (predefined_type->type_of_variable_three ()->accept (this) == -1) 00520 return -1; 00521 } 00522 return 0; 00523 }
int TAO_PSDL_Scope_Visitor::visit_primary_expr | ( | TAO_PSDL_Primary_Expr * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_primary_key_dcl | ( | TAO_PSDL_Primary_Key_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 352 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Primary_Key_Dcl::identifier().
00353 { 00354 if (primary_key_dcl->identifier ()->accept (this) == -1) 00355 return -1; 00356 return 0; 00357 }
int TAO_PSDL_Scope_Visitor::visit_provides_dcl | ( | TAO_PSDL_Provides_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_psdl_concrete_state_type | ( | TAO_PSDL_Psdl_Concrete_State_Type * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_psdl_state_dcl | ( | TAO_PSDL_Psdl_State_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_psdl_state_type_spec | ( | TAO_PSDL_Psdl_State_Type_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_raises_expr | ( | TAO_PSDL_Raises_Expr * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 805 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Raises_Expr::first_scoped_name(), psdl_node_, TAO_PSDL_Raises_Expr::second_scoped_name(), and TAO_PSDL_Node::set_identifier().
Referenced by TAO_PSDL_Raises_Expr::TAO_PSDL_Raises_Expr().
00806 { 00807 this->psdl_node_->set_identifier ("raises_exception"); 00808 00809 if (raises_expr->first_scoped_name ()->accept (this) == -1) 00810 return -1; 00811 00812 if (raises_expr->second_scoped_name () != 0) 00813 { 00814 if (raises_expr->second_scoped_name ()->accept (this) == -1) 00815 return -1; 00816 } 00817 return 0; 00818 }
int TAO_PSDL_Scope_Visitor::visit_ref_rep_directive | ( | TAO_PSDL_Ref_Rep_Directive * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_scoped_name | ( | TAO_PSDL_Scoped_Name * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 971 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Scoped_Name::identifier(), and TAO_PSDL_Scoped_Name::scoped_name().
Referenced by TAO_PSDL_Scoped_Name::TAO_PSDL_Scoped_Name().
00972 { 00973 if (scoped_name->identifier ()->accept (this) == -1) 00974 return -1; 00975 00976 if (scoped_name->scoped_name () != 0) 00977 { 00978 if (scoped_name->scoped_name ()->accept (this) == -1) 00979 return -1; 00980 } 00981 00982 return 0; 00983 }
int TAO_PSDL_Scope_Visitor::visit_shift_expr | ( | TAO_PSDL_Shift_Expr * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_simple_declarator | ( | TAO_PSDL_Simple_Declarator * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 446 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Simple_Declarator::identifier(), and TAO_PSDL_Simple_Declarator::simple_declarator().
00447 { 00448 00449 if (simple_declarator->identifier ()->accept (this) == -1) 00450 return -1; 00451 00452 if (simple_declarator->simple_declarator () != 0) 00453 { 00454 00455 if (simple_declarator->simple_declarator ()->accept (this) == -1) 00456 return -1; 00457 } 00458 return 0; 00459 }
int TAO_PSDL_Scope_Visitor::visit_simple_declarator_list | ( | TAO_PSDL_Simple_Declarator_List * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 461 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), accept(), and TAO_PSDL_Simple_Declarator_List::simple_declarator_list().
00462 { 00463 00464 if (simple_decl_list-> simple_declarator ()->accept (this) == -1) 00465 return -1; 00466 00467 if (simple_decl_list->simple_declarator_list () != 0) 00468 { 00469 00470 if (simple_decl_list->simple_declarator_list ()->accept (this) == -1) 00471 return -1; 00472 } 00473 return 0; 00474 }
int TAO_PSDL_Scope_Visitor::visit_simple_type_spec | ( | TAO_PSDL_Simple_Type_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 396 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Scope::get_identifier(), TAO_PSDL_Scope::instance(), scoped_type_, and TAO_PSDL_Simple_Type_Spec::type_of_simple_type_spec().
00397 { 00398 if (simple_type_spec->type_of_simple_type_spec ()->accept (this) == -1) 00399 return -1; 00400 00401 // @@ why this 00402 this->scoped_type_ = TAO_PSDL_Scope::instance ()->get_identifier (); 00403 return 0; 00404 }
int TAO_PSDL_Scope_Visitor::visit_specification | ( | TAO_PSDL_Specification * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 41 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Specification::definition(), and TAO_PSDL_Specification::specification().
00042 { 00043 if (specification->definition ()->accept (this) == -1) 00044 return -1; 00045 00046 if (specification->specification () != 0) 00047 { 00048 if (specification->specification ()->accept (this) == -1) 00049 return -1; 00050 } 00051 return 0; 00052 }
int TAO_PSDL_Scope_Visitor::visit_state_member | ( | TAO_PSDL_State_Member * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagehome | ( | TAO_PSDL_Storagehome * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 281 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Storagehome::storagehome_body(), and TAO_PSDL_Storagehome::storagehome_header().
00282 { 00283 if (storagehome->storagehome_header ()->accept (this) == -1) 00284 return -1; 00285 00286 if (storagehome->storagehome_body () != 0) 00287 if (storagehome->storagehome_body ()->accept (this) == -1) 00288 return -1; 00289 return 0; 00290 }
int TAO_PSDL_Scope_Visitor::visit_storagehome_body | ( | TAO_PSDL_Storagehome_Body * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 312 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Storagehome_Body::storagehome_body(), and TAO_PSDL_Storagehome_Body::storagehome_member().
00313 { 00314 if (sh_body->storagehome_member ()->accept (this) == -1) 00315 return -1; 00316 00317 if (sh_body->storagehome_body () != 0) 00318 if (sh_body->storagehome_body ()->accept (this) == -1) 00319 return -1; 00320 return 0; 00321 }
int TAO_PSDL_Scope_Visitor::visit_storagehome_header | ( | TAO_PSDL_Storagehome_Header * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 292 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Storagehome_Header::identifier(), TAO_PSDL_Storagehome_Header::storagehome_impl_spec(), TAO_PSDL_Storagehome_Header::storagehome_inh_spec(), and TAO_PSDL_Storagehome_Header::storagetype_name().
00293 { 00294 if (sh_header->identifier ()->accept (this) == -1) 00295 return -1; 00296 00297 if (sh_header->storagetype_name ()->accept (this) == -1) 00298 return -1; 00299 00300 00301 if (sh_header->storagehome_inh_spec () != 0) 00302 if (sh_header->storagehome_inh_spec ()->accept (this) == -1) 00303 return -1; 00304 00305 if (sh_header->storagehome_impl_spec () != 0) 00306 if (sh_header->storagehome_impl_spec ()->accept (this) == -1) 00307 return -1; 00308 00309 return 0; 00310 }
int TAO_PSDL_Scope_Visitor::visit_storagehome_impl_spec | ( | TAO_PSDL_Storagehome_Impl_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 344 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Storagehome_Impl_Spec::abstract_storagehome_name(), and TAO_PSDL_Node::accept().
00345 { 00346 if (sh_impl_spec->abstract_storagehome_name ()->accept (this) == -1) 00347 return -1; 00348 return 0; 00349 }
int TAO_PSDL_Scope_Visitor::visit_storagehome_inh_spec | ( | TAO_PSDL_Storagehome_Inh_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 330 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Storagehome_Inh_Spec::storagehome_name().
00331 { 00332 if (sh_inh_spec->storagehome_name ()->accept (this) == -1) 00333 return -1; 00334 return 0; 00335 }
int TAO_PSDL_Scope_Visitor::visit_storagehome_member | ( | TAO_PSDL_Storagehome_Member * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 323 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Storagehome_Member::key_dcl().
00324 { 00325 if (sh_member->key_dcl ()->accept (this) == -1) 00326 return -1; 00327 return 0; 00328 }
int TAO_PSDL_Scope_Visitor::visit_storagehome_name | ( | TAO_PSDL_Storagehome_Name * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 337 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Storagehome_Name::scoped_name().
00338 { 00339 if (sh_name->scoped_name ()->accept (this) == -1) 00340 return -1; 00341 return 0; 00342 }
int TAO_PSDL_Scope_Visitor::visit_storagehome_scope | ( | TAO_PSDL_Storagehome_Scope * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype | ( | TAO_PSDL_Storagetype * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 709 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Storagetype::declaration().
00710 { 00711 if (storagetype->declaration () != 0) 00712 if (storagetype->declaration ()->accept (this) == -1) 00713 return -1; 00714 return 0; 00715 }
int TAO_PSDL_Scope_Visitor::visit_storagetype_body | ( | TAO_PSDL_Storagetype_Body * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype_dcl | ( | TAO_PSDL_Storagetype_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype_fwd_dcl | ( | TAO_PSDL_Storagetype_Fwd_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype_header | ( | TAO_PSDL_Storagetype_Header * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype_impl_spec | ( | TAO_PSDL_Storagetype_Impl_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype_inh_spec | ( | TAO_PSDL_Storagetype_Inh_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype_member | ( | TAO_PSDL_Storagetype_Member * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_storagetype_name | ( | TAO_PSDL_Storagetype_Name * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 243 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Storagetype_Name::scoped_name().
00244 { 00245 if (storagetype_name->scoped_name ()->accept (this) == -1) 00246 return -1; 00247 00248 return 0; 00249 }
int TAO_PSDL_Scope_Visitor::visit_storagetype_ref_type | ( | TAO_PSDL_Storagetype_Ref_Type * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_store_directive | ( | TAO_PSDL_Store_Directive * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_switch_body | ( | TAO_PSDL_Switch_Body * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_switch_type_spec | ( | TAO_PSDL_Switch_Type_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_template_type_spec | ( | TAO_PSDL_Template_Type_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 412 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Template_Type_Spec::type_of_template_type_spec().
00413 { 00414 if (template_type_spec->type_of_template_type_spec ()->accept (this) == -1) 00415 return -1; 00416 return 0; 00417 }
int TAO_PSDL_Scope_Visitor::visit_type_dcl | ( | TAO_PSDL_Type_Dcl * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 360 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Scope::convert_str(), TAO_PSDL_Scope::instance(), TAO_PSDL_Type_Dcl::key_word(), psdl_node_, TAO_PSDL_Node::set_predefined_type(), TAO_PSDL_NATIVE, and TAO_PSDL_Type_Dcl::type_of_type_dcl().
Referenced by TAO_PSDL_Type_Dcl::TAO_PSDL_Type_Dcl().
00361 { 00362 if (type_dcl->key_word () == TAO_PSDL_NATIVE) 00363 { 00364 this->psdl_node_->set_identifier (TAO_PSDL_Scope::instance ()->convert_str (type_dcl->key_word ())); 00365 00366 this->psdl_node_->set_predefined_type (); 00367 } 00368 00369 if (type_dcl->type_of_type_dcl ()->accept (this) == -1) 00370 return -1; 00371 00372 return 0; 00373 }
int TAO_PSDL_Scope_Visitor::visit_type_declarator | ( | TAO_PSDL_Type_Declarator * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 376 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), TAO_PSDL_Type_Declarator::declarators(), and TAO_PSDL_Type_Declarator::type_spec().
00377 { 00378 if (type_declarator->type_spec ()->accept (this) == -1) 00379 return -1; 00380 00381 if (type_declarator->declarators ()->accept (this) == -1) 00382 return -1; 00383 00384 return 0; 00385 }
int TAO_PSDL_Scope_Visitor::visit_type_spec | ( | TAO_PSDL_Type_Spec * | ) | [virtual] |
Reimplemented from TAO_PSDL_Node_Visitor.
Definition at line 387 of file PSDL_Scope_Visitor.cpp.
References TAO_PSDL_Node::accept(), and TAO_PSDL_Type_Spec::type_of_type_spec().
00388 { 00389 if (type_spec->type_of_type_spec ()->accept (this) == -1) 00390 return -1; 00391 00392 return 0; 00393 }
int TAO_PSDL_Scope_Visitor::visit_unary_expr | ( | TAO_PSDL_Unary_Expr * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_union_type | ( | TAO_PSDL_Union_Type * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value | ( | TAO_PSDL_Value * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_abs_dcl | ( | TAO_PSDL_Value_Abs_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_box_dcl | ( | TAO_PSDL_Value_Box_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_common_base | ( | TAO_PSDL_Value_Common_Base * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_dcl | ( | TAO_PSDL_Value_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_element | ( | TAO_PSDL_Value_Element * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_forward_dcl | ( | TAO_PSDL_Value_Forward_Dcl * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_header | ( | TAO_PSDL_Value_Header * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_inheritance_spec | ( | TAO_PSDL_Value_Inheritance_Spec * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_value_name | ( | TAO_PSDL_Value_Name * | ) | [virtual] |
int TAO_PSDL_Scope_Visitor::visit_xor_expr | ( | TAO_PSDL_Xor_Expr * | ) | [virtual] |
TAO_PSDL_Node* TAO_PSDL_Scope_Visitor::psdl_node_ [private] |
Definition at line 182 of file PSDL_Scope_Visitor.h.
Referenced by visit_forward_dcl(), visit_identifier(), visit_op_type_spec(), visit_predefined_type(), visit_raises_expr(), and visit_type_dcl().
Definition at line 183 of file PSDL_Scope_Visitor.h.
Referenced by get_scoped_type(), and visit_simple_type_spec().