Expand description
Pure Ruby node helpers shared by the declaration walk, the structural spec, the import binder and both usage-graph scans.
These were free functions at the top of analyzer/ruby/mod.rs, above the
RubyAnalyzer struct: nothing here needs an analyzer handle, only a
tree_sitter::Node and the source text it points into.
Functionsยง
- is_
runtime_ node - Whether an argument-list child is a runtime value rather than a parameter, comment or symbol-key slot. Also read by the parked Ruby value-semantics lowerer, which enumerates call arguments the same way.
- ruby_
call_ arguments - ruby_
first_ call_ argument - ruby_
semantic_ identifier_ range - Returns the source range of the semantic identifier carried by a Ruby symbol.
- single_
static_ string_ content_ node