Class: RBS::AST::Declarations::ModuleAlias
- Defined in:
- lib/rbs/ast/declarations.rb
Instance Attribute Summary
Attributes inherited from AliasDecl
#comment, #location, #new_name, #old_name
Instance Method Summary collapse
Methods inherited from AliasDecl
Constructor Details
This class inherits a constructor from RBS::AST::Declarations::AliasDecl
Instance Method Details
#to_json(state = _ = nil) ⇒ Object
455 456 457 458 459 460 461 462 463 |
# File 'lib/rbs/ast/declarations.rb', line 455 def to_json(state = _ = nil) { declaration: :module_alias, new_name: new_name, old_name: old_name, location: location, comment: comment }.to_json(state) end |