chromium/third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.126/src/gen/names.rs

use crate::syntax::Pair;

impl Pair {
    pub(crate) fn to_fully_qualified(&self) -> String {
        let mut fully_qualified = String::new();
        for segment in &self.namespace {
            fully_qualified += "::";
            fully_qualified += &segment.to_string();
        }
        fully_qualified += "::";
        fully_qualified += &self.cxx.to_string();
        fully_qualified
    }
}