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

changeset 7983
54c5cfbb1e29
parent 7701
25f42e208e08
equal deleted inserted replaced
7982:48d210e41c65 7983:54c5cfbb1e29
3 pygments.lexers.boa 3 pygments.lexers.boa
4 ~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~
5 5
6 Lexers for the Boa language. 6 Lexers for the Boa language.
7 7
8 :copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2021 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 import re 12 import re
13 13
90 (built_in_functions, Name.Function), 90 (built_in_functions, Name.Function),
91 (keywords, Keyword.Type), 91 (keywords, Keyword.Type),
92 (classes, Name.Classes), 92 (classes, Name.Classes),
93 (words(operators), Operator), 93 (words(operators), Operator),
94 (r'[][(),;{}\\.]', Punctuation), 94 (r'[][(),;{}\\.]', Punctuation),
95 (r'"(\\\\|\\"|[^"])*"', String), 95 (r'"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
96 (r'`(\\\\|\\`|[^`])*`', String), 96 (r"`(\\\\|\\[^\\]|[^`\\])*`", String.Backtick),
97 (words(string_sep), String.Delimeter), 97 (words(string_sep), String.Delimiter),
98 (r'[a-zA-Z_]+', Name.Variable), 98 (r'[a-zA-Z_]+', Name.Variable),
99 (r'[0-9]+', Number.Integer), 99 (r'[0-9]+', Number.Integer),
100 (r'\s+?', Text), # Whitespace 100 (r'\s+?', Text), # Whitespace
101 ] 101 ]
102 } 102 }

eric ide

mercurial