| Class | Parser::SyntaxError |
| In: |
lib/parser/syntax_error.rb
|
| Parent: | StandardError |
{Parser::SyntaxError} is raised whenever parser detects a syntax error, similar to the standard SyntaxError class.
@api public
@!attribute [r] diagnostic
@return [Parser::Diagnostic]
| diagnostic | [R] |