new_declaration: 'declaration' constructor

View source: R/declaration-creation.R

new_declarationR Documentation

'declaration' constructor

Description

The internal constructor for a declaration vector. The user-facing version is 'declaration'.

Usage

new_declaration(identifier = list(), definition = list())

Arguments

identifier

List of expressions

definition

List of expressions

Details

The arguments 'identifier' and 'definition' are lists of R expressions. For 'identifier' only symbols, array expressions (e.g., theta[1]), or NULL are permitted.

Value

An assemblerr_declaration object


sebastianueckert/assemblerr documentation built on Sept. 30, 2022, 9:12 a.m.