summaryrefslogtreecommitdiff
path: root/libxsd-frontend/xsd-frontend/traversal/attribute.hxx
blob: feb6b3135179c7a11563ee5e1fd4466db4c3ca3f (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
30
31
32
33
34
35
36
37
38
39
40
41
// file      : xsd-frontend/traversal/attribute.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef XSD_FRONTEND_TRAVERSAL_ATTRIBUTE_HXX
#define XSD_FRONTEND_TRAVERSAL_ATTRIBUTE_HXX

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

#include <xsd-frontend/semantic-graph/attribute.hxx>


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

      virtual Void
      pre (Type&);

      virtual Void
      belongs (Type&, EdgeDispatcherBase&);

      virtual Void
      belongs (Type&);

      virtual Void
      name (Type&);

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

#endif  // XSD_FRONTEND_TRAVERSAL_ATTRIBUTE_HXX