This file is indexed.

/usr/lib/python2.7/dist-packages/stringtemplate3/language/StringTemplateToken.py is in python-stringtemplate3 3.1-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
import antlr

class StringTemplateToken(antlr.CommonToken):

    def __init__(self, type = 0, text = '', args = None):
        super(StringTemplateToken, self).__init__(type=type, text=text)
        ## Track any args for anonymous templates like
        #  <tokens,rules:{t,r | <t> then <r>}>
        #  The lexer in action.g returns a single token ANONYMOUS_TEMPLATE
        #  and so I need to have it parse args in the lexer and make them
        #  available for when I build the anonymous template.

        if args is None:
            args = []
        self.args = args

    def __str__(self):
        return super(StringTemplateToken, self).__str__() + \
               '; args=' + str(self.args)

    __repr__ = __str__