a
    DfF                     @   s(  d Z ddlZddlmZmZmZmZmZmZm	Z	m
Z
 ddlmZmZmZmZmZmZmZmZmZmZmZ ddlmZ ddlmZ ddlmZ g dZG d	d
 d
eZG dd deZ G dd deZ!G dd deZ"G dd deZ#G dd deZ$G dd deZ%G dd deZ&G dd deZ'dS )z
    pygments.lexers.dotnet
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for .net languages.

    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    N)
RegexLexerDelegatingLexerbygroupsincludeusingthisdefaultwords)PunctuationTextCommentOperatorKeywordNameStringNumberLiteralOther
Whitespace)get_choice_opt)	unistring)XmlLexer)CSharpLexerNemerleLexerBooLexer
VbNetLexerCSharpAspxLexerVbNetAspxLexerFSharpLexerXppLexerc                   @   s  e Zd ZdZdZdZg dZdgZdgZdZ	e
je
jB Zdd	ed
dddd d d ed
ddddddddd
 d ded
ddddd d d ed
dddddddddd d dZi ZdZe D ]8\ZZde d e d eeeeejeefd eeejfd!efd"eeefd#e j!fd$e j"fd%efe#d&e$fd'e$fd(efd)efd*e%fd+e%fd,e%j&fd-e'fd.ee j(ee j(e j(efd/ee)ee)fd0e)fd1ee)efd2e)j*fd3ee)ed4fd5ee)ed6feefgeej+d7fe,d7gd8ed7fd9e d: ej-d7fgd;ee< qd<d= Z.d>S )?r   a  
    For C# source code.

    Additional options accepted:

    `unicodelevel`
      Determines which Unicode characters this lexer allows for identifiers.
      The possible values are:

      * ``none`` -- only the ASCII letters and numbers are allowed. This
        is the fastest selection.
      * ``basic`` -- all Unicode characters from the specification except
        category ``Lo`` are allowed.
      * ``full`` -- all Unicode characters as specified in the C# specs
        are allowed.  Note that this means a considerable slowdown since the
        ``Lo`` category has more than 40,000 characters in it!

      The default value is ``basic``.

      .. versionadded:: 0.8
    zC#z/https://docs.microsoft.com/en-us/dotnet/csharp/)Zcsharpzc#csz*.csztext/x-csharp @?[_a-zA-Z]\w*@?[_LuLlLtLmNl][NdPcCfMnMc]*	@?(?:_|[^Lo])[^nonebasicfullT^([ \t]*)((?:(?:\[\])?\s+)+?)(
)(\s*)(\()^(\s*)(\[.*?\])[^\S\n]+(\\)(\n)//.*?\n/[*].*?[*]/\n)(z>>>=z>>=z<<=<=>=+=-=*=/=z%=z&=z|=z^=z??=z=>z??z?.!===&&||z>>>>><<++--+-*/%&|^<>?!~==~|!=|==|<<|>>|[-+/*%=<>&^|]z[()\[\];:,.][{}]@"(""|[^"])*"!\$?"(\\\\|\\[^\\]|[^"\\\n])*["\n]'\\.'|'[^\\]'B[0-9]+(\.[0-9]*)?([eE][+-][0-9]+)?[flFLdD]?|0[xX][0-9a-fA-F]+[Ll]?zb(#)([ \t]*)(if|endif|else|elif|define|undef|line|error|warning|region|endregion|pragma)\b(.*?)(\n)\b(extern)(\s+)(alias)\ba  (abstract|as|async|await|base|break|by|case|catch|checked|const|continue|default|delegate|do|else|enum|event|explicit|extern|false|finally|fixed|for|foreach|goto|if|implicit|in|interface|internal|is|let|lock|new|null|on|operator|out|override|params|private|protected|public|readonly|ref|return|sealed|sizeof|stackalloc|static|switch|this|throw|true|try|typeof|unchecked|unsafe|virtual|void|while|get|set|new|partial|yield|add|remove|value|alias|ascending|descending|from|group|into|orderby|select|thenby|where|join|equals)\b(global)(::)zk(bool|byte|char|decimal|double|dynamic|float|int|long|object|sbyte|short|string|uint|ulong|ushort|var)\b\??z(class|struct)(\s+)class(namespace|using)(\s+)	namespace#pop(?=\()(|\.)+rootrf   rh   c                 K   sP   t |dt| jd}|| jvr.| j|| _n| j| | _tj| fi | d S NZunicodelevelr7   	r   listtokensZ_all_tokens	__class__Zprocess_tokendefZ_tokensr   __init__selfoptionslevel ry   c/nfs/NAS7/SABIOD/METHODE/ermites/ermites_venv/lib/python3.9/site-packages/pygments/lexers/dotnet.pyrt      s
    
zCSharpLexer.__init__N)/__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesversion_addedre	MULTILINEDOTALLflagsunicombine	allexceptlevelsrr   token_variantsitems	levelnamecs_identr   r   r   r   r   Functionr
   	Attributer   r   Single	Multiliner	   r   r   Charr   Preprocr   TypeClassr   	Namespacert   ry   ry   ry   rz   r      s   

