def ApiBlueprintFactory():
    """ Define API Blueprint Linter Class"""

    class ApiBlueprint(Linter):
        """Provides an interface to apiblueprint."""

        syntax = 'apiblueprint'
        cmd = 'drafter --validate'
        executable = 'drafter'
        executable = None
        regex = (
            r'(?:(?P<warning>warning)|(?P<error>error)):\s*\((?P<code>\d+)\)'
            r'(?P<message>.+?)(?::|$)'
            r'(?P<line>\d+):(?P<col>\d+)(?:.*)'
        )
        multiline = False
        line_col_base = (0, 0)
        tempfile_suffix = None
        error_stream = util.STREAM_BOTH
        selectors = {}
        word_re = None
        defaults = {}
        inline_settings = None
        inline_overrides = None
        comment_re = None

        def split_match(self, match):
            """
            Run default match.  If match is found, convert line variable to line number
            and adjust col.
            """
            match, line, col, error, warning, message, near = super().split_match(match)

            if line is not None:
                line, col = self.view.rowcol((int(line)))
                line = self.line_col_base[0] - int(line)

            return match, line, col, error, warning, message, near
dataset/ETHPy150Open apiaryio/api-blueprint-sublime-plugin/linter.py/ApiBlueprintFactory/swapped operands of `-`