123456789_123456789_123456789_123456789_123456789_

Class: RBS::AST::Members::ClassInstanceVariable

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 160

def to_json(state = _ = nil)
  {
    member: :class_instance_variable,
    name: name,
    type: type,
    location: location,
    comment: comment
  }.to_json(state)
end