derive_label: Derive label of AST node.

View source: R/compile-operators.R

derive_labelR Documentation

Derive label of AST node.

Description

Determine the label of a given AST node. NOTE: Should have data attached via reduce before calling.

Usage

derive_label(node, capture_units = FALSE, ...)

Arguments

node

Abstract syntax tree node.

capture_units

logical; Capture units from parenthesis ending a label

...

Other arguments, ignored

Value

A string with a label for the node


tangram documentation built on Feb. 16, 2023, 5:59 p.m.