Interface SourceMapGeneratorV3.ExtensionMergeAction

Enclosing class:
SourceMapGeneratorV3

public static interface SourceMapGeneratorV3.ExtensionMergeAction
This interface provides the merging strategy when an extension conflict appears because of merging two source maps on method SourceMapGeneratorV3.mergeMapSection(int, int, java.lang.String).
  • Method Summary

    Modifier and Type
    Method
    Description
    merge(String extensionKey, Object currentValue, Object newValue)
    Returns the merged value between two extensions with the same name when merging two source maps
  • Method Details

    • merge

      Object merge(String extensionKey, Object currentValue, Object newValue)
      Returns the merged value between two extensions with the same name when merging two source maps
      Parameters:
      extensionKey - The extension name in conflict
      currentValue - The extension value in the current source map
      newValue - The extension value in the input source map
      Returns:
      The merged value