public class Parser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getTotalBytes() |
long |
getTotalTime() |
Node |
parse(java.lang.String file,
byte[] content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
parse(java.lang.String file,
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) |
public Parser(Ruby runtime)
public long getTotalTime()
public int getTotalBytes()
public Node parse(java.lang.String file, ByteList content, DynamicScope blockScope, ParserConfiguration configuration)
public Node parse(java.lang.String file, byte[] content, DynamicScope blockScope, ParserConfiguration configuration)
public Node parse(java.lang.String file, java.io.InputStream content, DynamicScope blockScope, ParserConfiguration configuration)
public Node parse(java.lang.String file, LexerSource lexerSource, DynamicScope blockScope, ParserConfiguration configuration)
Copyright © 2001-2020 JRuby. All Rights Reserved.