Skip to contents

Provides a formatted, optionally styled, console printout of a procr_varformat object. The output displays variable hierarchies, associated labels, and code expressions in a tree-like layout.

Usage

# S3 method for class 'procr_varformat'
print(x, ..., styled = TRUE)

Arguments

x

A procr_varformat object.

...

Not used, included for compatibility with print()

styled

Logical scalar. If TRUE (default), ANSI color and background styling are applied for readability. Set to FALSE to produce plain text.

Value

The input object x, returned invisibly. The function is called for its side effect of printing to the console.