styler (version 1.1.1)

make_transformer: Closure to return a transformer function

Description

This function takes a list of transformer functions as input and returns a function that can be applied to character strings that should be transformed.

Usage

make_transformer(transformers, include_roxygen_examples,
  warn_empty = TRUE)

Arguments

transformers

A list of transformer functions that operate on flat parse tables.

include_roxygen_examples

Whether or not to style code in roxygen examples.

warn_empty

Whether or not a warning should be displayed when text does not contain any tokens.