123456789_123456789_123456789_123456789_123456789_

Class: RBS::AST::Members::ClassVariable

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base
Instance Chain:
self, Var, Base
Inherits: RBS::AST::Members::Base
Defined in: lib/rbs/ast/members.rb

Instance Attribute Summary

Var - Included

Instance Method Summary

Instance Method Details

#to_json(state = _ = nil)

[ GitHub ]

  
# File '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