extract_decorator_labels: Extract decorator labels from a decorator structure
Description
Recursively extracts labels from decorators, handling both single decorators
and nested list structures.
Usage
extract_decorator_labels(dec)
Value
Character vector of decorator labels, or character(0L) if none found
Arguments
- dec
Decorator object or list of decorators