3 ��X� � @ sV d Z ddlmZmZ ddlmZmZmZmZm Z m Z mZmZ dgZ G dd� de�ZdS )z� pygments.lexers.nit ~~~~~~~~~~~~~~~~~~~ Lexer for the Nit language. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )� RegexLexer�words)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�NitLexerc 8 @ s� e Zd ZdZdZdgZdgZddejfe dSd<d=�e fd>ejfd?e fd@e fdAe fdBe fdCe fdDe fdEe fdFe fdGe fdHe jfdIejfdJejfdKejfdLefdMejjfdNefdOefdPefdQefgiZdRS )Tr zP For `nit <http://nitlanguage.org>`_ source. .. versionadded:: 2.0 ZNitZnitz*.nit�rootz#.*?$�package�module�import�class�abstract� interface� universal�enum�end�fun�type�init�redef�isa�do�readable�writable�var�intern�extern�public� protected�private�intrude�if�then�else�while�loop�for�in�and�or�not�implies�return�continue�break�abort�assert�new�is�once�super�self�true�false�nullable�null�as�isset�label� __debug__z(?=[\r\n\t( ]))�suffixz[A-Z]\w*z5"""(([^\'\\]|\\.)|\\r|\\n)*((\{\{?)?(""?\{\{?)*""""*)z\\'\'\'(((\\.|[^\'\\])|\\r|\\n)|\'((\\.|[^\'\\])|\\r|\\n)|\'\'((\\.|[^\'\\])|\\r|\\n))*\'\'\'z7"""(([^\'\\]|\\.)|\\r|\\n)*((""?)?(\{\{?""?)*\{\{\{\{*)z:\}\}\}(((\\.|[^\'\\])|\\r|\\n))*(""?)?(\{\{?""?)*\{\{\{\{*z8\}\}\}(((\\.|[^\'\\])|\\r|\\n))*(\{\{?)?(""?\{\{?)*""""*z"(\\.|([^"}{\\]))*"z"(\\.|([^"}{\\]))*\{z\}(\\.|([^"}{\\]))*\{z\}(\\.|([^"}{\\]))*"z(\'[^\'\\]\')|(\'\\.\')z[0-9]+z [0-9]*.[0-9]+z0(x|X)[0-9A-Fa-f]+z[a-z]\w*z_\w+z3==|!=|<==>|>=|>>|>|<=|<<|<|\+|-|=|/|\*|%|\+=|-=|!|@z!\(|\)|\[|\]|,|\.\.\.|\.\.|\.|::|:z`\{[^`]*`\}z [\r\n\t ]+N)5r r r r r r r r r r r r r r r r r r r r! r"