Struct pax_compiler::parsing::ParsingContext
source · pub struct ParsingContext {
pub visited_type_ids: HashSet<String>,
pub main_component_type_id: String,
pub component_definitions: HashMap<String, ComponentDefinition>,
pub template_map: HashMap<String, String>,
pub template_node_definitions: Vec<TemplateNodeDefinition>,
pub type_table: TypeTable,
pub import_paths: HashSet<String>,
}
Fields§
§visited_type_ids: HashSet<String>
Used to track which files/sources have been visited during parsing, to prevent duplicate parsing
main_component_type_id: String
§component_definitions: HashMap<String, ComponentDefinition>
§template_map: HashMap<String, String>
§template_node_definitions: Vec<TemplateNodeDefinition>
§type_table: TypeTable
§import_paths: HashSet<String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ParsingContext
impl Send for ParsingContext
impl Sync for ParsingContext
impl Unpin for ParsingContext
impl UnwindSafe for ParsingContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more