3 pygments.lexers.qvt |
3 pygments.lexers.qvt |
4 ~~~~~~~~~~~~~~~~~~~ |
4 ~~~~~~~~~~~~~~~~~~~ |
5 |
5 |
6 Lexer for QVT Operational language. |
6 Lexer for QVT Operational language. |
7 |
7 |
8 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. |
8 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. |
9 :license: BSD, see LICENSE for details. |
9 :license: BSD, see LICENSE for details. |
10 """ |
10 """ |
11 |
11 |
12 from pygments.lexer import RegexLexer, bygroups, include, combined, default, \ |
12 from pygments.lexer import RegexLexer, bygroups, include, combined, default, \ |
13 words |
13 words |
16 |
16 |
17 __all__ = ['QVToLexer'] |
17 __all__ = ['QVToLexer'] |
18 |
18 |
19 |
19 |
20 class QVToLexer(RegexLexer): |
20 class QVToLexer(RegexLexer): |
21 """ |
21 u""" |
22 For the `QVT Operational Mapping language <http://www.omg.org/spec/QVT/1.1/>`_. |
22 For the `QVT Operational Mapping language <http://www.omg.org/spec/QVT/1.1/>`_. |
23 |
23 |
24 Reference for implementing this: «Meta Object Facility (MOF) 2.0 |
24 Reference for implementing this: «Meta Object Facility (MOF) 2.0 |
25 Query/View/Transformation Specification», Version 1.1 - January 2011 |
25 Query/View/Transformation Specification», Version 1.1 - January 2011 |
26 (http://www.omg.org/spec/QVT/1.1/), see §8.4, «Concrete Syntax» in |
26 (http://www.omg.org/spec/QVT/1.1/), see §8.4, «Concrete Syntax» in |