Skip to main content

luaur_analysis/methods/
path_builder_index_key.rs

1use crate::enums::type_field::TypeField;
2use crate::records::path_builder::PathBuilder;
3use crate::type_aliases::component::Component;
4
5impl PathBuilder {
6    pub fn index_key(&mut self) -> &mut Self {
7        self.components
8            .push(Component::TypeField(TypeField::IndexLookup));
9        self
10    }
11}