class RBS::AST::Declarations::ClassAlias

Public Instance Methods

to_json(state = _ = nil) click to toggle source
# File rbs-3.4.0/lib/rbs/ast/declarations.rb, line 407
def to_json(state = _ = nil)
  {
    declaration: :class_alias,
    new_name: new_name,
    old_name: old_name,
    location: location,
    comment: comment
  }.to_json(state)
end