update_indention_ref {styler} | R Documentation |
Update the indention reference
update_indention_ref_fun_dec(pd_nested)
pd_nested |
A nested parse table. |
update_indention_ref_fun_dec
: Updates the reference pos_id for all
tokens in pd_nested
if pd_nested
contains a function declaration.
Tokens inside a function declaration are are re-indented,
that is, they are indented up to the level at which the token FUNCTION
ends in terms of col2.
## Not run:
a <- function(x,
y) {
x + y
}
## End(Not run)