summaryrefslogtreecommitdiff
path: root/share/tinykate/syntax/eiffel.xml
blob: 548d779479cf0bad13cd5069add85a1a6eef1776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Eiffel" version="1.00" kateversion="2.0" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src">
        <highlighting>
                <list name="keywords">
                        <item> indexing </item>
                        <item> class </item>
                        <item> inherit </item>
                        <item> creation </item>
                        <item> feature </item>
                        <item> rename </item>
                        <item> redefine </item>
                        <item> undefine </item>
                        <item> select </item>
                        <item> export </item>
                        <item> local </item>
                        <item> deferred </item>
                        <item> do </item>
                        <item> is </item>
                        <item> once </item>
                        <item> alias </item>
                        <item> external </item>
                        <item> rescue </item>
                        <item> debug </item>
                        <item> if </item>
                        <item> inspect </item>
                        <item> from </item>
                        <item> else </item>
                        <item> elseif </item>
                        <item> when </item>
                        <item> until </item>
                        <item> loop </item>
                        <item> then </item>
                        <item> obsolete </item>
                        <item> end </item>
                </list>
                <list name="assertions">
                        <item> check </item>
                        <item> ensure </item>
                        <item> require </item>
                        <item> variant </item>
                        <item> invariant </item>
                </list>
                <contexts>
                        <context attribute="0" lineEndContext="#stay">
                                <keyword attribute="1" context="#stay" String="keywords"/>
                                <Float attribute="3" context="#stay"/>
                                <Int attribute="2" context="#stay"/>
                                <RegExpr attribute="4" context="#stay" String="'.'"/>
                                <DetectChar attribute="5" context="1" char="&quot;"/>
                                <Detect2Chars attribute="6" context="2" char="-" char1="-"/>
                                <keyword attribute="7" context="#stay" String="assertions"/>
                        </context>
                        <context attribute="5" lineEndContext="#pop">
                                <DetectChar attribute="5" context="#pop" char="&quot;"/>
                        </context>
                        <context attribute="6" lineEndContext="#pop"/>
                </contexts>
                <itemDatas>
                        <itemData name="Normal Text" defStyleNum="dsNormal" />
                        <itemData name="Keyword"     defStyleNum="dsKeyword" />
                        <itemData name="Decimal"     defStyleNum="dsDecVal" />
                        <itemData name="Float"       defStyleNum="dsFloat" />
                        <itemData name="Char"        defStyleNum="dsChar" />
                        <itemData name="String"      defStyleNum="dsString" />
                        <itemData name="Comment"     defStyleNum="dsComment" />
                        <itemData name="Assertions"  defStyleNum="dsOthers" />
                </itemDatas>
  </highlighting>
  <general>
    <comments>
      <comment name="singleLine" start="--" />
    </comments>
    <keywords casesensitive="1" />
  </general>
</language>