Class: RBS::AST::Members::Extend

Inherits:
Base
  • Object
show all
Includes:
Mixin
Defined in:
lib/rbs/ast/members.rb

Instance Attribute Summary

Attributes included from Mixin

#annotations, #args, #comment, #location, #name

Instance Method Summary collapse

Methods included from Mixin

#==, #eql?, #hash, #initialize

Instance Method Details

#to_json(*a) ⇒ Object



194
195
196
197
198
199
200
201
202
203
# File 'lib/rbs/ast/members.rb', line 194

def to_json(*a)
  {
    member: :extend,
    name: name,
    args: args,
    annotations: annotations,
    location: location,
    comment: comment
  }.to_json(*a)
end