Returns the map from extracted TOML offsets to their original script offsets.
(&self)
| 29 | |
| 30 | /// Returns the map from extracted TOML offsets to their original script offsets. |
| 31 | pub fn source_map(&self) -> &ScriptSourceMap { |
| 32 | &self.source_map |
| 33 | } |
| 34 | |
| 35 | /// Given the contents of a Python file, extract the `script` metadata block with leading |
| 36 | /// comment hashes removed and map its offsets to the original Python script. |
no outgoing calls
no test coverage detected