This file is indexed.

/usr/share/gtksourceview-2.0/language-specs/objc.lang is in libgtksourceview2.0-common 2.10.5-2ubuntu2.

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
<?xml version="1.0" encoding="UTF-8"?>
<!--

 Author: Yevgen Muntyan <muntyan@math.tamu.edu>
 Copyright (C) 2007 Yevgen Muntyan <muntyan@math.tamu.edu>

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

 This library 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
 Library General Public License for more details.

 You should have received a copy of the GNU Library General Public
 License along with this library; if not, write to the
 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.

-->
<language id="objc" _name="Objective-C" version="2.0" _section="Sources">
  <metadata>
    <property name="mimetypes">text/x-objcsrc</property>
    <property name="globs">*.m</property>
    <property name="line-comment-start">//</property>
    <property name="block-comment-start">/*</property>
    <property name="block-comment-end">*/</property>
  </metadata>

  <styles>
    <style id="keyword" _name="Keyword" map-to="c:keyword"/>
    <style id="type" _name="Data Type" map-to="c:type"/>
    <style id="common-defines" _name="Common Defines" map-to="c:common-defines"/>
    <style id="string" _name="String" map-to="c:string"/>
  </styles>

  <definitions>
    <!-- ObjC-specific stuff (i.e. stuff which is not C) -->
    <context id="objc-header">
      <include>
        <context id="keywords" style-ref="keyword">
          <prefix>\@</prefix>
          <keyword>interface</keyword>
          <keyword>protocol</keyword>
          <keyword>implementation</keyword>
          <keyword>end</keyword>
          <keyword>class</keyword>
          <keyword>selector</keyword>
          <keyword>encode</keyword>
          <keyword>defs</keyword>
          <keyword>synchronized</keyword>
          <keyword>private</keyword>
          <keyword>protected</keyword>
          <keyword>public</keyword>
          <keyword>try</keyword>
          <keyword>throw</keyword>
          <keyword>catch</keyword>
          <keyword>finally</keyword>
        </context>

        <context id="types" style-ref="type">
          <keyword>BOOL</keyword>
        </context>

        <context id="objc-string-literal" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
          <start>\@"</start>
          <end>"</end>
          <include>
            <context ref="c:string:*"/>
          </include>
        </context>
      </include>
    </context>

    <!-- ObjC-specific stuff (i.e. stuff which is not C), which isn't
         good to highlight in C headers -->
    <context id="objc-source">
      <include>
        <context id="objc-keywords" style-ref="keyword">
          <keyword>self</keyword>
          <keyword>super</keyword>
        </context>

        <context id="objc-types" style-ref="type">
          <keyword>apply_t</keyword>
          <keyword>Class</keyword>
          <keyword>id</keyword>
          <keyword>IMP</keyword>
          <keyword>MetaClass</keyword>
          <keyword>Object</keyword>
          <keyword>Protocol</keyword>
          <keyword>retval_t</keyword>
          <keyword>SEL</keyword>
          <keyword>STR</keyword>
          <keyword>TypedStream</keyword>
        </context>

        <context id="objc-common-defines" style-ref="common-defines">
          <keyword>METHOD_NULL</keyword>
          <keyword>nil</keyword>
          <keyword>Nil</keyword>
          <keyword>NO</keyword>
          <keyword>YES</keyword>
        </context>
      </include>
    </context>

    <!-- actual language definition: ObjC-specific stuff plus everything from C -->
    <context id="objc" class="no-spell-check">
      <include>
        <context ref="objc-source"/>
        <context ref="objc-header"/>
        <context ref="c:c"/>
      </include>
    </context>
  </definitions>
</language>