To generate the source map for a single file use Opal::SourceMap::File. To combine multiple files the Opal::SourceMap::Index should be used.
Modules: Map, VLQ Classes: File, Index