Skip to main content

Module interpreter

Module interpreter 

Source

Re-exportsยง

pub use call::BuiltinContext;
pub use call::NativeBacktrace;
pub use call::TraceEntry;

Modulesยง

arguments ๐Ÿ”’
Closure argument binding helpers used by the evaluator.
assignment ๐Ÿ”’
Assignment and replacement semantics: <-, <<-, ->, x[i] <- v, x[[i]] <- v, x$name <- v, and replacement functions like names<-.
builtins
call
Call-dispatch state and helpers shared across evaluator and builtin code.
call_eval ๐Ÿ”’
Call evaluation and dispatch helpers used by the evaluator.
coerce
Safe numeric conversion helpers.
control_flow ๐Ÿ”’
Control-flow and namespace evaluation helpers.
environment
graphics
Graphics subsystem โ€” plot data model, View() data model, color system, and rendering backends.
grid
Grid graphics system โ€” Rโ€™s grid package data model.
indexing ๐Ÿ”’
Read-side indexing helpers for vectors, lists, matrices, and data frames. Write-side (replacement) is in assignment.rs.
native
Native code loading โ€” compile, load, and call C code from R packages.
ops ๐Ÿ”’
Vectorized arithmetic, comparison, logical, range, membership, and matrix multiplication operators. All functions are pure โ€” they operate on values without needing interpreter state.
packages
Package metadata parsing and runtime loading.
s3 ๐Ÿ”’
S3 method dispatch helpers for UseMethod/NextMethod and class-based lookup.
value

Structsยง

ConditionHandler ๐Ÿ”’
A handler registered by withCallingHandlers().
Interpreter
S4ClassDef
S4 class definition stored in the per-interpreter class registry.
S4GenericDef ๐Ÿ”’
S4 generic function definition.

Enumsยง

DiagnosticStyle
Semantic styles for colored diagnostic output.
InterpreterRng ๐Ÿ”’
Selectable RNG backend for the interpreter.
RngKind ๐Ÿ”’
The kind of RNG currently selected, for reporting via RNGkind().

Constantsยง

INTERPRETER ๐Ÿ”’

Functionsยง

formula_value ๐Ÿ”’
with_interpreter
Access the thread-local interpreter. Safe for nested/re-entrant calls because all methods take &self (shared borrows are re-entrant).
with_interpreter_state
Temporarily install an explicit interpreter instance into thread-local state while executing f. This keeps legacy builtin TLS access working, but lets higher-level code own interpreter instances directly.

Type Aliasesยง

ForcedArgs ๐Ÿ”’
Result of forcing all arguments: (positional_values, named_values).
S4MethodKey ๐Ÿ”’
Key for S4 method dispatch table: (generic_name, signature).