eric6/ThirdParty/Pygments/pygments/lexers/smalltalk.py

changeset 7701
25f42e208e08
parent 7547
21b0534faebc
child 7983
54c5cfbb1e29
equal deleted inserted replaced
7700:a3cf077a8db3 7701:25f42e208e08
3 pygments.lexers.smalltalk 3 pygments.lexers.smalltalk
4 ~~~~~~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~~~~~~
5 5
6 Lexers for Smalltalk and related languages. 6 Lexers for Smalltalk and related languages.
7 7
8 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2020 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, include, bygroups, default 12 from pygments.lexer import RegexLexer, include, bygroups, default
13 from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ 13 from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
137 } 137 }
138 138
139 139
140 class NewspeakLexer(RegexLexer): 140 class NewspeakLexer(RegexLexer):
141 """ 141 """
142 For `Newspeak <http://newspeaklanguage.org/>` syntax. 142 For `Newspeak <http://newspeaklanguage.org/>`_ syntax.
143 143
144 .. versionadded:: 1.1 144 .. versionadded:: 1.1
145 """ 145 """
146 name = 'Newspeak' 146 name = 'Newspeak'
147 filenames = ['*.ns2'] 147 filenames = ['*.ns2']

eric ide

mercurial