to_ast_callable: Convert a Callable Object to an ASTNode

Description Usage Arguments

View source: R/to_ast.R

Description

This function converts primitives, functions, and function definitions to ASTNode objects. No distinction is made between functions and function definitions since they have the same underlying code.

Usage

1
to_ast_callable(expr, is_primitive = FALSE)

Arguments

expr

(language) Quoted R code to be converted.

is_primitive

(logical) Whether or not the expression is a primitive.


nick-ulle/ast documentation built on Oct. 18, 2019, 4:37 a.m.