struct Protocol::Runtime::PrivatePropertyDescriptor

Overview

Object private field descriptor.

Included Modules

Defined in:

protocol/runtime.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def get : RemoteObject | Nil #

A function which serves as a getter for the private property, or undefined if there is no getter (accessor descriptors only).


[View source]
def name : String #

Private property name.


[View source]
def set : RemoteObject | Nil #

A function which serves as a setter for the private property, or undefined if there is no setter (accessor descriptors only).


[View source]
def value : RemoteObject | Nil #

The value associated with the private property.


[View source]