Package com.google.gwt.core.ext.soyc
Class SourceMapRecorder
java.lang.Object
com.google.gwt.core.ext.soyc.SourceMapRecorder
Creates Closure Compatible SourceMaps.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<SyntheticArtifact> exec
(int permutationId, List<com.google.gwt.dev.jjs.JsSourceMap> fragmentMaps, String sourceFilePrefix) Generates a sourcemap for each fragment in the list.static List
<SyntheticArtifact> execWithJavaNames
(int permutationId, List<com.google.gwt.dev.jjs.JsSourceMap> fragmentMaps, String sourceFilePrefix) Generates a sourcemap for each fragment in the list, with JavaScript-to-Java name mappings included.
-
Method Details
-
exec
public static List<SyntheticArtifact> exec(int permutationId, List<com.google.gwt.dev.jjs.JsSourceMap> fragmentMaps, String sourceFilePrefix) Generates a sourcemap for each fragment in the list.- Parameters:
sourceFilePrefix
- the prefix that a debugger should add to the beginning of each filename in a sourcemap to determine the file's full URL. If null, filenames are relative to the sourcemap's URL.
-
execWithJavaNames
public static List<SyntheticArtifact> execWithJavaNames(int permutationId, List<com.google.gwt.dev.jjs.JsSourceMap> fragmentMaps, String sourceFilePrefix) Generates a sourcemap for each fragment in the list, with JavaScript-to-Java name mappings included.
-