class Flor::ParseError
Attributes
column[R]
fname[R]
line[R]
msg[R]
offset[R]
visual[R]
Public Class Methods
new(error_array, fname)
click to toggle source
Calls superclass method
# File lib/flor/parser.rb, line 27 def initialize(error_array, fname) #puts "-" * 80; p error_array; puts error_array.last; puts "-" * 80 @line, @column, @offset, @msg, @visual = error_array @fname = fname m = "syntax error at line #{@line} column #{@column}" m += " in #{fname}" if fname super(m) end