• Produces a PASTA enriched source map based on the input source map and the input function descriptions. The enriched source map differs from the input source map in these two ways:

    1. Any function names not already present in the names field get appended to it
    2. The function descriptions for each source get encoded into Base64 VLQ encoding, and the encoded values get added to the x_com_bloomberg_sourcesFunctionMappings field.

    Parameters

    • sourceMap: SourceMap

      input source map

    • functionDescs: Map<string, FunctionDesc[]>

      a map of function descriptions for each source in the source map. The keys in the map must match elements in source map sources exactly.

    Returns EnrichedSourceMap

    PASTA enriched source map

    Throws

    if functionDescs for a source contains partial overlaps

Generated using TypeDoc