3 ��X�) � @ s� d Z ddlZddlmZmZmZmZmZmZm Z ddl mZmZm Z mZmZmZmZmZmZ ddlmZmZmZ ddgZG dd� de�ZG d d� de�ZdS ) z� pygments.lexers.php ~~~~~~~~~~~~~~~~~~~ Lexers for PHP and related languages. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�include�bygroups�default�using�this�words) �Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Other)�get_bool_opt�get_list_opt� iteritems�ZephirLexer�PhpLexerc @ s e Zd ZdZdZdgZdgZddddgZd d dgZe j e jB Zde fd ejfdejfged�dejdfed�gde dfgde dfed�dedfdedfdefdedfdejdfdejfdejfdejfdejfdejfdej fd ej!fd!ej"fd"ejfgd#�Z#d$S )%r z� For `Zephir language <http://zephir-lang.com/>`_ source code. Zephir is a compiled high level language aimed to the creation of C-extensions for PHP. .. versionadded:: 2.0 ZZephirZzephirz*.zepZfetchZechoZisset�empty�bit�bits�stringz\s+z//.*?\nz /\*.*?\*/�commentsandwhitespacez3/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gim]+\b|\B)z#popz\nz^(?=\s|/|<!--)�slashstartsregexzC\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|->|[-<>+*%&|^/])=?z[{(\[;,]z[})\].]z�(for|in|while|do|break|return|continue|switch|case|default|if|else|loop|require|inline|throw|try|catch|finally|new|delete|typeof|instanceof|void|namespace|use|extends|this|fetch|isset|unset|echo|fetch|likely|unlikely|empty)\bz(var|let|with|function)\bz�(abstract|boolean|bool|char|class|const|double|enum|export|extends|final|native|goto|implements|import|int|string|interface|long|ulong|char|uchar|float|unsigned|private|protected|public|short|static|self|throws|reverse|transient|volatile)\bz(true|false|null|undefined)\bzm(Array|Boolean|Date|_REQUEST|_COOKIE|_SESSION|_GET|_POST|_SERVER|this|stdClass|range|count|iterator|window)\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 Zbadregex�rootN)$�__name__� __module__�__qualname__�__doc__�name�aliases� filenamesZzephir_keywordsZzephir_type�re�DOTALL� MULTILINE�flagsr r �Single� Multiliner r ZRegexr r r r ZDeclarationZReserved�Constantr �Builtinr r �Float�Hex�Integer�Double�tokens� r2 r2 �/usr/lib/python3.6/php.pyr sF c "