Find exported names in parsed module source
Usage
parse_export_specs(info, exprs, mod_ns)
use_call
static_assign_calls
assign_calls
is_static_assign_call(call)
is_assign_call(call)
block_is_assign(block)
block_is_use_call(block)
block_is_exported(block)
block_name(block)Format
An object of class call of length 3.
An object of class list of length 4.
An object of class list of length 6.
Arguments
- info
The module info.
- exprs
The list of expressions of the parsed module.
- mod_ns
The module namespace after evaluating the expressions.
- call
A call to test.
- block
A roxygen2 block to inspect.
Note
There are two situations in which the @export tag can be applied:
When applied to assignments, the assigned name is exported.
When applied to a
box::usecall, the imported names are exported. This can be the module name itself, any attached names, or both. All names introduced by thebox::usecall are exported. Seeusefor the rules governing what names are introduced into the scope, and thus exported.
In any other situation, applying the @export tag is an error.
