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

changeset 7547
21b0534faebc
parent 6942
2602857055c5
child 7701
25f42e208e08
equal deleted inserted replaced
7546:bf5f777260a6 7547:21b0534faebc
3 pygments.lexers.elm 3 pygments.lexers.elm
4 ~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~
5 5
6 Lexer for the Elm programming language. 6 Lexer for the Elm programming 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, words, include 12 from pygments.lexer import RegexLexer, words, include
13 from pygments.token import Comment, Keyword, Name, Number, Punctuation, String, Text 13 from pygments.token import Comment, Keyword, Name, Number, Punctuation, String, Text
75 75
76 # Prefix Operators 76 # Prefix Operators
77 (words((builtinOps), prefix=r'\(', suffix=r'\)'), Name.Function), 77 (words((builtinOps), prefix=r'\(', suffix=r'\)'), Name.Function),
78 78
79 # Infix Operators 79 # Infix Operators
80 (words((builtinOps)), Name.Function), 80 (words(builtinOps), Name.Function),
81 81
82 # Numbers 82 # Numbers
83 include('numbers'), 83 include('numbers'),
84 84
85 # Variable Names 85 # Variable Names

eric ide

mercurial