iff-blocks: IFF Blocks

Description Usage Arguments Details Functions

Description

IFF is short for if(FALSE)\{#@tag ... blocks. These block can contain development, testing, or example code that can be extracted into documentation or other files.

Usage

1
2
3
4
5
6
7
8
9
pd_is_iff(id, pd, allow.short = TRUE, .check = TRUE)

pd_is_iff_block(id, pd, allow.short = TRUE, .check = TRUE)

pd_all_iff_ids(pd = get("pd", parent.frame()), ...)

pd_all_iff_block_ids(pd, root.only = TRUE, ignore.groups = FALSE, ...)

pd_is_tagged_iff_block(id, pd, tag, doc.only = TRUE, ..., .check = TRUE)

Arguments

id

id of the expression of interest

pd

The parse-data information

allow.short

if if(F) should be considered an IFF block.

.check

Perform checks for input validation?

...

passed along.

root.only

only root blocks(TRUE) or all block (FALSE)

ignore.groups

Ignore code grouping

tag

The tag to consider.

doc.only

Should comments be restricted to documentation style comments only?

Details

Here are some examples:

Functions


RDocTaskForce/parsetools documentation built on April 10, 2020, 11:58 p.m.