aboutsummaryrefslogtreecommitdiff
path: root/MoonParser/pegtl/rules.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'MoonParser/pegtl/rules.hpp')
-rw-r--r--MoonParser/pegtl/rules.hpp69
1 files changed, 0 insertions, 69 deletions
diff --git a/MoonParser/pegtl/rules.hpp b/MoonParser/pegtl/rules.hpp
deleted file mode 100644
index e1c50b2..0000000
--- a/MoonParser/pegtl/rules.hpp
+++ /dev/null
@@ -1,69 +0,0 @@
1// Copyright (c) 2014-2017 Dr. Colin Hirsch and Daniel Frey
2// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
3
4#ifndef TAOCPP_PEGTL_INCLUDE_RULES_HPP
5#define TAOCPP_PEGTL_INCLUDE_RULES_HPP
6
7#include "config.hpp"
8#include "parse_error.hpp"
9
10#include "internal/rules.hpp"
11
12namespace tao
13{
14 namespace TAOCPP_PEGTL_NAMESPACE
15 {
16 // clang-format off
17 template< typename... Actions > struct apply : internal::apply< Actions... > {};
18 template< typename... Actions > struct apply0 : internal::apply0< Actions... > {};
19 template< template< typename... > class Action, typename... Rules > struct action : internal::action< Action, Rules... > {};
20 template< typename... Rules > struct at : internal::at< Rules... > {};
21 struct bof : internal::bof {};
22 struct bol : internal::bol {};
23 template< unsigned Num > struct bytes : internal::bytes< Num > {};
24 template< template< typename... > class Control, typename... Rules > struct control : internal::control< Control, Rules... > {};
25 template< typename... Rules > struct disable : internal::disable< Rules... > {};
26 struct discard : internal::discard {};
27 template< typename... Rules > struct enable : internal::enable< Rules... > {};
28 struct eof : internal::eof {};
29 struct failure : internal::trivial< false > {};
30 template< typename Rule, typename... Actions > struct if_apply : internal::if_apply< Rule, Actions... > {};
31 template< typename Cond, typename... Thens > struct if_must : internal::if_must< Cond, Thens... > {};
32 template< typename Cond, typename Then, typename Else > struct if_must_else : internal::if_must_else< Cond, Then, Else > {};
33 template< typename Cond, typename Then, typename Else > struct if_then_else : internal::if_then_else< Cond, Then, Else > {};
34 template< typename Rule, typename Sep, typename Pad = void > struct list : internal::list< Rule, internal::pad< Sep, Pad > > {};
35 template< typename Rule, typename Sep > struct list< Rule, Sep, void > : internal::list< Rule, Sep > {};
36 template< typename Rule, typename Sep, typename Pad = void > struct list_must : internal::list_must< Rule, internal::pad< Sep, Pad > > {};
37 template< typename Rule, typename Sep > struct list_must< Rule, Sep, void > : internal::list_must< Rule, Sep > {};
38 template< typename Rule, typename Sep, typename Pad = void > struct list_tail : internal::list_tail_pad< Rule, Sep, Pad > {};
39 template< typename Rule, typename Sep > struct list_tail< Rule, Sep, void > : internal::list_tail< Rule, Sep > {};
40 template< typename M, typename S > struct minus : internal::minus< M, S > {};
41 template< typename... Rules > struct must : internal::must< Rules... > {};
42 template< typename... Rules > struct not_at : internal::not_at< Rules... > {};
43 template< typename... Rules > struct opt : internal::opt< Rules... > {};
44 template< typename Rule, typename Pad1, typename Pad2 = Pad1 > struct pad : internal::pad< Rule, Pad1, Pad2 > {};
45 template< typename Rule, typename Pad > struct pad_opt : internal::pad_opt< Rule, Pad > {};
46 template< typename Rule, typename... Rules > struct plus : internal::plus< Rule, Rules... > {};
47 template< typename Exception > struct raise : internal::raise< Exception > {};
48 template< unsigned Num, typename... Rules > struct rep : internal::rep< Num, Rules... > {};
49 template< unsigned Max, typename... Rules > struct rep_max : internal::rep_min_max< 0, Max, Rules... > {};
50 template< unsigned Min, typename Rule, typename... Rules > struct rep_min : internal::rep_min< Min, Rule, Rules... > {};
51 template< unsigned Min, unsigned Max, typename... Rules > struct rep_min_max : internal::rep_min_max< Min, Max, Rules... > {};
52 template< unsigned Max, typename... Rules > struct rep_opt : internal::rep_opt< Max, Rules... > {};
53 template< unsigned Amount > struct require : internal::require< Amount > {};
54 template< typename... Rules > struct seq : internal::seq< Rules... > {};
55 template< typename... Rules > struct sor : internal::sor< Rules... > {};
56 template< typename Rule, typename... Rules > struct star : internal::star< Rule, Rules... > {};
57 template< typename Cond, typename... Rules > struct star_must : internal::star_must< Cond, Rules... > {};
58 template< typename State, typename... Rules > struct state : internal::state< State, Rules... > {};
59 struct success : internal::trivial< true > {};
60 template< typename... Rules > struct try_catch : internal::try_catch_type< parse_error, Rules... > {};
61 template< typename Exception, typename... Rules > struct try_catch_type : internal::try_catch_type< Exception, Rules... > {};
62 template< typename Cond, typename... Rules > struct until : internal::until< Cond, Rules... > {};
63 // clang-format on
64
65 } // namespace TAOCPP_PEGTL_NAMESPACE
66
67} // namespace tao
68
69#endif