Class: RBS::AST::Members::AttrAccessor
- Includes:
- Attribute
- Defined in:
- lib/rbs/ast/members.rb
Instance Attribute Summary
Attributes included from Attribute
#annotations, #comment, #ivar_name, #kind, #location, #name, #type, #visibility
Instance Method Summary collapse
Methods included from Attribute
#==, #hash, #initialize, #update
Instance Method Details
#to_json(state = _ = nil) ⇒ Object
330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File '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 |