o
    Ñ­jw  ã                   @   sf   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mZmZ dgZG dd„ deƒZdS )zÚ
    pygments.lexers.openscad
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the OpenSCAD languages.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroupsÚwordsÚinclude)
ÚTextÚCommentÚPunctuationÚOperatorÚKeywordÚNameÚNumberÚ
WhitespaceÚLiteralÚStringÚOpenScadLexerc                   @   s\  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d
fdejdfdefdefdefdefdejfdeejeƒdfdeeje
ejƒfdeeje
ejƒfedddd�efedddd�efedddd�ejfdejjfdejfdejfdefdefgd eeejeƒfgd!ej fgd"ed#fe!d$ƒd%ejfge!d$ƒd&ejfdejd'fd(ejd#fd)ejfgd*œZ"d+S ),r   zFor openSCAD code.
    ÚOpenSCADzhttps://openscad.org/Úopenscadz*.scadzapplication/x-openscadz2.16z[^\S\n]+z//úcomment-singlez/\*úcomment-multiz[{}\[\]\(\),;:]z[*!#%\-+=?/]z<=|<|==|!=|>=|>|&&|\|\|z\$(f[asn]|t|vp[rtd]|children)z(undef|PI)\bz(use|include)((?:\s|\\\\s)+)Úincludesz(module)(\s*)([^\s\(]+)z(function)(\s*)([^\s\(]+))ÚtrueÚfalsez\b)ÚprefixÚsuffix)	ÚfunctionÚmoduler   ÚuseÚforÚintersection_forÚifÚelseÚreturn)AÚcircleÚsquareÚpolygonÚtextÚsphereÚcubeÚcylinderÚ
polyhedronÚ	translateÚrotateÚscaleÚresizeÚmirrorÚ
multmatrixÚcolorÚoffsetÚhullÚ	minkowskiÚunionÚ
differenceÚintersectionÚabsÚsignÚsinÚcosÚtanÚacosÚasinÚatanÚatan2ÚfloorÚroundÚceilÚlnÚlogÚpowÚsqrtÚexpÚrandsÚminÚmaxÚconcatÚlookupÚstrÚchrÚsearchÚversionÚversion_numÚnormÚcrossÚparent_moduleÚechoÚimportÚ
import_dxfÚdxf_linear_extrudeÚlinear_extrudeÚrotate_extrudeÚsurfaceÚ
projectionÚrenderÚ	dxf_crossÚdxf_dimÚletÚassignÚlenz\bchildren\bz	""".*?"""z"(\\\\|\\[^\\]|[^"\\])*"z-?\d+(\.\d+)?(e[+-]?\d+)?z\w+z(<)([^>]*)(>)z2:param: [a-zA-Z_]\w*|:returns?:|(FIXME|MARK|TODO):z\nz#popÚcommentz[^\n]+z[^*/]+z#pushz\*/z[*/])Úrootr   rc   r   r   N)#Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesÚversion_addedr   r   ÚSingleÚ	Multiliner   r	   r
   ÚConstantr   Ú	Namespacer   r   ÚDeclarationÚFunctionr   r   ÚBuiltinÚPseudor   ÚDoubler   ÚPreprocFileÚSpecialr   Útokens© r{   r{   úU/var/www/html/CropPilot/venv/lib/python3.10/site-packages/pygments/lexers/openscad.pyr      s|    


ýÿÿýýóò
Ô0þÿÿÿý

û
ÂN)rh   Úpygments.lexerr   r   r   r   Úpygments.tokenr   r   r   r	   r
   r   r   r   r   r   Ú__all__r   r{   r{   r{   r|   Ú<module>   s
    
0