rlangType: Get the R language type of an rstatic AST object

View source: R/freeVariables.R

rlangTypeR Documentation

Get the R language type of an rstatic AST object

Description

This converts an rstatic object to the corresponding R language representation, i.e., symbols/names, calls, if statements, loops and returns the class of the resulting R object.

Usage

rlangType(x)

Arguments

x

an rstatic AST object

Value

a character vector

Author(s)

Duncan Temple Lang

See Also

to_ast as_language


duncantl/CodeAnalysis documentation built on Feb. 21, 2024, 10:49 p.m.