annotate DEPENDENCIES/generic/include/boost/xpressive/detail/dynamic/parser_enum.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 ///////////////////////////////////////////////////////////////////////////////
Chris@16 2 // parser_enum.hpp
Chris@16 3 //
Chris@16 4 // Copyright 2008 Eric Niebler. Distributed under the Boost
Chris@16 5 // Software License, Version 1.0. (See accompanying file
Chris@16 6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 7
Chris@16 8 #ifndef BOOST_XPRESSIVE_DETAIL_DYNAMIC_PARSER_ENUM_HPP_EAN_10_04_2005
Chris@16 9 #define BOOST_XPRESSIVE_DETAIL_DYNAMIC_PARSER_ENUM_HPP_EAN_10_04_2005
Chris@16 10
Chris@16 11 // MS compatible compilers support #pragma once
Chris@101 12 #if defined(_MSC_VER)
Chris@16 13 # pragma once
Chris@16 14 #endif
Chris@16 15
Chris@16 16 namespace boost { namespace xpressive { namespace regex_constants
Chris@16 17 {
Chris@16 18
Chris@16 19 ///////////////////////////////////////////////////////////////////////////////
Chris@16 20 // compiler_token_type
Chris@16 21 //
Chris@16 22 enum compiler_token_type
Chris@16 23 {
Chris@16 24 token_literal,
Chris@16 25 token_any, // .
Chris@16 26 token_escape, //
Chris@16 27 token_group_begin, // (
Chris@16 28 token_group_end, // )
Chris@16 29 token_alternate, // |
Chris@16 30 token_invalid_quantifier, // {
Chris@16 31 token_charset_begin, // [
Chris@16 32 token_charset_end, // ]
Chris@16 33 token_charset_invert, // ^
Chris@16 34 token_charset_hyphen, // -
Chris@16 35 token_charset_backspace, // \b
Chris@16 36 token_posix_charset_begin, // [:
Chris@16 37 token_posix_charset_end, // :]
Chris@16 38 token_equivalence_class_begin, // [=
Chris@16 39 token_equivalence_class_end, // =]
Chris@16 40 token_collation_element_begin, // [.
Chris@16 41 token_collation_element_end, // .]
Chris@16 42
Chris@16 43 token_quote_meta_begin, // \Q
Chris@16 44 token_quote_meta_end, // \E
Chris@16 45
Chris@16 46 token_no_mark, // ?:
Chris@16 47 token_positive_lookahead, // ?=
Chris@16 48 token_negative_lookahead, // ?!
Chris@16 49 token_positive_lookbehind, // ?<=
Chris@16 50 token_negative_lookbehind, // ?<!
Chris@16 51 token_independent_sub_expression, // ?>
Chris@16 52 token_comment, // ?#
Chris@16 53 token_recurse, // ?R
Chris@16 54 token_rule_assign, // ?$[name]=
Chris@16 55 token_rule_ref, // ?$[name]
Chris@16 56 token_named_mark, // ?P<name>
Chris@16 57 token_named_mark_ref, // ?P=name
Chris@16 58
Chris@16 59 token_assert_begin_sequence, // \A
Chris@16 60 token_assert_end_sequence, // \Z
Chris@16 61 token_assert_begin_line, // ^
Chris@16 62 token_assert_end_line, // $
Chris@16 63 token_assert_word_begin, // \<
Chris@16 64 token_assert_word_end, // \>
Chris@16 65 token_assert_word_boundary, // \b
Chris@16 66 token_assert_not_word_boundary, // \B
Chris@16 67
Chris@16 68 token_escape_newline, // \n
Chris@16 69 token_escape_escape, // \e
Chris@16 70 token_escape_formfeed, // \f
Chris@16 71 token_escape_horizontal_tab, // \t
Chris@16 72 token_escape_vertical_tab, // \v
Chris@16 73 token_escape_bell, // \a
Chris@16 74 token_escape_control, // \c
Chris@16 75
Chris@16 76 token_end_of_pattern
Chris@16 77 };
Chris@16 78
Chris@16 79 }}} // namespace boost::xpressive::regex_constants
Chris@16 80
Chris@16 81 #endif