Class ModuleScope

All Implemented Interfaces:
Serializable, ConstProperties, DebuggableObject, IdFunctionCall, Scriptable, SymbolScriptable

public class ModuleScope extends TopLevel
A top-level module scope. This class provides methods to retrieve the module's source and base URIs in order to resolve relative module IDs and check sandbox constraints.
See Also:
  • Constructor Details

  • Method Details

    • getUri

      public URI getUri()
    • getBase

      public URI getBase()