class RBS::AST::Members::InstanceVariable

Public Instance Methods

to_json(state = _ = nil) click to toggle source
# File rbs-3.4.4/lib/rbs/ast/members.rb, line 146
def to_json(state = _ = nil)
  {
    member: :instance_variable,
    name: name,
    type: type,
    location: location,
    comment: comment
  }.to_json(state)
end