Class: Prism::Reflection::OptionalConstantField
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Field
|
|
|
Instance Chain:
self,
Field
|
|
| Inherits: |
Prism::Reflection::Field
|
| Defined in: | lib/prism/reflection.rb |
Overview
An optional constant field represents a constant value on a node that may or may not be present. It resolves to either a symbol or nil in Ruby.
Class Method Summary
Instance Attribute Summary
Constructor Details
This class inherits a constructor from Prism::Reflection::Field