public abstract class Import
extends java.lang.Object
imported name in a module.
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
importName()
Returns the name that was imported from the requested module.
|
abstract Node |
importNode()
Returns the import node for source information.
|
abstract java.lang.String |
localName()
Returns the local name the imported value is bound to.
|
abstract ModuleLoader.ModulePath |
modulePath()
Returns the path of the containing module, if from an ES module.
|
abstract java.lang.String |
moduleRequest()
Returns the module identifier of this import.
|
abstract Node |
nameNode()
Returns the name node for source information.
|
public abstract java.lang.String moduleRequest()
public abstract java.lang.String importName()
For import * this will return "*".
public abstract java.lang.String localName()
@Nullable public abstract ModuleLoader.ModulePath modulePath()
public abstract Node importNode()
public abstract Node nameNode()
Copyright © 2009-2020 Google. All Rights Reserved.