PATH:
opt
/
alt
/
ruby34
/
share
/
gems
/
gems
/
rbs-3.8.0
/
lib
/
rbs
/
ast
# frozen_string_literal: true module RBS module AST class Comment attr_reader :string attr_reader :location def initialize(string:, location:) @string = string @location = location end def ==(other) other.is_a?(Comment) && other.string == string end alias eql? == def hash self.class.hash ^ string.hash end def to_json(state = _ = nil) { string: string, location: location }.to_json(state) end end end end
[-] declarations.rb
[edit]
[-] comment.rb
[edit]
[-] type_param.rb
[edit]
[-] members.rb
[edit]
[-] visitor.rb
[edit]
[-] annotation.rb
[edit]
[+]
..
[-] directives.rb
[edit]