def line_type(self, line):
        if not self.all:
            return None

        line_type = None
        for highlight in self.all:
            if line_type == ERROR:
                continue
            _line_type = highlight.lines.get(line)
            if _line_type != WARNING and line_type == WARNING:
                continue
            line_type = _line_type
        return line_type
Initializes a static module resolver.
dataset/ETHPy150Open SublimeLinter/SublimeLinter3/lint/highlight.py/HighlightSet.line_type--crossover with--dataset/ETHPy150Open google/anvil-build/anvil/project.py/StaticModuleResolver.__init__