123456789_123456789_123456789_123456789_123456789_

Class: Prism::Reflection::LocationField

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

A location field represents the location of some part of the node in the source code. For example, the location of a keyword or an operator. It resolves to a ::Prism::Location in Ruby.

Class Method Summary

Field - Inherited

.new

Initializes the field with the given name.

Instance Attribute Summary

Field - Inherited

#name

The name of the field.

Constructor Details

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