| getChilds {parser} | R Documentation |
Get the child expression of an expression in the parse tree
getChilds(x, i = 0, parent = sapply(x[i], function(.) attr(., "id")))
x |
Output from the parser function
|
i |
index of the top-level expressions we want the childs of. The default value (0) means all top level expressions |
parent |
id of the parent expressions as found in the id column |
An integer vector giving all the ids of symbols that are childs of one of the parent expression
Romain Francois <francoisromain@free.fr>