Your IP : 216.73.216.213


Current Path : /opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/stata.cpython-37.pyc

B

˽�\9�@sndZddlZddlmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
ddlmZmZdgZGdd�de�ZdS)z�
    pygments.lexers.stata
    ~~~~~~~~~~~~~~~~~~~~~

    Lexer for Stata

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�include�words)�Comment�Keyword�Name�Number�String�Text�Operator)�
builtins_base�builtins_functions�
StataLexerc@s�eZdZdZdZddgZddgZddd	gZej	ej
BZed
�ed�ed�ed
�ed�ed�ed�de
fgdejdfdejdfdejdfdejdfgdejdfdejfdejdfdejfgdejdfdejd fdejdfd!ejdfdejfgd"ejdfd#ejdfdejfgd"e
dfdejfgd$ed%fd&ed'fgd$edfd(edfd)ejfed�defgd*edfd)ejfed�defgd+ejjd,fd-ejjd.fd/ejd0fgd/ejdfd1ejdfd+ejjd,fd-ejjd.fdejfgd+ejjdfd2ejjdfd-ejjd.fd/ejd0fd3ejjfd4ejjdfgd+ejjd,dfd-ejjd.dfd/ejd0dfd5ejjdfgeed6d7d8�ejfeed9d6d8�efgd:efd;efgd<efgd=ejfd>ejfd?ejfd@ejfgdA�ZdBS)CrzS
    For `Stata <http://www.stata.com/>`_ do files.

    .. versionadded:: 2.2
    ZStataZstataZdoz*.doz*.adoztext/x-stataz
text/statazapplication/x-stata�comments�strings�macros�numbers�keywords�	operators�format�.z(^//|(?<=\s)//)(?!/)zcomments-double-slashz^\s*\*z
comments-starz/\*zcomments-blockz(^///|(?<=\s)///)zcomments-triple-slashz#pushz\*/\*z(\*/\s+\*(?!/)[^\n]*)|(\*/)z#popz///.*?\n)z#popzcomments-triple-slash)z#popzcomments-double-slashz.(?=\n)z\nz//.*?(?=\n)z`"zstring-compoundz(?<!`)"zstring-regularz"\'z\\\\|\\"|\\\$|\\`|\\\nz(")(?!\')|(?=\n)z\$(\{|(?=[\$`]))zmacro-global-nestedz\$zmacro-global-name�`zmacro-local�'z\}z\wz(?!\w)z\w{1,32}z\bz(?=\())�prefix�suffixz	(^\s*|\s)z-|==|<=|>=|<|>|&|!=z\*|\+|\^|/|!|~|==|~=z>\b[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+|\.)([eE][+-]?[0-9]+)?[i]?\bz%-?\d{1,2}(\.\d{1,2})?[gfe]c?z%(21x|16H|16L|8H|8L)z'%-?(tc|tC|td|tw|tm|tq|th|ty|tg)\S{0,32}z%[-~]?\d{1,4}s)�rootrzcomments-blockz
comments-starzcomments-triple-slashzcomments-double-slashrzstring-compoundzstring-regularrzmacro-localzmacro-global-nestedzmacro-global-namerrrrN) �__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesZ	mimetypes�re�	MULTILINE�DOTALL�flagsrr
r�SingleZ	Multiline�Specialr	ZEscaper�VariableZGlobalrr
ZFunctionrrrrZOther�tokens�r+r+�F/opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/stata.pyrs�



















)rr#Zpygments.lexerrrrZpygments.tokenrrrrr	r
rZpygments.lexers._stata_builtinsrr
�__all__rr+r+r+r,�<module>
s$