Interface ParserProvider

All Known Implementing Classes:
ParserProviderDefault

public interface ParserProvider
Provides parser and builder instances.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getParser(Ruby runtime)
     
    default void
    Initialize if backend of provider has not already been initialized (native bindings might be static and initializable only once).
  • Method Details

    • initialize

      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 - path to where provider should provide a parser for
    • getParser

      Parser getParser(Ruby runtime)
    • getBuilderFactory

      IRBuilderFactory getBuilderFactory()