org.jruby.parser
Class Parser
java.lang.Object
org.jruby.parser.Parser
public class Parser
- extends java.lang.Object
Serves as a simple facade for all the parsing magic.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser(Ruby runtime)
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,
org.jruby.util.ByteList content,
DynamicScope blockScope,
ParserConfiguration configuration)
parse
public Node parse(java.lang.String file,
java.io.InputStream content,
DynamicScope blockScope,
ParserConfiguration configuration)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.