public class RubyParserPool
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static RubyParserPool |
instance |
| Modifier | Constructor and Description |
|---|---|
private |
RubyParserPool()
Constructor for RubyParserPool.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultRubyParser |
borrowParser() |
RubyParser |
borrowParser(CompatVersion version) |
static RubyParserPool |
getInstance() |
void |
returnParser(RubyParser parser) |
private static RubyParserPool instance
public static RubyParserPool getInstance()
public DefaultRubyParser borrowParser()
public RubyParser borrowParser(CompatVersion version)
public void returnParser(RubyParser parser)