class RBS::AST::Declarations::ModuleAlias

Public Instance Methods

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