5
?r   c                !   @   s2  e Zd ZdZdZdZdgZdgZdgZdZ	e
je
jB Zdd	ed
dddd d d ed
ddddddddd
 d ded
ddddd d d ed
dddddddddd d dZi ZdZe D ]P\ZZde d e d eeeeejeefd eeejfd!efd"eeefd#e j!fd$e j"fd%efd&ee#ee#d'fd(ee#ee#d)fd*e#d+fd,e d- ee$ee$fd.e$fd/e efd0eeed1fd2efd3efd4e#fd5e#fd6e#j%fd7e&fd8e&fd9ee j'ee j'd:fd;ee$ee$fd<e$fd=ee$efd>e$j(fd?e d@ eeee$j(fdAee$edBfdCee$edDfeefgeej)dEfgdFe j'fdGefd%edEfgdHedEfdIe dJ ej*dEfgdKe#fd/e efd0eeed1fdLe#fdMe#dEfgdNe#fd/e efd0eeed1fd*e#dOfdPe#dEfgdQe#fd*e#dOfdPe#dEfgdRe$fdSefeefdTe&fdUedOfdVedEfgdWee< qdXdY Z+dZd[ Z,d\S )]r   a  
    For Nemerle source code.

    Additional options accepted:

    `unicodelevel`
      Determines which Unicode characters this lexer allows for identifiers.
      The possible values are:

      * ``none`` -- only the ASCII letters and numbers are allowed. This
        is the fastest selection.
      * ``basic`` -- all Unicode characters from the specification except
        category ``Lo`` are allowed.
      * ``full`` -- all Unicode characters as specified in the C# specs
        are allowed.  Note that this means a considerable slowdown since the
        ``Lo`` category has more than 40,000 characters in it!

      The default value is ``basic``.
    ZNemerlezhttp://nemerle.orgZnemerlez*.nztext/x-nemerle1.5r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   Tr9   r:   r;   r<   r=   r>   r?   r@   rA   z(\$)(\s*)(")splice-stringz(\$)(\s*)(<#)splice-string2z<#recursive-stringz(<\[)(\s*)(z:)?z\]\>z\$z(\$)(\()splice-string-contentz[~!%^&*()+=|\[\]:;,.<>/?-]r_   r`   z"(\\\\|\\[^\\]|[^"\\\n])*["\n]rb   z0[xX][0-9a-fA-F]+[Ll]?z*[0-9](\.[0-9]*)?([eE][+-][0-9]+)?[flFLdD]?zY(#)([ \t]*)(if|endif|else|elif|define|undef|line|error|warning|region|endregion|pragma)\bpreprocrd   a  (abstract|and|as|base|catch|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|syntax|this|throw|true|try|type|typeof|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\bre   zo(bool|byte|char|decimal|double|float|int|long|object|sbyte|short|string|uint|ulong|ushort|void|array|list)\b\??z(:>?)(\s*)(z\??)z"(class|struct|variant|module)(\s+)rf   rg   rh   ri   z\w+z[ \t]+rj   rk   rl   z[^"$]z\\""z[^#<>$]#pushz#>z[^#<>]zif|matchz[~!%^&*+=|\[\]:;,.<>/?-\\"$ ]\d+\(\))rn   rf   r   rh   r   r   r   r   c                 K   sP   t |dt| jd}|| jvr.| j|| _n| j| | _tj| fi | d S ro   rp   ru   ry   ry   rz   rt   0  s    
