styler (version 1.1.0)

combine_children: Combine child and internal child

Description

Binds two parse tables together and arranges them so that the tokens are in the correct order.

Usage

combine_children(child, internal_child)

Arguments

child

A parse table or NULL.

internal_child

A parse table or NULL.

Details

Essentially, this is a wrapper around dplyr::bind_rows(), but returns NULL if the result of dplyr::bind_rows() is a data frame with zero rows.