This is a generic constructor for all ast node types,
used internally by the *() functions to define structured equations.
Constructs a set object used as an index domain for other symbols (e.g., mappings, parameters, variables, equations).
Arguments
- node_type
The type of AST node (e.g.,
"expression","variable","constant","parameter","symbol").- ...
Additional named fields passed as components of the AST node.
- inherits_class
Optional character vector of extra classes inserted between
node_typeand"ast"in the class attribute.- name
Character. Name of the set (e.g., "b").
