Object
RubyParser is a compound parser that first attempts to parse using the 1.9 syntax parser and falls back to the 1.8 syntax parser on a parse error.
# File lib/ruby_parser_extras.rb, line 1358 def process(s, f = "(string)", t = 10) # parens for emacs *sigh* @p20.process s, f, t rescue Racc::ParseError, RubyParser::SyntaxError begin @p19.process s, f, t rescue Racc::ParseError, RubyParser::SyntaxError @p18.process s, f, t end end
Generated with the Darkfish Rdoc Generator 2.