diff options
Diffstat (limited to 'MoonParser/pegtl/internal/list.hpp')
-rw-r--r-- | MoonParser/pegtl/internal/list.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/MoonParser/pegtl/internal/list.hpp b/MoonParser/pegtl/internal/list.hpp new file mode 100644 index 0000000..1a812fb --- /dev/null +++ b/MoonParser/pegtl/internal/list.hpp | |||
@@ -0,0 +1,27 @@ | |||
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_INTERNAL_LIST_HPP | ||
5 | #define TAOCPP_PEGTL_INCLUDE_INTERNAL_LIST_HPP | ||
6 | |||
7 | #include "../config.hpp" | ||
8 | |||
9 | #include "seq.hpp" | ||
10 | #include "star.hpp" | ||
11 | |||
12 | namespace tao | ||
13 | { | ||
14 | namespace TAOCPP_PEGTL_NAMESPACE | ||
15 | { | ||
16 | namespace internal | ||
17 | { | ||
18 | template< typename Rule, typename Sep > | ||
19 | using list = seq< Rule, star< Sep, Rule > >; | ||
20 | |||
21 | } // namespace internal | ||
22 | |||
23 | } // namespace TAOCPP_PEGTL_NAMESPACE | ||
24 | |||
25 | } // namespace tao | ||
26 | |||
27 | #endif | ||