Interface RuntimeJsLibManager.ResourceProvider

Enclosing class:
RuntimeJsLibManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RuntimeJsLibManager.ResourceProvider
Loads /js resources into AST format
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(String resourceName, String path)
    Returns an AST for the given resource name, with a synthetic source file with the given path
  • Method Details

    • parse

      Node parse(String resourceName, String path)
      Returns an AST for the given resource name, with a synthetic source file with the given path
      Parameters:
      resourceName - for example, es6/set
      path - for example, /my/filesystem/jscomp/js/es6/set