org.jruby.parser
Interface RubyParser

All Known Implementing Classes:
DefaultRubyParser, Ruby19Parser

public interface RubyParser

Common interface specifying the contract of Ruby parsers (1.8.6 + 1.9)


Method Summary
 RubyParserResult parse(ParserConfiguration configuration, LexerSource source)
           
 void setWarnings(IRubyWarnings warnings)
           
 

Method Detail

parse

RubyParserResult parse(ParserConfiguration configuration,
                       LexerSource source)
                       throws java.io.IOException
Throws:
java.io.IOException

setWarnings

void setWarnings(IRubyWarnings warnings)


Copyright © 2002-2009 JRuby Team. All Rights Reserved.