Class: Prism::Reflection::OptionalLocationField

Inherits:
Field
  • Object
show all
Defined in:
lib/prism/reflection.rb

Overview

An optional location field represents the location of some part of the node in the source code that may or may not be present. It resolves to either a Prism::Location or nil in Ruby.

Instance Attribute Summary

Attributes inherited from Field

#name

Method Summary

Methods inherited from Field

#initialize

Constructor Details

This class inherits a constructor from Prism::Reflection::Field