public class Parser extends Object
Modifier and Type | Method and Description |
---|---|
int |
getTotalBytes() |
long |
getTotalTime() |
Node |
parse(String file,
byte[] content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
parse(String file,
org.jruby.util.ByteList content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
parse(String file,
InputStream content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
parse(String file,
LexerSource lexerSource,
DynamicScope blockScope,
ParserConfiguration configuration) |
public Parser(Ruby runtime)
public long getTotalTime()
public int getTotalBytes()
public Node parse(String file, org.jruby.util.ByteList content, DynamicScope blockScope, ParserConfiguration configuration)
public Node parse(String file, byte[] content, DynamicScope blockScope, ParserConfiguration configuration)
public Node parse(String file, InputStream content, DynamicScope blockScope, ParserConfiguration configuration)
public Node parse(String file, LexerSource lexerSource, DynamicScope blockScope, ParserConfiguration configuration)
Copyright © 2001-2016 JRuby. All Rights Reserved.