
    Mh                     l    d Z ddl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 dgZ G d de          ZdS )z
    pygments.lexers.j
    ~~~~~~~~~~~~~~~~~

    Lexer for the J programming language.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerwordsincludebygroups)CommentKeywordNameNumberOperatorPunctuationString
WhitespaceJLexerc                   B   e Zd ZdZdZdZdgZdgZdgZdZ	dZ
d	ej        fd
ej        fd eeej                  dfd eeej                  fdefdedfdej        dfd eej        eej        e          dfdej        dfd eej        eej                  df ede
dz             ej        f edd          ej        fe
ej        f ed          ej        fdefdefdej        fdej        fd ej        fd!ed"f ed#          gd$ej        fd%ej        d&fd'ej        fgd(ej        f ed)          d$efd%ej        d&fd'efgd*efd+efd,ej         fd-ej!        j"        fd.ej!        fgd/efd%ej        d&fd'efgd0ed&f ed           ed)          gd1efd2efded&fgd3Z#d4S )5r   z
    For J source code.
    Jzhttp://jsoftware.com/jz*.ijsztext/x-jz2.1z\b[a-zA-Z]\w*z#!.*$zNB\..*z(\n+\s*)(Note)commentz(\s*)(Note.*)z\s+'singlequotez	0\s+:\s*0nounDefinitionz(noun)(\s+)(define)(\s*)$z([1-4]|13)\s+:\s*0\bexplicitDefinitionz3(adverb|conjunction|dyad|monad|verb)(\s+)(define)\b)for_goto_label_z\.)suffix)assertbreakcasecatchcatchdcatchtcontinuedoelseelseifendfcaseforifreturnselectthrowtrywhilewhilst)TARGVCRCRLFDELDebugEAVEMPTYFFJVERSIONLFLF2NoteTABalpha17alpha27applybindboxopenboxxopenbxclearcutLFcutopendatatypedefdfhdropeachechoemptyeraseeveryevtloopexitexpandfetchfile2url	fixdotdotfliprgbgetargsgetenvhfdinvinverseiospathisattyisutf8itemsleaflist	nameclassnamelistnamesncnlonpickrowsscriptscriptdsignsminfosmoutputsortsplitstderrstdinstdouttabletake
timespacextimextmoutputtoCRLFtoHOSTtoJtolowertouppertypeucpucpcountusleeputf8uucpz=[.:]z![-=+*#$%@!~`^&";:.,<>{}\[\]\\|/?]z[abCdDeEfHiIjLMoprtT]\.z[aDiLpqsStux]\:z
(_[0-9])\:z\(parenthesesnumbersz[^)]z^\)z#popz[)]z\b[nmuvxy]\brootz
\b_{1,2}\bz)_?\d+(\.\d+)?(\s*[ejr]\s*)_?\d+(\.?=\d+)?z_?\d+\.(?=\d+)z_?\d+xz_?\d+z[^)]+z\)z[^']+z'')r   r   r   r   r   r   r   N)$__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesversion_added	validNamer   PreprocSingler   r   	Multiliner   r	   EntityFunctionr   LabelVariabler   r   ReservedConstantr   r   	Decoratorr
   FloatIntegerLongtokens     Q/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pygments/lexers/j.pyr   r      s         D
!CeG	IIM I
 w' 'W5F G Gxx
GNCCD Z  6=) 4;(89)88DKZ,) ,)*:<$35C
DMBB$&
 U.yGGGTU 
  ! ! !
 #'*. & U   & M'#, x  28< ('*:;!12G,- K/ GIWL
^ g'(W&/W&'
 dn-GFOOdOTZ(TN
 F#96B-+,v~&
 vTZ(V
 K(G())GFOO	
 vFO66"
ew wFFFr   N)r   pygments.lexerr   r   r   r   pygments.tokenr   r   r	   r
   r   r   r   r   __all__r   r   r   r   <module>r      s     @ ? ? ? ? ? ? ? ? ? ? ?$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ *E E E E EZ E E E E Er   