Top Description Methods
org.jruby.parser

public Interface ParserProvider

Known Direct Implementers
org.jruby.parser.ParserProviderDefault
Imports
org.jruby.Ruby, org.jruby.ir.builder.IRBuilderFactory

Provides parser and builder instances.

Method Summary

Modifier and TypeMethod and Description
public IRBuilderFactory
public Parser
getParser(Ruby runtime)

public default void
initialize(String
path to where provider should provide a parser for
path
)

Initialize if backend of provider has not already been initialized (native bindings might be static and initializable only once).

Method Detail

getBuilderFactoryback to summary
public IRBuilderFactory getBuilderFactory()
getParserback to summary
public Parser getParser(Ruby runtime)
initializeback to summary
public default void initialize(String path)

Initialize if backend of provider has not already been initialized (native bindings might be static and initializable only once).

Parameters
path:String

path to where provider should provide a parser for