@LinkerOrder(value=PRIMARY) @Shardable public class IFrameLinker extends com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
SCRIPT_CHUNK_SEPARATOR
This string is inserted between script chunks.
|
Constructor and Description |
---|
IFrameLinker() |
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 |
getHostedFilename() |
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 |
getScriptChunkSeparator(TreeLogger logger,
LinkerContext context)
Some subclasses support "chunking" of the primary fragment.
|
protected java.lang.String |
getSelectionScriptTemplate(TreeLogger logger,
LinkerContext context) |
protected java.lang.String |
modifyPrimaryJavaScript(java.lang.String js) |
charsPerChunk, doEmitCompilation, emitSelectionInformation, emitSelectionScript, fillSelectionScriptTemplate, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getDeferredFragmentSuffix, getFragmentSubdir, link, link, maybeAddHostedModeFile, maybeOutputPropertyMap, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit, wrapDeferredFragment, wrapPrimaryFragment
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
isShardable, relink
static final java.lang.String SCRIPT_CHUNK_SEPARATOR
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 getHostedFilename()
getHostedFilename
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
protected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName) throws UnableToCompleteException
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
getModulePrefix
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
UnableToCompleteException
protected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName, int numFragments) throws UnableToCompleteException
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)UnableToCompleteException
protected java.lang.String getModuleSuffix(TreeLogger logger, LinkerContext context)
getModuleSuffix
in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
protected java.lang.String getScriptChunkSeparator(TreeLogger logger, LinkerContext context)
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
getScriptChunkSeparator
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 modifyPrimaryJavaScript(java.lang.String js)