View source: R/rules-indention.R
is_single_indent_function_declaration | R Documentation |
Assumes you already checked if it's a function with
is_function_declaration
. It is single indented if the first token
after the first line break that is a "SYMBOL_FORMALS"
.
is_single_indent_function_declaration(pd, indent_by = 2L)
pd |
A parse table. |
indent_by |
How many spaces of indention should be inserted after operators such as '('. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.