diff options
Diffstat (limited to 'cli/traversal/option.cxx')
-rw-r--r-- | cli/traversal/option.cxx | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/cli/traversal/option.cxx b/cli/traversal/option.cxx deleted file mode 100644 index ff5dcce..0000000 --- a/cli/traversal/option.cxx +++ /dev/null @@ -1,59 +0,0 @@ -// file : cli/traversal/option.cxx -// author : Boris Kolpackov <boris@codesynthesis.com> -// license : MIT; see accompanying LICENSE file - -#include <cli/traversal/option.hxx> -#include <cli/traversal/expression.hxx> - -namespace traversal -{ - // belongs - // - void belongs:: - traverse (type& e) - { - dispatch (e.type ()); - } - - // initialized - // - void initialized:: - traverse (type& e) - { - dispatch (e.expression ()); - } - - // option - // - void option:: - traverse (type& o) - { - pre (o); - belongs (o); - if (o.initialized_p ()) - initialized (o); - post (o); - } - - void option:: - pre (type&) - { - } - - void option:: - belongs (type& o) - { - belongs (o, edge_traverser ()); - } - - void option:: - initialized (type& o) - { - initialized (o, edge_traverser ()); - } - - void option:: - post (type&) - { - } -} |