Skip to main content

luaur_analysis/methods/
path_builder_read_prop.rs

1use crate::records::path_builder::PathBuilder;
2use crate::records::property_type_path::Property;
3use crate::type_aliases::component::Component;
4
5impl PathBuilder {
6    pub fn read_prop(&mut self, name: &str) -> &mut Self {
7        self.components
8            .push(Component::Property(Property::property_string_bool(
9                name, true,
10            )));
11        self
12    }
13}