class ERBLint::Linters::ParserErrors
def run(processed_source)
def run(processed_source) processed_source.parser.parser_errors.each do |error| add_offense( error.loc, "#{error.message} (at #{error.loc.source})", ) end end
def run(processed_source) processed_source.parser.parser_errors.each do |error| add_offense( error.loc, "#{error.message} (at #{error.loc.source})", ) end end