use crate::{language::parsed::VariableDeclaration, namespace::ModulePath, Engines, Namespace};
#[derive(Debug, Clone)]
pub struct ParserLifter<T> {
pub var_decls: Vec<VariableDeclaration>,
pub value: T,
}
impl<T> ParserLifter<T> {
#[allow(dead_code)]
pub(crate) fn empty(value: T) -> Self {
ParserLifter {
var_decls: vec![],
value,
}
}
}
pub(crate) fn module_can_be_changed(
_engines: &Engines,
issue_namespace: &Namespace,
absolute_module_path: &ModulePath,
) -> bool {
!issue_namespace.module_is_external(absolute_module_path)
}