visit

0th

Percentile

Visit'em all

Apply a list of functions to each level in a nested parse table. pre_visit() applies funs before it proceeds to the children, (that is, starts from the outermost level of nesting progressing to the innermost level), post_visit() proceeds to its children before applying the functions (meaning it first applies the functions to the innermost level of nesting first and then going outwards).

Usage
pre_visit(pd_nested, funs)

post_visit(pd_nested, funs)

Arguments
pd_nested

A nested parse table.

funs

A list of transformer functions.

See Also

Other visitors: visit_one

Aliases
  • visit
  • pre_visit
  • post_visit
Documentation reproduced from package styler, version 1.0.9000, License: GPL-3

Community examples

Looks like there are no examples yet.