ó
    öÞ jÚ  ã                   ól   • S r SSKJrJrJrJrJrJr  SSKJ	r	J
r
JrJrJrJrJrJr  S/r " S S\5      rg)z½
pygments.lexers.qvt
~~~~~~~~~~~~~~~~~~~

Lexer for QVT Operational language.

:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroupsÚincludeÚcombinedÚdefaultÚwords)ÚTextÚCommentÚOperatorÚKeywordÚPunctuationÚNameÚStringÚNumberÚ	QVToLexerc                   ó  • \ rS rSrSrSrSS/rS/rSrSr	S	\
4S
\
4S\" \\\R                  \5      4S\R                  4S\
4S\R                   4S\R                   4S\4S\4S\4S\R&                  4S\R*                  R,                  4S\R.                  4S\R0                  S4S\" \R                   \
\R2                  5      4S\" \R                   \
\R4                  5      4S\R6                  4S\" \R.                  \
5      S4S\" \\
5      S4S\R8                  4\" S 5      S!\\" S"S#5      4S$\\" S"S%5      4\" S&5      \" S'5      /S(\
4S)\R0                  4\ " S*5      /S+\
4S,\" \
\R6                  \
\5      S*4/S-\S*4\ " S*5      /\!" S.S/S09\4/S1\4S2\4/S3\RD                  4/S!\S*4S4\RD                  4\" S55      /S$\S*4S6\RD                  4\" S55      /S7\4/S8\#RH                  4S9\#RH                  4S:\#RJ                  4/S;.r&S<r'g=)>r   é   uf  
For the QVT Operational Mapping language.

