org.jruby.parser
Class Parser

java.lang.Object
  extended by org.jruby.parser.Parser

public class Parser
extends java.lang.Object

Serves as a simple facade for all the parsing magic.


Constructor Summary
Parser(Ruby runtime)
           
 
Method Summary
 Node parse(java.lang.String file, ByteList content, DynamicScope blockScope, ParserConfiguration configuration)
           
 Node parseRewriter(java.lang.String file, java.io.InputStream content, ParserConfiguration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(Ruby runtime)
Method Detail

parseRewriter

public Node parseRewriter(java.lang.String file,
                          java.io.InputStream content,
                          ParserConfiguration configuration)
                   throws SyntaxException
Throws:
SyntaxException

parse

public Node parse(java.lang.String file,
                  ByteList content,
                  DynamicScope blockScope,
                  ParserConfiguration configuration)


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