Class SourceMapRecorder

java.lang.Object
com.google.gwt.core.ext.soyc.SourceMapRecorder

public class SourceMapRecorder extends Object
Creates Closure Compatible SourceMaps.
  • 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.