diff options
Diffstat (limited to 'TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp')
-rw-r--r-- | TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp b/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp deleted file mode 100644 index 577b426e73c..00000000000 --- a/TAO/CIAO/CCF/CCF/CIDL/CIDL_SyntaxTree.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// $Id$ -#include "CIDL_Traversal.hpp" -#include "CIDL_SyntaxTree.hpp" - -namespace CIDL -{ - namespace SyntaxTree - { - using CCF::Traversal::try_visit; - - namespace - { - //@@ repetition of what's already in IDL2 & IDL3 - bool - try_visit_scope (CCF::Traversal::Visitor* v, - ScopePtr const& node) - { - return try_visit<Traversal::Scope> ( - &Traversal::Scope::visit_scope, - v, - node); - } - } - - // - // Composition - // - - void Composition:: - accept (CCF::Traversal::Visitor* v) - { - CompositionPtr self (ReferenceCounting::add_ref (this)); - - if (!try_visit<Traversal::Composition> ( - &Traversal::Composition::visit_composition, - v, - self)) - { - try_visit_scope (v, self); - } - } - - // - // Home - // - - void HomeExecutor:: - accept (CCF::Traversal::Visitor* v) - { - HomeExecutorPtr self (ReferenceCounting::add_ref (this)); - - if (!try_visit<Traversal::HomeExecutor> ( - &Traversal::HomeExecutor::visit_home_executor, - v, - self)) - { - try_visit_scope (v, self); - } - } - } -} |