Function tvix_cli::evaluate

source ·
pub fn evaluate(
    tvix_store_io: Rc<TvixStoreIO>,
    code: &str,
    path: Option<PathBuf>,
    args: &Args,
    allow_incomplete: AllowIncomplete,
    env: Option<&FxHashMap<SmolStr, Value>>,
    globals: Option<Rc<GlobalsMap>>,
    source_map: Option<SourceCode>
) -> Result<EvalResult, IncompleteInput>
Expand description

Interprets the given code snippet, printing out warnings and errors and returning the result