Function tvix_eval::parse_compile_internal
source ยท pub(crate) fn parse_compile_internal(
result: &mut EvaluationResult,
code: &str,
file: Arc<File>,
location: Option<PathBuf>,
source: SourceCode,
globals: Rc<GlobalsMap>,
env: Option<&FxHashMap<SmolStr, Value>>,
compiler_observer: &mut dyn CompilerObserver,
) -> Option<Rc<Lambda>>
Expand description
Internal helper function for common parsing & compilation logic between the public functions.