public class RubyParserPool extends Object
Modifier and Type | Method and Description |
---|---|
DefaultRubyParser |
borrowParser() |
RubyParser |
borrowParser(CompatVersion version) |
static RubyParserPool |
getInstance() |
void |
returnParser(RubyParser parser) |
public static RubyParserPool getInstance()
public DefaultRubyParser borrowParser()
public RubyParser borrowParser(CompatVersion version)
public void returnParser(RubyParser parser)
Copyright © 2001-2014 JRuby. All Rights Reserved.