@LinkerOrder(value=PRIMARY) @Shardable public class XSLinker extends com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
| Constructor and Description |
|---|
XSLinker() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getCompilationExtension(TreeLogger logger,
LinkerContext context) |
java.lang.String |
getDescription()
Returns a human-readable String describing the Linker.
|
protected java.lang.String |
getModulePrefix(TreeLogger logger,
LinkerContext context,
java.lang.String strongName)
Compute the beginning of a JavaScript file that will hold the main module implementation.
|
protected java.lang.String |
getModulePrefix(TreeLogger logger,
LinkerContext context,
java.lang.String strongName,
int numFragments)
Compute the beginning of a JavaScript file that will hold the main module implementation.
|
protected java.lang.String |
getModuleSuffix(TreeLogger logger,
LinkerContext context) |
protected java.lang.String |
getSelectionScriptTemplate(TreeLogger logger,
LinkerContext context) |
protected java.lang.String |
wrapDeferredFragment(TreeLogger logger,
LinkerContext context,
int fragment,
java.lang.String js,
ArtifactSet artifacts) |
charsPerChunk, doEmitCompilation, emitSelectionInformation, emitSelectionScript, fillSelectionScriptTemplate, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getDeferredFragmentSuffix, getFragmentSubdir, getHostedFilename, getScriptChunkSeparator, link, link, maybeAddHostedModeFile, maybeOutputPropertyMap, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit, wrapPrimaryFragmentemitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongNameisShardable, relinkpublic java.lang.String getDescription()
LinkergetDescription in class Linkerprotected java.lang.String getCompilationExtension(TreeLogger logger, LinkerContext context)
getCompilationExtension in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerprotected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName)
com.google.gwt.core.ext.linker.impl.SelectionScriptLinkergetModulePrefix in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerprotected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName, int numFragments)
com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerSelectionScriptLinker.getModulePrefix(TreeLogger, LinkerContext, String).getModulePrefix in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerstrongName - strong name of the module being emittednumFragments - the number of fragments for this module, including the main fragment
(fragment 0)protected java.lang.String getModuleSuffix(TreeLogger logger, LinkerContext context)
getModuleSuffix in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerprotected java.lang.String getSelectionScriptTemplate(TreeLogger logger, LinkerContext context)
getSelectionScriptTemplate in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerprotected java.lang.String wrapDeferredFragment(TreeLogger logger, LinkerContext context, int fragment, java.lang.String js, ArtifactSet artifacts)
wrapDeferredFragment in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker