In Files



Class for parser internal errors. A ParserInternalError indicates an error in the parser that is not flagged as an error in the code being parsed. Possible causes include I/O errors while reading code, as well as bugs in the parser.

The cause attribute indicates the initial cause for the error. The other attributes of ParserInternalError are inherited from Parser::Error and indicate the input that was being processed when the error occurred.



Public Class Methods

new(cause, input_name, start_line, start_column, text) click to toggle source
# File voodoo/parser.rb, line 76
def initialize cause, input_name, start_line, start_column, text
  super cause.message, input_name, start_line, start_column, text
  @cause = cause


Generated with the Darkfish Rdoc Generator 2.