Class: Prism::Reflection::OptionalNodeField
- Defined in:
- lib/prism/reflection.rb
Overview
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.
Instance Attribute Summary
Attributes inherited from Field
Method Summary
Methods inherited from Field
Constructor Details
This class inherits a constructor from Prism::Reflection::Field