class RBS::AST::Members::ClassVariable

Public Instance Methods

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