Expand description
Typst’s code interpreter.
Structs§
- Captures
Visitor - A visitor that determines which variables to capture for a closure.
- Vm
- A virtual machine.
Enums§
- Eval
Mode - In which mode to evaluate a string.
- Flow
Event - A control flow event that occurred during evaluation.
Traits§
- Eval
- Evaluate an expression.
Functions§
- eval
- Evaluate a source file and return the resulting module.
- eval_
closure - Call the function in the context with the arguments.
- eval_
string - Evaluate a string as code and return the resulting value.
- import
- Process an import of a package or file relative to the current location.