summaryrefslogtreecommitdiff
path: root/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd-frontend/xsd-frontend/traversal/enumeration.cxx')
-rw-r--r--libxsd-frontend/xsd-frontend/traversal/enumeration.cxx31
1 files changed, 15 insertions, 16 deletions
diff --git a/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx b/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx
index a8a49a5..124606f 100644
--- a/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx
+++ b/libxsd-frontend/xsd-frontend/traversal/enumeration.cxx
@@ -1,6 +1,5 @@
// file : xsd-frontend/traversal/enumeration.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
-// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd-frontend/traversal/enumeration.hxx>
@@ -11,7 +10,7 @@ namespace XSDFrontend
{
// Enumeration
//
- Void Enumeration::
+ void Enumeration::
traverse (Type& e)
{
pre (e);
@@ -21,30 +20,30 @@ namespace XSDFrontend
post (e);
}
- Void Enumeration::
+ void Enumeration::
pre (Type&)
{
}
- Void Enumeration::
+ void Enumeration::
name (Type&)
{
}
- Void Enumeration::
+ void Enumeration::
inherits (Type& e)
{
inherits (e, *this);
}
- Void Enumeration::
- inherits (Type& e, EdgeDispatcherBase& d)
+ void Enumeration::
+ inherits (Type& e, EdgeDispatcher& d)
{
if (e.inherits_p ())
d.dispatch (e.inherits ());
}
- Void Enumeration::
+ void Enumeration::
post (Type&)
{
}
@@ -52,7 +51,7 @@ namespace XSDFrontend
// Enumerator
//
- Void Enumerator::
+ void Enumerator::
traverse (Type& e)
{
pre (e);
@@ -61,29 +60,29 @@ namespace XSDFrontend
post (e);
}
- Void Enumerator::
+ void Enumerator::
pre (Type&)
{
}
- Void Enumerator::
- belongs (Type& e, EdgeDispatcherBase& d)
+ void Enumerator::
+ belongs (Type& e, EdgeDispatcher& d)
{
d.dispatch (e.belongs ());
}
- Void Enumerator::
+ void Enumerator::
belongs (Type& e)
{
belongs (e, edge_traverser ());
}
- Void Enumerator::
+ void Enumerator::
name (Type&)
{
}
- Void Enumerator::
+ void Enumerator::
post (Type&)
{
}