Skip to contents

This function takes a list of extracted YAML fragments (x) and reorganizes it to prepare it for being parsed.

Usage

prepare_function_argument_fragments(
  x,
  regex = bookmark::opts$get("bm_start_func_regex"),
  silent = bookmark::opts$get("silent")
)

Arguments

x

The list of fragments

regex

The regular expression specifying how to extract the function name.

silent

Whether to be silent (TRUE) or chatty (FALSE).

Value

An object with the fragments restructured by function.

Details

Note that users normally don't call this function directly; instead, it is called by bm_get_bookmarks_from_file()] or a function calling that function.