src/p/y/python-javascript-lint-HEAD/javascriptlint/lint.py python-javascript-lint(Download)
def report_lint(node, errname, pos=None, **errargs):
errdesc = warnings.format_error(errname, **errargs)
_report(pos or node.start_pos(), errname, errdesc, True)
def report_native(pos, errname):
# TODO: Format the error.
_report(pos, errname, errname, False)