Class LazyParsedDependencyInfo

  • All Implemented Interfaces:
    DependencyInfo

    public class LazyParsedDependencyInfo
    extends java.lang.Object
    implements DependencyInfo
    A DependencyInfo class that determines load flags by parsing the AST just-in-time.
    • Method Detail

      • isEs6Module

        public boolean isEs6Module()
        Description copied from interface: DependencyInfo
        Whether the symbol is provided by an ES6 module
        Specified by:
        isEs6Module in interface DependencyInfo
      • isGoogModule

        public boolean isGoogModule()
        Description copied from interface: DependencyInfo
        Whether the symbol is provided by a goog module
        Specified by:
        isGoogModule in interface DependencyInfo
      • getLoadFlags

        public com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.String> getLoadFlags()
        Description copied from interface: DependencyInfo
        Gets the loading information for this file.
        Specified by:
        getLoadFlags in interface DependencyInfo
      • getName

        public java.lang.String getName()
        Description copied from interface: DependencyInfo
        Gets the unique name / path of this file.
        Specified by:
        getName in interface DependencyInfo
      • getTypeRequires

        public com.google.common.collect.ImmutableList<java.lang.String> getTypeRequires()
        Description copied from interface: DependencyInfo
        Gets the symbols type-required by this file (i.e. for typechecking only).
        Specified by:
        getTypeRequires in interface DependencyInfo
      • getProvides

        public com.google.common.collect.ImmutableList<java.lang.String> getProvides()
        Description copied from interface: DependencyInfo
        Gets the symbols provided by this file.
        Specified by:
        getProvides in interface DependencyInfo