class RBS::AST::Members::AttrAccessor

Public Instance Methods

to_json(state = _ = nil) click to toggle source
# File rbs-3.7.0/lib/rbs/ast/members.rb, line 330
def to_json(state = _ = nil)
  {
    member: :attr_accessor,
    name: name,
    type: type,
    ivar_name: ivar_name,
    kind: kind,
    annotations: annotations,
    location: location,
    comment: comment,
    visibility: visibility
  }.to_json(state)
end