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ยง
- Data
Frame ๐Column
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) andlibrary(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 ๐