diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-23 17:00:00 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-23 17:00:00 +0000 |
commit | 287fa6d8b442a118650877c5b43b7802d2f99305 (patch) | |
tree | 8de6116f35ab63cabe7b93310e4e1afcf26bbc31 /TAO/TAO_IDL/be/be_module.cpp | |
parent | bf12751e22e5d8bc31091b25ccbc4a9c5b1c71a6 (diff) | |
download | ATCD-287fa6d8b442a118650877c5b43b7802d2f99305.tar.gz |
ChangeLogTag: Wed Aug 23 11:53:43 2000 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_module.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_module.cpp | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/TAO/TAO_IDL/be/be_module.cpp b/TAO/TAO_IDL/be/be_module.cpp index 058134399fe..32c7d3bf60c 100644 --- a/TAO/TAO_IDL/be/be_module.cpp +++ b/TAO/TAO_IDL/be/be_module.cpp @@ -25,28 +25,37 @@ ACE_RCSID(be, be_module, "$Id$") -/* - * BE_Module - */ be_module::be_module (void) { } -be_module::be_module (UTL_ScopedName *n, UTL_StrList *p) - : AST_Module (n, p), - AST_Decl (AST_Decl::NT_module, n, p), +be_module::be_module (UTL_ScopedName *n, + UTL_StrList *p) + : AST_Module (n, + p), + AST_Decl (AST_Decl::NT_module, + n, + p), UTL_Scope (AST_Decl::NT_module) { } -// compute the size type of the node in question +// Compute the size type of the node in question. int be_module::compute_size_type (void) { - // our size does not matter + // Our size does not matter. return 0; } +void +be_module::destroy (void) +{ + // Call the destroy methods of our base classes. + be_scope::destroy (); + be_decl::destroy (); +} + int be_module::accept (be_visitor *visitor) { |