class RBS::AST::Declarations::ClassAlias

Public Instance Methods

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