diff options
Diffstat (limited to 'MoonParser/pegtl/internal/alnum.hpp')
-rw-r--r-- | MoonParser/pegtl/internal/alnum.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/MoonParser/pegtl/internal/alnum.hpp b/MoonParser/pegtl/internal/alnum.hpp new file mode 100644 index 0000000..cdad330 --- /dev/null +++ b/MoonParser/pegtl/internal/alnum.hpp | |||
@@ -0,0 +1,26 @@ | |||
1 | // Copyright (c) 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_ALNUM_HPP | ||
5 | #define TAOCPP_PEGTL_INCLUDE_INTERNAL_ALNUM_HPP | ||
6 | |||
7 | #include "../config.hpp" | ||
8 | |||
9 | #include "peek_char.hpp" | ||
10 | #include "ranges.hpp" | ||
11 | |||
12 | namespace tao | ||
13 | { | ||
14 | namespace TAOCPP_PEGTL_NAMESPACE | ||
15 | { | ||
16 | namespace internal | ||
17 | { | ||
18 | using alnum = ranges< peek_char, 'a', 'z', 'A', 'Z', '0', '9' >; | ||
19 | |||
20 | } // namespace internal | ||
21 | |||
22 | } // namespace TAOCPP_PEGTL_NAMESPACE | ||
23 | |||
24 | } // namespace tao | ||
25 | |||
26 | #endif | ||