123456789_123456789_123456789_123456789_123456789_

Class: Prism::Reflection::StringField

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 string field represents a string value on a node. It almost always represents the unescaped value of a string-like literal. It resolves to a string 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