get_ast: Constructs an Abstract Syntax Tree for an expression

View source: R/utils.R

get_astR Documentation

Constructs an Abstract Syntax Tree for an expression

Description

This function breaks down an R expression into a list structure, creating a tree-like representation of the code.

Usage

get_ast(exp)

Arguments

exp

An R expression to be parsed into a list structure.

Value

A list structure that represents the input R expression.


data.validator documentation built on May 29, 2024, 6:37 a.m.