Method: RBS::AST::Members::Prepend#to_json

Defined in:
lib/rbs/ast/members.rb

#to_json(state = _ = nil) ⇒ Object



204
205
206
207
208
209
210
211
212
213
# File 'lib/rbs/ast/members.rb', line 204

def to_json(state = _ = nil)
  {
    member: :prepend,
    name: name,
    args: args,
    annotations: annotations,
    location: location,
    comment: comment
  }.to_json(state)
end