Current File : //proc/self/root/usr/lib/python3/dist-packages/pygments/lexers/__pycache__/modula2.cpython-312.pyc
�

|�eQ���x�dZddlZddlmZmZddlmZmZddlm	Z	m
Z
mZmZm
Z
mZmZmZmZdgZGd�de�Zy)z�
    pygments.lexers.modula2
    ~~~~~~~~~~~~~~~~~~~~~~~

    Multi-Dialect Lexer for Modula-2.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�include)�get_bool_opt�get_list_opt)	�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Error�Modula2Lexerc� �eZdZdZdZdZddgZddgZdgZe	je	jzZd	e
fd
e
fgdejfdejfd
ejfdejfdejfdejfdejfdejfgdefgdej$fdej&fgdej(fdej(fdej*fgdej,fdej,fdej&fgdej0fdej2fgdefdefd efd!efd"efd#efd$efd%efd&efd'efg
d(efd)efd*efd+efd,efd-efd.efd/efd0efg	d1efd2efd3efd4efd5efd6efd7efgd8efd9efd:efgd;ej2fd<ej8fd=ej8fgd>ej:fd?ej:fged@�edA�edB�edC�edD�edE�edF�edG�edH�edI�edJ�edK�edL�g
dM�ZdNZ dOZ!dPZ"dQZ#dRZ$dSZ%dTZ&dUZ'dVZ(dWZ)dXZ*dYZ+dZZ,d[Z-d\Z.d]Z/d^Z0d_Z1d`Z2d`Z3daZ4d`Z5dbZ6dcZ7d`Z8d`Z9d`Z:ddZ;deZ<dfZ=dgZ>dhZ?diZ@djZAdkZBdlZCd`ZDd`ZEd`ZFd`ZGd`ZHdmZIdnZJdoZKdpZLdqZMdrZNdsZOdtZPd`e#fe'fe+fe/fe'fe#fe'fe'fdt�	ZQe e$e(e,fe e$fe e(fe e,fe e,e0fe e(e3fe e$e6fe e(e9fe e(e<fdt�	ZRe!e%e)e-fe!e%fe!e)fe!e-fe!e-e1fe!e)e4fe!e%e7fe!e)e:fe!e)e=fdt�	ZSe"e&e*e.fe"e&fe"e*fe"e.fe"e.e2fe"e*e5fe"e&e8fe"e*e;fe"e*e>fdt�	ZTd`d`d`eIfeIfd`d`d`d`dt�	ZUd`e?feDfeJeKeIfeJeKfeDfe?feDfeDfdt�	ZVd`e@feEfeLfeLfeEfe@feEfeEfdt�	ZWd`eAfeFfeMfeMfeFfeAfeFfeFfdt�	ZXd`eBfeGfeNfeNfeGfeBfeGfeGfdt�	ZYd`eCfeHfeOfeOfeHfeCfeHfeHfdt�	ZZdu�Z[dv�Z\dw�Z]dx�Z^dy�Z_yz){ra�
    For Modula-2 source code.

    The Modula-2 lexer supports several dialects.  By default, it operates in
    fallback mode, recognising the *combined* literals, punctuation symbols
    and operators of all supported dialects, and the *combined* reserved words
    and builtins of PIM Modula-2, ISO Modula-2 and Modula-2 R10, while not
    differentiating between library defined identifiers.

    To select a specific dialect, a dialect option may be passed
    or a dialect tag may be embedded into a source file.

    Dialect Options:

    `m2pim`
        Select PIM Modula-2 dialect.
    `m2iso`
        Select ISO Modula-2 dialect.
    `m2r10`
        Select Modula-2 R10 dialect.
    `objm2`
        Select Objective Modula-2 dialect.

    The PIM and ISO dialect options may be qualified with a language extension.

    Language Extensions:

    `+aglet`
        Select Aglet Modula-2 extensions, available with m2iso.
    `+gm2`
        Select GNU Modula-2 extensions, available with m2pim.
    `+p1`
        Select p1 Modula-2 extensions, available with m2iso.
    `+xds`
        Select XDS Modula-2 extensions, available with m2iso.


    Passing a Dialect Option via Unix Commandline Interface

    Dialect options may be passed to the lexer using the `dialect` key.
    Only one such option should be passed. If multiple dialect options are
    passed, the first valid option is used, any subsequent options are ignored.

    Examples:

    `$ pygmentize -O full,dialect=m2iso -f html -o /path/to/output /path/to/input`
        Use ISO dialect to render input to HTML output
    `$ pygmentize -O full,dialect=m2iso+p1 -f rtf -o /path/to/output /path/to/input`
        Use ISO dialect with p1 extensions to render input to RTF output


    Embedding a Dialect Option within a source file

    A dialect option may be embedded in a source file in form of a dialect
    tag, a specially formatted comment that specifies a dialect option.

    Dialect Tag EBNF::

       dialectTag :
           OpeningCommentDelim Prefix dialectOption ClosingCommentDelim ;

       dialectOption :
           'm2pim' | 'm2iso' | 'm2r10' | 'objm2' |
           'm2iso+aglet' | 'm2pim+gm2' | 'm2iso+p1' | 'm2iso+xds' ;

       Prefix : '!' ;

       OpeningCommentDelim : '(*' ;

       ClosingCommentDelim : '*)' ;

    No whitespace is permitted between the tokens of a dialect tag.

    In the event that a source file contains multiple dialect tags, the first
    tag that contains a valid dialect option will be used and any subsequent
    dialect tags will be ignored.  Ideally, a dialect tag should be placed
    at the beginning of a source file.

    An embedded dialect tag overrides a dialect option set via command line.

    Examples:

    ``(*!m2r10*) DEFINITION MODULE Foobar; ...``
        Use Modula2 R10 dialect to render this source file.
    ``(*!m2pim+gm2*) DEFINITION MODULE Bazbam; ...``
        Use PIM dialect with GNU extensions to render this source file.


    Algol Publication Mode:

    In Algol publication mode, source text is rendered for publication of
    algorithms in scientific papers and academic texts, following the format
    of the Revised Algol-60 Language Report.  It is activated by passing
    one of two corresponding styles as an option:

    `algol`
        render reserved words lowercase underline boldface
        and builtins lowercase boldface italic
    `algol_nu`
        render reserved words lowercase boldface (no underlining)
        and builtins lowercase boldface italic

    The lexer automatically performs the required lowercase conversion when
    this mode is activated.

    Example:

    ``$ pygmentize -O full,style=algol -f latex -o /path/to/output /path/to/input``
        Render input file in Algol publication mode to LaTeX output.


    Rendering Mode of First Class ADT Identifiers:

    The rendering of standard library first class ADT identifiers is controlled
    by option flag "treat_stdlib_adts_as_builtins".

    When this option is turned on, standard library ADT identifiers are rendered
    as builtins.  When it is turned off, they are rendered as ordinary library
    identifiers.

    `treat_stdlib_adts_as_builtins` (default: On)

    The option is useful for dialects that support ADTs as first class objects
    and provide ADTs in the standard library that would otherwise be built-in.

    At present, only Modula-2 R10 supports library ADTs as first class objects
    and therefore, no ADT identifiers are defined for any other dialects.

    Example:

    ``$ pygmentize -O full,dialect=m2r10,treat_stdlib_adts_as_builtins=Off ...``
        Render standard library ADTs as ordinary library types.

    .. versionadded:: 1.3

    .. versionchanged:: 2.1
       Added multi-dialect support.
    zModula-2zhttp://www.modula2.org/�modula2�m2z*.defz*.modztext/x-modula2z\n+z\s+z\(\*!m2pim\*\)z\(\*!m2iso\*\)z\(\*!m2r10\*\)z\(\*!objm2\*\)z\(\*!m2iso\+aglet\*\)z\(\*!m2pim\+gm2\*\)z\(\*!m2iso\+p1\*\)z\(\*!m2iso\+xds\*\)z([a-zA-Z_$][\w$]*)z0b[01]+(\'[01]+)*z0[ux][0-9A-F]+(\'[0-9A-F]+)*z>[0-9]+(\'[0-9]+)*\.[0-9]+(\'[0-9]+)*[eE][+-]?[0-9]+(\'[0-9]+)*z$[0-9]+(\'[0-9]+)*\.[0-9]+(\'[0-9]+)*z[0-9]+(\'[0-9]+)*z[0-7]+Bz[0-7]+Cz
[0-9A-F]+Hz"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*'z\*\.z\+>�<>�<=�>=�==�::�:=z\+\+�--z[+-]z[*/]z\\z[=#<>]z\^�@�&�~�`z\.\.�<<�>>�->z\|#�##z\|\*z[()\[\]{},.:;|]�!z\?z^//.*?\nz\(\*([^$].*?)\*\)z/\*(.*?)\*/z	<\*.*?\*>z
\(\*\$.*?\*\)�
whitespace�dialecttags�pragmas�comments�identifiers�suffixed_number_literals�prefixed_number_literals�plain_number_literals�string_literals�digraph_punctuation�digraph_operators�unigraph_punctuation�unigraph_operators)r$r%r(r*r+r)r,r.r0r-r/r'r&�root)%�AND�ARRAY�BEGIN�BY�CASE�CONST�
DEFINITION�DIV�DO�ELSE�ELSIF�END�EXIT�FOR�FROM�IF�IMPLEMENTATION�IMPORT�IN�LOOP�MOD�MODULE�NOT�OF�OR�POINTER�	PROCEDURE�RECORD�REPEAT�RETURN�SET�THEN�TO�TYPE�UNTIL�VAR�WHILE)�ABS�BOOLEAN�CARDINAL�CHAR�CHR�FALSE�INTEGER�LONGINT�LONGREAL�MAX�MIN�NIL�ODD�ORD�REAL�TRUE)�ADDRESS�BYTE�WORD�ADR)r#rr�$�%�?�\r�++rr�*.�+>r!rr �|#r")�EXPORT�	QUALIFIED�WITH)�BITSET�CAP�DEC�DISPOSE�EXCL�FLOAT�HALT�HIGH�INC�INCL�NEWrb�PROC�SIZE�TRUNC�VAL)�SYSTEM�PROCESS�TSIZE�
NEWPROCESS�TRANSFER)rrkrlrmrnrrorrrprqr!rr rrr")�EXCEPTrs�FINALLY�FORWARD�	PACKEDSETrt�REM�RETRYru�ABSTRACT�AS�CLASS�GUARD�INHERIT�OVERRIDE�READONLY�REVEAL�TRACED�
UNSAFEGUARDED)rvrw�CMPLX�COMPLEXrxryrzr{r|r}�IMr~r�INT�
INTERRUPTIBLE�LENGTH�LFLOAT�LONGCOMPLEXr�r��
PROTECTION�REr�r��UNINTERRUBTIBLEr��CREATE�DESTROY�EMPTY�ISMEMBER�SELF):r��
BITSPERLOC�LOCSPERBYTE�LOCSPERWORD�LOC�ADDADR�SUBADR�DIFADR�MAKEADRrj�ROTATE�SHIFT�CASTr��
COROUTINES�ATTACH�	COROUTINE�CURRENT�DETACH�HANDLER�INTERRUPTSOURCE�
IOTRANSFER�
IsATTACHED�LISTEN�NEWCOROUTINE�PROTr��
EXCEPTIONS�AllocateSource�
CurrentNumber�ExceptionNumber�ExceptionSource�
GetMessage�IsCurrentSource�IsExceptionalExecution�RAISE�TERMINATION�
IsTerminating�	HasHalted�M2EXCEPTION�M2Exceptions�M2Exception�
IsM2Exception�indexException�rangeException�caseSelectException�invalidLocation�functionException�wholeValueException�wholeDivException�realValueException�realDivException�complexValueException�complexDivException�
protException�sysException�coException�exException)r#rrrkrlrr)�ALIAS�ARGLIST�	BLUEPRINT�COPY�GENLIB�
INDETERMINATEr��NONE�OPAQUE�REFERENTIAL�RELEASE�RETAIN�ASM�REG)rY�COUNTr��EXISTS�INSERTr��LONGCARD�OCTET�PTR�PRED�READ�READNEW�REMOVE�RETRIEVE�SORT�STORE�SUBSET�SUCC�TLIMIT�TMAX�TMINrfr��UNICHAR�WRITE�WRITEF)K�TPROPERTIES�PROPERTY�LITERAL�	TPROPERTY�TLITERAL�TBUILTIN�TDYN�TREFC�TNIL�TBASE�
TPRECISION�TMAXEXP�TMINEXP�
CONVERSION�TSXFSIZE�SXFr��UNSAFEr��	INTRINSIC�AVAIL�ADD�SUB�ADDC�SUBC�FETCHADD�FETCHSUB�SHL�SHR�ASHR�ROTL�ROTR�ROTLC�ROTRC�BWNOT�BWAND�BWOR�BWXOR�BWNAND�BWNOR�SETBIT�TESTBIT�LSBIT�MSBIT�CSBITS�BAILr|�TODO�FFI�ADDR�VARGLIST�VARGC�ATOMICrr�SWAP�CASr~rxr#r&r$r%�COMPILER�DEBUG�MODNAME�PROCNAME�LINENUM�DEFAULT�HASH�	ASSEMBLER�REGISTER�SETREG�GETREG�CODE)r#rkrlrr)�BYCOPY�BYREFr��CONTINUE�CRITICAL�INOUT�METHOD�ON�OPTIONAL�OUT�PRIVATE�	PROTECTED�PROTOCOL�PUBLIC�SUPER�TRY)�OBJECT�NO�YES�)	�BITSET8�BITSET16�BITSET32�	CARDINAL8�
CARDINAL16�
CARDINAL32�INTEGER8�	INTEGER16�	INTEGER32)
r��
__ATTRIBUTE__�__BUILTIN__�
__COLUMN__�__DATE__�__FILE__�__FUNCTION__�__LINE__�
__MODULE__�VOLATILE)rUrVrWrXrYrZ�
CARDINAL64�	COMPLEX32�	COMPLEX64�	COMPLEX96�
COMPLEX128r[r\r]�	INTEGER64�REAL8�REAL16�REAL32�REAL96�REAL128�THROW)�BCD)�SEQ)	�ASH�ASSERT�DIFFADR_TYPE�ENTIER�INDEX�LENr��	SHORTCARD�SHORTINT)r�r��BOOL8�BOOL16�BOOL32�CARD8�CARD16�CARD32�INT8�INT16�INT32�REF�MOVE�FILL�GET�PUT�CC�int�unsigned�size_t�voidCOMPILER�OPTION�EQUATION)�Terminal�
FileSystem�InOut�	RealInOut�MathLib0�Storage)�Flag�FlagSet�Response�Command�Lock�
Permission�
MediumType�File�FileProc�
DirectoryProc�FileCommand�DirectoryCommand)9�Read�BusyRead�	ReadAgain�Write�WriteString�WriteLn�Create�Lookup�Close�Delete�Rename�SetRead�SetWrite�	SetModify�SetOpen�Doio�SetPos�GetPos�Length�Reset�Again�ReadWord�	WriteWord�ReadChar�	WriteChar�CreateMedium�DeleteMedium�
AssignName�DeassignName�
ReadMedium�LookupMedium�	OpenInput�
OpenOutput�
CloseInput�CloseOutput�
ReadString�ReadInt�ReadCard�ReadWrd�WriteInt�	WriteCard�WriteOct�WriteHex�WriteWrd�ReadReal�	WriteReal�
WriteFixPt�WriteRealOct�sqrt�exp�ln�sin�cos�arctan�entier�ALLOCATE�
DEALLOCATE)�Done�termCH�in�out)�EOL)0rs�LONGBCDrv�SHORTBITSET�
LONGBITSET�LONGLONGBITSETr�r�r{�LONGLONGCARDr|�LONGLONGINT�POSINT�SHORTPOSINT�
LONGPOSINT�LONGLONGPOSINTrUrVrW�BITSET64�	BITSET128�BS8�BS16�BS32�BS64�BS128rXrYrZrg�CARDINAL128r�r�r��CARD64�CARD128r[r\r]rl�
INTEGER128r�r�r��INT64�INT128�STRING�	UNISTRING)�	ProtoRoot�ProtoComputational�ProtoNumeric�ProtoScalar�ProtoNonScalar�
ProtoCardinal�ProtoInteger�	ProtoReal�ProtoComplex�ProtoVector�
ProtoTuple�ProtoCompArray�ProtoCollection�ProtoStaticArray�ProtoStaticSet�ProtoStaticString�
ProtoArray�ProtoString�ProtoSet�
ProtoMultiSet�ProtoDictionary�ProtoMultiDict�ProtoExtension�ProtoIO�
ProtoCardMath�ProtoIntMath�
ProtoRealMath)�ASCII�	BooleanIO�CharIO�	UnicharIO�OctetIO�
CardinalIO�
LongCardIO�	IntegerIO�	LongIntIO�RealIO�
LongRealIO�BCDIO�	LongBCDIO�CardMath�LongCardMath�IntMath�LongIntMath�RealMath�LongRealMath�BCDMath�LongBCDMath�FileIOr�r��	IOSupport)r��Status)r�r�r�)�stdIn�stdOut�stdErr)�pi�tau)	�unknown�m2pim�m2iso�m2r10�objm2zm2iso+agletz	m2pim+gm2zm2iso+p1z	m2iso+xdsc�<�t|dg�}|D]&}||jddvs�|j|�n|jd�d|_t|dg�}d|vsd|vrd	|_nd|_t|d
d	�|_tj|fi|��y)N�dialect����r3F�style�algol�algol_nuT�treat_stdlib_adts_as_builtins)	r�dialects�set_dialect�dialect_set_by_tag�algol_publication_moderr?r�__init__)�self�optionsr@�dialect_option�styless     �9/usr/lib/python3/dist-packages/pygments/lexers/modula2.pyrDzModula2Lexer.__init__�s��� ���B�7��&�		(�N�����q��!4�4�� � ��0��			(�
���Y�'�"'����g�w��3���f��
�f� 4�*.�D�'�*/�D�'�.:��4�d�.<��*�	���D�,�G�,�c��||jvrd}n|}t�}|j|D]}|jt|���t�}|j|D]}|jt|���t�}|j
|D]+}|jt|�j
|���-t�}|j|D]+}|jt|�j
|���-t�}|j|D]+}|jt|�j
|���-t�}	|j|D]+}|	jt|�j
|���-t�}
|j|D]+}|
jt|�j
|���-t�}|j|D]+}|jt|�j
|���-t�}|j|D]+}|jt|�j
|���-t�}
|j|D]+}|
jt|�j
|���-||_||_||_||_||_||_|	|_|
|_||_||_|
|_y)Nr3)r@�set�lexemes_to_reject_db�update�reserved_words_db�builtins_db�
difference�pseudo_builtins_db�stdlib_adts_db�stdlib_modules_db�stdlib_types_db�stdlib_procedures_db�stdlib_variables_db�stdlib_constants_dbr9�lexemes_to_reject�reserved_words�builtins�pseudo_builtins�adts�modules�types�
procedures�	variables�	constants)rE�
dialect_idr9�lexemes_to_reject_set�list�reswords_set�builtins_set�pseudo_builtins_set�adts_set�modules_set�	types_set�procedures_set�
variables_set�
constants_sets              rIrAzModula2Lexer.set_dialects����T�]�]�*��G� �G�!$����-�-�g�6�	4�D�!�(�(��T��3�	4��u���*�*�7�3�	+�D�����D�	�*�	+��u���$�$�W�-�	D�D�����D�	� 4� 4�\� B�C�	D�"�e���+�+�G�4�	K�D��&�&�s�4�y�';�';�L�'I�J�	K��5���'�'��0�	@�D��O�O�C��I�0�0��>�?�	@��e���*�*�7�3�	C�D����s�4�y�3�3�L�A�B�	C��E�	��(�(��1�	A�D����S��Y�1�1�,�?�@�	A�����-�-�g�6�	F�D��!�!�#�d�)�"6�"6�|�"D�E�	F���
��,�,�W�5�	E�D�� � ��T��!5�!5�l�!C�D�	E���
��,�,�W�5�	E�D�� � ��T��!5�!5�l�!C�D�	E����!6���*���$��
�2�����	�"�����
�(���&���&��rJc�(�d}d}t|�}t|�}|}|}t|�||zkDrb|j|�rQ|j|�r@|||}tdt|j��D]}	||j|	k(s�|cSyy)Nz(*!�*)r:r3)�len�
startswith�endswith�ranger@)
rE�dialect_tag�left_tag_delim�right_tag_delim�left_tag_delim_len�right_tag_delim_len�indicator_start�
indicator_end�	indicator�indexs
          rI�get_dialect_from_dialect_tagz)Modula2Lexer.get_dialect_from_dialect_tag}s������� ��0��!�/�2��,��-�.�
