Skip to main content

luaur_analysis/methods/
path_builder_write_prop.rs

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