Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.4

Prism::Reflection::OptionalNodeField

An optional node field represents a single child node in the syntax tree that may or may not be present. It resolves to either a Prism::Node or nil in Ruby.