1
     ˆÀ�þ\–E›”€r@·Ä ?Èƒ¯?Ç¿ÅÄ ý    #ifndef  BOOST_SERIALIZATION_UTILITY_HPP
#define BOOST_SERIALIZATION_UTILITY_HPP

// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif

/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// serialization/utility.hpp:
// serialization for stl utility templates

// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

//  See http://www.boost.org for updates, documentation, and revision history.

#include <utility>
#include <boost/config.hpp>

#include <boost/type_traits/remove_const.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/is_bitwise_serializable.hpp>
#include <boost/mpl/and.hpp>

namespace boost {
namespace serialization {

// pair
template<class Archive, class F, class S>
inline void serialize(
    Archive & ar,
    std::pair<F, S> & p,
    const unsigned int /* file_version */
){
    // note: we remove any const-ness on the first argument.  The reason is that
    // for stl maps, the type saved is pair<const key, T).  We remove
    // the const-ness in order to be able to load it.
    typedef typename boost::remove_const<F>::type typef;
    ar & boost::serialization::make_nvp("first", const_cast<typef &>(p.first));
    ar & boost::serialization::make_nvp("second", p.second);
}

/// specialization of is_bitwise_serializable for pairs
template <class T, class U>
struct is_bitwise_serializable<std::pair<T,U> >
 : public mpl::and_<is_bitwise_serializable< T >,is_bitwise_serializable<U> >
{
};

} // serialization
} // namespace boost

#endif // BOOST_SERIALIZATION_UTILITY_HPP
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«É525_‘I|¥‰ÓMdœv ©ƒ†ü+=ÈÇ     ‹      Å”]oÓ0†ï÷+Œ/¸KNú±	mNÐh*Q±µUqáÚNbáÄ‘íÒŽ_�Û´]A-ÒT®b;�Ïyß×‰É‹t2È>M‡èmv‡¦ïßÜ� z€4KÛý0ê ÇáÒ¹æ`¹\†Ë^¨MÙJW©>Xg$s!w'd½–\ R
Êý'�É¨æb…tŽ@/œ•\twàº²`EÍs©DÈE¥ÃÒ†LëÆ7àšÙÀZµ£ûÐÍÀ•Æ×¬P9­,¬Y3µð•œ‹•UŽ@ÛÛ«�­2×üq­²óŸùÆ›Pè|#l=4	q%úF•,ê;Ýà„Èª@Ö°ƒdº¶0W´þ2Çˆ*ãÏ£Áä‹ç|Ûõî„Päûç1~=ˆÇ7“8ÅÉ˜V‚ =ÎÜ{æ'wÔ:Ti.s)øIø¡…ä÷ÓÓ–I…eF6Nêú	oñÐ*ÓÊ6Ô{½ôJsHµÿS”ýÆôv6géhÖFÂ×%žÔ�á|q2¥FÔ¥Òæ´yÜºo¥¼¬ç¶¹ÙMÑÖ›‘Eép‚P€Ž’ÿˆ+wHö1;Åæ#Kœl‡*‘Õ�ºWAÔ:Š^]_^!tì…Ñ»³ê÷;rYì]ì¦Ïá¥vÎëE¬mœÝ›ÙÏŸçdz¿qó—?$l¯*›«“@{Áÿ äÒW/C    A   ˆl–Ým_J *eJe@=q–®4Ê˜´o�þe�µ›”"–6¤… ?ŸÌƒhË_ŠI|¥�+Wé3ž¯ÊÉ µ    """
    pygments.lexers.wowtoc
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexer for World of Warcraft TOC files

    TOC files describe game addons.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

import re

from pygments.lexer import RegexLexer, bygroups
from pygments.token import Comment, Name, Text, Punctuation, String, Keyword

__all__ = ["WoWTocLexer"]

def _create_tag_line_pattern(inner_pattern, ignore_case=False):
    return ((r"(?i)" if ignore_case else r"")
        + r"^(##)( *)"  # groups 1, 2
        + inner_pattern  # group 3
        + r"( *)(:)( *)(.*?)( *)$")  # groups 4, 5, 6, 7, 8


def _create_tag_line_token(inner_pattern, inner_token, ignore_case=False):
    # this function template-izes the tag line for a specific type of tag, which will
    # have a different pattern and different token. otherwise, everything about a tag
    # line is the same
    return (
        _create_tag_line_pattern(inner_pattern, ignore_case=ignore_case),
        bygroups(
            Keyword.Declaration,
            Text.Whitespace,
            inner_token,
            Text.Whitespace,
            Punctuation,
            Text.Whitespace,
            String,
            Text.Whitespace,
        ),
    )


class WoWTocLexer(RegexLexer):
    """
    Lexer for World of Warcraft TOC files.

    .. versionadded:: 2.14
    """

    name = "World of Warcraft TOC"
    aliases = ["wowtoc"]
    filenames = ["*.toc"]

    tokens = {
        "root": [
            # official localized tags, Notes and Title
        