

def visit_Subscript(self, node):
    if isinstance(node.ctx, ast.Load):
        path = self.__path(node)
        plugPath = self.__plugPath(path)
        if plugPath:
            self.plugReads.add(plugPath)
        else:
            contextName = self.__contextName(path)
            if contextName:
                self.contextReads.add(contextName)

dataset/ETHPy150Open ImageEngine/gaffer/python/Gaffer/PythonExpressionEngine.py _Parser.visit_Subscript/original