blob: fc9f5aa0312f9d7bc816c6072af3f6ff46dd2a79 (
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 : libxsd-frontend/transformations/simplifier.hxx
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef LIBXSD_FRONTEND_TRANSFORMATIONS_SIMPLIFIER_HXX
#define LIBXSD_FRONTEND_TRANSFORMATIONS_SIMPLIFIER_HXX
#include <libxsd-frontend/types.hxx>
#include <libxsd-frontend/semantic-graph/elements.hxx> // Path
#include <libxsd-frontend/semantic-graph/schema.hxx>
namespace XSDFrontend
{
namespace Transformations
{
// This transformation performs various schema simplifications
// (e.g., removing empty compositors, etc). This transformation
// assumes that there are no anonymous types.
//
class Simplifier
{
public:
void
transform (SemanticGraph::Schema&, SemanticGraph::Path const&);
};
}
}
#endif // LIBXSD_FRONTEND_TRANSFORMATIONS_SIMPLIFIER_HXX
|