Struct cranelift_reader::Details
source · pub struct Details<'a> {
pub location: Location,
pub comments: Vec<Comment<'a>>,
pub map: SourceMap,
}
Expand description
Additional details about a function parsed from a text string. These are useful for detecting test commands embedded in comments etc. The details to not affect the semantics of the function.
Fields§
§location: Location
Location of the function
keyword that begins this function.
comments: Vec<Comment<'a>>
Annotation comments that appeared inside or after the function.
map: SourceMap
Mapping of entity numbers to source locations.