aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/traversal/particle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/traversal/particle.cxx')
-rw-r--r--xsd-frontend/traversal/particle.cxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/xsd-frontend/traversal/particle.cxx b/xsd-frontend/traversal/particle.cxx
new file mode 100644
index 0000000..90e9eb2
--- /dev/null
+++ b/xsd-frontend/traversal/particle.cxx
@@ -0,0 +1,31 @@
+// file : xsd-frontend/traversal/particle.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2006-2009 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#include <xsd-frontend/traversal/particle.hxx>
+
+namespace XSDFrontend
+{
+ namespace Traversal
+ {
+ // Particle
+ //
+ Void Particle::
+ traverse (Type& c)
+ {
+ pre (c);
+ post (c);
+ }
+
+ Void Particle::
+ pre (Type&)
+ {
+ }
+
+ Void Particle::
+ post (Type&)
+ {
+ }
+ }
+}