On this page
Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.4
Prism::SymbolNode
Represents a symbol literal or a symbol contained within a ‘%i` list.
:foo ^^^^ %i[foo] ^^^
Class methods 2
Instance methods 22
#===
#accept
#child_nodes
#closing
#closing_loc
#comment_targets
#compact_child_nodes
#copy
#deconstruct
#deconstruct_keys
#forced_binary_encoding?
#forced_us_ascii_encoding?
#forced_utf8_encoding?
#inspect
#opening
#opening_loc
#save_closing_loc
#save_opening_loc
#save_value_loc
#type
#value
#value_loc
Attributes