bug fixes and performance improvements
This commit is contained in:
13
src/pipeline/source_loader/loaded_source.rs
Normal file
13
src/pipeline/source_loader/loaded_source.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
use std::{rc::Rc, collections::HashMap};
|
||||
|
||||
use crate::interner::Token;
|
||||
|
||||
use super::preparse::Preparsed;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct LoadedSource {
|
||||
pub text: Rc<String>,
|
||||
pub preparsed: Preparsed,
|
||||
}
|
||||
|
||||
pub type LoadedSourceTable = HashMap<Token<Vec<Token<String>>>, LoadedSource>;
|
||||
Reference in New Issue
Block a user