Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::ConstantPathTargetNode#full_name_parts
full_name_parts
lib/prism/node_ext.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/node_ext.rb, line 137
def full_name_parts
(parent&.full_name_parts || [:""]).push(child.name)
end
Returns the list of parts for the full name of this constant path. For example: [:Foo, :Bar]