public class LazyParsedDependencyInfo extends java.lang.Object implements DependencyInfo
DependencyInfo.Base, DependencyInfo.Util
Constructor and Description |
---|
LazyParsedDependencyInfo(DependencyInfo delegate,
JsAst ast,
AbstractCompiler compiler) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getLoadFlags()
Gets the loading information for this file.
|
java.lang.String |
getName()
Gets the unique name / path of this file.
|
java.lang.String |
getPathRelativeToClosureBase()
Gets the path of this file relative to Closure's base.js file.
|
com.google.common.collect.ImmutableList<java.lang.String> |
getProvides()
Gets the symbols provided by this file.
|
com.google.common.collect.ImmutableList<java.lang.String> |
getRequires()
Gets the symbols required by this file.
|
com.google.common.collect.ImmutableList<java.lang.String> |
getWeakRequires()
Gets the symbols weakly required by this file.
|
boolean |
isModule()
Whether the symbol is provided by a module
|
public LazyParsedDependencyInfo(DependencyInfo delegate, JsAst ast, AbstractCompiler compiler)
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getLoadFlags()
DependencyInfo
getLoadFlags
in interface DependencyInfo
public java.lang.String getName()
DependencyInfo
getName
in interface DependencyInfo
public java.lang.String getPathRelativeToClosureBase()
DependencyInfo
getPathRelativeToClosureBase
in interface DependencyInfo
public com.google.common.collect.ImmutableList<java.lang.String> getRequires()
DependencyInfo
getRequires
in interface DependencyInfo
public com.google.common.collect.ImmutableList<java.lang.String> getWeakRequires()
DependencyInfo
getWeakRequires
in interface DependencyInfo
public com.google.common.collect.ImmutableList<java.lang.String> getProvides()
DependencyInfo
getProvides
in interface DependencyInfo
public boolean isModule()
DependencyInfo
isModule
in interface DependencyInfo
Copyright © 2009-2018 Google. All Rights Reserved.