create_tree: Create a tree from text

View source: R/nested-to-tree.R

create_treeR Documentation

Create a tree from text

Description

Create a tree representation from a text.

Usage

create_tree(text, structure_only = FALSE)

Arguments

text

A character vector.

structure_only

Whether or not create a tree that represents the structure of the expression without any information on the tokens. Useful to check whether two structures are identical.

Value

A data frame.


styler documentation built on Aug. 29, 2023, 5:10 p.m.