Crate cpp_synmap [−] [src]
synmap
provides utilities for parsing multi-file crates into syn
AST
nodes, and resolving the spans attached to those nodes into raw source text,
and line/column information.
The primary entry point for the crate is the SourceMap
type, which stores
mappings from byte offsets to file information, along with cached file
information.
Structs
LocInfo |
Information regarding the on-disk location of a span of code.
This type is produced by |
SourceMap |
The |