U
    luf                     @   s4  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 dd	d
dddddg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-2023 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dddgZdgZdg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d0ee(ee(fd1e(fd2ee(efd3e(j)fd4ee(ed5fd6ee(ed7feefgeej*d8fe+d8gd9ed8fd:e d; ej,d8f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(?=\()(|\.)+rootre   rg   c                 K   sL   t |dt| jd}|| jkr.| j|| _n| j| | _tj| f| d S NZunicodelevelr6   	r   listtokensZ_all_tokens	__class__Zprocess_tokendefZ_tokensr   __init__selfoptionslevel rx   :/tmp/pip-unpacked-wheel-7eq1ciah/pygments/lexers/dotnet.pyrs      s
    
zCSharpLexer.__init__N).__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesre	MULTILINEDOTALLflagsunicombine	allexceptlevelsrq   token_variantsitems	levelnamecs_identr   r   r   r   r   Functionr
   	Attributer   r   Single	Multiliner	   r   r   Charr   Preprocr   TypeClassr   	Namespacers   rx   rx   rx   ry   r      s   
      
 5
?c                !   @   s.  e Zd ZdZdZdZdgZdgZdg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d/eeed0fd1efd2efd3e"fd4e"fd5e"j$fd6e%fd7e%fd8eej&eej&d9f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d@ee#edAfdBee#edCfeefgeej(dDfgdEej&fdFefd$edDfgdGedDfdHe dI ej)dDfgdJe"fd.e efd/eeed0fdKe"fdLe"dDfgdMe"fd.e efd/eeed0fd)e"dNfdOe"dDfgdPe"fd)e"dNfdOe"dDfgdQe#fdRefeefdSe%fdTedNfdUedDfgdVee< qdWdX Z*dYdZ 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``.

    .. versionadded:: 1.5
    ZNemerlezhttp://nemerle.orgZnemerlez*.nztext/x-nemerler!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   Tr8   r9   r:   r;   r<   r=   r>   r?   r@   z(\$)(\s*)(")splice-stringz(\$)(\s*)(<#)splice-string2z<#recursive-stringz(<\[)(\s*)(z:)?z\]\>z\$z(\$)(\()splice-string-contentz[~!%^&*()+=|\[\]:;,.<>/?-]r^   r_   z"(\\\\|\\[^\\]|[^"\\\n])*["\n]ra   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preprocrc   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)\brd   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+)re   rf   rg   rh   z\w+z[ \t]+ri   rj   rk   z[^"$]z\\""z[^#<>$]#pushz#>z[^#<>]zif|matchz[~!%^&*+=|\[\]:;,.<>/?-\\"$ ]\d+\(\))rm   re   r   rg   r   r   r   r   c                 K   sL   t |dt| jd}|| jkr.| j|| _n| j| | _tj| f| d S rn   ro   rt   rx   rx   ry   rs   0  s    
zNemerleLexer.__init__c                 C   s   d}d| kr|d7 }|S )zUNemerle is quite similar to Python, but @if is relatively uncommon
        elsewhere.r   z@ifg?rx   textresultrx   rx   ry   analyse_text;  s    zNemerleLexer.analyse_textN),rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   rq   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   rs   r   rx   rx   rx   ry   r      s        




 
 
@


	

	kc                   @   sV  e Zd ZdZdZdZdgZdgZdg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-boo\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+)rg   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[*]/rh   z[^/*]z[*/]z[a-zA-Z_][\w.]*)rm   r   r   r   rg   N)"rz   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   rq   rx   rx   rx   ry   r   F  sb   

'