��{��1�4G�G�H��%�%�n�5��#�#�O�4�$�O�M�B�I��q�#�d�m�m�"4�5�
!��
��
�
�e� 4�4�%�$�
!�!�rJc#��K�tj||�D�]�\}}}|jsA|tjk(r.|j|�}|dk7r|j
|�d|_|tu�r�||jvr/tj}|j�r3|j�}�n!||jvr/tj}|j�r�|j�}�n�||jvr9tjj }|j�r�|j�}�n�||j"vrW|j$stj&}�nqtjj }|j�rJ|j�}�n8||j(vrtj&}�n||j*vrtj,}�n�||j.vrtj0}�n�||j2vrtj4}�n�||j6v�r�tj8}�n�|t:vr�|j<dvrd|vs|dddv�rut>}�nm|j<dv�r^|t:j@urt>}�nD|t:jBurd	|vrt>}�n&|t:jDu�rd
|v�rt>}�n|tvr�|tjFur|j<dvrt>}|tjHur�|jKd�r"|j<jKd�rt>}n�|jKd
�r�|j<dk7rs|j<jKd�sXtjL}nG||jNvrt>}|jr'|dk(rd}n|dk(rd}n|dk(rd}n|dk(rd}n|dk(rd}|||f�����y�w)Nr3T)r3r6r7�'r�)�0b�0x�0u)r6r7�H�Ez<*r4z(*$�#u≠ru≤ru≥ru≡rpu•)(r�get_tokens_unprocessedrBr�Specialr~rArrZr
�ReservedrC�lowerr[�Builtinr\�Pseudor]r?�	Namespacer^r_�Classr`�Functionra�Variablerb�Constantr
r9r�Oct�Hex�Float�Single�Preprocrr�	MultilinerY)rE�textr}�token�value�indicated_dialects      rIr�z#Modula2Lexer.get_tokens_unprocessed�s%����#-�#D�#D�T�4�#P�k	&��E�5�%��*�*�u����/G�$(�$E�$E�e�$L�!�$�	�1��$�$�%6�7�.2�D�+���}��D�/�/�/�#�,�,�E��2�2� %���
���d�m�m�+� �L�L�E��2�2� %���
���d�2�2�2� �L�L�/�/�E��2�2� %���
���d�i�i�'��=�=� $���� $��� 3� 3���6�6�$)�K�K�M�E��d�l�l�*� �N�N�E��d�j�j�(� �J�J�E��d�o�o�-� �M�M�E��d�n�n�,� �M�M�E��d�n�n�,� �M�M�E��&���<�<�'D�D��e�|�u�Q�q�z�5G�'G� %���\�\�%7�7���
�
�*� %���&�*�*�,���� %���&�,�,�.�3�%�<� %���'�!��G�N�N�*��|�|�+H�H� %���G�O�O�+��'�'��-��|�|�.�.�w�7� %���)�)�%�0� �L�L�I�5� $��� 7� 7�� @� '� 1� 1��
�D�2�2�2�!�E��.�.���|� %���$�� %���$�� %���$�� %���$�� %�����%�%�Wk	&�s�OO c��d|vrd|vrd|vsyd}tjd|�r|dz
}tjd|�rd	}|S)
zNIt's Pascal-like, but does not use FUNCTION -- uses PROCEDURE
        instead.z(*rprNrz
\bPROCEDURE\bg333333�?z\bFUNCTION\bg)�re�search)r��results  rI�analyse_textzModula2Lexer.analyse_textsQ��
������$�$�,����
�9�9�%�t�,��c�M�F��9�9�_�d�+��F��
rJN)`�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypesr��	MULTILINE�DOTALL�flagsrrr�rr
�Binr�r��Integerr�r�Doubler�r	rr�r�r�tokens�common_reserved_words�common_builtins�common_pseudo_builtins�pim_lexemes_to_reject�pim_additional_reserved_words�pim_additional_builtins�pim_additional_pseudo_builtins�iso_lexemes_to_reject�iso_additional_reserved_words�iso_additional_builtins�iso_additional_pseudo_builtins�m2r10_lexemes_to_reject�m2r10_additional_reserved_words�m2r10_additional_builtins� m2r10_additional_pseudo_builtins�objm2_lexemes_to_reject�objm2_additional_reserved_words�objm2_additional_builtins� objm2_additional_pseudo_builtins�aglet_additional_reserved_words�aglet_additional_builtins� aglet_additional_pseudo_builtins�gm2_additional_reserved_words�gm2_additional_builtins�gm2_additional_pseudo_builtins�p1_additional_reserved_words�p1_additional_builtins�p1_additional_pseudo_builtins�xds_additional_reserved_words�xds_additional_builtins�xds_additional_pseudo_builtins�pim_stdlib_module_identifiers�pim_stdlib_type_identifiers�pim_stdlib_proc_identifiers�pim_stdlib_var_identifiers�pim_stdlib_const_identifiers�iso_stdlib_module_identifiers�iso_stdlib_type_identifiers�iso_stdlib_proc_identifiers�iso_stdlib_var_identifiers�iso_stdlib_const_identifiers�m2r10_stdlib_adt_identifiers�"m2r10_stdlib_blueprint_identifiers�m2r10_stdlib_module_identifiers�m2r10_stdlib_type_identifiers�m2r10_stdlib_proc_identifiers�m2r10_stdlib_var_identifiers�m2r10_stdlib_const_identifiersr@rMrOrPrRrSrTrUrVrWrXrDrAr~r�r�rTrJrIrrs)	��I�T�D�
#�C��$��G��'�"�I�!�"�I��L�L�2�9�9�$�E��T�N�
�T�N�
�����0�
����0�
����0�
����0�
%�w���7�
#�W�_�_�5�
"�G�O�O�4�
#�W�_�_�5�!
�&#�D�)�
�"�6�:�:�.�-�f�j�j�9�
%
�+��\�\�
�$�
�\�\�
�
"�6�>�>�2�"
�&����$�����$��F�J�J�'�
%
�)�&�-�-�8�
(�&�-�-�8�
��h��
�X��
�H��
�H��
�H��
�H��
�H��
�H��
�h��
�H��)
�0�h��
�h��
�H��
��!�
�H��
�8��
�8��
�8��
�8��#
�*�k�"�
�K� �
�K� �
�K� �
�[�!�
�K� �
�k�"� 
�$ ��-�
�;��
�K� �
!
��'�.�.�)�
!�7�#4�#4�5�
�W�.�.�/�

��7�?�?�+�
�w���/�	
�
�L�!��M�"��I���J���M�"��.�/��.�/��+�,��%�&��)�*��'�(��*�+��(�)�
�a_�F�H���O�����%�!���&�"���%�!���&�"�6��
'�#�!��(�$�4��'�#�!��(�$�'�#�!��(�$�%�!���&�"�$� ���%�!�%�!���&�"�%�!�
#��#��"��
$� �%�!�
#��
#��
"��
$� �
$� �*�&�'�#�%�!�%�!�$� �
&�"��H�
�

