mirror of
https://github.com/openharmony/third_party_rust_codespan.git
synced 2026-07-21 03:55:28 -04:00
f87fcaa92506c2bfeae6f34bf5db7b56acb332bf
codespan
Utilities for dealing with source code locations.
Supporting crates
Codespan also allows you to easily set up pretty diagnostic formatting for
command line interfaces via the codespan-reporting
crate. This will give you output that looks like the following:
In the future we would also like to make it easy for language developers to set up language server protocols and interface with browser-embedded editors like Ace or Monaco.
Codespan in use
Codespan is used in the following projects:
Acknowledgments
Inspired by rustc's error reporting infrastructure and the codemap crate
Description
提供源代码的显示和格式化支持。 | A Rust library that provides support for source code display and formatting.
Languages
Rust
100%