c                   @   s  e Zd ZdZdZdZdddddgZd	d
gZddg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d0ejfd1ejfd2efd3ed4fd5eeefed6 efd7ej fd8e!j"fd9e!j#fd:e!j#fd;e!j#fgd<e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dAed>fe%d>gdBZ)dCdD Z*dES )Fr   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*.vbz*.basztext/x-vbnetz
text/x-vbaz[_r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   z	^\s*<.*?>r   r@   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ByValZ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FinallyZForZFriendZGetZGlobalZGoSubZGoToZHandlesZIfZ
ImplementsZInheritsZ	InterfaceZLetLibZLoopZMeZMustInheritZMustOverrideZMyBaseZMyClassZ	NarrowingZNewZNextZNotZNothingZNotInheritableZNotOverridableZOfZOnr   OptionOptionalZ	OverloadsZOverridableZ	OverridesZ
ParamArrayZPartialZPrivateZ	ProtectedZPublicZ
RaiseEventZReadOnlyZReDimZRemoveHandlerZResumeZReturnZSelectSetZShadowsZSharedr   ZStaticZStepZStopZSyncLockZThenZThrowToTrueZTryZTryCastZWendZUsingZWhenZWhileZWideningZ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+)rg   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?rh   [^"]+\.z?(Function|Sub|Property|Class|Structure|Enum|Module|Namespace)\b)rm   r   r   r   r   rg   r   c                 C   s   t d| t jrdS d S )Nz^\s*(#If|Module|Namespace)g      ?)r   searchr   r   rx   rx   ry   r     s    zVbNetLexer.analyse_textN)+rz   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   rq   r   rx   rx   rx   ry   r     s          
=


 Yc                   @   sf   e Zd ZdZdZg Zg 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-genrm   z(<%[@=#]?)(.*?)(%>)z(<script.*?>)(.*?)(</script>)z
(.+?)(?=<)z.+N)rz   r{   r|   r}   r~   r   r   r   r   r   r   r   Tagr   r   r   rq   rx   rx   rx   ry   r     s   


r   c                       sF   e Zd ZdZdZdgZddddddgZg Z fd	d
Zdd Z	  Z
S )r   z9
    Lexer for highlighting C# within ASP.NET pages.
    zaspx-cs*.aspx*.asax*.ascx*.ashx*.asmx*.axdc                    s   t  jttf| d S N)superrs   r   r   ru   rv   rr   rx   ry   rs     s    zCSharpAspxLexer.__init__c                 C   s4   t d| t jd k	rdS t d| t jd k	r0dS d S )NzPage\s*Language="C#"皙?zscript[^>]+language=["\']C#333333?r   r   Ir   rx   rx   ry   r     s    zCSharpAspxLexer.analyse_textrz   r{   r|   r}   r~   r   r   r   rs   r   __classcell__rx   rx   r   ry   r     s   c                       sF   e Zd ZdZdZdgZddddddgZg 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   r   r   r   c                    s   t  jttf| d S r   )r   rs   r   r   r   r   rx   ry   rs   /  s    zVbNetAspxLexer.__init__c                 C   s4   t d| t jd k	rdS t d| t jd k	r0dS d S )NzPage\s*Language="Vb"r   zscript[^>]+language=["\']vbr   r   r   rx   rx   ry   r   2  s    zVbNetAspxLexer.analyse_textr   rx   rx   r   ry   r   %  s   c                B   @   s  e Zd ZdZdZdZddgZdddgZd	gZd
dddddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKgBZ	e	dLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddeg7 Z	dfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddddg+Z
dZdddgZdZdZdddddddddddddddddddddddddgZdejfdejfdejfdejfgdefdejjfdejdfdefdeejefdeejefdedfdedfdedfdedfdeeeejfdeeeejfdeeeejfdeeeeeejfddǠ e	 efdefddǠ e
 e!fdeeef e!fddǠ e e!j"fddǠ e ej#fdeej$eej$ej$efdefde%j&fde%j'fde%j(fde%j)fde%j*fdej+fdej+fdefdej,dfdejfg defdsefdejfdedfdedfe-dكgdefdedfdedfdedfdedfdedfdefgdefe.ddefdefdedfgdefdefdefdedfgdefdefdedfdefgdZ/dd Z0dS )r   zG
    For the F# language (version 3.0).

    .. versionadded:: 1.5
    zF#zhttps://fsharp.org/Zfsharpzf#z*.fsz*.fsiz*.fsxztext/x-fsharpabstractasassertbasebeginre   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mutablerg   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!yieldZatomicbreakchecked	componentconst
constraintconstructorcontinueeagereventZexternalZfixedZfunctorr   methodZmixinobjectparallelprocess	protectedZpureZsealedZtailcallZtraitZvirtualZvolatilerG   #rI   rT   r   r   z\*z\+,z-\.z->rP   z\.\.r   z::z:=z:>:z;;;z<-z<\]rW   z>\]rX   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
unativeintZfloat32ZsinglefloatdoubleZint8Zuint8Zint16Zuint16Zint32Zuint32Zint64Zuint64decimalunitboolr   rp   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   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(%s)\brU   z``([^`\n\r\t]|`[^`\n\r\t])+``z(%s)z
(%s|%s)?%sz;(#)([ \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\']*:z[A-Z][\w\']*(?=\s*\.)z[A-Z][\w\']*rh   z[a-z_][\w\']*z	[^(*)@"]+z\(\*r   z\*\)z[(*)@]z[^\\"]+escape-sequencez\\\nr@   z"B?r   r   z"""B?)r-  rm   r)  r   r   r*  r+  c                 C   s(   d}d| kr|d7 }d| kr$|d7 }|S )zSF# doesn't have that many unique features -- |> and <| are weak
        indicators.r   z|>g?z<|rx   r   rx   rx   ry   r     s    zFSharpLexer.analyse_textN)1rz   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   joinr   r   r   r   r   r   r   r   ZBinr   r   r   r   r   rq   r   rx   rx   rx   ry   r   :  s  
                                                                                                                     
                     
  
3
ac                   @   sF  e Zd ZdZdZdZddgZdg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d/ej(fd0eeed1fd2e d3 eejjefd4eeejjeefd5e d6 e d7 eeeejjeeej)eefd8e d7 eeeejjeefe#ed9d.ejj*fe#ed9d.ejj*feefgeejd:fe+d:gd9ed:fd2e d; ej,d:fgd<Zd=S )>r   zc
    For X++ source code. This is based loosely on the CSharpLexer

    .. versionadded:: 2.15
    zX++zchttps://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-language-referenceZxppzx++z*.xppr0   r#   r$   r%   r&   r1   r'   r2   r3   r*   r+   r,   r-   r.   r/    )rA   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   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   isr0  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])r8   r9   r:   z^(\s*)(\[)([^\n]*?)(\])r<   r=   z//[^\n]*?\nz/[*][^\n]*?[*]/r@   r]   z[()\[\];:,.#@]r^   r_   r`   ra   rb   r   )r   z+(boolean|int|int64|str|real|guid|date)\b\??z&(class|struct|extends|implements)(\s+)re   rj   z)(::)z(\s*)(\w+)(\s+\w+(,|=)?[^\n]*;)z(fieldNum\()(z)(\s*,\s*)(z)(\s*\))z(tableNum\()(ri   rh   rk   rl   N)-rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   Z	XPP_CHARSreplaceZ	OPERATORSZKEYWORDSZRUNTIME_FUNCTIONSZCOMPILE_FUNCTIONSrq   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   rx   rx   rx   ry   r     s       	

 
'
)(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   rx   rx   rx   ry   <module>   s.   	(4   { 3Do #