class Rufo::Parser

Public Instance Methods

compile_error(msg) click to toggle source
# File lib/rufo/parser.rb, line 6
def compile_error(msg)
  raise ::Rufo::SyntaxError.new(msg, lineno)
end
on_parse_error(msg) click to toggle source
# File lib/rufo/parser.rb, line 10
def on_parse_error(msg)
  raise ::Rufo::SyntaxError.new(msg, lineno)
end