#include <PSDL_Scope_Visitor.h>
Inheritance diagram for TAO_PSDL_Scope_Visitor:
|
Definition at line 6 of file PSDL_Scope_Visitor.cpp.
00007 : psdl_node_ (psdl_node) 00008 { 00009 } |
|
Definition at line 11 of file PSDL_Scope_Visitor.cpp.
00012 { 00013 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 128 of file PSDL_Scope_Visitor.cpp.
00129 { 00130 // NOT YET SUPPORTED 00131 return 0; 00132 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 152 of file PSDL_Scope_Visitor.cpp.
00153 { 00154 // NOT YET SUPPORTED 00155 return 0; 00156 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 140 of file PSDL_Scope_Visitor.cpp.
00141 { 00142 // NOT YET SUPPORTED 00143 return 0; 00144 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 134 of file PSDL_Scope_Visitor.cpp.
00135 { // NOT YET SUPPORTED 00136 00137 00138 return 0; } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 146 of file PSDL_Scope_Visitor.cpp.
00147 { 00148 // NOT YET SUPPORTED 00149 return 0; 00150 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 164 of file PSDL_Scope_Visitor.cpp.
00165 { 00166 // NOT YET SUPPORTED 00167 return 0; 00168 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 158 of file PSDL_Scope_Visitor.cpp.
00159 { 00160 // NOT YET SUPPORTED 00161 return 0; 00162 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 170 of file PSDL_Scope_Visitor.cpp.
00171 { // NOT YET SUPPORTED 00172 return 0; 00173 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 62 of file PSDL_Scope_Visitor.cpp.
00063 {
00064 return 0;
00065 }
|
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 86 of file PSDL_Scope_Visitor.cpp.
00087 { 00088 // NOT YET SUPPORTED 00089 return 0; 00090 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 68 of file PSDL_Scope_Visitor.cpp.
00069 { 00070 // NOT YET SUPPORTED 00071 return 0; 00072 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 74 of file PSDL_Scope_Visitor.cpp.
00075 { 00076 // NOT YET SUPPORTED 00077 return 0; 00078 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 80 of file PSDL_Scope_Visitor.cpp.
00081 { 00082 // NOT YET SUPPORTED 00083 return 0; 00084 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 99 of file PSDL_Scope_Visitor.cpp.
00100 { 00101 // NOT YET SUPPORTED 00102 return 0; 00103 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 93 of file PSDL_Scope_Visitor.cpp.
00094 { 00095 // NOT YET SUPPORTED 00096 return 0; 00097 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 105 of file PSDL_Scope_Visitor.cpp.
00106 { 00107 // NOT YET SUPPORTED 00108 return 0; } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 122 of file PSDL_Scope_Visitor.cpp.
00123 { 00124 // NOT YET SUPPORTED 00125 return 0; 00126 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 640 of file PSDL_Scope_Visitor.cpp.
00641 { 00642 // NOT YET SUPPORTED 00643 return 0; 00644 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 628 of file PSDL_Scope_Visitor.cpp.
00629 { 00630 // NOT YET SUPPORTED 00631 return 0; 00632 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1055 of file PSDL_Scope_Visitor.cpp.
01056 { 01057 // NOT YET SUPPORTED 01058 return 0; 01059 } |
|
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 } |
|
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; } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 567 of file PSDL_Scope_Visitor.cpp.
00568 { 00569 // NOT YET SUPPORTED 00570 return 0; 00571 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 573 of file PSDL_Scope_Visitor.cpp.
00574 { 00575 // NOT YET SUPPORTED 00576 return 0; 00577 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 205 of file PSDL_Scope_Visitor.cpp.
00206 { 00207 // NOT YET SUPPORTED 00208 return 0; } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 219 of file PSDL_Scope_Visitor.cpp.
00220 { 00221 // NOT YET SUPPORTED 00222 return 0; 00223 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 210 of file PSDL_Scope_Visitor.cpp.
00211 { 00212 // NOT YET SUPPORTED 00213 return 0; } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 225 of file PSDL_Scope_Visitor.cpp.
00226 { 00227 // NOT YET SUPPORTED 00228 return 0; 00229 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 215 of file PSDL_Scope_Visitor.cpp.
00216 { // NOT YET SUPPORTED 00217 return 0; } |
|
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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 610 of file PSDL_Scope_Visitor.cpp.
00611 { 00612 // NOT YET SUPPORTED 00613 return 0; 00614 } |
|
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().
|
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 419 of file PSDL_Scope_Visitor.cpp.
00420 { 00421 // NOT YET SUPPORTED 00422 return 0; 00423 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 579 of file PSDL_Scope_Visitor.cpp.
00580 { 00581 // NOT YET SUPPORTED 00582 return 0; 00583 } |
|
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 } |
|
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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1140 of file PSDL_Scope_Visitor.cpp.
01141 { 01142 // NOT YET SUPPORTED 01143 return 0; 01144 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1116 of file PSDL_Scope_Visitor.cpp.
01117 { 01118 // NOT YET SUPPORTED 01119 return 0; 01120 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1062 of file PSDL_Scope_Visitor.cpp.
01063 { 01064 // NOT YET SUPPORTED 01065 return 0; 01066 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 895 of file PSDL_Scope_Visitor.cpp. References TAO_PSDL_Node::accept(), TAO_PSDL_Forward_Dcl::identifier(), psdl_node_, TAO_PSDL_Node::set_identifier(), 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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1097 of file PSDL_Scope_Visitor.cpp.
01098 { 01099 // NOT YET SUPPORTED 01100 return 0; 01101 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1110 of file PSDL_Scope_Visitor.cpp.
01111 { 01112 // NOT YET SUPPORTED 01113 return 0; 01114 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1104 of file PSDL_Scope_Visitor.cpp.
01105 { 01106 // NOT YET SUPPORTED 01107 return 0; 01108 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1083 of file PSDL_Scope_Visitor.cpp.
01084 { 01085 // NOT YET SUPPORTED 01086 return 0; 01087 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 646 of file PSDL_Scope_Visitor.cpp.
00647 { 00648 // NOT YET SUPPORTED 00649 return 0; 00650 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 760 of file PSDL_Scope_Visitor.cpp. References TAO_PSDL_Node::accept(), psdl_node_, TAO_PSDL_Node::set_identifier(), 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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 616 of file PSDL_Scope_Visitor.cpp.
00617 { 00618 // NOT YET SUPPORTED 00619 return 0; 00620 } |
|
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 } |
|
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 } |
|
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().
|
|
Reimplemented from TAO_PSDL_Node_Visitor. |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 484 of file PSDL_Scope_Visitor.cpp. References TAO_PSDL_Node::accept(), 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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 658 of file PSDL_Scope_Visitor.cpp.
00659 { 00660 // NOT YET SUPPORTED 00661 return 0; 00662 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 753 of file PSDL_Scope_Visitor.cpp.
00754 { 00755 // NOT YET SUPPORTED 00756 return 0; 00757 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 269 of file PSDL_Scope_Visitor.cpp.
00270 { 00271 // NOT YET SUPPORTED 00272 return 0; 00273 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 110 of file PSDL_Scope_Visitor.cpp.
00111 { 00112 // NOT YET SUPPORTED 00113 return 0; 00114 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 116 of file PSDL_Scope_Visitor.cpp.
00117 { 00118 // NOT YET SUPPORTED 00119 return 0; 00120 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 275 of file PSDL_Scope_Visitor.cpp.
00276 { 00277 // NOT YET SUPPORTED 00278 return 0; 00279 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 634 of file PSDL_Scope_Visitor.cpp.
00635 { 00636 // NOT YET SUPPORTED 00637 return 0; 00638 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 461 of file PSDL_Scope_Visitor.cpp. References TAO_PSDL_Node::accept(), TAO_PSDL_Simple_Declarator_List::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 } |
|
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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1090 of file PSDL_Scope_Visitor.cpp.
01091 { 01092 // NOT YET SUPPORTED 01093 return 0; 01094 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
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 } |
|
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().
|
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 746 of file PSDL_Scope_Visitor.cpp.
00747 { 00748 // NOT YET SUPPORTED 00749 return 0; 00750 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 739 of file PSDL_Scope_Visitor.cpp.
00740 { 00741 // NOT YET SUPPORTED 00742 return 0; 00743 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 718 of file PSDL_Scope_Visitor.cpp.
00719 { 00720 // NOT YET SUPPORTED 00721 return 0; 00722 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 725 of file PSDL_Scope_Visitor.cpp.
00726 { 00727 // NOT YET SUPPORTED 00728 return 0; 00729 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 732 of file PSDL_Scope_Visitor.cpp.
00733 { 00734 // NOT YET SUPPORTED 00735 return 0; 00736 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 251 of file PSDL_Scope_Visitor.cpp.
00252 { 00253 // NOT YET SUPPORTED 00254 return 0; 00255 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 237 of file PSDL_Scope_Visitor.cpp.
00238 { 00239 // NOT YET SUPPORTED 00240 return 0; 00241 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 231 of file PSDL_Scope_Visitor.cpp.
00232 { 00233 // NOT YET SUPPORTED 00234 return 0; 00235 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 257 of file PSDL_Scope_Visitor.cpp.
00258 { 00259 // NOT YET SUPPORTED 00260 return 0; 00261 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 263 of file PSDL_Scope_Visitor.cpp.
00264 { 00265 // NOT YET SUPPORTED 00266 return 0; 00267 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 561 of file PSDL_Scope_Visitor.cpp.
00562 { 00563 // NOT YET SUPPORTED 00564 return 0; 00565 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 555 of file PSDL_Scope_Visitor.cpp.
00556 { 00557 // NOT YET SUPPORTED 00558 return 0; 00559 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 360 of file PSDL_Scope_Visitor.cpp. References TAO_PSDL_Node::accept(), TAO_PSDL_Type_Dcl::key_word(), psdl_node_, TAO_PSDL_Node::set_identifier(), 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 } |
|
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 } |
|
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 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 652 of file PSDL_Scope_Visitor.cpp.
00653 { 00654 // NOT YET SUPPORTED 00655 return 0; 00656 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 550 of file PSDL_Scope_Visitor.cpp.
00551 { // NOT YET SUPPORTED 00552 return 0; 00553 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 986 of file PSDL_Scope_Visitor.cpp.
00987 { 00988 // NOT YET SUPPORTED 00989 return 0; 00990 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1014 of file PSDL_Scope_Visitor.cpp.
01015 { 01016 // NOT YET SUPPORTED 01017 return 0; } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1007 of file PSDL_Scope_Visitor.cpp.
01008 { 01009 // NOT YET SUPPORTED 01010 return 0; 01011 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 993 of file PSDL_Scope_Visitor.cpp.
00994 { 00995 // NOT YET SUPPORTED 00996 return 0; 00997 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1020 of file PSDL_Scope_Visitor.cpp.
01021 { 01022 // NOT YET SUPPORTED 01023 return 0; 01024 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1048 of file PSDL_Scope_Visitor.cpp.
01049 { 01050 // NOT YET SUPPORTED 01051 return 0; 01052 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1000 of file PSDL_Scope_Visitor.cpp.
01001 { 01002 // NOT YET SUPPORTED 01003 return 0; 01004 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1027 of file PSDL_Scope_Visitor.cpp.
01028 { 01029 // NOT YET SUPPORTED 01030 return 0; 01031 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1034 of file PSDL_Scope_Visitor.cpp.
01035 { 01036 // NOT YET SUPPORTED 01037 return 0; 01038 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 1041 of file PSDL_Scope_Visitor.cpp.
01042 { 01043 // NOT YET SUPPORTED 01044 return 0; 01045 } |
|
Reimplemented from TAO_PSDL_Node_Visitor. Definition at line 622 of file PSDL_Scope_Visitor.cpp.
00623 { 00624 // NOT YET SUPPORTED 00625 return 0; 00626 } |
|
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(). |