Exception: Voodoo::Parser::ParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/voodoo/parser.rb

Overview

Class for parse errors. A ParseError indicates an error in the code being parsed. For other errors that the parser may raise, see ParserInternalError.

Instance Attribute Summary

Attributes inherited from Error

#input_name, #start_column, #start_line, #text

Instance Method Summary collapse

Constructor Details

#initialize(message, input_name, start_line, start_column, text) ⇒ ParseError

Returns a new instance of ParseError.



60
61
62
# File 'lib/voodoo/parser.rb', line 60

def initialize message, input_name, start_line, start_column, text
  super message, input_name, start_line, start_column, text
end