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 |
---|---|
java.util.SortedSet<ConfigurationProperty> |
getConfigurationProperties()
Returns all configuration properties defined in the module.
|
java.lang.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.
|
java.lang.String |
getModuleName()
Returns the name of the module being compiled.
|
java.util.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. |
java.lang.String |
optimizeJavaScript(TreeLogger logger,
java.lang.String jsProgram)
Applies optimizations to a JavaScript program.
|
java.util.SortedSet<ConfigurationProperty> getConfigurationProperties()
java.lang.String getModuleFunctionName()
long getModuleLastModified()
java.lang.String getModuleName()
java.util.SortedSet<SelectionProperty> getProperties()
boolean isOutputCompact()
true
if the output should be as compact is possible
and false
if the output should be human-readable.java.lang.String optimizeJavaScript(TreeLogger logger, java.lang.String jsProgram) throws UnableToCompleteException
UnableToCompleteException