"�
�

"�
�

$�
�

$�
�

"�
�

"�
�

"�
�

"�
�E%��V
"�)�)�+�	
�
"�)�
�
"�)�
�
"�+�
�
"�+�+�
�
"�)�+�
�
"�)�)�
�
"�)�(�
�
"�)�)�
�q=��F
�#�#�%�	
�
�#�
�
�#�
�
�%�
�
�%�%�
�
�#�%�
�
�#�#�
�
�#�"�
�
�#�#�
�q=�K�F
#�*�*�,�	
�
#�*�
�
#�*�
�
#�,�
�
#�,�,�
�
#�*�,�
�
#�*�*�
�
#�*�)�
�
#�*�*�
�q=��D
�
�

�
)�
�
)�
�

�

�

�

�S,�N�b
�

*�
�
*�
�
/�+�(�
�
/�+�
�
*�
�
*�
�
*�
�
*�
�Y/��h
�

(�
�
(�
�
*�
�
*�
�
(�
�
(�
�
(�
�
(�
�S,�O�b
�

(�
�
(�
�
*�
�
*�
�
(�
�
(�
�
(�
�
(�
�S,��b
�

'�
�
'�
�
)�
�
)�
�
'�
�
'�
�
'�
�
'�
�S,��b
�

)�
�
)�
�
+�
�
+�
�
)�
�
)�
�
)�
�
)�
�S,��b#-�LR'�L-�`l&�\rJ)r�r��pygments.lexerrr�
pygments.utilrr�pygments.tokenrrr	r
rrr
rr�__all__rrTrJrI�<module>r�s<���
�.�4�'�'�'��
��V�:�VrJ
¿Qué es la limpieza dental de perros? - Clínica veterinaria


Es la eliminación del sarro y la placa adherida a la superficie de los dientes mediante un equipo de ultrasonidos que garantiza la integridad de las piezas dentales a la vez que elimina en profundidad cualquier resto de suciedad.

A continuación se procede al pulido de los dientes mediante una fresa especial que elimina la placa bacteriana y devuelve a los dientes el aspecto sano que deben tener.

Una vez terminado todo el proceso, se mantiene al perro en observación hasta que se despierta de la anestesia, bajo la atenta supervisión de un veterinario.

¿Cada cuánto tiempo tengo que hacerle una limpieza dental a mi perro?

A partir de cierta edad, los perros pueden necesitar una limpieza dental anual o bianual. Depende de cada caso. En líneas generales, puede decirse que los perros de razas pequeñas suelen acumular más sarro y suelen necesitar una atención mayor en cuanto a higiene dental.


Riesgos de una mala higiene


Los riesgos más evidentes de una mala higiene dental en los perros son los siguientes:

  • Cuando la acumulación de sarro no se trata, se puede producir una inflamación y retracción de las encías que puede descalzar el diente y provocar caídas.
  • Mal aliento (halitosis).
  • Sarro perros
  • Puede ir a más
  • Las bacterias de la placa pueden trasladarse a través del torrente circulatorio a órganos vitales como el corazón ocasionando problemas de endocarditis en las válvulas. Las bacterias pueden incluso acantonarse en huesos (La osteomielitis es la infección ósea, tanto cortical como medular) provocando mucho dolor y una artritis séptica).

¿Cómo se forma el sarro?

El sarro es la calcificación de la placa dental. Los restos de alimentos, junto con las bacterias presentes en la boca, van a formar la placa bacteriana o placa dental. Si la placa no se retira, al mezclarse con la saliva y los minerales presentes en ella, reaccionará formando una costra. La placa se calcifica y se forma el sarro.

El sarro, cuando se forma, es de color blanquecino pero a medida que pasa el tiempo se va poniendo amarillo y luego marrón.

Síntomas de una pobre higiene dental
La señal más obvia de una mala salud dental canina es el mal aliento.

Sin embargo, a veces no es tan fácil de detectar
Y hay perros que no se dejan abrir la boca por su dueño. Por ejemplo…

Recientemente nos trajeron a la clínica a un perro que parpadeaba de un ojo y decía su dueño que le picaba un lado de la cara. Tenía molestias y dificultad para comer, lo que había llevado a sus dueños a comprarle comida blanda (que suele ser un poco más cara y llevar más contenido en grasa) durante medio año. Después de una exploración oftalmológica, nos dimos cuenta de que el ojo tenía una úlcera en la córnea probablemente de rascarse . Además, el canto lateral del ojo estaba inflamado. Tenía lo que en humanos llamamos flemón pero como era un perro de pelo largo, no se le notaba a simple vista. Al abrirle la boca nos llamó la atención el ver una muela llena de sarro. Le realizamos una radiografía y encontramos una fístula que llegaba hasta la parte inferior del ojo.

Le tuvimos que extraer la muela. Tras esto, el ojo se curó completamente con unos colirios y una lentilla protectora de úlcera. Afortunadamente, la úlcera no profundizó y no perforó el ojo. Ahora el perro come perfectamente a pesar de haber perdido una muela.

¿Cómo mantener la higiene dental de tu perro?
Hay varias maneras de prevenir problemas derivados de la salud dental de tu perro.

Limpiezas de dientes en casa
Es recomendable limpiar los dientes de tu perro semanal o diariamente si se puede. Existe una gran variedad de productos que se pueden utilizar:

Pastas de dientes.
Cepillos de dientes o dedales para el dedo índice, que hacen más fácil la limpieza.
Colutorios para echar en agua de bebida o directamente sobre el diente en líquido o en spray.

En la Clínica Tus Veterinarios enseñamos a nuestros clientes a tomar el hábito de limpiar los dientes de sus perros desde que son cachorros. Esto responde a nuestro compromiso con la prevención de enfermedades caninas.

Hoy en día tenemos muchos clientes que limpian los dientes todos los días a su mascota, y como resultado, se ahorran el dinero de hacer limpiezas dentales profesionales y consiguen una mejor salud de su perro.


Limpiezas dentales profesionales de perros y gatos

Recomendamos hacer una limpieza dental especializada anualmente. La realizamos con un aparato de ultrasonidos que utiliza agua para quitar el sarro. Después, procedemos a pulir los dientes con un cepillo de alta velocidad y una pasta especial. Hacemos esto para proteger el esmalte.

La frecuencia de limpiezas dentales necesaria varía mucho entre razas. En general, las razas grandes tienen buena calidad de esmalte, por lo que no necesitan hacerlo tan a menudo e incluso pueden pasarse la vida sin requerir una limpieza. Sin embargo, razas pequeñas como el Yorkshire o el Maltés, deben hacérselas todos los años desde cachorros si se quiere conservar sus piezas dentales.

Otro factor fundamental es la calidad del pienso. Algunas marcas han diseñado croquetas que limpian la superficie del diente y de la muela al masticarse.

Ultrasonido para perros

¿Se necesita anestesia para las limpiezas dentales de perros y gatos?

La limpieza dental en perros no es una técnica que pueda practicarse sin anestesia general , aunque hay veces que los propietarios no quieren anestesiar y si tiene poco sarro y el perro es muy bueno se puede intentar…… , pero no se va a poder pulir ni acceder a todas la zona de la boca …. Además los limpiadores dentales van a irrigar agua y hay riesgo de aspiración a vías respiratorias si no se realiza una anestesia correcta con intubación traqueal . En resumen , sin anestesia no se va hacer una correcta limpieza dental.

Tampoco sirve la sedación ya que necesitamos que el animal esté totalmente quieto, y el veterinario tenga un acceso completo a todas sus piezas dentales y encías.

Alimentos para la limpieza dental

Hay que tener cierto cuidado a la hora de comprar determinados alimentos porque no todos son saludables. Algunos tienen demasiado contenido graso, que en exceso puede causar problemas cardiovasculares y obesidad.

Los mejores alimentos para los dientes son aquellos que están elaborados por empresas farmacéuticas y llevan componentes químicos con tratamientos específicos para el diente del perro. Esto implica no solo limpieza a través de la acción mecánica de morder sino también un tratamiento antibacteriano para prevenir el sarro.

Conclusión

Si eres como la mayoría de dueños, por falta de tiempo , es probable que no estés prestando la suficiente atención a la limpieza dental de tu perro. Por eso te animamos a que comiences a limpiar los dientes de tu perro y consideres atender a su higiene bucal con frecuencia.

Estas simples medidas pueden conllevar a que tu perro tenga una vida más larga y mucho más saludable.

Si te resulta imposible introducir un cepillo de dientes a tu perro en la boca, pásate con él por clínica Tus Veterinarios y te explicamos cómo hacerlo.

Necesitas hacer una limpieza dental profesional a tu mascota?
Llámanos al 622575274 o contacta con nosotros

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

¡Hola!