Package com.google.debugging.sourcemap
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 methodSourceMapGeneratorV3.mergeMapSection(int, int, java.lang.String)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
merge(java.lang.String extensionKey, java.lang.Object currentValue, java.lang.Object newValue)
Returns the merged value between two extensions with the same name when merging two source maps
-
-
-
Method Detail
-
merge
java.lang.Object merge(java.lang.String extensionKey, java.lang.Object currentValue, java.lang.Object newValue)
Returns the merged value between two extensions with the same name when merging two source maps- Parameters:
extensionKey
- The extension name in conflictcurrentValue
- The extension value in the current source mapnewValue
- The extension value in the input source map- Returns:
- The merged value
-
-