Skip to main content

cpp_member_fq

Function cpp_member_fq 

Source
pub fn cpp_member_fq(package_name: &str, short_name: &str) -> FqName
Expand description

Structured name for a member unit (function, field, enumerator). The short_name is the owning $-joined nested-class Type chain followed, when the member has an owner, by .member; free functions and globals have no owner and no ., so the whole short_name is the terminal SegmentKind::Member. C++ member names never contain a literal ., so the single . (if any) separates the owner chain from the member.