Searched defs:SourceRange (Results 1 – 4 of 4) sorted by relevance
40 pub struct SourceRange { struct54 pub loc: SourceRange, argument225 impl SourceRange { implementation234 impl fmt::Display for SourceRange { implementation248 impl fmt::Debug for SourceRange { implementation254 impl ops::Add<SourceRange> for SourceRange { implementation257 fn add(self, rhs: SourceRange) -> SourceRange { in add()298 pub fn loc(&self) -> &SourceRange { in loc()370 pub fn new(loc: SourceRange, desc: DeclDesc<A>) -> Decl<A> { in new()
541 tags_by_id: &mut HashMap<&'a str, SourceRange>, in check_enum_declarations() argument603 tags_by_id: &mut HashMap<&'a str, SourceRange>, in check_enum_declarations() argument
182 fn as_loc(&self, context: &Context) -> crate::ast::SourceRange; in as_loc()192 fn as_loc(&self, context: &Context) -> crate::ast::SourceRange { in as_loc()
39 class SourceRange: class