Public Member Functions | Protected Attributes

TAO_PSDL_Node_Visitor Class Reference

#include <PSDL_Node_Visitor.h>

Inheritance diagram for TAO_PSDL_Node_Visitor:
Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Node_Visitor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_PSDL_Node_Visitor ()
virtual ~TAO_PSDL_Node_Visitor (void)
virtual int visit_specification (TAO_PSDL_Specification *)
virtual int visit_definition (TAO_PSDL_Definition *)
virtual int visit_module (TAO_PSDL_Module *)
virtual int visit_abstract_storagetype (TAO_PSDL_Abstract_Storagetype *)
virtual int visit_abstract_storagetype_dcl (TAO_PSDL_Abstract_Storagetype_Dcl *)
virtual int visit_abstract_storagetype_fwd_dcl (TAO_PSDL_Abstract_Storagetype_Fwd_Dcl *)
virtual int visit_abstract_storagetype_header (TAO_PSDL_Abstract_Storagetype_Header *)
virtual int visit_abstract_storagetype_body (TAO_PSDL_Abstract_Storagetype_Body *)
virtual int visit_abstract_storagetype_member (TAO_PSDL_Abstract_Storagetype_Member *)
virtual int visit_abstract_storagetype_inh_spec (TAO_PSDL_Abstract_Storagetype_Inh_Spec *)
virtual int visit_abstract_storagetype_name (TAO_PSDL_Abstract_Storagetype_Name *)
virtual int visit_psdl_state_dcl (TAO_PSDL_Psdl_State_Dcl *)
virtual int visit_psdl_state_type_spec (TAO_PSDL_Psdl_State_Type_Spec *)
virtual int visit_abstract_storagetype_ref_type (TAO_PSDL_Abstract_Storagetype_Ref_Type)
virtual int visit_abstract_storagehome (TAO_PSDL_Abstract_Storagehome *)
virtual int visit_abstract_storagehome_fwd_dcl (TAO_PSDL_Abstract_Storagehome_Fwd_Dcl *)
virtual int visit_abstract_storagehome_dcl (TAO_PSDL_Abstract_Storagehome_Dcl *)
virtual int visit_abstract_storagehome_header (TAO_PSDL_Abstract_Storagehome_Header *)
virtual int visit_abstract_storagehome_body (TAO_PSDL_Abstract_Storagehome_Body *)
virtual int visit_abstract_storagehome_member (TAO_PSDL_Abstract_Storagehome_Member *)
virtual int visit_abstract_storagehome_inh_spec (TAO_PSDL_Abstract_Storagehome_Inh_Spec *)
virtual int visit_abstract_storagehome_name (TAO_PSDL_Abstract_Storagehome_Name *)
virtual int visit_local_op_dcl (TAO_PSDL_Local_Op_Dcl *)
virtual int visit_key_dcl (TAO_PSDL_Key_Dcl *)
virtual int visit_catalog (TAO_PSDL_Catalog *)
virtual int visit_catalog_inh_spec (TAO_PSDL_Catalog_Inh_Spec *)
virtual int visit_catalog_name (TAO_PSDL_Catalog_Name *)
virtual int visit_catalog_body (TAO_PSDL_Catalog_Body *)
virtual int visit_catalog_member (TAO_PSDL_Catalog_Member *)
virtual int visit_storagetype_member (TAO_PSDL_Storagetype_Member *)
virtual int visit_storagetype_inh_spec (TAO_PSDL_Storagetype_Inh_Spec *)
virtual int visit_storagetype_name (TAO_PSDL_Storagetype_Name *)
virtual int visit_storagetype_impl_spec (TAO_PSDL_Storagetype_Impl_Spec *)
virtual int visit_storagetype_ref_type (TAO_PSDL_Storagetype_Ref_Type *)
virtual int visit_store_directive (TAO_PSDL_Store_Directive *)
virtual int visit_psdl_concrete_state_type (TAO_PSDL_Psdl_Concrete_State_Type *)
virtual int visit_ref_rep_directive (TAO_PSDL_Ref_Rep_Directive *)
virtual int visit_storagehome (TAO_PSDL_Storagehome *)
virtual int visit_storagehome_header (TAO_PSDL_Storagehome_Header *)
virtual int visit_storagehome_body (TAO_PSDL_Storagehome_Body *)
virtual int visit_storagehome_member (TAO_PSDL_Storagehome_Member *)
virtual int visit_storagehome_inh_spec (TAO_PSDL_Storagehome_Inh_Spec *)
virtual int visit_storagehome_name (TAO_PSDL_Storagehome_Name *)
virtual int visit_storagehome_impl_spec (TAO_PSDL_Storagehome_Impl_Spec *)
virtual int visit_primary_key_dcl (TAO_PSDL_Primary_Key_Dcl *)
virtual int visit_identifier (TAO_PSDL_Identifier *)
virtual int visit_type_dcl (TAO_PSDL_Type_Dcl *)
virtual int visit_type_declarator (TAO_PSDL_Type_Declarator *)
virtual int visit_type_spec (TAO_PSDL_Type_Spec *)
virtual int visit_simple_type_spec (TAO_PSDL_Simple_Type_Spec *)
virtual int visit_base_type_spec (TAO_PSDL_Base_Type_Spec *)
virtual int visit_template_type_spec (TAO_PSDL_Template_Type_Spec *)
virtual int visit_constr_type_spec (TAO_PSDL_Constr_Type_Spec *)
virtual int visit_declarators (TAO_PSDL_Declarators *)
virtual int visit_declarator (TAO_PSDL_Declarator *)
virtual int visit_simple_declarator (TAO_PSDL_Simple_Declarator *)
virtual int visit_simple_declarator_list (TAO_PSDL_Simple_Declarator_List *)
virtual int visit_complex_declarator (TAO_PSDL_Complex_Declarator *)
virtual int visit_predefined_type (TAO_PSDL_Predefined_Type *)
virtual int visit_member_list (TAO_PSDL_Member_List *)
virtual int visit_member (TAO_PSDL_Member *)
virtual int visit_union_type (TAO_PSDL_Union_Type *)
virtual int visit_switch_type_spec (TAO_PSDL_Switch_Type_Spec *)
virtual int visit_switch_body (TAO_PSDL_Switch_Body *)
virtual int visit_case_case (TAO_PSDL_Case *)
virtual int visit_case_label (TAO_PSDL_Case_Label *)
virtual int visit_element_spec (TAO_PSDL_Element_Spec *)
virtual int visit_const_dcl (TAO_PSDL_Const_Dcl *)
virtual int visit_const_type (TAO_PSDL_Const_Type *)
virtual int visit_const_exp (TAO_PSDL_Const_Exp *)
virtual int visit_or_expr (TAO_PSDL_Or_Expr *)
virtual int visit_xor_expr (TAO_PSDL_Xor_Expr *)
virtual int visit_and_expr (TAO_PSDL_And_Expr *)
virtual int visit_shift_expr (TAO_PSDL_Shift_Expr *)
virtual int visit_add_expr (TAO_PSDL_Add_Expr *)
virtual int visit_mult_expr (TAO_PSDL_Mult_Expr *)
virtual int visit_unary_expr (TAO_PSDL_Unary_Expr *)
virtual int visit_primary_expr (TAO_PSDL_Primary_Expr *)
virtual int visit_except_dcl (TAO_PSDL_Except_Dcl *)
virtual int visit_op_dcl (TAO_PSDL_Op_Dcl *)
virtual int visit_storagetype (TAO_PSDL_Storagetype *)
virtual int visit_storagetype_dcl (TAO_PSDL_Storagetype_Dcl *)
virtual int visit_storagetype_fwd_dcl (TAO_PSDL_Storagetype_Fwd_Dcl *)
virtual int visit_storagetype_header (TAO_PSDL_Storagetype_Header *)
virtual int visit_storagetype_body (TAO_PSDL_Storagetype_Body *)
virtual int visit_storagehome_scope (TAO_PSDL_Storagehome_Scope *)
virtual int visit_provides_dcl (TAO_PSDL_Provides_Dcl *)
virtual int visit_op_type_spec (TAO_PSDL_Op_Type_Spec *)
virtual int visit_parameter_dcls (TAO_PSDL_Parameter_Dcls *)
virtual int visit_param_dcl (TAO_PSDL_Param_Dcl *)
virtual int visit_raises_expr (TAO_PSDL_Raises_Expr *)
virtual int visit_context_expr (TAO_PSDL_Context_Expr *)
virtual int visit_param_type_spec (TAO_PSDL_Param_Type_Spec *)
virtual int visit_fixed_pt_type (TAO_PSDL_Fixed_Pt_Type *)
virtual int visit_constr_forward_decl (TAO_PSDL_Constr_Forward_Decl *)
virtual int visit_interface (TAO_PSDL_Interface *)
virtual int visit_interface_body (TAO_PSDL_Interface_Body *)
virtual int visit_interface_dcl (TAO_PSDL_Interface_Dcl *)
virtual int visit_forward_dcl (TAO_PSDL_Forward_Dcl *)
virtual int visit_interface_header (TAO_PSDL_Interface_Header *)
virtual int visit_export_dcl (TAO_PSDL_Export_Dcl *)
virtual int visit_interface_inheritance_spec (TAO_PSDL_Interface_Inheritance_Spec *)
virtual int visit_interface_name (TAO_PSDL_Interface_Name *)
virtual int visit_scoped_name (TAO_PSDL_Scoped_Name *)
virtual int visit_value (TAO_PSDL_Value *)
virtual int visit_value_common_base (TAO_PSDL_Value_Common_Base *)
virtual int visit_value_forward_dcl (TAO_PSDL_Value_Forward_Dcl *)
virtual int visit_value_box_dcl (TAO_PSDL_Value_Box_Dcl *)
virtual int visit_value_abs_dcl (TAO_PSDL_Value_Abs_Dcl *)
virtual int visit_value_dcl (TAO_PSDL_Value_Dcl *)
virtual int visit_value_header (TAO_PSDL_Value_Header *)
virtual int visit_value_inheritance_spec (TAO_PSDL_Value_Inheritance_Spec *)
virtual int visit_value_name (TAO_PSDL_Value_Name *)
virtual int visit_value_element (TAO_PSDL_Value_Element *)
virtual int visit_array_declarator (TAO_PSDL_Array_Declarator *)
virtual int visit_fixed_array_size (TAO_PSDL_Fixed_Array_Size *)
virtual int visit_enumerator (TAO_PSDL_Enumerator *)
virtual int visit_literal (TAO_PSDL_Literal *)
virtual int visit_state_member (TAO_PSDL_State_Member *)
virtual int visit_init_dcl (TAO_PSDL_Init_Dcl *)
virtual int visit_init_param_decls (TAO_PSDL_Init_Param_Decls *)
virtual int visit_init_param_decl (TAO_PSDL_Init_Param_Decl *)
virtual int visit_factory_parameters (TAO_PSDL_Factory_Parameters *)
virtual int visit_attr_dcl (TAO_PSDL_Attr_Dcl *)
virtual int visit_factory_dcl (TAO_PSDL_Factory_Dcl *)
virtual int visit_positive_int_const (TAO_PSDL_Positive_Int_Const *)
virtual int base_type (const ACE_CString &identifier_name, ACE_CString &identifier_type)
virtual ACE_CString version_for_stub (ACE_CString identifier_type)
virtual void gen_code_for_si (void)
virtual void gen_code_for_sinline (void)

