3 ��X� � @ sj d Z ddlZddlmZmZmZmZ ddlmZm Z m Z mZmZm Z mZmZmZ dgZG dd� de�ZdS )z� pygments.lexers.ecl ~~~~~~~~~~~~~~~~~~~ Lexers for the ECL language. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�include�bygroups�words) �Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Error�ECLLexerc � @ sF e Zd ZdZdZdgZdgZdgZej ej B Zed�ed�gde fd ejfd ejfged�ed�ed �ed�dedfdedfdejfdejfdejfdejfdejfdefdefdefdefgdejfgdejfdeeje �fge �dd<d=�ej!fe �dd<d=�ej!fge �dd<d=�ej"fgde�dfde�df�defg�d�Z#�dS ( r z� Lexer for the declarative big-data `ECL <http://hpccsystems.com/community/docs/ecl-language-reference/html>`_ language. .. versionadded:: 1.5 ZECLZeclz*.eclzapplication/x-ecl� whitespace� statementsz\s+z\/\/.*z/(\\\n)?\*(.|\n)*?\*(\\\n)?/�types�keywords� functions�hash�"�stringz\'z"(\d+\.\d*|\.\d+|\d+)e[+-]?\d+[lu]*z(\d+\.\d*|\.\d+|\d+f)f?z0x[0-9a-f]+[lu]*z0[0-7]+[lu]*z\d+[lu]*z\*/z[~!%^&*+=|?:<>/-]+z [{}()\[\],.;]z [a-z_]\w*z^#.*$z(RECORD|END)\Dz�((?:ASCII|BIG_ENDIAN|BOOLEAN|DATA|DECIMAL|EBCDIC|INTEGER|PATTERN|QSTRING|REAL|RECORD|RULE|SET OF|STRING|TOKEN|UDECIMAL|UNICODE|UNSIGNED|VARSTRING|VARUNICODE)\d*)(\s+)�APPLY�ASSERT�BUILD� BUILDINDEX�EVALUATE�FAIL�KEYDIFF�KEYPATCH�LOADXML�NOTHOR�NOTIFY�OUTPUT�PARALLEL� SEQUENTIAL�SOAPCALL� CHECKPOINT� DEPRECATED�FAILCODE�FAILMESSAGE�FAILURE�GLOBAL�INDEPENDENT� ONWARNING�PERSIST�PRIORITY�RECOVERY�STORED�SUCCESS�WAIT�WHENz\b)�suffix�ALL�AND�ANY�AS�ATMOST�BEFORE�BEGINC++�BEST�BETWEEN�CASE�CONST�COUNTER�CSV�DESCEND�ENCRYPT�ENDC++�ENDMACRO�EXCEPT� EXCLUSIVE�EXPIRE�EXPORT�EXTEND�FALSE�FEW�FIRST�FLAT�FULL�FUNCTION�GROUP�HEADER�HEADING�HOLE�IFBLOCK�IMPORT�IN�JOINED�KEEP�KEYED�LAST�LEFT�LIMIT�LOAD�LOCAL�LOCALE�LOOKUP�MACRO�MANY�MAXCOUNT� MAXLENGTH�MIN SKEW�MODULE� INTERFACE�NAMED�NOCASE�NOROOT�NOSCAN�NOSORT�NOT�OF�ONLY�OPT�OR�OUTER� OVERWRITE�PACKED� PARTITION�PENALTY�PHYSICALLENGTH�PIPE�QUOTE�RELATIONSHIP�REPEAT�RETURN�RIGHT�SCAN�SELF� SEPARATOR�SERVICE�SHARED�SKEW�SKIP�SQL�STORE� TERMINATOR�THOR� THRESHOLD�TOKEN� TRANSFORM�TRIM�TRUE�TYPE�UNICODEORDER�UNSORTED�VALIDATE�VIRTUAL�WHOLE�WILD�WITHIN�XML�XPATH�__COMPRESSED__�ABS�ACOS�ALLNODES�ASCII�ASIN�ASSTRING�ATAN�ATAN2�AVE�CHOOSE�CHOOSEN� CHOOSESETS�CLUSTERSIZE�COMBINE�CORRELATION�COS�COSH�COUNT� COVARIANCE�CRON�DATASET�DEDUP�DEFINE�DENORMALIZE� DISTRIBUTE�DISTRIBUTED�DISTRIBUTION�EBCDIC�ENTH�ERROR�EVENT� EVENTEXTRA� EVENTNAME�EXISTS�EXP�FETCH�FROMUNICODE� GETISVALID�GRAPH�HASH�HASH32�HASH64�HASHCRC�HASHMD5�HAVING�IF�INDEX� INTFORMAT�ISVALID�ITERATE�JOIN� KEYUNICODE�LENGTH�LIBRARY�LN�LOG�LOOP�MAP�MATCHED�MATCHLENGTH� MATCHPOSITION� MATCHTEXT�MATCHUNICODE�MAX�MERGE� MERGEJOIN�MIN�NOLOCAL�NONEMPTY� NORMALIZE�PARSE�POWER�PRELOAD�PROCESS�PROJECT�PULL�RANDOM�RANGE�RANK�RANKED� REALFORMAT�RECORDOF� REGEXFIND�REGEXREPLACE�REGROUP�REJECTED�ROLLUP�ROUND�ROUNDUP�ROW�ROWDIFF�SAMPLE�SET�SIN�SINH�SIZEOF�SORT�SORTED�SQRT�STEPPED�SUM�TABLE�TAN�TANH�THISNODE�TOPN� TOUNICODE�TRANSFER�TRUNCATE�TYPEOF�UNGROUP�VARIANCE�WHICH�WORKUNIT� XMLDECODE� XMLENCODE�XMLTEXT� XMLUNICODEz#popz[^"\']+)�rootr r r r r r r N)r r r r r r r r r r! r"