This file is indexed.

/usr/share/gtksourceview-3.0/language-specs/boo.lang is in libgtksourceview-3.0-common 3.24.7-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<?xml version="1.0" encoding="UTF-8"?>
<!--

 This file is part of GtkSourceView

 Author: Sebastian Dröge <slomo@circular-chaos.org>
 Copyright (C) 2006 Sebastian Dröge <slomo@circular-chaos.org>

 GtkSourceView is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 GtkSourceView is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public License
 along with this library; if not, see <http://www.gnu.org/licenses/>.

-->
<language id="boo" name="Boo" version="2.0" _section="Source">
  <metadata>
    <property name="mimetypes">text/x-boo</property>
    <property name="globs">*.boo</property>
    <property name="line-comment-start">#</property>
    <property name="block-comment-start">/*</property>
    <property name="block-comment-end">*/</property>
  </metadata>

  <styles>
    <style id="comment"           name="Comment"             map-to="def:comment"/>
    <style id="multiline-string"  name="Multiline string"    map-to="def:string"/>
    <style id="string"            name="String"              map-to="def:string"/>
    <style id="regex"             name="Regular Expression"  map-to="def:string"/>
    <style id="namespace"         name="Namespace"           map-to="def:preprocessor"/>
    <style id="type"              name="Data Type"           map-to="def:type"/>
    <style id="definition"        name="Definition"          map-to="def:keyword"/>
    <style id="keyword"           name="Keyword"             map-to="def:keyword"/>
    <style id="special-variable"  name="Special Variable"    map-to="def:identifier"/>
    <style id="null-value"        name="Null Value"          map-to="def:special-constant"/>
    <style id="boolean"           name="Boolean"             map-to="def:boolean"/>
    <style id="number"            name="Number"              map-to="def:number"/>
    <style id="builtin"           name="Builtin Function"    map-to="def:builtin"/>
  </styles>

  <definitions>

    <context id="c-style-line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
      <start>//</start>
      <include>
        <context ref="def:in-line-comment"/>
      </include>
    </context>

    <context id="block-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
      <start>/\*</start>
      <end>\*/</end>
      <include>
        <context ref="def:in-comment"/>
      </include>
    </context>

    <context id="multiline-string" style-ref="multiline-string" class="string" class-disabled="no-spell-check">
      <start>"""</start>
      <end>"""</end>
      <include>
        <context ref="def:escape"/>
      </include>
    </context>

    <context id="double-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
      <start>"</start>
      <end>"</end>
      <include>
        <context ref="def:escape"/>
        <context ref="def:line-continue"/>
      </include>
    </context>

    <context id="single-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
      <start>'</start>
      <end>'</end>
      <include>
        <context ref="def:escape"/>
        <context ref="def:line-continue"/>
      </include>
    </context>

    <context id="regex" style-ref="regex" end-at-line-end="true">
      <start>/(?!/)</start>
      <end>/</end>
    </context>

    <context id="namespace" style-ref="namespace">
      <keyword>as</keyword>
      <keyword>from</keyword>
      <keyword>import</keyword>
      <keyword>namespace</keyword>
    </context>

    <context id="primitives" style-ref="type">
      <keyword>bool</keyword>
      <keyword>byte</keyword>
      <keyword>char</keyword>
      <keyword>date</keyword>
      <keyword>decimal</keyword>
      <keyword>double</keyword>
      <keyword>duck</keyword>
      <keyword>float</keyword>
      <keyword>int</keyword>
      <keyword>long</keyword>
      <keyword>object</keyword>
      <keyword>operator</keyword>
      <keyword>regex</keyword>
      <keyword>sbyte</keyword>
      <keyword>short</keyword>
      <keyword>single</keyword>
      <keyword>string</keyword>
      <keyword>timespan</keyword>
      <keyword>uint</keyword>
      <keyword>ulong</keyword>
      <keyword>ushort</keyword>
    </context>

    <context id="definitions" style-ref="definition">
      <keyword>abstract</keyword>
      <keyword>callable</keyword>
      <keyword>class</keyword>
      <keyword>constructor</keyword>
      <keyword>def</keyword>
      <keyword>destructor</keyword>
      <keyword>do</keyword>
      <keyword>enum</keyword>
      <keyword>event</keyword>
      <keyword>final</keyword>
      <keyword>get</keyword>
      <keyword>interface</keyword>
      <keyword>internal</keyword>
      <keyword>of</keyword>
      <keyword>override</keyword>
      <keyword>partial</keyword>
      <keyword>private</keyword>
      <keyword>protected</keyword>
      <keyword>public</keyword>
      <keyword>return</keyword>
      <keyword>set</keyword>
      <keyword>static</keyword>
      <keyword>struct</keyword>
      <keyword>transient</keyword>
      <keyword>virtual</keyword>
      <keyword>yield</keyword>
    </context>

    <context id="keywords" style-ref="keyword">
      <keyword>and</keyword>
      <keyword>break</keyword>
      <keyword>cast</keyword>
      <keyword>continue</keyword>
      <keyword>elif</keyword>
      <keyword>else</keyword>
      <keyword>ensure</keyword>
      <keyword>except</keyword>
      <keyword>for</keyword>
      <keyword>given</keyword>
      <keyword>goto</keyword>
      <keyword>if</keyword>
      <keyword>in</keyword>
      <keyword>isa</keyword>
      <keyword>is</keyword>
      <keyword>not</keyword>
      <keyword>or</keyword>
      <keyword>otherwise</keyword>
      <keyword>pass</keyword>
      <keyword>raise</keyword>
      <keyword>ref</keyword>
      <keyword>try</keyword>
      <keyword>unless</keyword>
      <keyword>when</keyword>
      <keyword>while</keyword>
    </context>

    <context id="special-variables" style-ref="special-variable">
      <keyword>self</keyword>
      <keyword>super</keyword>
    </context>

    <context id="null-value" style-ref="null-value">
      <keyword>null</keyword>
    </context>

    <context id="boolean" style-ref="boolean">
      <keyword>false</keyword>
      <keyword>true</keyword>
    </context>

    <context id="numbers" style-ref="number">
      <match extended="true">
        (?&lt;![\w\.])
        [0-9][0-9\.]*(m|ms|d|h|s|f|F|l|L)?
        (?![\w\.])
      </match>
    </context>

    <context id="builtins" style-ref="builtin">
      <keyword>array</keyword>
      <keyword>assert</keyword>
      <keyword>checked</keyword>
      <keyword>enumerate</keyword>
      <keyword>__eval__</keyword>
      <keyword>filter</keyword>
      <keyword>getter</keyword>
      <keyword>len</keyword>
      <keyword>lock</keyword>
      <keyword>map</keyword>
      <keyword>matrix</keyword>
      <keyword>max</keyword>
      <keyword>min</keyword>
      <keyword>normalArrayIndexing</keyword>
      <keyword>print</keyword>
      <keyword>property</keyword>
      <keyword>range</keyword>
      <keyword>rawArrayIndexing</keyword>
      <keyword>required</keyword>
      <keyword>__switch__</keyword>
      <keyword>typeof</keyword>
      <keyword>unchecked</keyword>
      <keyword>using</keyword>
      <keyword>yieldAll</keyword>
      <keyword>zip</keyword>
    </context>

    <context id="boo" class="no-spell-check">
      <include>
        <context ref="def:shell-like-comment"/>
        <context ref="c-style-line-comment"/>
        <context ref="block-comment"/>
        <context ref="multiline-string"/>
        <context ref="double-quoted-string"/>
        <context ref="single-quoted-string"/>
        <context ref="regex"/>
        <context ref="namespace"/>
        <context ref="primitives"/>
        <context ref="definitions"/>
        <context ref="keywords"/>
        <context ref="special-variables"/>
        <context ref="null-value"/>
        <context ref="boolean"/>
        <context ref="numbers"/>
        <context ref="builtins"/>
      </include>
    </context>

  </definitions>
</language>