Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::DSL#call_node_flag
call_node_flag(name)
lib/prism/dsl.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/dsl.rb, line 852
def call_node_flag(name)
case name
when :safe_navigation then CallNodeFlags::SAFE_NAVIGATION
when :variable_call then CallNodeFlags::VARIABLE_CALL
when :attribute_write then CallNodeFlags::ATTRIBUTE_WRITE
when :ignore_visibility then CallNodeFlags::IGNORE_VISIBILITY
else Kernel.raise ArgumentError, "invalid CallNodeFlags flag: #{name.inspect}"
end
end
Retrieve the value of one of the CallNodeFlags flags.