summaryrefslogtreecommitdiff
path: root/libxsd-frontend/xsd-frontend/traversal/particle.hxx
blob: 5346ae9f3b0a6e87ee7719b38cfe2b9ce7fbf32b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// file      : xsd-frontend/traversal/particle.hxx
// copyright : Copyright (c) 2006-2014 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef XSD_FRONTEND_TRAVERSAL_PARTICLE_HXX
#define XSD_FRONTEND_TRAVERSAL_PARTICLE_HXX

#include <xsd-frontend/traversal/elements.hxx>
#include <xsd-frontend/semantic-graph/particle.hxx>

namespace XSDFrontend
{
  namespace Traversal
  {
    struct Particle : Node<SemanticGraph::Particle>
    {
      virtual void
      traverse (Type&);

      virtual void
      pre (Type&);

      virtual void
      post (Type&);
    };
  }
}

#endif  // XSD_FRONTEND_TRAVERSAL_PARTICLE_HXX