cpp_synmap

Crates.iocpp_synmap
lib.rscpp_synmap
version0.3.0
sourcesrc
created_at2017-03-06 03:37:23.272433
updated_at2017-09-24 03:29:05.790844
descriptionSourcemap and full crate parsing support for `cpp_syn`
homepage
repositoryhttps://github.com/mystor/rust-cpp
max_upload_size
id8843
size13,438
Nika Layzell (mystor)

documentation

https://docs.rs/cpp_synmap

README

Synmap

NOTE: This crate currently depends on cpp_syn rather than syn, as it requires the Span features which have not been landed in syn yet for the majority of its features.

This crate provides a SourceMap type which can be used to parse an entire crate and generate a complete AST. It also updates the spans in the parsed AST to be relative to the SourceMap rather than the bytes in the input file.

With this information, the SourceMap provides methods to map spans to source filenames (filename), source text (source_text) and line/column numbers (locinfo).

Commit count: 259

cargo fmt