class Mint::SourceMapGenerator
- Mint::SourceMapGenerator
- Reference
- Object
Overview
This class is responsible for generating a source map.
Defined in:
utils/source_map_generator.crConstructors
Instance Method Summary
- #generate : String
-
#generated : String
The generate JavaScript file.
- #get_source_index(file)
- #get_source_name_index(value)
-
#mappings : Hash(Int32, Array({Mint::Ast::Node?, {Int32, Int32}, String?}))
The line mappings.
-
#source_names : Array(String)
The source names for the mappings.
-
#sources : Array(String)
The filenames of the sources.
-
#sources_content : Array(String)
The actual content of the sources.
Constructor Detail
Instance Method Detail
The line mappings.