3 ��X� � @ sb d Z ddlZddlmZmZ ddlmZmZmZm Z m Z mZmZm Z mZ dgZG dd� de�ZdS )z� pygments.lexers.parasail ~~~~~~~~~~~~~~~~~~~~~~~~ Lexer for ParaSail. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�include) �Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Literal� ParaSailLexerc @ s� e Zd ZdZdZdgZddgZdgZej Z defdej fd ejfd ejfdejfdejfd efdejfdefed�dejfdefdefdefdefgdejfdejfdejfdejfdejfdejfgd�ZdS )r z` For `ParaSail <http://www.parasail-lang.org>`_ source code. .. versionadded:: 2.1 ZParaSailZparasailz*.psiz*.pslztext/x-parasailz[^\S\n]+z//.*?\nz\b(and|or|xor)=z<\b(and(\s+then)?|or(\s+else)?|xor|rem|mod|(is|not)\s+null)\ba% \b(abs|abstract|all|block|class|concurrent|const|continue|each|end|exit|extends|exports|forward|func|global|implements|import|in|interface|is|lambda|locked|new|not|null|of|op|optional|private|queued|ref|return|reverse|separate|some|type|until|var|with|if|then|else|elsif|case|for|while|loop)\bz,(abstract\s+)?(interface|class|op|func|type)z"[^"]*"z\\[\'ntrf"0]z#[a-zA-Z]\w*�numbersz'[^']'z[a-zA-Z]\w*zx(<==|==>|<=>|\*\*=|<\|=|<<=|>>=|==|!=|=\?|<=|>=|\*\*|<<|>>|=>|:=|\+=|-=|\*=|\|=|\||/=|\+|-|\*|/|\.\.|<\.\.|\.\.<|<\.\.<)z%(<|>|\[|\]|\(|\)|\||:|;|,|.|\{|\}|->)z\n+z#\d[0-9_]*#[0-9a-fA-F][0-9a-fA-F_]*#z0[xX][0-9a-fA-F][0-9a-fA-F_]*z0[bB][01][01_]*z%\d[0-9_]*\.\d[0-9_]*[eE][+-]\d[0-9_]*z\d[0-9_]*\.\d[0-9_]*z \d[0-9_]*)�rootr N) �__name__� __module__�__qualname__�__doc__�name�aliases� filenamesZ mimetypes�re� MULTILINE�flagsr r �Singler ZWordr ZReservedZDeclarationr ZEscaper r ZCharr r r ZHexZBinZFloatZInteger�tokens� r r �/usr/lib/python3.6/parasail.pyr sB )r r Zpygments.lexerr r Zpygments.tokenr r r r r r r r r �__all__r r r r r �<module> s ,