123456789_123456789_123456789_123456789_123456789_

Class: RBS::AST::Members::AttrAccessor

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base
Instance Chain:
self, Attribute, Base
Inherits: RBS::AST::Members::Base
Defined in: lib/rbs/ast/members.rb

Instance Attribute Summary

Instance Method Summary

Instance Method Details

#to_json(state = _ = nil)

[ GitHub ]

  
# File 'lib/rbs/ast/members.rb', line 283

def to_json(state = _ = nil)
  {
    member: :attr_accessor,
    name: name,
    type: type,
    ivar_name: ivar_name,
    kind: kind,
    annotations: annotations,
    location: location,
    comment: comment
  }.to_json(state)
end