Public Member Functions | Private Member Functions | Private Attributes

Dump_Visitor Class Reference

#include <Dump_Visitor.h>

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

List of all members.

Public Member Functions

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

Private Member Functions

void print_depth (int depth)

Private Attributes

int depth_

Detailed Description

Definition at line 5 of file Dump_Visitor.h.


Constructor & Destructor Documentation

Dump_Visitor::Dump_Visitor ( int  depth  ) 

Definition at line 6 of file Dump_Visitor.cpp.

  : depth_ (depth)
{
}

Dump_Visitor::~Dump_Visitor (  ) 

Definition at line 11 of file Dump_Visitor.cpp.

{

}


Member Function Documentation

void Dump_Visitor::print_depth ( int  depth  )  [private]

Definition at line 1645 of file Dump_Visitor.cpp.

{
  for (int i = 0; i != depth; ++i)
    {
      cout << " ";
    }
}

int Dump_Visitor::visit_abstract_storagehome ( TAO_PSDL_Abstract_Storagehome  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 143 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagehome_body ( TAO_PSDL_Abstract_Storagehome_Body  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 171 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagehome_dcl ( TAO_PSDL_Abstract_Storagehome_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 157 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagehome_fwd_dcl ( TAO_PSDL_Abstract_Storagehome_Fwd_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 150 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagehome_header ( TAO_PSDL_Abstract_Storagehome_Header  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 164 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagehome_inh_spec ( TAO_PSDL_Abstract_Storagehome_Inh_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 185 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagehome_member ( TAO_PSDL_Abstract_Storagehome_Member  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 178 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagehome_name ( TAO_PSDL_Abstract_Storagehome_Name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 192 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype ( TAO_PSDL_Abstract_Storagetype  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 66 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_body ( TAO_PSDL_Abstract_Storagetype_Body  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 94 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_dcl ( TAO_PSDL_Abstract_Storagetype_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 73 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_fwd_dcl ( TAO_PSDL_Abstract_Storagetype_Fwd_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 80 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_header ( TAO_PSDL_Abstract_Storagetype_Header  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 87 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_inh_spec ( TAO_PSDL_Abstract_Storagetype_Inh_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 108 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_member ( TAO_PSDL_Abstract_Storagetype_Member  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 101 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_name ( TAO_PSDL_Abstract_Storagetype_Name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 115 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_abstract_storagetype_ref_type ( TAO_PSDL_Abstract_Storagetype_Ref_Type   )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 136 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_add_expr ( TAO_PSDL_Add_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1051 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_and_expr ( TAO_PSDL_And_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1037 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_array_declarator ( TAO_PSDL_Array_Declarator  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1534 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_attr_dcl ( TAO_PSDL_Attr_Dcl attr_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1608 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "ATTR_DCL ";

  if (attr_dcl->readonly () != 0)
    {
      cout << "{" << attr_dcl->readonly () << "}" << endl;
    }

  if (attr_dcl->param_type_spec ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);

  if (attr_dcl->simple_declarator ()->accept (&body_visitor) == -1)
    return -1;

  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 501 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 25);
  cout << "BASE TYPE_SPEC " << endl;
  if (base_type_spec->type_of_base_type_spec ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_case_case ( TAO_PSDL_Case  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 960 of file Dump_Visitor.cpp.

{
 // @@ NOT YET SUPPORTED
 return 0;
}

int Dump_Visitor::visit_case_label ( TAO_PSDL_Case_Label  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 967 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_catalog ( TAO_PSDL_Catalog  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 239 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_catalog_body ( TAO_PSDL_Catalog_Body  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 260 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_catalog_inh_spec ( TAO_PSDL_Catalog_Inh_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 246 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_catalog_member ( TAO_PSDL_Catalog_Member  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 267 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_catalog_name ( TAO_PSDL_Catalog_Name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 253 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_complex_declarator ( TAO_PSDL_Complex_Declarator complex_declarator  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 631 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 25);
  cout << "COMPLEX_DECLARATOR {" << endl;

  if (complex_declarator->array_declarator ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_const_dcl ( TAO_PSDL_Const_Dcl const_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 981 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "CONST_DCL" << endl;

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

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (const_dcl->identifier ()->accept (&body_visitor) == -1)
    return -1;

  if (const_dcl->const_exp ()->accept (&body_visitor) == -1)
    return -1;

  return 0;
}

int Dump_Visitor::visit_const_exp ( TAO_PSDL_Const_Exp  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1016 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_const_type ( TAO_PSDL_Const_Type const_type  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1004 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "CONST_TYPE";
  if (const_type->type ()->accept (this) == -1)
    return -1;

  return 0;
}

int Dump_Visitor::visit_constr_forward_decl ( TAO_PSDL_Constr_Forward_Decl constr_fwd_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1294 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "CONSTR_FWD_DCL ";
  if (constr_fwd_dcl->type ()->accept (this) == -1)
    return -1;

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

  return 0;
}

int Dump_Visitor::visit_constr_type_spec ( TAO_PSDL_Constr_Type_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 522 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_context_expr ( TAO_PSDL_Context_Expr context_expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1257 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "CONTEXT_EXPR ";
  if (context_expr->string_literal ()->accept (this) == -1)
    return -1;
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 548 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 20);
  cout << "DECLARATOR {" << endl;
  if (declarator->type_of_declarator ()->accept (this) == -1)
    return -1;
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 529 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);
  cout << "DECLARATORS {" << endl;

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

  if (declarators->set_of_declarators () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);

      if (declarators->set_of_declarators ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 56 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 5);
  cout << "DEFINITION {" << endl;
  if (definition->definition_type ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_element_spec ( TAO_PSDL_Element_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 974 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
 return 0;
 }

int Dump_Visitor::visit_enumerator ( TAO_PSDL_Enumerator enumerator  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1548 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "ENUMERATOR {" << endl;
  if (enumerator->identifier ()->accept (this) == -1)
    return -1;

  if (enumerator->enumerator () != 0)
    {
      Dump_Visitor body_visitor (this->depth_);
      if (enumerator->enumerator ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1079 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "EXCEPT_DCL " << endl;
  if (except_dcl->identifier ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (except_dcl->member_list () != 0)
    {
      if (except_dcl->member_list ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1397 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "EXPORT_DCL {" << endl;
  print_depth (this->depth_ + 5);
  if (export_dcl->type_of_export_one ()->accept (this) == -1)
    return -1;

  if (export_dcl->type_of_export_two () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (export_dcl->type_of_export_two ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

int Dump_Visitor::visit_factory_dcl ( TAO_PSDL_Factory_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1631 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_factory_parameters ( TAO_PSDL_Factory_Parameters  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1601 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_fixed_array_size ( TAO_PSDL_Fixed_Array_Size  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1541 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_fixed_pt_type ( TAO_PSDL_Fixed_Pt_Type fixed_pt_type  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1279 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "FIXED_PT_TYPE ";
  if (fixed_pt_type->positive_int_const_one ()->accept (this) == -1)
    return -1;

  if (fixed_pt_type->positive_int_const_two ()->accept (this) == -1)
    return -1;

  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1357 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "FORWARD_DCL {" << endl;
  if (forward_dcl->identifier ()->accept (this) == -1)
    return -1;

  if (forward_dcl->type () != 0)
    {
      cout << "{" << forward_dcl->type () << "}" << endl;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 33 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 40);
  cout << "IDENTIFIER {" << identifier->value () << "}\n" << endl;
  return 0;
}

int Dump_Visitor::visit_init_dcl ( TAO_PSDL_Init_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1580 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_init_param_decl ( TAO_PSDL_Init_Param_Decl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1594 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_init_param_decls ( TAO_PSDL_Init_Param_Decls  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1587 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_interface ( TAO_PSDL_Interface interface  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1309 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "INTERFACE {" << endl;
  if (interface->type_of_dcl ()->accept (this) == -1)
    return -1;

  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1321 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "INTERFACE_BODY {" << endl;
  if (interface_body->export_variable ()->accept (this) == -1)
    return -1;

  if (interface_body->interface_body () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (interface_body->interface_body ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1339 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "INTERFACE_DCL {" << endl;
  if (interface_dcl->interface_header ()->accept (this) == -1)
    return -1;

  if (interface_dcl->interface_body () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (interface_dcl->interface_body ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1373 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "INTERFACE_HEADER {" << endl;
  if (interface_header->identifier ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (interface_header->type () != 0)
    {
      if (interface_header->type ()->accept (&body_visitor) == -1)
        return -1;
    }

  if (interface_header->interface_inheritance_spec () != 0)
    {
      if (interface_header->interface_inheritance_spec ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

int Dump_Visitor::visit_interface_inheritance_spec ( TAO_PSDL_Interface_Inheritance_Spec interface_inh_spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1416 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "INTERFACE_INH_SPEC ";
  if (interface_inh_spec->interface_name ()->accept (this) == -1)
    return -1;

  return 0;
}

int Dump_Visitor::visit_interface_name ( TAO_PSDL_Interface_Name interface_name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1428 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "INTERFACE_NAME ";
  if (interface_name->scoped_name ()->accept (this) == -1)
    return -1;

  if (interface_name->interface_name () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (interface_name->interface_name ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

int Dump_Visitor::visit_key_dcl ( TAO_PSDL_Key_Dcl key_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 224 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "KEY_DCL {" << endl;
  if (key_dcl->identifier ()->accept (this) == -1)
    return -1;

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

int Dump_Visitor::visit_literal ( TAO_PSDL_Literal  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1566 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_local_op_dcl ( TAO_PSDL_Local_Op_Dcl local_op_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 199 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "LOCAL_OP_DCL {" << endl;
  if (local_op_dcl->op_type_spec ()->accept (this) == -1)
    return -1;

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

  Dump_Visitor body_visitor (this->depth_ + 1);

  if (local_op_dcl->parameter_dcls ()->accept (this) == -1)
    return -1;

  if (local_op_dcl->raises_expr () != 0)
    {
      if (local_op_dcl->raises_expr ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 923 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "MEMBER {" << endl;
  if (member->type_spec ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);

  if (member->declarators ()->accept (&body_visitor) == -1)
    return -1;
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 806 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);

  cout << "MEMBER_LIST {" << endl;
  if (member_list->member ()->accept (this) == -1)
    return -1;

  if (member_list->member_list () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);

      if (member_list->member_list ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 17 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "MODULE {" << endl;
  if (module->identifier ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (module->specification ()->accept (&body_visitor) == -1)
    return -1;

  return 0;
}

int Dump_Visitor::visit_mult_expr ( TAO_PSDL_Mult_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1058 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_op_dcl ( TAO_PSDL_Op_Dcl op_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1097 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "OP_DCL {" << endl;

  if (op_dcl->op_attribute () != 0)
    if (op_dcl->op_attribute ()->accept (this) == -1)
      return -1;

  if (op_dcl->op_type_spec ()->accept (this) == -1)
    return -1;

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

  Dump_Visitor body_visitor (this->depth_ + 1);

  if (op_dcl->parameter_dcls ()->accept (this) == -1)
    return -1;

  if (op_dcl->raises_expr () != 0)
    if (op_dcl->raises_expr ()->accept (&body_visitor) == -1)
      return -1;

  if (op_dcl->context_expr () != 0)
    if (op_dcl->context_expr ()->accept (&body_visitor) == -1)
      return -1;

  return 0;
}

int Dump_Visitor::visit_op_type_spec ( TAO_PSDL_Op_Type_Spec op_type_spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1185 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "OP_TYPE_SPEC {" << endl;
  if (op_type_spec->type () != 0)
    {
      cout << "Type {" << op_type_spec->type () << "}" << endl;
    }

  if (op_type_spec->type_spec () != 0)
    if (op_type_spec->type_spec ()->accept (this) == -1)
      return -1;

  return 0;
}

int Dump_Visitor::visit_or_expr ( TAO_PSDL_Or_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1023 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_param_dcl ( TAO_PSDL_Param_Dcl param_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1216 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "PARAM_DCL {" << endl;
  if (param_dcl->param_attribute ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);

  if (param_dcl->param_type_spec ()->accept (&body_visitor) == -1)
    return -1;

  Dump_Visitor body_visitor_two (this->depth_ + 2);

  if (param_dcl->simple_declarator ()->accept (&body_visitor) == -1)
    return -1;

  if (param_dcl->param_dcl () != 0)
    if (param_dcl->param_dcl ()->accept (&body_visitor) == -1)
      return -1;

  return 0;
}

int Dump_Visitor::visit_param_type_spec ( TAO_PSDL_Param_Type_Spec param_type_spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1268 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "PARAM_TYPE_SPEC {" << endl;
  if (param_type_spec->type_of_param ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_parameter_dcls ( TAO_PSDL_Parameter_Dcls parameter_dcls  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1203 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "PARAMETER_DCLS {" << endl;
  if (parameter_dcls->param_dcl () != 0)
    if (parameter_dcls->param_dcl ()->accept (this) == -1)
      return -1;

  return 0;
}

int Dump_Visitor::visit_positive_int_const ( TAO_PSDL_Positive_Int_Const  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1638 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 688 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 40);
  cout << "PREDEFINED_TYPE " ;

  if (predefined_type->type_one () != 0)
    cout << "{" << predefined_type->type_one () << "}" << endl;

  if (predefined_type->type_two () != 0)
    cout << "{" << predefined_type->type_two () << "}" << endl;

  if (predefined_type->type_three () != 0)
    cout << "{" << predefined_type->type_three () << "}" << endl;

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (predefined_type->type_of_variable_one () != 0)
    {
      cout << endl;
      if (predefined_type->type_of_variable_one ()->accept (&body_visitor) == -1)
        return -1;
    }
  if (predefined_type->type_of_variable_two () != 0)
    {
      cout << endl;
      if (predefined_type->type_of_variable_two ()->accept (&body_visitor) == -1)
        return -1;
    }
  if (predefined_type->type_of_variable_three () != 0)
    {
      cout << endl;
      if (predefined_type->type_of_variable_three ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

int Dump_Visitor::visit_primary_expr ( TAO_PSDL_Primary_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1072 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_primary_key_dcl ( TAO_PSDL_Primary_Key_Dcl primary_key_dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 435 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "PRIMARY_KEY_DCL {" << endl;
  if (primary_key_dcl->identifier ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_provides_dcl ( TAO_PSDL_Provides_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1178 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_psdl_concrete_state_type ( TAO_PSDL_Psdl_Concrete_State_Type  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 321 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_psdl_state_dcl ( TAO_PSDL_Psdl_State_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 122 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_psdl_state_type_spec ( TAO_PSDL_Psdl_State_Type_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 129 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_raises_expr ( TAO_PSDL_Raises_Expr raises_expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1242 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_);

  cout << "RAISES_EXPR ";
  if (raises_expr->first_scoped_name ()->accept (this) == -1)
    return -1;

  if (raises_expr->second_scoped_name () != 0)
    if (raises_expr->first_scoped_name ()->accept (this) == -1)
      return -1;
  return 0;
}

int Dump_Visitor::visit_ref_rep_directive ( TAO_PSDL_Ref_Rep_Directive  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 328 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_scoped_name ( TAO_PSDL_Scoped_Name scoped_name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1446 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 40);

  cout << "SCOPED_NAME " << endl;
  if (scoped_name->identifier ()->accept (this) == -1)
    return -1;

  if (scoped_name->scoped_name () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (scoped_name->scoped_name ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

int Dump_Visitor::visit_shift_expr ( TAO_PSDL_Shift_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1044 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 558 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 25);
  cout << "SIMPLE_DECLARATOR {" << endl;

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

  if (simple_declarator->simple_declarator () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (simple_declarator->simple_declarator ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

int Dump_Visitor::visit_simple_declarator_list ( TAO_PSDL_Simple_Declarator_List simple_decl_list  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 576 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 25);
  cout << "SIMPLE_DECLARATOR_LIST {" << endl;

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

  if (simple_decl_list->simple_declarator_list () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (simple_decl_list->simple_declarator_list ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 491 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 25);
  cout << "SIMPLE TYPE_SPEC {" << endl;
  if (simple_type_spec->type_of_simple_type_spec ()->accept (this) == -1)
    return -1;
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 41 of file Dump_Visitor.cpp.

{
  cout << "SPECIFICATION {" << endl;
  if (specification->definition ()->accept (this) == -1)
    return -1;
  if (specification->specification () != 0)
    {
      Dump_Visitor body_visitor (this->depth_ + 1);
      if (specification->specification ()->accept (&body_visitor) == -1)
        return -1;
    }
  return 0;
}

int Dump_Visitor::visit_state_member ( TAO_PSDL_State_Member  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1573 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagehome ( TAO_PSDL_Storagehome storagehome  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 335 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGEHOME {" << endl;
  if (storagehome->storagehome_header ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (storagehome->storagehome_body () != 0)
    if (storagehome->storagehome_body ()->accept (&body_visitor) == -1)
      return -1;
  return 0;
}

int Dump_Visitor::visit_storagehome_body ( TAO_PSDL_Storagehome_Body sh_body  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 375 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGEHOME_BODY {" << endl;
  if (sh_body->storagehome_member ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (sh_body->storagehome_body () != 0)
    if (sh_body->storagehome_body ()->accept (&body_visitor) == -1)
      return -1;
  return 0;
}

int Dump_Visitor::visit_storagehome_header ( TAO_PSDL_Storagehome_Header sh_header  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 351 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGEHOME_HEADER {" << endl;
  if (sh_header->identifier ()->accept (this) == -1)
    return -1;

  if (sh_header->storagetype_name ()->accept (this) == -1)
    return -1;

  Dump_Visitor body_visitor (this->depth_ + 1);
  if (sh_header->storagehome_inh_spec () != 0)
    if (sh_header->storagehome_inh_spec ()->accept (&body_visitor) == -1)
      return -1;

  if (sh_header->storagehome_impl_spec () != 0)
    if (sh_header->storagehome_impl_spec ()->accept (&body_visitor) == -1)
      return -1;

  return 0;
}

int Dump_Visitor::visit_storagehome_impl_spec ( TAO_PSDL_Storagehome_Impl_Spec sh_impl_spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 424 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGEHOME_IMPL_SPEC {" << endl;
  if (sh_impl_spec->abstract_storagehome_name ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_storagehome_inh_spec ( TAO_PSDL_Storagehome_Inh_Spec sh_inh_spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 402 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGEHOME_INH_SPEC {" << endl;
  if (sh_inh_spec->storagehome_name ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_storagehome_member ( TAO_PSDL_Storagehome_Member sh_member  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 391 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGEHOME_MEMBER {" << endl;
  if (sh_member->key_dcl ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_storagehome_name ( TAO_PSDL_Storagehome_Name sh_name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 413 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGEHOME_NAME {" << endl;
  if (sh_name->scoped_name ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_storagehome_scope ( TAO_PSDL_Storagehome_Scope  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1171 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype ( TAO_PSDL_Storagetype storagetype  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1130 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGETYPE {" << endl;

  if (storagetype->declaration () != 0)
    if (storagetype->declaration ()->accept (this) == -1)
      return -1;
  return 0;
}

int Dump_Visitor::visit_storagetype_body ( TAO_PSDL_Storagetype_Body  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1164 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype_dcl ( TAO_PSDL_Storagetype_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1143 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype_fwd_dcl ( TAO_PSDL_Storagetype_Fwd_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1150 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype_header ( TAO_PSDL_Storagetype_Header  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1157 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype_impl_spec ( TAO_PSDL_Storagetype_Impl_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 300 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype_inh_spec ( TAO_PSDL_Storagetype_Inh_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 281 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype_member ( TAO_PSDL_Storagetype_Member  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 274 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_storagetype_name ( TAO_PSDL_Storagetype_Name storagetype_name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 288 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);

  cout << "STORAGETYPE_NAME {" << endl;
  if (storagetype_name->scoped_name ()->accept (this) == -1)
    return -1;

  return 0;
}

int Dump_Visitor::visit_storagetype_ref_type ( TAO_PSDL_Storagetype_Ref_Type  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 307 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_store_directive ( TAO_PSDL_Store_Directive  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 314 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_switch_body ( TAO_PSDL_Switch_Body  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 953 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_switch_type_spec ( TAO_PSDL_Switch_Type_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 946 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 511 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 30);
  cout << "TEMPLATE_TYPE_SPEC {" << endl;

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

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 446 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 10);
  cout << "TYPE_DCL {" << endl;

  print_depth (this->depth_ + 15);
  if (type_dcl->key_word () != 0)
    {
      cout << "KEY_WORD------------------------ {";
      cout << type_dcl->key_word () << "}" << endl;
    }

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

  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 465 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 15);
  cout << "TYPE_DECLARATOR {" << endl;

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

  Dump_Visitor body_visitor (this->depth_);
  if (type_declarator->declarators ()->accept (&body_visitor) == -1)
    return -1;

  return 0;
}

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

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 481 of file Dump_Visitor.cpp.

{
  print_depth (this->depth_ + 20);
  cout << "TYPE_SPEC {" << endl;
  if (type_spec->type_of_type_spec ()->accept (this) == -1)
    return -1;
  return 0;
}

int Dump_Visitor::visit_unary_expr ( TAO_PSDL_Unary_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1065 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_union_type ( TAO_PSDL_Union_Type  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 939 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value ( TAO_PSDL_Value  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1464 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_abs_dcl ( TAO_PSDL_Value_Abs_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1492 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_box_dcl ( TAO_PSDL_Value_Box_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1485 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_common_base ( TAO_PSDL_Value_Common_Base  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1471 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_dcl ( TAO_PSDL_Value_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1499 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_element ( TAO_PSDL_Value_Element  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1527 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_forward_dcl ( TAO_PSDL_Value_Forward_Dcl  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1478 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_header ( TAO_PSDL_Value_Header  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1506 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_inheritance_spec ( TAO_PSDL_Value_Inheritance_Spec  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1513 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_value_name ( TAO_PSDL_Value_Name  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1520 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}

int Dump_Visitor::visit_xor_expr ( TAO_PSDL_Xor_Expr  )  [virtual]

Reimplemented from TAO_PSDL_Node_Visitor.

Definition at line 1030 of file Dump_Visitor.cpp.

{
  // @@ NOT YET SUPPORTED
  return 0;
}


Member Data Documentation

int Dump_Visitor::depth_ [private]

Definition at line 154 of file Dump_Visitor.h.


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