10
     sˆÔÓÞ548Ò¿Û $    s‹      Í”Qo›0…ßû+<?ìn€TêRÃÔ…H‹–&QÊ´MÓ„6Á*`d»I³_?‰‚¦¤Û4iÚ¾ðq}Î¹`ò*\Œ£/Ë	zÝÏÐòã»ÙtŒ°ðÉ„QØ=Ú`2ÇçÆÔ#€ívko=[ª5D+ÈMYA%Rc3ÃppEÚ{Á"9§¬¹"b„)x0­F2C ŸŒŒ»Ç0YjÐ¼b™(¸Íx)í\Û©”u³“©¶´.Žô
‘@½3¹¬<`B«¦é#]s¡Ì-xµiÚqÛœóB/Ît:ep�FÉv­bç?P×ˆØ‡E“½Èv©br´¡…XW>6²Æåi•úD*+IA«G{-2Œha|üu:^|k80yûv@(ÊÏ|üvìÏo~ˆƒ9-9zž¹o˜;Ì¨6¨”Ld¢w~èàñýrÃ°cB®S%j#duB¡±Ø·šÊB×´ñzÝ8ÈUŸêö«4š¬ûa,ïV“yNW]$¬mqR÷ïg�ƒ%U¼2(Š§FªÝ!ŒNÙë*Ñõí±D«J¬sƒ„,t–üƒ|6ý|¢ÏÑÙdâXTÂÄ±]ïpÐ+új’ç\×r\kpƒ\o4ôº z¶óáo}d²`\õ�\šq×»”¦9�ch­œª—½xÖà�åÞ çzä/zyy&¿ùeÃáŸ'°?�t'èä…õš¤       uˆÊ�þ^ŽU›”"–6¤… ?Ÿßƒ™ÞÝ¿Û ¿    u"""
    pygments.lexers.scdoc
    ~~~~~~~~~~~~~~~~~~~~~

    Lexer for scdoc, a simple man page generator.

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

import re

from pygments.lexer import RegexLexer, include, bygroups, using, this
from pygments.token import Text, Comment, Keyword, String, Generic

__all__ = ['ScdocLexer']


class ScdocLexer(RegexLexer):
    """
    `scdoc` is a simple man page generator for POSIX systems written in C99.

    .. versionadded:: 2.5
    """
    name = 'scdoc'
    url = 'https://git.sr.ht/~sircmpwn/scdoc'
    aliases = ['scdoc', 'scd']
    filenames = ['*.scd', '*.scdoc']
    flags = re.MULTILINE

    tokens = {
        'root': [
            # comment
            (r'^(;.+\n)', bygroups(Comment)),

            # heading with pound prefix
            (r'^(#)([^#].+\n)', bygroups(Generic.Heading, Text)),
            (r'^(#{2})(.+\n)', bygroups(Generic.Subheading, Text)),
            # bulleted lists
            (r'^(\s*)([*-])(\s)(.+\n)',
            bygroups(Text, Keyword, Text, using(this, state='inline'))),
            # numbered lists
            (r'^(\s*)(\.+\.)( .+\n)',
            bygroups(Text, Keyword, using(this, state='inline'))),
            # quote
            (r'^(\s*>\s)(.+\n)', bygroups(Keyword, Generic.Emph)),
            # text block
            (r'^(```\n)([\w\W]*?)(^```$)', bygroups(String, Text, String)),

            include('inline'),
        ],
        'inline': [
            # escape
            (r'\\.', Text),
            # underlines
            (r'(\s)(_[^_]+_)(\W|\n)', bygroups(Text, Generic.Emph, Text)),
            # bold
            (r'(\s)(\*[^*]+\*)(\W|\n)', bygroups(Text, Generic.Strong, Text)),
            # inline code
            (r'`[^`]+`', String.Backtick),

            # general text, must come last!
            (r'[^\\\s]+', Text),
            (r'.', Text),
        ],
    }

    def analyse_text(text):
        """This is very similar to markdown, save for the escape characters
        needed for * and _."""
        result = 0

        if '\\*' in text:
            result += 0.01

        if '\\_' in text:
            result += 0.01

        return result
  7   wˆl–ßi~”ji?u	@µq—.4Ê˜´o�þB&YY²Èó-<V£h€þàƒiÆßßÞÀÜ 3    w# ext/extract.py
# Copyright 2006-2022 the Mako authors and contributors <see AUTHORS file>
#
# This module is part of Mako and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php

from io import BytesIO
from io import StringIO
import re

from mako import lexer
from mako import parsetree


class MessageExtractor:
    use_bytes = True

    def process_file(self, fileobj):
        template_node = lexer.Lexer(
            fileobj.read(), input_encoding=self.config["encoding"]
        ).parse()
        yield from self.extract_nodes(template_node.get_children())

    def extract_nodes(self, nodes):
        translator_comments = []
        in_translator_comments = False
        input_encoding = self.config["encoding"] or "ascii"
        comment_tags = list(
            filter(None, re.split(r"\s+", self.config["comment-tags"]))
        )

        for node in nodes:
            child_nodes = None
            if (
                in_translator_comments
                and isinstance(node, parsetree.Text)
                and not node.content.strip()
            ):
                # Ignore whitespace within tr