summaryrefslogtreecommitdiffstats
path: root/kate/data/ada.xml
blob: 12968308c9451ab469b8c4bb83f0aa96610cb368 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Ada"
          version="1.08"
          kateversion="2.5"
          section="Sources"
          extensions="*.adb;*.ads;*.ada;*.a"
          indenter="ada"
          mimetype="text/x-adasrc">
  <highlighting>
    <list name="keywords">
      <item> abort </item>
      <item> abs </item>
      <item> abstract </item>
      <item> accept </item>
      <item> access </item>
      <item> aliased </item>
      <item> all </item>
      <item> and </item>
      <item> array </item>
      <item> at </item>
      <item> begin </item>
      <item> body </item>
      <item> constant </item>
      <item> declare </item>
      <item> delay </item>
      <item> delta </item>
      <item> digits </item>
      <item> do </item>
      <item> else </item>
      <item> elsif </item>
      <item> end </item>
      <item> entry </item>
      <item> exception </item>
      <item> exit </item>
      <item> for </item>
      <item> function </item>
      <item> generic </item>
      <item> goto </item>
      <item> in </item>
      <item> interface </item>
      <item> is </item>
      <item> limited </item>
      <item> mod </item>
      <item> new </item>
      <item> not </item>
      <item> null </item>
      <item> of </item>
      <item> or </item>
      <item> others </item>
      <item> out </item>
      <item> overriding </item>
      <item> package </item>
      <item> pragma </item>
      <item> private </item>
      <item> procedure </item>
      <item> protected </item>
      <item> raise </item>
      <item> range </item>
      <item> rem </item>
      <item> record </item>
      <item> renames </item>
      <item> requeue </item>
      <item> return </item>
      <item> reverse </item>
      <item> separate </item>
      <item> subtype </item>
      <item> tagged </item>
      <item> task </item>
      <item> terminate </item>
      <item> then </item>
      <item> type </item>
      <item> until </item>
      <item> use </item>
      <item> when </item>
      <item> while </item>
      <item> with </item>
      <item> xor </item>
    </list>
    <list name="pragmas">
      <item> all_calls_remote </item>
      <item> assert </item>
      <item> assertion_policy </item>
      <item> asynchronous </item>
      <item> atomic </item>
      <item> atomic_components </item>
      <item> attach_handler </item>
      <item> controlled </item>
      <item> convention </item>
      <item> detect_blocking </item>
      <item> discard_names </item>
      <item> elaborate </item>
      <item> elaborate_all </item>
      <item> elaborate_body </item>
      <item> export </item>
      <item> import </item>
      <item> inline </item>
      <item> inspection_point </item>
      <item> interrupt_handler </item>
      <item> interrupt_priority </item>
      <item> linker_options </item>
      <item> list </item>
      <item> locking_policy </item>
      <item> no_return </item>
      <item> normalize_scalars </item>
      <item> optimize </item>
      <item> pack </item>
      <item> page </item>
      <item> partition_elaboration_policy </item>
      <item> preelaborable_initialization </item>
      <item> preelaborate </item>
      <item> priority </item>
      <item> priority_specific_dispatching </item>
      <item> profile </item>
      <item> pure </item>
      <item> queuing_policy </item>
      <item> relative_deadline </item>
      <item> remote_call_interface </item>
      <item> remote_types </item>
      <item> restrictions </item>
      <item> reviewable </item>
      <item> shared_passive </item>
      <item> storage_size </item>
      <item> suppress </item>
      <item> task_dispatching_policy </item>
      <item> unchecked_union </item>
      <item> unsuppress </item>
      <item> volatile </item>
      <item> volatile_components </item>
    </list>
    <list name="types">
      <item> boolean </item>
      <item> char </item>
      <item> float </item>
      <item> integer </item>
      <item> long_float </item>
      <item> long_integer </item>
      <item> long_long_float </item>
      <item> long_long_integer </item>
      <item> short_float </item>
      <item> short_integer </item>
      <item> string </item>
      <item> wide_string </item>
      <item> wide_char </item>
      <item> wide_wide_char </item>
      <item> wide_wide_string </item>
    </list>
    <contexts>
      <context attribute="Normal Text" lineEndContext="#stay" name="Default">
        <RegExpr attribute="Keyword" context="#stay" String="\brecord\b"       insensitive="true" beginRegion="RecordRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bend\s+record\b" insensitive="true"   endRegion="RecordRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bcase\b"         insensitive="true" beginRegion="CaseRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bend\s+case\b"   insensitive="true"   endRegion="CaseRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bif\b"           insensitive="true" beginRegion="IfRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bend\s+if\b"     insensitive="true"   endRegion="IfRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bloop\b"         insensitive="true" beginRegion="LoopRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bend\s+loop\b"   insensitive="true"   endRegion="LoopRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bselect\b"       insensitive="true" beginRegion="SelectRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bend\s+select\b" insensitive="true"   endRegion="SelectRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bbegin\b"        insensitive="true" beginRegion="BeginRegion"/>
        <RegExpr attribute="Keyword" context="#stay" String="\bend\b"          insensitive="true"   endRegion="BeginRegion"/>
        <StringDetect attribute="Region Marker" context="Region Marker" String="--  BEGIN" beginRegion="RegionMarker" firstNonSpace="true" />
        <StringDetect attribute="Region Marker" context="Region Marker" String="--  END" endRegion="RegionMarker" firstNonSpace="true" />
        <keyword attribute="Keyword" context="#stay" String="keywords"/>
        <keyword attribute="Pragmas" context="#stay" String="pragmas" />
        <keyword attribute="Data Type" context="#stay" String="types" />
        <Float attribute="Float" context="#stay"/>
        <Int attribute="Decimal" context="#stay"/>
        <RegExpr attribute="Char" context="#stay" String="'.'"/>
        <DetectChar attribute="String" context="String" char="&quot;"/>
        <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/>
        <AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;|"/>
      </context>
      <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"/>
      <context attribute="String" lineEndContext="#pop" name="String">
        <DetectChar attribute="String" context="#pop" char="&quot;"/>
      </context>
      <context attribute="Comment" lineEndContext="#pop" name="Comment"/>
    </contexts>
    <itemDatas>
      <itemData name="Normal Text" defStyleNum="dsNormal" />
      <itemData name="Keyword"     defStyleNum="dsKeyword" />
      <itemData name="Pragmas"     defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0"/>
      <itemData name="Data Type"   defStyleNum="dsDataType"/>
      <itemData name="Decimal"     defStyleNum="dsDecVal" />
      <itemData name="Base-N"      defStyleNum="dsBaseN" />
      <itemData name="Float"       defStyleNum="dsFloat" />
      <itemData name="Char"        defStyleNum="dsChar" />
      <itemData name="String"      defStyleNum="dsString" />
      <itemData name="Comment"     defStyleNum="dsComment" />
      <itemData name="Symbol"      defStyleNum="dsNormal"/>
      <itemData name="Region Marker" defStyleNum="dsRegionMarker" />
    </itemDatas>
  </highlighting>
  <general>
    <comments>
      <comment name="singleLine" start="--" />
    </comments>
    <keywords casesensitive="0" />
  </general>
</language>