Class: RBS::AST::Members::ClassVariable
- 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
174 175 176 177 178 179 180 181 182 |
# File 'lib/rbs/ast/members.rb', line 174 def to_json(state = _ = nil) { member: :class_variable, name: name, type: type, location: location, comment: comment }.to_json(state) end |