Combine child and internal child
Complete styled expression with unstyled fraction on start / end line
Concentrate newlines or spaces in a string
Add information about previous / next token to each terminal
Construct *-out.R from a *-in.R
Construct paths of a tree object given the paths of *-in.R files
Flatten some token in the nested parse table based on operators
Flatten one level of nesting with its child
create_node_from_nested_root
Convert a nested tibble into a node tree
Create a style guide
Enrich flattened parse table
Extract text around the highlighted text
Prettify R code in current working directory
Prettify one R file
set_space_between_eq_sub_and_comma
Set space between EQ_SUB and "','"
Set space between levels of nesting
Style guides
Repeat elements of a character vector times
times and collapse it
serialize_parse_data_flattened
Serialize flattened parse data
Set the multi-line column
Apply transformers to a parse table
Bind a parse table with one of its children
Compute the indices that need indention
Apply reference indention to tokens
Applying reference indention of a target token
Propagate context to terminals
context_towards_terminals
Update the a parse table given outer context
Create a tree from text
set_line_break_if_call_is_multi_line
Set line break for multi-line function calls
Convert a character vector to an ordered factor
Choose the indention method for the tokens
Enrich parse table with space and line break information
Create node from nested parse data
Flatten a parse table
Enhance the mapping of text to the token "SPECIAL"
parse_transform_serialize
Parse, transform and serialize text
Check whether a parse table corresponds to a a certain expression
Helper for setting spaces
Unindent a child if necessary
compute_parse_data_nested
Obtain a nested parse table from a character vector
Extract terminal tokens
Helper to extract and preprocess relevant attributes from
rstudioapi::getActiveDocumentContext()
. Check whether indention is needed
Nest a flat parse table
Prettify arbitrary R code
Style a file
The tidyverse style
Check whether a parse table is a multi-line token
Prettify R source code
Update the indention reference
Update the newlines attribute
start_comments_with_space
Start comments with a space
Get the start right
Transforming test input with a transformer function
Style a region of text given context
Style a string
Unindent a child
Update indention information of parse data
Create the path to a test that file
Obtain token table from text
Transform a file an check the result
lookup which new tokens were created from "SPECIAL"
Closure to return a transformer function
Check whether indention is needed
Style the active file
Visit'em all
Transform a flat parse table with a list of transformers
Style the highlighted region
Non-invasive pretty printing of R code
Run a collection of tests
Transform a file and output a customized message
Transform files with transformer functions
Construct an object of class vertical
Enrich parse table with space and line break information
Invoke a system command
Create the parent id for a new token
Create valid pos_ids if possible
Wrap an expression in curly braces
Find the parent of a nest
Check whether a parse table is a multi-line token
wrap_if_else_multi_line_in_curly
Wrap if-else statement in curly braces
Create a terminal token
Get the start right
Validate sequence of new position ids
Check token validity
Lookup all tokens that have a unique token-text mapping
Specify spacing around math tokens
Return regex patterns for re-indention
Specify what is re-indented how
style_space_around_math_token
Style spacing around math tokens
style_space_around_math_token_one
Set spacing of token to a certain level
Set indention of tokens that match regex
Add column pos_id
and short
Obtain robust parse data
Verify the text of strings
Assert text to be of positive length and replace it with the empty
string otherwise.
Find legit starting value for a new positional id
Identify chunks within Rmd contents
Get chunk pattern
Transform Rmd contents
Transform code from R or Rmd files