walk_tree | R Documentation |
Walk Along a Parse Tree
walk_tree(
x,
path = "",
depth = 0L,
max_depth = 20L,
dbg = TRUE,
config = list(),
context = NULL
)
x |
parse tree as returned by |
path |
for internal use only. Path to the element in the parse tree. |
depth |
for internal use only. Recursion depth. |
max_depth |
maximum recursion level. Default: 20L |
dbg |
whether or not to show debug messages |
config |
list defining modifications of nodes in the node tree. TODO: describe further |
context |
if not |
walk_tree(parse(text = "x <- 1:n"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.