Reference for implementing this: Â«Meta Object Facility (MOF) 2.0
Query/View/Transformation SpecificationÂ», Version 1.1 - January 2011
(https://www.omg.org/spec/QVT/1.1/), see Â§8.4, Â«Concrete SyntaxÂ» in
particular.

Notable tokens assignments:

- Name.Class is assigned to the identifier following any of the following
  keywords: metamodel, class, exception, primitive, enum, transformation
  or library

- Name.Function is assigned to the names of mappings and queries

- Name.Builtin.Pseudo is assigned to the pre-defined variables 'this',
  'self' and 'result'.
ÚQVTOÚqvtoÚqvtz*.qvtoz https://www.omg.org/spec/QVT/1.1Ú z\nz[^\S\n]+z(--|//)(\s*)(directive:)?(.*)$z/[*][\s\S]*?[*]/z\\\nz(and|not|or|xor|##?)\bz(:{1,2}=|[-+]=)\bz(@|<<|>>)\bz,!=|<>|==|=|!->|->|>=|<=|[.]{3}|[+/*%=<>&|.~]z[]{}:(),;[]z(true|false|unlimited|null)\bz(this|self|result)\bz(var)\bz(from|import)\bÚ
fromimportzK(metamodel|class|exception|primitive|enum|transformation|library)(\s+)(\w+)z(exception)(\s+)(\w+)z(main)\bz(mapping|helper|query)(\s+)Ú	operationz(assert)(\s+)\bÚassertz:(Bag|Collection|Dict|OrderedSet|Sequence|Set|Tuple|List)\bÚkeywordsÚ"ÚstringescapeÚdqsÚ'ÚsqsÚnameÚnumbersz(?:[ \t]|\\\n)+z[a-zA-Z_][\w.]*z#popz::z (.*::)([a-zA-Z_]\w*)([ \t]*)(\()z(warning|error|fatal)\b)YÚabstractÚaccessÚanyr   ÚblackboxÚbreakÚcaseÚcollectÚcollectNestedÚ
collectOneÚcollectselectÚcollectselectOneÚcomposesÚcomputeÚconfigurationÚconstructorÚcontinueÚdatatyper   ÚderivedÚ	disjunctsÚdoÚelifÚelseÚendÚendifÚexceptÚexistsÚextendsÚforAllÚforEachÚforOneÚfromÚifÚimpliesÚinÚinheritsÚinitÚinoutÚintermediateÚ
invresolveÚinvresolveInÚinvresolveoneÚinvresolveoneInÚisUniqueÚiterateÚlateÚletÚliteralÚlogÚmapÚmergesÚ	modeltypeÚnewÚobjectÚoneÚorderedÚoutÚpackageÚ
populationÚpropertyÚraiseÚreadonlyÚ
referencesÚrefinesÚrejectÚresolveÚ	resolveInÚ
resolveoneÚresolveoneInÚreturnÚselectÚ	selectOneÚsortedByÚstaticÚswitchÚtagÚthenÚtryÚtypedefÚ	unlimitedÚusesÚwhenÚwhereÚwhileÚwithÚxcollectÚxmapÚxselectz\b)Úsuffixz[^\\\'"\n]+z[\'"\\]z+\\([\\btnfr"\']|u[0-3][0-7]{2}|u[0-7]{1,2})z\\\\|\\"Ústringsz\\\\|\\'z[a-zA-Z_]\w*z%(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?z\d+[eE][+-]?[0-9]+z\d+)Úrootr   r   r   r   r{   r   r   r    r!   r"   © N)(Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r!   ÚaliasesÚ	filenamesÚurlÚversion_addedr	   r   r
   ÚPreprocÚ	Multiliner   ÚWordr   r   ÚConstantr   ÚBuiltinÚPseudoÚDeclarationÚ	NamespaceÚClassÚ	ExceptionÚFunctionÚTyper   r   r   r   r   ÚEscaper   ÚFloatÚIntegerÚtokensÚ__static_attributes__r}   ó    ÚM/var/www/html/gaurav/venv/lib/python3.13/site-packages/pygments/lexers/qvt.pyr   r      sÚ  † ñð* €DØ�uˆo€GØ�
€IØ
,€CØ€Mð �DˆMØ˜$ÐØ.Ù�g˜w¨¯©¸ÓAðCð
 ! '×"3Ñ"3Ð4Ø�dˆOØ&¨¯©Ð6Ø! 8§=¡=Ð1Ø˜WÐ%Ø<¸hÐGØ˜[Ð)Ø-¨w×/?Ñ/?Ð@Ø$ d§l¡l×&9Ñ&9Ð:Ø˜×,Ñ,Ð-Ø ×!2Ñ!2°LÐAð#á�g—l‘l D¨$¯*©*Ó5ð7ð &Ù�g—l‘l D¨$¯.©.Ó9ð;à˜$Ÿ-™-Ð(Ø+Ù�g×)Ñ)¨4Ó0°+ð?à¡¨'°4Ó!8¸(ÐCØJØ�\‰\ðá�JÓØ�&™( >°5Ó9Ð:Ø�&™( >°5Ó9Ð:Ù�F‹OÙ�IÓðE%
ðP   Ð&Ø §¡Ð0Ù�F‹Oð
ð �DˆMØ0Ù�d˜DŸM™M¨4°Ó=¸vðGð
ð (¨°&Ð9Ù�F‹Oð
ñ ð #ð  ,1ñ!2ð  4;ð!<ð
ð. ˜VÐ$à˜Ð ð
ð <¸V¿]¹]ÐKð
ð �6˜6Ð"Ø˜&Ÿ-™-Ð(Ù�IÓð
ð �6˜6Ð"Ø˜&Ÿ-™-Ð(Ù�IÓð
ð ˜dÐ#ð
ð
 6°v·|±|ÐDØ" F§L¡LÐ1Ø�V—^‘^Ð$ð
ñKjƒFr˜   N)r‚   Úpygments.lexerr   r   r   r   r   r   Úpygments.tokenr	   r
   r   r   r   r   r   r   Ú__all__r   r}   r˜   r™   Ú<module>r�      s:   ðñ÷
÷ 
÷÷ ó ð ˆ-€ôF�
õ Fr˜   