HOME


Mini Shell 1.0
DIR: /usr/lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/openscad.cpython-312.pyc
�

|�eu��l�dZddlmZmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZmZmZdgZGd�de�Zy)z�
    pygments.lexers.openscad
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the OpenSCAD languages.

    :copyright: Copyright 2006-2023 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��eZdZdZdZdZdgZdgZdgZde	fde
jd	fd
e
jdfde
fd
efdefdefdej fdeej$e�dfdeej$e	ej$�fdeej*e	ej,�feddd��efeddd��efeddd��ej2fdej2j4fdej8fdej8fdefdefgdee
e
j<e
�fgd e
j>fgd!ed"fe d#�d$e
jfge d#�d%e
jfd
e
jd&fd'e
jd"fd(e
jfgd)�Z!y*)+rz3For openSCAD code.

    .. versionadded:: 2.16
    �OpenSCADzhttps://openscad.org/�openscadz*.scadzapplication/x-openscadz[^\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[*/])�rootrrerrN)"�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypesrr�Single�	Multiliner	r
r�Constantr�	Namespacerr�Declaration�Functionrr�Builtin�Pseudor�Doubler
�PreprocFile�Specialr�tokens���:/usr/lib/python3/dist-packages/pygments/lexers/openscad.pyrrs"����D�
!�C��l�G��
�I�)�*�I��*�%�
�G�N�N�$4�5�
�W�&�&��8�
��-�
�h�'�
'��2�
-�x�8�
�g�.�.�/�/���*�*�D�1��
�
(�
�g�'�'��T�^�^�
D�
F�
)�
�g�)�)�:�t�}�}�
E�
G�
�$�U�5�
A�7�K�
�� ��/�18�
�
�
� ��
/����
� �d�l�l�1�1�2�
�6�=�=�)�
(�&�-�-�8�
)�6�2�
�T�N�Y-
�`!���g�&9�&9�;�G�
�
�C�
�_�_�
�
�
�D�&�!��I��
����'�
�
�I��
��)�)�*�
�W�&�&��0�
�W�&�&��/�
�g�'�'�(�
�}E�Fr}N)rj�pygments.lexerrrrr�pygments.tokenrrr	r
rrr
rrr�__all__rr|r}r~�<module>r�s2���@�?�s�s�s��
��P�J�Pr}