public interface LinkerContext
SortedSet
are guaranteed to have stable iteration order between runs
of the compiler over identical input. Unless otherwise specified, the exact
iteration order is left as an implementation detail.Modifier and Type | Method and Description |
---|---|
SortedSet<ConfigurationProperty> |
getConfigurationProperties()
Returns all configuration properties defined in the module.
|
String |
getModuleFunctionName()
Returns the name of the module's bootstrap function.
|
long |
getModuleLastModified()
Returns the time at which the module being compiled was last modified.
|
String |
getModuleName()
Returns the name of the module being compiled.
|
SortedSet<SelectionProperty> |
getProperties()
Returns all deferred binding properties defined in the module.
|
boolean |
isOutputCompact()
Returns
true if the output should be as compact is possible
and false if the output should be human-readable. |
String |
optimizeJavaScript(TreeLogger logger,
String jsProgram)
Applies optimizations to a JavaScript program.
|
SortedSet<ConfigurationProperty> getConfigurationProperties()
String getModuleFunctionName()
long getModuleLastModified()
String getModuleName()
SortedSet<SelectionProperty> getProperties()
boolean isOutputCompact()
true
if the output should be as compact is possible
and false
if the output should be human-readable.String optimizeJavaScript(TreeLogger logger, String jsProgram) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2018. All rights reserved.