@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, wrapPrimaryFragment
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
isShardable, relink
public java.lang.String getDescription()
Linker
getDescription
in class Linker
protected java.lang.String getCompilationExtension(TreeLogger logger, LinkerContext context)
getCompilationExtension
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
protected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName)
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
getModulePrefix
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
protected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName, int numFragments)
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
SelectionScriptLinker.getModulePrefix(TreeLogger, LinkerContext, String)
.getModulePrefix
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
strongName
- 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.SelectionScriptLinker
protected java.lang.String getSelectionScriptTemplate(TreeLogger logger, LinkerContext context)
getSelectionScriptTemplate
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
protected 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