6650:1dd52aa8897c | 6651:e8f3b5568b21 |
---|---|
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 """ | 2 """ |
3 pygments.lexers.ampl | 3 pygments.lexers.ampl |
4 ~~~~~~~~~~~~~~~~~~~~ | 4 ~~~~~~~~~~~~~~~~~~~~ |
5 | 5 |
6 Lexers for the ampl language. <http://ampl.com/> | 6 Lexers for the AMPL language. |
7 | 7 |
8 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. | 8 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. |
9 :license: BSD, see LICENSE for details. | 9 :license: BSD, see LICENSE for details. |
10 """ | 10 """ |
11 | 11 |
16 __all__ = ['AmplLexer'] | 16 __all__ = ['AmplLexer'] |
17 | 17 |
18 | 18 |
19 class AmplLexer(RegexLexer): | 19 class AmplLexer(RegexLexer): |
20 """ | 20 """ |
21 For AMPL source code. | 21 For `AMPL <http://ampl.com/>`_ source code. |
22 | 22 |
23 .. versionadded:: 2.2 | 23 .. versionadded:: 2.2 |
24 """ | 24 """ |
25 name = 'Ampl' | 25 name = 'Ampl' |
26 aliases = ['ampl'] | 26 aliases = ['ampl'] |