Skip to contents

Extract global variable names from a parsed tree root

Usage

get_globals_from_root(root)

Arguments

root

A tree-sitter root node.

Value

Data frame with top-level global names.