Exception: Parser::SyntaxError
- Defined in:
- sorbet/rbi/parser@3.3.7.4.rbi
Overview
SyntaxError is raised whenever parser detects a syntax error, similar to the standard SyntaxError class.
source://parser//lib/parser/syntax_error.rb#13
Instance Method Summary collapse
-
#diagnostic ⇒ Parser::Diagnostic
source://parser//lib/parser/syntax_error.rb#14.
-
#initialize(diagnostic) ⇒ SyntaxError
constructor
source://parser//lib/parser/syntax_error.rb#16.
Constructor Details
#initialize(diagnostic) ⇒ SyntaxError
source://parser//lib/parser/syntax_error.rb#16
7166 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 7166 def initialize(diagnostic); end |
Instance Method Details
#diagnostic ⇒ Parser::Diagnostic
source://parser//lib/parser/syntax_error.rb#14
7172 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 7172 def diagnostic; end |