Class: Yard::Lint::Validators::Warnings::SyntaxError::Parser

Inherits:
Parsers::OneLineBase show all
Defined in:
lib/yard/lint/validators/warnings/syntax_error/parser.rb

Overview

Parser for SyntaxError warnings.

YARD reports a parse failure as a single warning line of the form:

Syntax error in `path/to/file.rb`:(LINE,COL): <description>

(a sibling ‘ParserSyntaxError:` line and a stack trace are also emitted, but the `general` pattern matches only the first so each failure yields exactly one offense).

Method Summary

Methods inherited from Parsers::OneLineBase

#call

Methods inherited from Parsers::Base

#match