zNemerleLexer.__init__c                 C   s   d}d| v r|d7 }|S )zUNemerle is quite similar to Python, but @if is relatively uncommon
        elsewhere.r   z@ifg?ry   textresultry   ry   rz   analyse_text;  s    zNemerleLexer.analyse_textN)-r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rr   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   rt   r   ry   ry   ry   rz   r      s
  








@


	

	kr   c                   @   sZ  e Zd ZdZdZdZdgZdgZdgZdZ	de
fd	ejfd
ejdfdefdeee
fdefdejfdejfdejfdefdefdefdeee
dfdeee
dfdeee
dfdejfdejfdejfdejfdefd ejfd!efd"ejfd#ejfd$ejjfd%ejfgd
ejd&fd'ejd(fd)ejfd*ejfgdejd(fgdej d(fgd+ej!d(fgd,Z"d-S ).r   z
    For Boo source code.
    ZBoozhttps://github.com/boo-lang/booZbooz*.booz
text/x-boor!   \s+z	(#|//).*$z/[*]commentz[]{}:(),.;[]r>   z\\z(in|is|and|or|not)\bz/(\\\\|\\[^\\]|[^/\\\s])/z@/(\\\\|\\[^\\]|[^/\\])*/r^   aO  (as|abstract|callable|constructor|destructor|do|import|enum|event|final|get|interface|internal|of|override|partial|private|protected|public|return|set|static|struct|transient|virtual|yield|super|and|break|cast|continue|elif|else|ensure|except|for|given|goto|if|in|is|isa|not|or|otherwise|pass|raise|ref|try|unless|when|while|from|as)\bzdef(?=\s+\(.*?\))z
(def)(\s+)funcnamez(class)(\s+)	classnamez(namespace)(\s+)rh   z(?<!\.)(true|false|null|self|__eval__|__switch__|array|assert|checked|enumerate|filter|getter|len|lock|map|matrix|max|min|normalArrayIndexing|print|property|range|rawArrayIndexing|required|typeof|unchecked|using|yieldAll|zip)\bz"""(\\\\|\\"|.*?)"""z"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*'z[a-zA-Z_]\w*z%(\d+\.\d*|\d*\.\d+)([fF][+-]?[0-9]+)?z[0-9][0-9.]*(ms?|d|h|s)z0\d+z0x[a-fA-F0-9]+z\d+Lr   r   z[*]/ri   z[^/*]z[*/]z[a-zA-Z_][\w.]*)rn   r   r   r   rh   N)#r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   Wordr   Regexr   r   BuiltinDoubler   FloatOctHexIntegerZLongr   r   r   rr   ry   ry   ry   rz   r   F  sd   

'




r   c                   @   s  e Zd ZdZdZdZg dZddgZddgZd	Z	d
e
dddd d d e
ddddddddd	 d ZejejB Zdejfdefdefdeeefdeeefdejfdefdeejeejeejfedd d!d"efd#ed$fd%ed&fd'eeed(fd)eeed*fd+eeed,fd-ejfd.ejfd/efd0ed1fd2eeefed3 efd4e j!fd5e"j#fd6e"j$fd7e"j$fd8e"j$fgd9efd:ed;fd<efgeej%d;fe&d;geej'd;fgeej(d;fgeej)fd=ej)fe&d;gdefd>ed;fe&d;gd?Z*d@dA Z+dBS )Cr   zo
    For Visual Basic.NET source code.
    Also LibreOffice Basic, OpenOffice Basic, and StarOffice Basic.
    zVB.netz5https://docs.microsoft.com/en-us/dotnet/visual-basic/)zvb.netZvbnetZlobasZoobasZsobaszvisual-basicZvisualbasicz*.vbz*.basztext/x-vbnetz
text/x-vbar!   z[_r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   z	^\s*<.*?>r   rA   z(rem\b.*?)(\n)z
('.*?)(\n)z#If\s.*?\sThen|#ElseIf\s.*?\sThen|#Else|#End\s+If|#Const|#ExternalSource.*?\n|#End\s+ExternalSource|#Region.*?\n|#End\s+Region|#ExternalChecksumz[(){}!#,.:]z?(Option)(\s+)(Strict|Explicit|Compare)(\s+)(On|Off|Binary|Text))lZ
AddHandlerZAliasZByRefZByValCallZCaseZCatchZCBoolZCByteZCCharZCDateZCDecZCDblZCIntZCLngZCObjContinueZCSByteZCShortZCSngZCStrZCTypeZCUIntZCULngZCUShortZDeclareZDefaultZDelegateZ
DirectCastZDoEachZElseZElseIfZEndIfZEraseErrorEventZExitFalseZFinallyForZFriendZGetGlobalZGoSubZGoToZHandlesIfZ
ImplementsZInheritsZ	InterfaceZLetLibZLoopZMeZMustInheritZMustOverrideZMyBaseZMyClassZ	NarrowingZNewZNextNotZNothingZNotInheritableZNotOverridableZOfZOnr   OptionOptionalZ	OverloadsZOverridableZ	OverridesZ
ParamArrayZPartialZPrivateZ	ProtectedZPublicZ
RaiseEventZReadOnlyZReDimZRemoveHandlerZResumeReturnZSelectSetZShadowsZSharedr   ZStaticZStepZStopZSyncLockZThenZThrowToTrueTryZTryCastZWendZUsingZWhenWhileZWideningWithZ
WithEventsZ	WriteOnlyz(?<!\.)\b)prefixsuffixz(?<!\.)End\bendz(?<!\.)(Dim|Const)\bdimz#(?<!\.)(Function|Sub|Property)(\s+)r   z"(?<!\.)(Class|Structure|Enum)(\s+)r   z&(?<!\.)(Module|Namespace|Imports)(\s+)rh   z|(?<!\.)(Boolean|Byte|Char|Date|Decimal|Double|Integer|Long|Object|SByte|Short|Single|String|Variant|UInteger|ULong|UShort)\bzU(?<!\.)(AddressOf|And|AndAlso|As|GetType|In|Is|IsNot|Like|Mod|Or|OrElse|TypeOf|Xor)\bzE&=|[*]=|/=|\\=|\^=|\+=|-=|<<=|>>=|<<|>>|:=|<=|>=|<>|[-&*/\\^+=<>\[\]]r   stringz(_)(\n)z	[%&@!#$]?z#.*?#z"(\d+\.\d*|\d*\.\d+)(F[+-]?[0-9]+)?z\d+([SILDFR]|US|UI|UL)?z&H[0-9a-f]+([SILDFR]|US|UI|UL)?z&O[0-7]+([SILDFR]|US|UI|UL)?""z"C?ri   [^"]+\.z?(Function|Sub|Property|Class|Structure|Enum|Module|Namespace)\b)rn   r   r   r   r   rh   r   c                 C   s   t d| t jrdS d S )Nz^\s*(#If|Module|Namespace)g      ?)r   searchr   r   ry   ry   rz   r     s    zVbNetLexer.analyse_textN),r{   r|   r}   r~   r   r   r   r   r   r   r   r   Zuni_namer   r   
IGNORECASEr   r   r   r   r   r   r   r
   r   ZDeclarationr	   r   r   r   r   r   r   Dater   r   r   Variabler   r   r   r   rr   r   ry   ry   ry   rz   r     s   



=


Yr   c                   @   sj   e Zd ZdZdZg Zg ZdZej	Z
ddeejeejfdeeeeeefdeefdeefgiZd	S )
GenericAspxLexerz"
    Lexer for ASP.NET pages.
    zaspx-gen.https://dotnet.microsoft.com/en-us/apps/aspnetrn   z(<%[@=#]?)(.*?)(%>)z(<script.*?>)(.*?)(</script>)z
(.+?)(?=<)z.+N)r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   Tagr   r   r   rr   ry   ry   ry   rz   r     s    