Protected Attributes

ACE_Array_Base< ACE_CStringidentifiers_
ACE_Array_Base< CORBA::ULongpredefined_type_
CORBA::ULong count_
TAO_PSDL_Node_Visitornode_visitor_
TAO_PSDL_Visitor_Factoryvisitor_factory_

Detailed Description

Definition at line 196 of file PSDL_Node_Visitor.h.


Constructor & Destructor Documentation

TAO_PSDL_Node_Visitor::TAO_PSDL_Node_Visitor (  ) 
TAO_PSDL_Node_Visitor::~TAO_PSDL_Node_Visitor ( void   )  [virtual]

Definition at line 18 of file PSDL_Node_Visitor.cpp.

{
}


Member Function Documentation

int TAO_PSDL_Node_Visitor::base_type ( const ACE_CString identifier_name,
ACE_CString identifier_type 
) [virtual]

To check if the identifier_type is a predefined type or one that is defined in the idl in case.

Definition at line 586 of file PSDL_Node_Visitor.cpp.

{
  ACE_CString identifier_name = identifier;
  TAO_PSDL_Scope::instance ()->to_lower_case (identifier_name);

  int result =
    TAO_PSDL_Scope::instance ()->find (identifier_name,
                                       identifier_type);

  if (result == 0)
    {
      // check if the base type is a predefined base type defined in
      // PSDL.yy
      if (ACE_OS::strcmp (identifier_type.c_str (), "enum") == 0)
        return 0;

      // The way I am deciding is trying to find the idn
      result = TAO_PSDL_Scope::instance ()->find (identifier_type);

      if (result == 0)
        {
          return 0;
        }
      else
        {
          return 1;
        }
    }

  // identifier_name is a predefined type like char *.
  identifier_type = identifier_name;

  return 1;
}

