From a15cf65c44d5c224169c32ef5495b68c758134b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 18 May 2014 16:08:14 +0200 Subject: Imported Upstream version 3.3.0.2 --- .../xsd-frontend/traversal/enumeration.hxx | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 libxsd-frontend/xsd-frontend/traversal/enumeration.hxx (limited to 'libxsd-frontend/xsd-frontend/traversal/enumeration.hxx') diff --git a/libxsd-frontend/xsd-frontend/traversal/enumeration.hxx b/libxsd-frontend/xsd-frontend/traversal/enumeration.hxx new file mode 100644 index 0000000..c6d7f04 --- /dev/null +++ b/libxsd-frontend/xsd-frontend/traversal/enumeration.hxx @@ -0,0 +1,60 @@ +// file : xsd-frontend/traversal/enumeration.hxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +#ifndef XSD_FRONTEND_TRAVERSAL_ENUMERATION_HXX +#define XSD_FRONTEND_TRAVERSAL_ENUMERATION_HXX + +#include +#include + +namespace XSDFrontend +{ + namespace Traversal + { + struct Enumeration : ScopeTemplate + { + virtual Void + traverse (Type&); + + virtual Void + pre (Type&); + + virtual Void + name (Type&); + + virtual Void + inherits (Type&); + + Void + inherits (Type&, EdgeDispatcherBase&); + + virtual Void + post (Type&); + }; + + struct Enumerator : Node + { + 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_ENUMERATION_HXX -- cgit v1.2.3