3 ��X!2 � @ s� d Z ddlZddlmZmZmZmZmZ ddlm Z m Z mZmZm Z mZmZmZ ddlmZ ddlmZ ddd d gZG dd� de�ZG dd� de�ZG d d � d e�ZG dd � d e�ZdS )z� pygments.lexers.modeling ~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for modeling languages. :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�include�bygroups�using�default)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation)� HtmlLexer)�_stan_builtins� ModelicaLexer� BugsLexer� JagsLexer� StanLexerc @ s$ e Zd ZdZdZdgZdgZdgZej ej B ZdZde fdejfd ejfged �dejdfd efdefdejfdejfdejfdejfdejfdejdfdejfdejdfeefg ed �dejfdejdfeejdfe d�ged �eej!dfe d�gdejdfdej"fde#e$�fdejfgd�Z%d S )!r z\ For `Modelica <http://www.modelica.org/>`_ source code. .. versionadded:: 1.1 ZModelicaZmodelicaz*.moztext/x-modelicaz"(?:'(?:[^\\']|\\.)+'|[a-zA-Z_]\w*)u [\s]+z//[^\n]*\n?z /\*.*?\*/� whitespace�"�stringz [()\[\]{},;]+z\.?[*^/+-]|\.|<>|[<>:=]=?z\d+(\.?\d*[eE][-+]?\d+|\.\d*)z\d+al (abs|acos|actualStream|array|asin|assert|AssertionLevel|atan|atan2|backSample|Boolean|cardinality|cat|ceil|change|Clock|Connections|cos|cosh|cross|delay|diagonal|div|edge|exp|ExternalObject|fill|floor|getInstanceName|hold|homotopy|identity|inStream|integer|Integer|interval|inverse|isPresent|linspace|log|log10|matrix|max|min|mod|ndims|noClock|noEvent|ones|outerProduct|pre|previous|product|Real|reinit|rem|rooted|sample|scalar|semiLinear|shiftSample|sign|sin|sinh|size|skew|smooth|spatialDistribution|sqrt|StateSelect|String|subSample|sum|superSample|symmetric|tan|tanh|terminal|terminate|time|transpose|vector|zeros)\baX (algorithm|annotation|break|connect|constant|constrainedby|der|discrete|each|else|elseif|elsewhen|encapsulated|enumeration|equation|exit|expandable|extends|external|final|flow|for|if|import|impure|in|initial|inner|input|loop|nondiscrete|outer|output|parameter|partial|protected|public|pure|redeclare|replaceable|return|stream|then|when|while)\bz(and|not|or)\bzI(block|class|connector|end|function|model|operator|package|record|type)\b�classz(false|true)\bzwithin\bzpackage-prefixz(function|record)\bz(if|for|when|while)\bz#popz\\[\'"?\\abfnrtv]z6(?i)<\s*html\s*>([^\\"]|\\.)+?(<\s*/\s*html\s*>|(?="))z <|\\?[^"\\<]+)r �rootr zpackage-prefixr N)&�__name__� __module__�__qualname__�__doc__�name�aliases� filenamesZ mimetypes�re�DOTALL� MULTILINE�flags�_namer r �Single� Multiliner r �Doubler r r �Float�Integerr �Builtinr �ReservedZWordZConstantZClassr � NamespaceZEscaper r �tokens� r/ r/ �/usr/lib/python3.6/modeling.pyr sN c >