Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // parser_enum.hpp Chris@16: // Chris@16: // Copyright 2008 Eric Niebler. Distributed under the Boost Chris@16: // Software License, Version 1.0. (See accompanying file Chris@16: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_XPRESSIVE_DETAIL_DYNAMIC_PARSER_ENUM_HPP_EAN_10_04_2005 Chris@16: #define BOOST_XPRESSIVE_DETAIL_DYNAMIC_PARSER_ENUM_HPP_EAN_10_04_2005 Chris@16: Chris@16: // MS compatible compilers support #pragma once Chris@101: #if defined(_MSC_VER) Chris@16: # pragma once Chris@16: #endif Chris@16: Chris@16: namespace boost { namespace xpressive { namespace regex_constants Chris@16: { Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // compiler_token_type Chris@16: // Chris@16: enum compiler_token_type Chris@16: { Chris@16: token_literal, Chris@16: token_any, // . Chris@16: token_escape, // Chris@16: token_group_begin, // ( Chris@16: token_group_end, // ) Chris@16: token_alternate, // | Chris@16: token_invalid_quantifier, // { Chris@16: token_charset_begin, // [ Chris@16: token_charset_end, // ] Chris@16: token_charset_invert, // ^ Chris@16: token_charset_hyphen, // - Chris@16: token_charset_backspace, // \b Chris@16: token_posix_charset_begin, // [: Chris@16: token_posix_charset_end, // :] Chris@16: token_equivalence_class_begin, // [= Chris@16: token_equivalence_class_end, // =] Chris@16: token_collation_element_begin, // [. Chris@16: token_collation_element_end, // .] Chris@16: Chris@16: token_quote_meta_begin, // \Q Chris@16: token_quote_meta_end, // \E Chris@16: Chris@16: token_no_mark, // ?: Chris@16: token_positive_lookahead, // ?= Chris@16: token_negative_lookahead, // ?! Chris@16: token_positive_lookbehind, // ?<= Chris@16: token_negative_lookbehind, // ? Chris@16: token_comment, // ?# Chris@16: token_recurse, // ?R Chris@16: token_rule_assign, // ?$[name]= Chris@16: token_rule_ref, // ?$[name] Chris@16: token_named_mark, // ?P Chris@16: token_named_mark_ref, // ?P=name Chris@16: Chris@16: token_assert_begin_sequence, // \A Chris@16: token_assert_end_sequence, // \Z Chris@16: token_assert_begin_line, // ^ Chris@16: token_assert_end_line, // $ Chris@16: token_assert_word_begin, // \< Chris@16: token_assert_word_end, // \> Chris@16: token_assert_word_boundary, // \b Chris@16: token_assert_not_word_boundary, // \B Chris@16: Chris@16: token_escape_newline, // \n Chris@16: token_escape_escape, // \e Chris@16: token_escape_formfeed, // \f Chris@16: token_escape_horizontal_tab, // \t Chris@16: token_escape_vertical_tab, // \v Chris@16: token_escape_bell, // \a Chris@16: token_escape_control, // \c Chris@16: Chris@16: token_end_of_pattern Chris@16: }; Chris@16: Chris@16: }}} // namespace boost::xpressive::regex_constants Chris@16: Chris@16: #endif