123456789_123456789_123456789_123456789_123456789_

Class: Prism::Reflection::ConstantField

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 constant field represents a constant value on a node. Effectively, it represents an identifier found within the source. It resolves to a symbol 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