r   c                       sF   e Zd ZdZdZdgZg dZg ZdZdZ	 fddZ
dd	 Z  ZS )
r   z9
    Lexer for highlighting C# within ASP.NET pages.
    zaspx-csz*.aspxz*.asaxz*.ascxz*.ashxz*.asmxz*.axdr   r!   c                    s   t  jttfi | d S N)superrt   r   r   rv   rw   rs   ry   rz   rt      s    zCSharpAspxLexer.__init__c                 C   s4   t d| t jd urdS t d| t jd ur0dS d S )NzPage\s*Language="C#"皙?zscript[^>]+language=["\']C#333333?r   r   Ir   ry   ry   rz   r   #  s    zCSharpAspxLexer.analyse_textr{   r|   r}   r~   r   r   r   r   r   r   rt   r   __classcell__ry   ry   r   rz   r     s   r   c                       sF   e Zd ZdZdZdgZg dZg ZdZdZ	 fddZ
dd	 Z  ZS )
r   zG
    Lexer for highlighting Visual Basic.net within ASP.NET pages.
    zaspx-vbr   r   r!   c                    s   t  jttfi | d S r   )r   rt   r   r   r   r   ry   rz   rt   6  s    zVbNetAspxLexer.__init__c                 C   s4   t d| t jd urdS t d| t jd ur0dS d S )NzPage\s*Language="Vb"r   zscript[^>]+language=["\']vbr   r   r   ry   ry   rz   r   9  s    zVbNetAspxLexer.analyse_textr   ry   ry   r   rz   r   *  s   r   c                "   @   s  e Zd ZdZdZdZddgZg dZdgZdZ	g d	Z
e
g d
7 Z
g dZdZg dZdZdZg dZdejfdejfdejfdejfgdefdejjfdejdfdefdeejefdeejefdedfdedfd ed!fd"ed#fd$eeeejfd%eeeejfd&eeeejfd'eeeeeej fd(!d)"e
efd*efd+!d)"ee#fd,e d)e d-e e#fd(!d)"ee#j$fd(!d)"eej%fd.eej&eej&ej&efd/efd0e'j(fd1e'j)fd2e'j*fd3e'j+fd4e'j,fd5ej-fd6ej-fd7efd8ej.d#fd9ejfg defd:efd;ejfd<ed=fd>ed=fe/d=gd?efd@edAfdBed=fdedfd ed!fd"ed#fdCefgdDefe0dEdFefdGefdHed=fgdIefdGefdJefdHed=fgdIefdGefdKed=fd"efgdLZ1dMdN Z2dOS )Pr   z,
    For the F# language (version 3.0).
    zF#zhttps://fsharp.org/Zfsharpzf#)z*.fsz*.fsiz*.fsxztext/x-fsharpr   )Babstractasassertbasebeginrf   r   delegatezdo!dodoneZdowncastZdowntoelifelser   	exceptionexternfalsefinallyforfunctionZfunglobalifZinheritinline	interfaceZinternalinZlazyzlet!ZletmatchmembermoduleZmutablerh   newnullZofopenoverrideprivatepublicZreczreturn!returnselectstaticstructZthentotruetrytypeZupcastzuse!Zusevalvoidwhenwhilewithzyield!yield)Zatomicbreakchecked	componentconst
