ThirdParty/Pygments/pygments/lexers/graph.py

changeset 4697
c2e9bf425554
parent 4172
4f20dba37ab6
child 5713
6762afd9f963
equal deleted inserted replaced
4696:bf4d19a7cade 4697:c2e9bf425554
3 pygments.lexers.graph 3 pygments.lexers.graph
4 ~~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~~
5 5
6 Lexers for graph query languages. 6 Lexers for graph query languages.
7 7
8 :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2015 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
59 Keyword), 59 Keyword),
60 ], 60 ],
61 'relations': [ 61 'relations': [
62 (r'(-\[)(.*?)(\]->)', bygroups(Operator, using(this), Operator)), 62 (r'(-\[)(.*?)(\]->)', bygroups(Operator, using(this), Operator)),
63 (r'(<-\[)(.*?)(\]-)', bygroups(Operator, using(this), Operator)), 63 (r'(<-\[)(.*?)(\]-)', bygroups(Operator, using(this), Operator)),
64 (r'(-\[)(.*?)(\]-)', bygroups(Operator, using(this), Operator)),
64 (r'-->|<--|\[|\]', Operator), 65 (r'-->|<--|\[|\]', Operator),
65 (r'<|>|<>|=|<=|=>|\(|\)|\||:|,|;', Punctuation), 66 (r'<|>|<>|=|<=|=>|\(|\)|\||:|,|;', Punctuation),
66 (r'[.*{}]', Punctuation), 67 (r'[.*{}]', Punctuation),
67 ], 68 ],
68 'strings': [ 69 'strings': [

eric ide

mercurial