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: LocationLocation of the function keyword that begins this function.
comments: Vec<Comment<'a>>Annotation comments that appeared inside or after the function.
map: SourceMapMapping of entity numbers to source locations.