summaryrefslogtreecommitdiff
path: root/cli/traversal/unit.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-08 14:51:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-27 11:38:53 +0300
commit720c5a33b6a49cf328fdd7611f49153cf8f60247 (patch)
tree9725f3d1f42ec90fde84520f49647edea013ce5e /cli/traversal/unit.hxx
parent3183f3bb927a90783ae0aeaf190a0919377aabe4 (diff)
Separate tests and examples into individual packages
Also make cli module to be explicitly enabled via the config.cli configuration variable.
Diffstat (limited to 'cli/traversal/unit.hxx')
-rw-r--r--cli/traversal/unit.hxx58
1 files changed, 0 insertions, 58 deletions
diff --git a/cli/traversal/unit.hxx b/cli/traversal/unit.hxx
deleted file mode 100644
index eab42aa..0000000
--- a/cli/traversal/unit.hxx
+++ /dev/null
@@ -1,58 +0,0 @@
-// file : cli/traversal/unit.hxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
-// license : MIT; see accompanying LICENSE file
-
-#ifndef CLI_TRAVERSAL_UNIT_HXX
-#define CLI_TRAVERSAL_UNIT_HXX
-
-#include <cli/traversal/elements.hxx>
-#include <cli/semantics/unit.hxx>
-
-namespace traversal
-{
- struct cxx_includes: edge<semantics::cxx_includes>
- {
- cxx_includes ()
- {
- }
-
- cxx_includes (node_dispatcher& n)
- {
- node_traverser (n);
- }
-
- virtual void
- traverse (type&);
- };
-
- struct cli_includes: edge<semantics::cli_includes>
- {
- cli_includes ()
- {
- }
-
- cli_includes (node_dispatcher& n)
- {
- node_traverser (n);
- }
-
- virtual void
- traverse (type&);
- };
-
- struct cxx_unit: node<semantics::cxx_unit> {};
-
- struct cli_unit: scope_template<semantics::cli_unit>
- {
- virtual void
- traverse (type&);
-
- virtual void
- pre (type&);
-
- virtual void
- post (type&);
- };
-}
-
-#endif // CLI_TRAVERSAL_UNIT_HXX