Class: RBS::AST::Members::ClassInstanceVariable
- Includes:
- Var
- Defined in:
- lib/rbs/ast/members.rb
Instance Attribute Summary
Attributes included from Var
#comment, #location, #name, #type
Instance Method Summary collapse
Methods included from Var
Instance Method Details
#to_json(state = _ = nil) ⇒ Object
124 125 126 127 128 129 130 131 132 |
# File 'lib/rbs/ast/members.rb', line 124 def to_json(state = _ = nil) { member: :class_instance_variable, name: name, type: type, location: location, comment: comment }.to_json(state) end |