xsd-parser 1.1.0

Rust code generator for XML schema files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::types::NameBuilder;

use super::state::State;

impl NameBuilder {
    pub(super) fn auto_extend(
        self,
        stop_at_group: bool,
        replace: bool,
        state: &mut State<'_>,
    ) -> Self {
        self.extend(replace, state.last_named_type(stop_at_group))
    }
}