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.
Method Summary |
int |
getTotalBytes()
|
long |
getTotalTime()
|
Node |
parse(java.lang.String file,
byte[] content,
DynamicScope blockScope,
ParserConfiguration configuration)
|
Node |
parse(java.lang.String file,
org.jruby.util.ByteList content,
DynamicScope blockScope,
ParserConfiguration configuration)
|
Node |
parse(java.lang.String file,
java.io.InputStream content,
DynamicScope blockScope,
ParserConfiguration configuration)
|
Node |
parse(java.lang.String file,
LexerSource lexerSource,
DynamicScope blockScope,
ParserConfiguration configuration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser(Ruby runtime)
getTotalTime
public long getTotalTime()
getTotalBytes
public int getTotalBytes()
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,
byte[] content,
DynamicScope blockScope,
ParserConfiguration configuration)
parse
public Node parse(java.lang.String file,
java.io.InputStream content,
DynamicScope blockScope,
ParserConfiguration configuration)
parse
public Node parse(java.lang.String file,
LexerSource lexerSource,
DynamicScope blockScope,
ParserConfiguration configuration)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.