3 ��X � @ sV d Z ddlZddlmZ ddlmZmZmZmZm Z m Z mZ dgZG dd� de�Z dS )z� pygments.lexers.trafficscript ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lexer for RiverBed's TrafficScript (RTS) language. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer)�String�Number�Name�Keyword�Operator�Text�Comment�RtsLexerc @ s� e Zd ZdZdZddgZdgZdefdedfd efd ej fde jfdefd e j fdefdefdefdefgdejfdefdedfgd�ZdS )r zp For `Riverbed Stingray Traffic Manager <http://www.riverbed.com/stingray>`_ .. versionadded:: 2.1 Z TrafficScriptZrtsZ trafficscriptz*.rtsz'(\\\\|\\[^\\]|[^'\\])*'�"zescapable-stringz(0x[0-9a-fA-F]+|\d+)z\d+\.\d+z\$[a-zA-Z](\w|_)*z8(if|else|for(each)?|in|while|do|break|sub|return|import)z[a-zA-Z][\w.]*z[-+*/%=,;(){}<>^.!~|&\[\]\?\:]zM(>=|<=|==|!=|&&|\|\||\+=|.=|-=|\*=|/=|%=|<<=|>>=|&=|\|=|\^=|>>|<<|\+\+|--|=>)z[ \t\r]+z#[^\n]*z\\[tsn]z[^"]z#pop)�rootzescapable-stringN)�__name__� __module__�__qualname__�__doc__�name�aliases� filenamesr r ZFloatr ZVariabler ZFunctionr r r ZEscape�tokens� r r �#/usr/lib/python3.6/trafficscript.pyr s&