3 ��X� � @ sb d Z ddlZddlmZmZmZ ddlmZmZm Z m Z mZmZm Z mZ dgZG dd� de�ZdS )z� pygments.lexers.ambient ~~~~~~~~~~~~~~~~~~~~~~~ Lexers for AmbientTalk language. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�include�words)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�AmbientTalkLexerc @ s$ e Zd ZdZdZdgZdddgZdgZej ej B Zed7�Z defdejfdejfdefe ejfdejfdejd fd!efd"ed#fd$efd%ejfd&ejfd'efd(ejjfd)ejfd*ejfd+ejd,fed-�gd.ej fd/ej!fgd0ej"fd&ejd1fd2ejd1fgd3ejd1fgd"ed1fd4efd)ejfgd5�Z#d6S )8r zr Lexer for `AmbientTalk <https://code.google.com/p/ambienttalk>`_ source code. .. versionadded:: 2.0 ZAmbientTalkz*.atZatZambienttalkz ambienttalk/2ztext/x-ambienttalk�if:�then:�else:�when:� whenever:�discovered:� disconnected:�reconnected:� takenOffline:�becomes:�export:�as:�object:�actor:�mirror:� taggedAs:�mirroredBy:�is:z\s+z//.*?\nz /\*.*?\*/z$(def|deftype|import|alias|exclude)\bz(true|false|nil)\bz(~|lobby|jlobby|/)\.� namespacez"(\\\\|\\"|[^"])*"z\|�arglistz<:|[*^!%&<>+=,./?-]|:=z `[a-zA-Z_]\w*z [a-zA-Z_]\w*:z[{}()\[\];`]z(self|super)\bz[a-zA-Z_]\w*z @[a-zA-Z_]\w*z@\[�annotations�numbersz%(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?z\d+z[a-zA-Z_]\w*\.z#popz[a-zA-Z_]\w*(?!\.)z(.*?)\]z \s*(,)\s*)�rootr# r r"