@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, wrapPrimaryFragmentemitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongNameisShardable, relinkstatic final java.lang.String SCRIPT_CHUNK_SEPARATOR
public 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 getHostedFilename()
getHostedFilename in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerprotected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName) throws UnableToCompleteException
com.google.gwt.core.ext.linker.impl.SelectionScriptLinkergetModulePrefix in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerUnableToCompleteExceptionprotected java.lang.String getModulePrefix(TreeLogger logger, LinkerContext context, java.lang.String strongName, int numFragments) throws UnableToCompleteException
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)UnableToCompleteExceptionprotected java.lang.String getModuleSuffix(TreeLogger logger, LinkerContext context)
getModuleSuffix in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerprotected java.lang.String getScriptChunkSeparator(TreeLogger logger, LinkerContext context)
com.google.gwt.core.ext.linker.impl.SelectionScriptLinkergetScriptChunkSeparator 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 modifyPrimaryJavaScript(java.lang.String js)