Your IP : 216.73.216.213
B
Ƚ�\� � @ s� d Z ddlZddlmZ ddlmZmZmZmZmZm Z ddl
mZmZm
Z
mZmZmZmZmZ ddlmZ ddgZG d d� de�ZG d
d� de�ZdS )z�
pygments.lexers.textedit
~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for languages related to text processing.
:copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�bisect)�
RegexLexer�include�default�bygroups�using�this)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation)�PythonLexer�AwkLexer�VimLexerc @ s� e Zd ZdZdZddddgZdgZdgZd efd
e j
fged�dej
d
fdedfed
�gded
fgdedfed�dedfdedfdefdedfdejdfdejfdejfdejfdejfdejfdejfdejfdej
fgd �Zd!S )"r z5
For Awk scripts.
.. versionadded:: 1.5
ZAwkZawkZgawkZmawkZnawkz*.awkzapplication/x-awkz\s+z#.*$�commentsandwhitespacez(/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/\Bz#popz(?=/))z#pop�badregexz\nz ^(?=\s|/)�slashstartsregexz3\+\+|--|\|\||&&|in\b|\$|!?~|(\*\*|[-<>+*%\^/!=|])=?z[{(\[;,]z[})\].]z3(break|continue|do|while|exit|for|if|else|return)\bz
function\bz�(atan2|cos|exp|int|log|rand|sin|sqrt|srand|gensub|gsub|index|length|match|split|sprintf|sub|substr|tolower|toupper|close|fflush|getline|next|nextfile|print|printf|strftime|systime|delete|system)\bz�(ARGC|ARGIND|ARGV|BEGIN|CONVFMT|ENVIRON|END|ERRNO|FIELDWIDTHS|FILENAME|FNR|FS|IGNORECASE|NF|NR|OFMT|OFS|ORFS|RLENGTH|RS|RSTART|RT|SUBSEP)\bz
[$a-zA-Z_]\w*z%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?z0x[0-9a-fA-F]+z[0-9]+z"(\\\\|\\"|[^"])*"z'(\\\\|\\'|[^'])*')r r r �rootN)�__name__�
__module__�__qualname__�__doc__�name�aliases� filenames� mimetypesr r
�Singler r �Regexr r r r ZDeclarationZReservedr
�Builtin�Otherr ZFloat�HexZInteger�Double�tokens� r'