diff options
Diffstat (limited to 'CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Native.cpp')
-rw-r--r-- | CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Native.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Native.cpp b/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Native.cpp deleted file mode 100644 index 162fd1d5bfe..00000000000 --- a/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Native.cpp +++ /dev/null @@ -1,51 +0,0 @@ -// file : CCF/IDL2/SemanticAction/Impl/Native.cpp -// author : Boris Kolpackov <boris@dre.vanderbilt.edu> -// cvs-id : $Id$ - -#include "CCF/IDL2/SemanticGraph/Native.hpp" -#include "CCF/IDL2/SemanticAction/Impl/Native.hpp" - -#include <iostream> - -using std::cerr; -using std::endl; - -namespace CCF -{ - namespace IDL2 - { - namespace SemanticAction - { - namespace Impl - { - using namespace SemanticGraph; - - Native:: - Native (Context& c) - : Base (c) - { - } - - void Native:: - name (SimpleIdentifierPtr const& id) - { - if (ctx.trace ()) cerr << "native " << id << endl; - - SimpleName name (id->lexeme ()); - - SemanticGraph::Native& n ( - ctx.tu ().new_node<SemanticGraph::Native> ( - ctx.file (), id->line ())); - - ctx.tu ().new_edge<Defines> (ctx.scope (), n, name); - } - - void Native:: - end () - { - if (ctx.trace ()) cerr << "end" << endl; - } - } - } - } -} |