o a @srdZddlZddlmZmZmZmZddlmZm Z m Z m Z ddlm Z m Z mZmZmZdgZGdddeZdS)z pygments.lexers.ezhil ~~~~~~~~~~~~~~~~~~~~~ Pygments lexers for Ezhil language. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. N) RegexLexerincludewordsbygroups)KeywordTextCommentName)StringNumber PunctuationOperator Whitespace EzhilLexerc seZdZdZdZdgZdgZdgZej ej BZ dZ e ddejfd efd ejfed d d ejfdejfdefe de ddefg defgde de defgdefdejfdejfgdZddZfddZZ S)rzy Lexer for `Ezhil, a Tamil script-based programming language `_ .. versionadded:: 2.1 Ezhilezhilz*.nz text/x-ezhilu[a-zA-Z_]|[஀-௿]keywordsz#.*$z[@+/*,^\-%]|[!<>=]=?|&&?|\|\|?u இல்)assertmaxminuநீளம்u%சரம்_இடமாற்றுu(சரம்_கண்டுபிடிuபட்டியல்uபின்இணைu*வரிசைப்படுத்துu எடுuதலைகீழ்uநீட்டிக்கuநுழைக்கuவைuகோப்பை_திறu%கோப்பை_எழுதுu"கோப்பை_மூடுpisincostansqrthypotpowexploglog10exitz\b)suffixz(True|False)\bz[^\S\n]+ identifierliteralz [(){}\[\]:;.]uபதிப்பி|தேர்ந்தெடு|தேர்வு|ஏதேனில்|ஆனால்|இல்லைஆனால்|இல்லை|ஆக|ஒவ்வொன்றாக|இல்|வரை|செய்|முடியேனில்|பின்கொடு|முடி|நிரல்பாகம்|தொடர்|நிறுத்து|நிரல்பாகம்z(?:z )(?:[0-9]|z)*z".*?"z#(?u)\d+((\.\d*)?[eE][+-]?\d+|\.\d*)z(?u)\d+)rootrr"r#cCsttd|dkr dSdS)zThis language uses Tamil-script. We'll assume that if there's a decent amount of Tamil-characters, it's this language. This assumption is obviously horribly off if someone uses string literals in tamil in another language.z[\u0b80-\u0bff] g?N)lenrefindall)textr*7/usr/lib/python3/dist-packages/pygments/lexers/ezhil.py analyse_textBszEzhilLexer.analyse_textc s$tjdi||dd|_dS)Nencodingzutf-8r*)super__init__getr-)selfoptions __class__r*r+r/JszEzhilLexer.__init__)!__name__ __module__ __qualname____doc__namealiases filenames mimetypesr' MULTILINEUNICODEflags _TALETTERSrrSingler Wordrr BuiltinrConstantrr r r FloatIntegertokensr,r/ __classcell__r*r*r3r+rsD !)r8r'pygments.lexerrrrrpygments.tokenrrrr r r r r r__all__rr*r*r*r+s