constraintconstructorcontinueeagereventZexternalfixedZfunctorr   methodZmixinobjectparallelprocess	protectedZpureZsealedZtailcallZtraitZvirtualZvolatile)+rH   #rJ   rU   r   r   z\*z\+,z-\.z->rQ   z\.\.r   z::z:=z:>:z;;;z<-z<\]rX   z>\]rY   z\?\?z\?z\[<z\[\|z\[z\]_`z\{z\|\]z\|z\}r\   z<@@z<@r]   z@>z@@>z[!$%&*+\./:<=>?@^|~-])andornotz[!?~]z[=<>@^|&+\*/$%-])ZsbytebytecharZ	nativeintZ
unativeintfloat32singlefloatdoubleZint8Zuint8int16Zuint16int32Zuint32int64Zuint64decimalunitboolr   rq   Zexnobjenumz\\[\\"\'ntbrafv]z
\\[0-9]{3}z\\u[0-9a-fA-F]{4}z\\U[0-9a-fA-F]{8}r   z	\(\)|\[\]z \b(?<!\.)([A-Z][\w\']*)(?=\s*\.)dottedz\b([A-Z][\w\']*)z(///.*?)(\n)z(//.*?)(\n)z
\(\*(?!\))r   z@"lstringz"""tqsr   r   z\b(open|module)(\s+)([\w.]+)z\b(let!?)(\s+)(\w+)z\b(type)(\s+)(\w+)z&\b(member|override)(\s+)(\w+)(\.)(\w+)z\b({})\brV   z``([^`\n\r\t]|`[^`\n\r\t])+``z({})rk   z)?z;(#)([ \t]*)(if|endif|else|line|nowarn|light|\d+)\b(.*?)(\n)z[^\W\d][\w']*z\d[\d_]*[uU]?[yslLnQRZINGmM]?z-0[xX][\da-fA-F][\da-fA-F_]*[uU]?[yslLn]?[fF]?z0[oO][0-7][0-7_]*[uU]?[yslLn]?z0[bB][01][01_]*[uU]?[yslLn]?z/-?\d[\d_]*(.[\d_]*)?([eE][+\-]?\d[\d_]*)[fFmM]?z9'(?:(\\[\\\"'ntbr ])|(\\[0-9]{3})|(\\x[0-9a-fA-F]{2}))'B?z'.''z@?"z[~?][a-z][\w\']*:r   z[A-Z][\w\']*(?=\s*\.)z[A-Z][\w\']*ri   z[a-z_][\w\']*z	[^(*)@"]+z\(\*r   z\*\)z[(*)@]z[^\\"]+escape-sequencez\\\nrA   z"B?r   r   z"""B?)r;  rn   r7  r   r   r8  r9  c                 C   s(   d}d| v r|d7 }d| v r$|d7 }|S )zSF# doesn't have that many unique features -- |> and <| are weak
        indicators.r   z|>g?z<|ry   r   ry   ry   rz   r     s    zFSharpLexer.analyse_textN)3r{   r|   r}   r~   r   r   r   r   r   r   keywordsZkeyopts	operatorsZword_operatorsZprefix_symsZ
infix_symsZ
primitivesr   ZEscaper   r   r   ZPseudor   r   ZDocr   r   r   r   r   r
   r   formatjoinr   r   r   r   r   r   r   r   ZBinr   r   r   r   r   rr   r   ry   ry   ry   rz   r   A  s   

3
ar   c                   @   sJ  e Zd ZdZdZdZddgZdgZdZe	j
Zded	d
dddd d d ed	d
ddddddddd d ZeddZdZdZdZdZi Zdeeeeefde d e d  eeeeejeefd!eeejejjejfd"efd#ee efd$e!j"fd%e!j#fd&efe$ee%fd'e%fd(efd)efd*e&fd+e&fd,e&j'fd-e(fe$ed.d/efd0ej)fd1eeed2fd3e d4 eejjefd5eeejjeefd6e d7 e d8 eeeejjeeej*eefd9e d8 eeeejjeefe$ed:d/ejj+fe$ed:d/ejj+feefgeejd;fe,d;gd:e d;fd3e d< ej-d;fgd=Zd>S )?r   zG
    For X++ source code. This is based loosely on the CSharpLexer
    zX++zchttps://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-language-referenceZxppzx++z*.xppz2.15r1   r$   r%   r&   r'   r2   r(   r3   r4   r+   r,   r-   r.   r/   r0    )rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   )_r   Zanytyper   asyncZascatavgr  
breakpointZbybyrefZcaseZcatchZchangecompanyclient	containerr  countZcrosscompanyr   r   Zdelete_fromdescZdisplaydivr   Zeditr   elementZeventhandlerexistsr   finalZ	firstfastZ	firstonlyZfirstonly10Zfirstonly100Zfirstonly1000flushr   ZforceliteralsZforcenestedloopZforceplaceholdersZforceselectorderZ	forupdatefromgroupr   Zinsert_recordsetr   isr?  likeZmaxofZminofmodr   nextZnofetchZ	notexistsr   ZoptimisticlockorderouterpauseZpessimisticlockprintr  r  r  Zrepeatablereadretryr  reverser  serverZsettingr  sumr   switchZ	tablelockr   throwr  r	  ZttsabortZttsbeginZ	ttscommitZupdate_recordsetZvalidtimestater  wherer  Zwindow)Z	_durationabsacosZany2DateZany2EnumZany2GuidZany2IntZ	any2Int64Zany2RealZany2StrZ	anytodateZ	anytoenumZ	anytoguidZanytointZ
anytoint64Z	anytorealZanytostrasinatanZbeepZcTermZchar2NumZ
classIdGetZcorrFlagGetZcorrFlagSetcoscoshZcurExtZ	curUserIdZdate2NumZdate2StrZdatetime2StrZdayNameZdayOfMthZdayOfWkZdayOfYrZddbZdecRoundZdgZdimOfZendMthZenum2strexpZexp10ZfVZfieldId2NameZfieldId2PNameZfieldName2IdfracfuncNameZgetCurrentPartitionZgetCurrentPartitionRecIdZ	getPrefixZguid2StrZidgZindexId2NameZindexName2IdZint2StrZ	int642StrZintvMaxZintvNameZintvNoZintvNormlog10ZlogNr   maxminZmkDateZmthNameZmthOfYrZnewGuidZnextMthZnextQtrZnextYrZnum2CharZnum2DateZnum2StrZpmtpowerZprevMthZprevQtrZprevYrZprmIsDefaultptpvZrateZrefPrintAllroundZrunAsZ	sessionIdZ	setPrefixsinsinhsleepZslnZstr2DateZstr2DatetimeZstr2EnumZstr2GuidZstr2IntZ	str2Int64Zstr2NumZstr2TimeZstrAlphaZstrCmpZ	strColSeqZstrDelZstrFindZstrFmtZstrInsZstrKeepZstrLTrimZstrLenZstrLineZstrLwrZstrNFindZstrPokeZ	strPromptZstrRTrimZstrRemZstrRepZstrScanZstrUprZsubStrZsydZsystemDateGetZsystemDateSetZtableId2NameZtableId2PNameZtableName2IdtantanhZtermZtime2StrZtimeNowtodaytruncZtypeOfZuint2StrZwkOfYryear)MZattributeStrZclassNumZclassStrZconfigurationKeyNumZconfigurationKeyStrZdataEntityDataSourceStrZdelegateStrZdimensionHierarchyLevelStrZdimensionHierarchyStrZdimensionReferenceStrZdutyStrZenumCntZenumLiteralStrZenumNumZenumStrZextendedTypeNumZextendedTypeStrZfieldNumZ
fieldPNameZfieldStrZformControlStrZformDataFieldStrZformDataSourceStrZformMethodStrZformStrZidentifierStrZindexNumZindexStrZlicenseCodeNumZlicenseCodeStrZ
literalStrZmaxDateZmaxIntZ
measureStrZmeasurementStrZmenuItemActionStrZmenuItemDisplayStrZmenuItemOutputStrZmenuStrZ	methodStrZminIntZprivilegeStrZqueryDatasourceStrZqueryMethodStrZqueryStrZ	reportStrZresourceStrZroleStrZssrsReportStrZstaticDelegateStrZstaticMethodStrZtableCollectionStrZtableFieldGroupStrZtableMethodStrZtableNumZ
tablePNameZtableStaticMethodStrZtableStrZtileStrZvarStrZwebActionItemStrZwebDisplayContentItemStrZ
webFormStrZ
webMenuStrZwebOutputContentItemStrZwebReportStrZwebSiteTempStrZwebStaticFileStrZwebUrlItemStrZwebWebPartStrZwebletItemStrZwebpageDefStrZwebsiteDefStrZworkflowApprovalStrZworkflowCategoryStrZworkflowTaskStrZworkflowTypeStrz(\s*)\b(else|if)\b([^\n])r9   r:   r;   z^(\s*)(\[)([^\n]*?)(\])r=   r>   z//[^\n]*?\nz/[*][^\n]*?[*]/rA   r^   z[()\[\];:,.#@]r_   r`   ra   rb   rc   r   )r   z+(boolean|int|int64|str|real|guid|date)\b\??z&(class|struct|extends|implements)(\s+)rf   rk   z)(::)z(\s*)(\w+)(\s+\w+(,|=)?[^\n]*;)z(fieldNum\()(z)(\s*,\s*)(z)(\s*\))z(tableNum\()(rj   ri   rl   rm   N).r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   Z	XPP_CHARSreplaceZ	OPERATORSZKEYWORDSZRUNTIME_FUNCTIONSZCOMPILE_FUNCTIONSrr   r   r   r   r   r   r   r   r
   r   r   r   r   r   r   r   r	   r   r   r   r   r   ZPropertyZMagicr   r   ry   ry   ry   rz   r     s   
	

 
'
r   )(r~   r   Zpygments.lexerr   r   r   r   r   r   r   r	   Zpygments.tokenr
   r   r   r   r   r   r   r   r   r   r   Zpygments.utilr   Zpygmentsr   r   Zpygments.lexers.htmlr   __all__r   r   r   r   r   r   r   r   r   ry   ry   ry   rz   <module>   s$   	(4| 2Ep "