void TAO_PSDL_Node_Visitor::gen_code_for_si ( void   )  [virtual]

Reimplemented in TAO_PSDL_Interface_Visitor, TAO_PSDL_Struct_Visitor, and TAO_PSDL_Type_Dcl_Visitor.

Definition at line 638 of file PSDL_Node_Visitor.cpp.

{
  return;
}

void TAO_PSDL_Node_Visitor::gen_code_for_sinline ( void   )  [virtual]

Reimplemented in TAO_PSDL_Struct_Visitor.

Definition at line 644 of file PSDL_Node_Visitor.cpp.

{
  return;
}

ACE_CString TAO_PSDL_Node_Visitor::version_for_stub ( ACE_CString  identifier_type  )  [virtual]

Definition at line 623 of file PSDL_Node_Visitor.cpp.

{
  if (ACE_OS::strcmp (identifier_type.c_str (), "char *") == 0)
    {
      return "CORBA::String";
    }
  else if (ACE_OS::strcmp (identifier_type.c_str (), "long") == 0)
    {
      return "CORBA::Long";
    }
  else
    return identifier_type;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome ( TAO_PSDL_Abstract_Storagehome  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 124 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome_body ( TAO_PSDL_Abstract_Storagehome_Body  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 148 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome_dcl ( TAO_PSDL_Abstract_Storagehome_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 136 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome_fwd_dcl ( TAO_PSDL_Abstract_Storagehome_Fwd_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 130 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome_header ( TAO_PSDL_Abstract_Storagehome_Header  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 142 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome_inh_spec ( TAO_PSDL_Abstract_Storagehome_Inh_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 159 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome_member ( TAO_PSDL_Abstract_Storagehome_Member  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 154 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagehome_name ( TAO_PSDL_Abstract_Storagehome_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 160 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype ( TAO_PSDL_Abstract_Storagetype  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 61 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_body ( TAO_PSDL_Abstract_Storagetype_Body  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 82 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_dcl ( TAO_PSDL_Abstract_Storagetype_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 65 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_fwd_dcl ( TAO_PSDL_Abstract_Storagetype_Fwd_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 71 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_header ( TAO_PSDL_Abstract_Storagetype_Header  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 77 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_inh_spec ( TAO_PSDL_Abstract_Storagetype_Inh_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 94 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_member ( TAO_PSDL_Abstract_Storagetype_Member  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 88 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_name ( TAO_PSDL_Abstract_Storagetype_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 100 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_abstract_storagetype_ref_type ( TAO_PSDL_Abstract_Storagetype_Ref_Type   )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 118 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_add_expr ( TAO_PSDL_Add_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 406 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_and_expr ( TAO_PSDL_And_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 404 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_array_declarator ( TAO_PSDL_Array_Declarator  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 557 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_attr_dcl ( TAO_PSDL_Attr_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 568 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_base_type_spec ( TAO_PSDL_Base_Type_Spec base_type_spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 248 of file PSDL_Node_Visitor.cpp.

{


  if (base_type_spec->type_of_base_type_spec ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_case_case ( TAO_PSDL_Case  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 396 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_case_label ( TAO_PSDL_Case_Label  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 397 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_catalog ( TAO_PSDL_Catalog  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 163 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_catalog_body ( TAO_PSDL_Catalog_Body  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 166 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_catalog_inh_spec ( TAO_PSDL_Catalog_Inh_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 164 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_catalog_member ( TAO_PSDL_Catalog_Member  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 167 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_catalog_name ( TAO_PSDL_Catalog_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 165 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_complex_declarator ( TAO_PSDL_Complex_Declarator  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 314 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_const_dcl ( TAO_PSDL_Const_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 399 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_const_exp ( TAO_PSDL_Const_Exp  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 401 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_const_type ( TAO_PSDL_Const_Type  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 400 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_constr_forward_decl ( TAO_PSDL_Constr_Forward_Decl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 456 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_constr_type_spec ( TAO_PSDL_Constr_Type_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 268 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_context_expr ( TAO_PSDL_Context_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 451 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_declarator ( TAO_PSDL_Declarator declarator  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Scope_Visitor, and TAO_PSDL_Struct_Visitor.

Definition at line 288 of file PSDL_Node_Visitor.cpp.

{
  if (declarator->type_of_declarator ()->accept (this) == -1)
    return -1;
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_declarators ( TAO_PSDL_Declarators declarators  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 274 of file PSDL_Node_Visitor.cpp.

{
  if (declarators->declarator ()->accept (this) == -1)
    return -1;

  if (declarators->set_of_declarators () != 0)
    {
      if (declarators->set_of_declarators ()->accept (this) == -1)
        return -1;
    }
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_definition ( TAO_PSDL_Definition definition  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 37 of file PSDL_Node_Visitor.cpp.

{
  if (definition->definition_type ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_element_spec ( TAO_PSDL_Element_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 398 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_enumerator ( TAO_PSDL_Enumerator  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Enum_Type_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 559 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_except_dcl ( TAO_PSDL_Except_Dcl except_dcl  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Exception_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 412 of file PSDL_Node_Visitor.cpp.

{
  int type = TAO_PSDL_EXCEPTION;
  this->node_visitor_ =
    this->visitor_factory_->make_visitor (type);

  if (this->node_visitor_ != 0)
    return this->node_visitor_->visit_except_dcl (except_dcl);

  /*
    if (except_dcl->identifier ()->accept (this) == -1)
    return -1;

  if (except_dcl->member () != 0)
    {
      if (except_dcl->member ()->accept (&body_visitor) == -1)
        return -1;
    }
  */
  return -1;
}

int TAO_PSDL_Node_Visitor::visit_export_dcl ( TAO_PSDL_Export_Dcl export_dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 530 of file PSDL_Node_Visitor.cpp.

{
  if (export_dcl->type_of_export_one ()->accept (this) == -1)
      return -1;

  if (export_dcl->type_of_export_two () != 0)
    {
      if (export_dcl->type_of_export_two ()->accept (this) == -1)
        return -1;
      }

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_factory_dcl ( TAO_PSDL_Factory_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 574 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_factory_parameters ( TAO_PSDL_Factory_Parameters  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 565 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_fixed_array_size ( TAO_PSDL_Fixed_Array_Size  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 558 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_fixed_pt_type ( TAO_PSDL_Fixed_Pt_Type  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 453 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_forward_dcl ( TAO_PSDL_Forward_Dcl forward_dcl  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Interface_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 504 of file PSDL_Node_Visitor.cpp.

{
  int type = TAO_PSDL_INTERFACE;
  this->node_visitor_ =
    this->visitor_factory_->make_visitor (type);

  if (this->node_visitor_ != 0)
    return this->node_visitor_->visit_forward_dcl (forward_dcl);

  return -1;
}

int TAO_PSDL_Node_Visitor::visit_identifier ( TAO_PSDL_Identifier identifier  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Enum_Type_Visitor, TAO_PSDL_Exception_Visitor, TAO_PSDL_Interface_Visitor, TAO_PSDL_Scope_Visitor, TAO_PSDL_Struct_Visitor, and TAO_PSDL_Type_Dcl_Visitor.

Definition at line 192 of file PSDL_Node_Visitor.cpp.

{
  if (this->identifiers_.size () == 0)
    {
      this->identifiers_.size (1);
      this->count_ = 0;
    }

  this->identifiers_ [this->count_] = identifier->value ();
  ++this->count_;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_init_dcl ( TAO_PSDL_Init_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 562 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_init_param_decl ( TAO_PSDL_Init_Param_Decl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 564 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_init_param_decls ( TAO_PSDL_Init_Param_Decls  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 563 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_interface ( TAO_PSDL_Interface interf  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 462 of file PSDL_Node_Visitor.cpp.

{
  if (interf->type_of_dcl ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_interface_body ( TAO_PSDL_Interface_Body interface_body  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 471 of file PSDL_Node_Visitor.cpp.

{
  if (interface_body->export_variable ()->accept (this) == -1)
    return -1;

  if (interface_body->interface_body () != 0)
    {
      if (interface_body->interface_body ()->accept (this) == -1)
        return -1;

    }
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_interface_dcl ( TAO_PSDL_Interface_Dcl interface_dcl  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Interface_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 486 of file PSDL_Node_Visitor.cpp.

{
  int type = TAO_PSDL_INTERFACE;
  this->node_visitor_ =
    this->visitor_factory_->make_visitor (type);

  if (this->node_visitor_ != 0)
    {
      this->node_visitor_->visit_interface_dcl (interface_dcl);
      this->node_visitor_->gen_code_for_si ();
    }
  else
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_interface_header ( TAO_PSDL_Interface_Header interface_header  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Interface_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 517 of file PSDL_Node_Visitor.cpp.

{
  int type = 325;
  this->node_visitor_ =
    this->visitor_factory_->make_visitor (type);

  if (this->node_visitor_ != 0)
    return this->node_visitor_->visit_interface_header (interface_header);
  else
    return -1;
}

int TAO_PSDL_Node_Visitor::visit_interface_inheritance_spec ( TAO_PSDL_Interface_Inheritance_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 544 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_interface_name ( TAO_PSDL_Interface_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 545 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_key_dcl ( TAO_PSDL_Key_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 162 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_literal ( TAO_PSDL_Literal  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 560 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_local_op_dcl ( TAO_PSDL_Local_Op_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 161 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_member ( TAO_PSDL_Member member  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 367 of file PSDL_Node_Visitor.cpp.

{
  if (member->type_spec ()->accept (this) == -1)
    return -1;

  if (member->declarators ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_member_list ( TAO_PSDL_Member_List member_list  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Exception_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 352 of file PSDL_Node_Visitor.cpp.

{
  if (member_list->member ()->accept (this) == -1)
    return -1;

  if (member_list->member_list () != 0)
    {
      if (member_list->member_list ()->accept (this) == -1)
        return -1;
    }

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_module ( TAO_PSDL_Module module  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Module_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 46 of file PSDL_Node_Visitor.cpp.

{
  this->node_visitor_ =
    this->visitor_factory_->make_visitor (module->type_of_node ());

  if (this->node_visitor_ != 0)
    {
      return this->node_visitor_->visit_module (module);
    }
  else
    {
      return -1;
    }
}

int TAO_PSDL_Node_Visitor::visit_mult_expr ( TAO_PSDL_Mult_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 407 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_op_dcl ( TAO_PSDL_Op_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 435 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_op_type_spec ( TAO_PSDL_Op_Type_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 447 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_or_expr ( TAO_PSDL_Or_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 402 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_param_dcl ( TAO_PSDL_Param_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 449 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_param_type_spec ( TAO_PSDL_Param_Type_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 452 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_parameter_dcls ( TAO_PSDL_Parameter_Dcls  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 448 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_positive_int_const ( TAO_PSDL_Positive_Int_Const  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 580 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_predefined_type ( TAO_PSDL_Predefined_Type predefined_type  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Enum_Type_Visitor, TAO_PSDL_Exception_Visitor, TAO_PSDL_Scope_Visitor, TAO_PSDL_Struct_Visitor, and TAO_PSDL_Type_Dcl_Visitor.

Definition at line 320 of file PSDL_Node_Visitor.cpp.

{
  if (predefined_type->type_one () != 0)
    {
      // @@ mainly for case 291:struct as of now.
      this->node_visitor_ =
        this->visitor_factory_->make_visitor (predefined_type->type_one ());

      if (this->node_visitor_ != 0)
        {
          int result =
            this->node_visitor_->visit_predefined_type (predefined_type);

          if (result != 0)
            return result;

          this->node_visitor_->gen_code_for_si ();
          this->node_visitor_->gen_code_for_sinline ();
        }
    }

  if (predefined_type->type_two () != 0)
    {}

  if (predefined_type->type_three () != 0)
    {}

  // @@ Abt predefined PSDL_Nodes later.
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_primary_expr ( TAO_PSDL_Primary_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 409 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_primary_key_dcl ( TAO_PSDL_Primary_Key_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 186 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_provides_dcl ( TAO_PSDL_Provides_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 446 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_psdl_concrete_state_type ( TAO_PSDL_Psdl_Concrete_State_Type  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 174 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_psdl_state_dcl ( TAO_PSDL_Psdl_State_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 106 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_psdl_state_type_spec ( TAO_PSDL_Psdl_State_Type_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 112 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_raises_expr ( TAO_PSDL_Raises_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 450 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_ref_rep_directive ( TAO_PSDL_Ref_Rep_Directive  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 175 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_scoped_name ( TAO_PSDL_Scoped_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 546 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_shift_expr ( TAO_PSDL_Shift_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 405 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_simple_declarator ( TAO_PSDL_Simple_Declarator simple_declarator  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 296 of file PSDL_Node_Visitor.cpp.

{
  if (simple_declarator->identifier ()->accept (this) == -1)
    return -1;

  if (simple_declarator->simple_declarator () != 0)
    {
      if (simple_declarator->simple_declarator ()->accept (this) == -1)
        return -1;
    }

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_simple_declarator_list ( TAO_PSDL_Simple_Declarator_List  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 311 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_simple_type_spec ( TAO_PSDL_Simple_Type_Spec simple_type_spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 239 of file PSDL_Node_Visitor.cpp.

{
  if (simple_type_spec->type_of_simple_type_spec ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_specification ( TAO_PSDL_Specification specification  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 23 of file PSDL_Node_Visitor.cpp.

{
  if (specification->definition ()->accept (this) == -1)
      return -1;

  if (specification->specification () != 0)
    {
      if (specification->specification ()->accept (this) == -1)
        return -1;
    }
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_state_member ( TAO_PSDL_State_Member  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 561 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome ( TAO_PSDL_Storagehome  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 176 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome_body ( TAO_PSDL_Storagehome_Body  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 178 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome_header ( TAO_PSDL_Storagehome_Header  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 177 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome_impl_spec ( TAO_PSDL_Storagehome_Impl_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 183 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome_inh_spec ( TAO_PSDL_Storagehome_Inh_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 180 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome_member ( TAO_PSDL_Storagehome_Member  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 179 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome_name ( TAO_PSDL_Storagehome_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 181 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagehome_scope ( TAO_PSDL_Storagehome_Scope  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 445 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype ( TAO_PSDL_Storagetype  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 440 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_body ( TAO_PSDL_Storagetype_Body  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 444 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_dcl ( TAO_PSDL_Storagetype_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 441 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_fwd_dcl ( TAO_PSDL_Storagetype_Fwd_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 442 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_header ( TAO_PSDL_Storagetype_Header  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 443 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_impl_spec ( TAO_PSDL_Storagetype_Impl_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 171 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_inh_spec ( TAO_PSDL_Storagetype_Inh_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 169 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_member ( TAO_PSDL_Storagetype_Member  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 168 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_name ( TAO_PSDL_Storagetype_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 170 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_storagetype_ref_type ( TAO_PSDL_Storagetype_Ref_Type  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 172 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_store_directive ( TAO_PSDL_Store_Directive  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 173 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_switch_body ( TAO_PSDL_Switch_Body  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 391 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_switch_type_spec ( TAO_PSDL_Switch_Type_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 385 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_template_type_spec ( TAO_PSDL_Template_Type_Spec template_type_spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 259 of file PSDL_Node_Visitor.cpp.

{
  if (template_type_spec->type_of_template_type_spec ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_type_dcl ( TAO_PSDL_Type_Dcl type_dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 207 of file PSDL_Node_Visitor.cpp.

{
 if (type_dcl->type_of_type_dcl ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_type_declarator ( TAO_PSDL_Type_Declarator type_declarator  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Scope_Visitor, TAO_PSDL_Type_Dcl_Visitor, and TAO_PSDL_Typecode_Defn.

Definition at line 216 of file PSDL_Node_Visitor.cpp.

{
  int type = TAO_PSDL_TYPEDEF;
  this->node_visitor_ =
    this->visitor_factory_->make_visitor (type);

  // Generates code into the client header
  if (this->node_visitor_ != 0)
      return this->node_visitor_->visit_type_declarator (type_declarator);
  else
    return -1;
}

int TAO_PSDL_Node_Visitor::visit_type_spec ( TAO_PSDL_Type_Spec type_spec  )  [virtual]

Reimplemented in Dump_Visitor, TAO_PSDL_Scope_Visitor, and TAO_PSDL_Struct_Visitor.

Definition at line 230 of file PSDL_Node_Visitor.cpp.

{
  if (type_spec->type_of_type_spec ()->accept (this) == -1)
    return -1;

  return 0;
}

int TAO_PSDL_Node_Visitor::visit_unary_expr ( TAO_PSDL_Unary_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 408 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_union_type ( TAO_PSDL_Union_Type  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 379 of file PSDL_Node_Visitor.cpp.

{
  return 0;
}

int TAO_PSDL_Node_Visitor::visit_value ( TAO_PSDL_Value  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 547 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_abs_dcl ( TAO_PSDL_Value_Abs_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 551 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_box_dcl ( TAO_PSDL_Value_Box_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 550 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_common_base ( TAO_PSDL_Value_Common_Base  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 548 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_dcl ( TAO_PSDL_Value_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 552 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_element ( TAO_PSDL_Value_Element  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 556 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_forward_dcl ( TAO_PSDL_Value_Forward_Dcl  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 549 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_header ( TAO_PSDL_Value_Header  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 553 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_inheritance_spec ( TAO_PSDL_Value_Inheritance_Spec  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 554 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_value_name ( TAO_PSDL_Value_Name  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 555 of file PSDL_Node_Visitor.cpp.

{ return 0; }

int TAO_PSDL_Node_Visitor::visit_xor_expr ( TAO_PSDL_Xor_Expr  )  [virtual]

Reimplemented in Dump_Visitor, and TAO_PSDL_Scope_Visitor.

Definition at line 403 of file PSDL_Node_Visitor.cpp.

{ return 0; }


Member Data Documentation

Definition at line 363 of file PSDL_Node_Visitor.h.

Definition at line 361 of file PSDL_Node_Visitor.h.

Definition at line 364 of file PSDL_Node_Visitor.h.

Definition at line 362 of file PSDL_Node_Visitor.h.

Definition at line 365 of file PSDL_Node_Visitor.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines