Learn R Programming

styler (version 0.0-8)

initialize_attributes: Enrich parse table with space and line break information

Description

This function computes difference (as column and line difference) between two entries in the parse table and adds this information to the table.

Usage

initialize_attributes(pd_flat)

initialize_newlines(pd_flat)

initialize_spaces(pd_flat)

initialize_multi_line(pd_flat)

initialize_indention_ref_id(pd_flat)

initialize_indent(pd_flat)

validate_parse_data(pd_flat)

Arguments

pd_flat

A parse table.

Functions

  • initialize_newlines: Initializes newlines and lag_newlines.

  • initialize_spaces: Initializes spaces.

  • initialize_multi_line: Initializes multi_line.

  • initialize_indention_ref_id: Initializes indention_ref_ind.

  • initialize_indent: Initializes indent.

  • validate_parse_data: validates the parse data.