Skip to main content

Module pre_eval

Module pre_eval 

Source
Expand description

Pre-eval builtins โ€” functions that intercept before argument evaluation. Each is auto-registered via #[pre_eval_builtin]. The interpreter is accessed via the BuiltinContext passed at dispatch time.

Structsยง

DataFrameColumn ๐Ÿ”’

Staticsยง

__PRE_EVAL_REG_PRE_EVAL_ALIST ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_BQUOTE ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_DATA_FRAME ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_DELAYED_ASSIGN ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_EVALQ ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_EXPRESSION ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_LIBRARY ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_LOCAL ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_MISSING ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_ON_EXIT ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_QUOTE ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_REQUIRE ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_RM ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_SUBSTITUTE ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_SUPPRESS_MESSAGES ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_SUPPRESS_WARNINGS ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_SWITCH ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_SYSTEM_TIME ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_TRY ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_TRY_CATCH ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_WITH_CALLING_HANDLERS ๐Ÿ”’
__PRE_EVAL_REG_PRE_EVAL_WITH_VISIBLE ๐Ÿ”’

Functionsยง

automatic_row_names ๐Ÿ”’
bquote_expr ๐Ÿ”’
Walk an AST for bquote: evaluate .() splice expressions, leave everything else quoted.
default_data_frame_name ๐Ÿ”’
expand_data_frame_value ๐Ÿ”’
expr_vector_names ๐Ÿ”’
extract_package_name_nse ๐Ÿ”’
Extract a package name from a pre-eval argument list. Accepts both library("pkg") (string) and library(pkg) (bare symbol).
factorize_character_vector ๐Ÿ”’
is_data_frame_control_arg ๐Ÿ”’
matrix_columns ๐Ÿ”’
matrix_dimnames ๐Ÿ”’
maybe_factorize_strings ๐Ÿ”’
pre_eval_alist ๐Ÿ”’
Construct a pairlist of unevaluated arguments.
pre_eval_bquote ๐Ÿ”’
Partial substitution: quote an expression, evaluating only .() splices.
pre_eval_data_frame ๐Ÿ”’
Construct a data frame from named or unnamed column vectors.
pre_eval_delayed_assign ๐Ÿ”’
delayedAssign(x, value, eval.env, assign.env) โ€” create a promise binding.
pre_eval_evalq ๐Ÿ”’
Evaluate a quoted expression in a specified environment.
pre_eval_expression ๐Ÿ”’
expression(...) โ€” construct an expression object from unevaluated arguments. Returns a list of Language objects, each wrapping the unevaluated expression.
pre_eval_library ๐Ÿ”’
Load and attach a package by name.
pre_eval_local ๐Ÿ”’
Evaluate an expression in a temporary local environment.
pre_eval_missing ๐Ÿ”’
Test whether a formal argument was supplied in the current function call.
pre_eval_on_exit ๐Ÿ”’
Register an expression to be evaluated when the current function exits.
pre_eval_quote ๐Ÿ”’
Return an unevaluated expression (language object).
pre_eval_require ๐Ÿ”’
Load a package if available, returning TRUE/FALSE.
pre_eval_rm ๐Ÿ”’
Remove objects from an environment.
pre_eval_substitute ๐Ÿ”’
Return an unevaluated expression with variables substituted from the environment.
pre_eval_suppress_messages ๐Ÿ”’
Evaluate an expression, suppressing all message conditions.
pre_eval_suppress_warnings ๐Ÿ”’
Evaluate an expression, suppressing all warning conditions.
pre_eval_switch ๐Ÿ”’
switch(EXPR, โ€ฆ) โ€” only evaluate the matching branch.
pre_eval_system_time ๐Ÿ”’
Measure the wall-clock time to evaluate an expression.
pre_eval_try ๐Ÿ”’
Evaluate an expression, catching errors and returning them as a string.
pre_eval_try_catch ๐Ÿ”’
Evaluate an expression with error/warning/message handlers.
pre_eval_with_calling_handlers ๐Ÿ”’
Evaluate an expression with calling handlers for conditions.
pre_eval_with_visible ๐Ÿ”’
Evaluate an expression and return the result with a visibility flag.
recycle_value ๐Ÿ”’
row_names_to_strings ๐Ÿ”’
rvalue_to_expr ๐Ÿ”’
Convert an RValue back to an AST expression (for substitute).
sanitize_data_frame_name ๐Ÿ”’
strip_names_attr ๐Ÿ”’
substitute_expr ๐Ÿ”’
Walk an AST, replacing symbols with their values from the environment.
vector_names ๐Ÿ”’

Type Aliasesยง

RowNames ๐Ÿ”’