class RBS::AST::Members::AttrWriter

Public Instance Methods

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